Bug 156588 - aaa_base:/etc/inputrc: set bell-style none missing
Summary: aaa_base:/etc/inputrc: set bell-style none missing
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Beta 7
Hardware: Other Other
: P5 - None : Enhancement (vote)
Target Milestone: ---
Assignee: Ruediger Oertel
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-09 16:41 UTC by Dirk Mueller
Modified: 2006-03-28 23:33 UTC (History)
2 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
/etc/skel/.inputrc (852 bytes, text/plain)
2006-03-14 10:55 UTC, Dr. Werner Fink
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Mueller 2006-03-09 16:41:46 UTC
console beeps by default all the time. please consider adding "set bell-style none" to /etc/inputrc.
Comment 1 Ruediger Oertel 2006-03-13 00:49:45 UTC
expanding CC list for opinions ... (personally I'm ok with that change)
Comment 2 Dr. Werner Fink 2006-03-13 10:33:56 UTC
This is a personal setting and can be changed by the user its self
within ~/.inputrc. Our bash reads both /etc/inputrc and ~/.inputrc.
The default is an active acoustic bell and we should not change that.
Comment 3 Dirk Mueller 2006-03-13 15:26:21 UTC
Werner: I'm fine with adding it to /etc/skel/.inputrc as well, point is that the beeping is quite annoying and everybody I know turns it off. 
Comment 4 Dr. Werner Fink 2006-03-13 15:37:16 UTC
Hmmm ... then you're knowing one person which do not turn off the bell.
Just do an echo

      echo 'set bell-style none' > ~/.inputrc
Comment 5 Dirk Mueller 2006-03-13 16:12:30 UTC
ok, there is always one person wanting the bell sound :) still I'm not sure if its a sensible default. some other distros switched to a visible bell instead, to only annoy the local user and not all the other office mates at the same time. 

Comment 6 Dr. Werner Fink 2006-03-13 16:20:46 UTC
Hmmm ... the bell is used very seldom if I type and edit my command line.
Only if I use BackSpace to often or the history up/down reached the
end the bell rings which is IMHO OK.
Comment 7 Dr. Werner Fink 2006-03-13 16:24:29 UTC
Btw: You may use

       xset b off

for an xsession.  Beside this I'm using

       xset b 50 400 100

which is OK for me.
Comment 8 Dirk Mueller 2006-03-13 16:27:39 UTC
it beeps when pressing <tab> twice in a row, which I use frequently to find the right completion. 
Comment 9 Dr. Werner Fink 2006-03-13 16:36:44 UTC
You may use also

  set show-all-if-ambiguous on
  set show-all-if-unmodified on
Comment 10 Ruediger Oertel 2006-03-14 10:36:20 UTC
all those "xset" features do not work under KDE unfortunately ...

not even Konsole->Settings->Notifications "Bell emitted" is the one ...

but: Kcontrol->Sound->SystemNotification->"Something special happened"
is the sound that is emitted on every "\a". Unfortunately there seems
no way to control the volume of these sounds.
(and clicking on "Player Settings" will always show "No audio output",
 which seems wrong with all that noise ...)
Comment 11 Dr. Werner Fink 2006-03-14 10:44:57 UTC
Beside this the readline library knows about:

       show-all-if-ambiguous (Off)
              This  alters  the  default behavior of the completion functions.
              If set to on, words which have more than one possible completion
              cause  the  matches  to be listed immediately instead of ringing
              the bell.
       show-all-if-unmodified (Off)
              This alters the default behavior of the completion functions  in
              a fashion similar to show-all-if-ambiguous.  If set to on, words
              which have more than one possible completion without any  possi-
              ble  partial  completion (the possible completions don't share a
              common prefix)  cause  the  matches  to  be  listed  immediately
              instead of ringing the bell.

Therefore you may try out

   echo 'set show-all-if-unmodified on' >> ~/.inputrc

and/or

   echo 'set show-all-if-ambiguous on' >> ~/.inputrc
Comment 12 Dirk Mueller 2006-03-14 10:49:42 UTC
Ruediger: konsole/settings/Bell/None works for me for disabling the annoying beeping, but that disables it everywhere (also in vim, less and other apps). 

Comment 13 Dirk Mueller 2006-03-14 10:52:54 UTC
ok, set show-all-if-ambiguous on seems to work without beeping. 

testcase: 

mkdir tmp/valgrind
mkdir tmp/valgrind-3.1
cd 
cd tmp/valgri<tab><tab>


any setting that makes it stop beeping here is fine for me. 




Comment 14 Dr. Werner Fink 2006-03-14 10:55:49 UTC
Created attachment 72743 [details]
/etc/skel/.inputrc

An example ~/.inputrc suitable for /etc/skel/
of the aaa_skel.
Comment 15 Ruediger Oertel 2006-03-28 23:33:10 UTC
added the attachment to aaa_skel
(fixing the typo: one of the two show-all-if-ambiguous
 needs to be show-all-if-unmodified)