[4905] in testers
Re: [4851] sunblade real slow
daemon@ATHENA.MIT.EDU (Richard Tibbetts)
Tue Jun 26 23:53:55 2001
Date: Tue, 26 Jun 2001 23:53:52 -0400
From: Richard Tibbetts <tibbetts@MIT.EDU>
To: testers@MIT.EDU
Message-ID: <20010626235351.G20112@multics.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Wed, 20 Jun 2001 21:15:57 -0400 (EDT) jhawk wrote:
> b) The keyboard bell is way too loud, and xset does not affect
> the volume. Not sure waht to do here.
The bell issue was, as far as I could tell, constrained to
gnome-terminal. I tracked the bell call back to third/gtk/gdk/gdk.c.
Here, XBell is called with percent 100. In x11r6 xterm
(/mit/x11r6/src/xc/programs/xterm) it is called with percent 0.
Here is a patch which changes this (yeah, its only one line, but I
figured I would send a patch anyways). I have not tested the patch. If
it won't get applied unless I test it, then I can probably find time
at some point in the next couple of weeks. But I figured someone with
a working system would be able to test it much faster.
Index: gdk.c
===================================================================
RCS file: /afs/dev/source/repository//third/gtk/gdk/gdk.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 gdk.c
--- gdk.c 2001/03/14 17:10:33 1.1.1.2
+++ gdk.c 2001/06/27 03:37:21
@@ -989,7 +989,7 @@
void
gdk_beep (void)
{
- XBell(gdk_display, 100);
+ XBell(gdk_display, 0);
}
/*