Re: a curious beep when selecting and replacing text in nedit
Re: a curious beep when selecting and replacing text in nedit
- Subject: Re: a curious beep when selecting and replacing text in nedit
- From: Michael Parson <email@hidden>
- Date: Fri, 5 Jun 2009 19:29:52 -0500 (CDT)
On Thu, 4 Jun 2009, Vernon Williams wrote:
<snip>
Playing with this a bit, I am guessing the programmer decided
to put the beep in once the selection was deselected (which
typing text will of course do), as a signal that the formerly
selected text might no longer still be available to the
Pasteboard (though my testing shows it still is available,
until something else fills the Pasteboard).
In fact, I have just verified that this is the case. I selected
some text in nedit (with the above option turned on), then
just clicked anywhere in the text area (which deselected
the selected text), and I got a beep.
So, now we know what the problem is. When this option
is turned on, a deselection callback is doing a beep. The
solution is simple. Find this callback, or just do a search
on the beep routine (it can't be called in too many places)
and rip the bloody call out.
The beep should go away, if nobody can guess what it
means, and if things still work properly anyway, as they
seem to.
<snip>
I'm in agreement on the beep thing. I hadn't enabled that option yet,
not having played with all the newer features of the updated Xserver,
but I just did and I think I like it. However, I hate the X11 bell. I
like my computers to be rather quiet, never have liked audible alerts
from the computer of any kind.
Which is why, many moons ago, I put in my .profile:
if [ $TERM = "xterm" ]; then
xset b off
fi
I spend most of my time in X11 in an xterm, so, this rather quickly
disables the X11 bell and I don't have to hear it any more.
--
Michael Parson
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden