[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cosole Beep



On Thu, 19 Dec 1996, Fabien Ninoles wrote:

-+-----BEGIN PGP SIGNED MESSAGE-----
-+
-+On Thu, 19 Dec 1996, Vithar wrote:
-+
-+> 
-+>   Okay, I realize that this is not neccessarily a Debian problem, but 
-+> since I am using Debian, I figured I'd ask this here anyway. <g> 
-+> 
-+> Is there any way, short of physically disabling it, of turning off the 
-+> annoying beep on the Linux console ?  I get tired of having it beep at me
-+> whenever I try for filename completions or hit backspace one too many 
-+> times or some such.  Is there a configuration change that will do this or
-+> does the kernal need to be patched ? 
-+>
-+
-+
-+If you using bash, I sometime know about a variable (named *BELL* or
-+something matching it...) who let you choose the *right* behavioyur. Maybe
-+they're some like in tcsh. Elsewhere, you can use screen as I do for most
-+of my console session. It provides multiple windows screen session,
-+hardcopy and let you choose between none-visual-or-sound bell.

Bash uses the readline library which in turn reads a file called
"~/.inputrc". Below is a listing of mine:

rudi:~$ cat .inputrc 
set bell-style visible
set show-all-if-ambiguous On
rudi:~$ 

The first line turns the beep into a flashing screen (no beeps anymore),
and the second line makes completion work at the first hit of TAB (less
beeps for those terminals which don't have a visual bell). 

See also man readline.

Bye,
Heiko
-----------------------------------------------------------------------------
Heiko Selber (Fritz-Haber-Institut Berlin)   | I condem'n the abuse of    |
http://www.fhi-berlin.mpg.de/~selber         | apostrope's.               |
email: selber@fhi-berlin.mpg.de              |                            |
Phone:+49-30-8413-4574, Fax:+49-30-8413-4686 |____________________________|


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: