Re: Simple BASH question

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

 



On 23:27 28 Jul 2004, Anthony E. Greene <tony@xxxxxxxxxxxxxxxxx> wrote:
| On 28-Jul-2004/16:49 +0200, Jean-Christophe Valiere <jyce@xxxxxxx> wrote:
| >
| > If I put "set bell-style none" in /etc/inputrc it works (no sound any more)
| > whereas, if I put it in ~/.bashrc it doesn't.
| > Does somebody know why ??
| 
| If this is a valid environment variable, the bash syntax would be
|   export bell-style=none
| and it should be put in ~/.bash_profile

But it's not of course, because it has a dash in it.

The core reason is that "set bell-style none" is _not_ a shell command,
it's a GNU-readline command, which is why it belongs in the .inputrc
(the readline control file) instead of in the bash control files.

Cheers,
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

Helicopters are considerably more expensive [than fixed wing aircraft],
which is only right because they don't actually fly, but just beat
the air into submission.        - Paul Tomblin


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux