benson@odi.com (Benson I. Margulies) (06/27/91)
1) anyone done bash? 2) when I run gnu emacs -display to my 4D, the bell rings very long. xset b does not shorten it. Any hints? -- Benson I. Margulies
hwajin@sgi.com (Hwa-jin Bae) (06/27/91)
>>>>> On 26 Jun 91 18:08:56 GMT, benson@odi.com (Benson I. Margulies) said:
Benson> 2) when I run gnu emacs -display to my 4D, the bell
Benson> rings very long. xset b does not shorten it. Any hints?
if you're running X version of emacs you can try doing the following
to use "visible bell" instead:
------
(defun bell-off ()
"Turn off audio bell -- Use visible bell"
(interactive)
(if window-system ;if running X
(x-set-bell t) ;use visible bell
(setq-default visible-bell t))) ;otherwise, try to use "vb" (flash
;in terminfo) attribute for your terminal
(bell-off)
-------
the default terminfo entry for wsh doesn't have visible bell capability
specified. (the latest release of OS seems to have xwsh which does support
visible bell). i ended up hacking emacs source (term.c file) to turn
the bell off completely.
*hwajin
--
protocol engines, inc.
scotth@corp.sgi.com (Scott Henry) (06/27/91)
In article <1991Jun26.180856.25051@odi.com> benson@odi.com (Benson I. Margulies) writes:
benson> 2) when I run gnu emacs -display to my 4D, the bell
benson> rings very long. xset b does not shorten it. Any hints?
In the file .../emacs-18.5?/src/x11term.c (line 706 in 18.57), change the
line "XBell (XXdisplay,50);" to "XBell (XXdisplay,0);". This brings emacs
in line with other X apps in their use of the bell. This is one of the
things I automatically patch when I get a new version of GNU emacs.
Does anybody know (or understand) FSF's reasoning for giving emacs such
an obnoxious bell?
--
Scott Henry <scotth@sgi.com> / Traveller on Dragon Wings
Information Services, / Help! My disclaimer is missing!
Silicon Graphics, Inc / Politicians no baka!
tomw@orac.esd.sgi.com (Tom Weinstein) (06/27/91)
> 1) anyone done bash?
I'm running bash-1.08 as I post this.
--
Open Look -- | Tom Weinstein tomw@orac.esd.sgi.com
Freedom From Choice | tom@bears.ucsb.edu