Article View: gnu.emacs.bug
Article #98971bell
From: Hallvard B Furuseth
Date: Thu, 24 Jan 1991 19:02
Date: Thu, 24 Jan 1991 19:02
32 lines
1334 bytes
1334 bytes
emacs version: 18.56 with X11. It seems to be impossible to turn off beeping with X11. Please apply the following patch. Then the command xset b 0 will turn off beeping. Or better: Also make a variable to control the action of ring_bell(). *** src/x11term.c~ Tue Jan 8 19:21:39 1991 --- src/x11term.c Thu Jan 24 19:37:22 1991 *************** *** 704,708 **** #endif BLOCK_INPUT (); ! XBell (XXdisplay,50); XFlush (XXdisplay); UNBLOCK_INPUT (); --- 704,708 ---- #endif BLOCK_INPUT (); ! XBell (XXdisplay,-50); XFlush (XXdisplay); UNBLOCK_INPUT (); After 'xset b BASE', XBell(disp,VAL) beeps with volume BASE - (BASE*VAL)/100 + VAL, XBell(disp,-VAL) beeps with volume BASE - (BASE*VAL)/100. Hallvard
Technical Details
Message-ID:
<9101241902.AA16201@holmenkollen>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!IFI.UIO.NO!hallvardShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,8d615a3cbe85b756,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1991-01-24 11:02:52 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!IFI.UIO.NO!hallvard From: hallvard@IFI.UIO.NO (Hallvard B Furuseth) Newsgroups: gnu.emacs.bug Subject: bell Message-ID: <9101241902.AA16201@holmenkollen> Date: 24 Jan 91 19:02:52 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 32 Approved: bug-gnu-emacs@prep.ai.mit.edu