Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!rutgers!shelby!neon!Gang-of-Four!weening From: weening@Gang-of-Four.Stanford.EDU (Joe Weening) Newsgroups: gnu.emacs Subject: Re: Is there a way to turn off the Bell? Message-ID: Date: 10 Jan 90 21:04:24 GMT References: <15026@shamash.cdc.com> Sender: news@Neon.Stanford.EDU (USENET News System) Distribution: usa Organization: Computer Science Department, Stanford University Lines: 31 In-Reply-To: ldk@raistlin.udev.cdc.com's message of 10 Jan 90 15:18:15 GMT In article <15026@shamash.cdc.com> ldk@raistlin.udev.cdc.com (ld kelley x-6857) writes: I have a number of users here that are using x terminals, and they tell my that the bell is driving them bonkers. Can a user disable the bell and how? We are running emacs 18.55 on MIPS and Suns. The problem is that Emacs is increasing the bell volume, instead of using the user's choice. On my NCD-16 X terminal, I usually set the bell to 20% of the maximum volume, because it has a really loud beep. Emacs chooses to beep at 50% between this and the maximum, i.e., 60% of the maximum, or three times as loud as I want. The following patch fixes it. *** x11term.c.old Wed Aug 2 19:56:42 1989 --- x11term.c Sat Dec 2 17:37:44 1989 *************** *** 655,659 **** #endif BLOCK_INPUT (); ! XBell (XXdisplay,50); UNBLOCK_INPUT (); } --- 655,659 ---- #endif BLOCK_INPUT (); ! XBell (XXdisplay,0); UNBLOCK_INPUT (); } -- Joe Weening Computer Science Dept. weening@Gang-of-Four.Stanford.EDU Stanford University