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

Re: this beeping makes me sick



hi.

not sure if this has been answered yet, but this works for me:

( for inclusion in ~/.bashrc )

echo -e "\\33[10;20]"




	the '-e' has something to do with getting bash to 
		understand escape-sequences such as the 
		\\33 apparently indicates.

( 33 is the numeric id for ASCII 'ESC' )

	the '10' is a part of the escape-sequence that 
		specifies something like 'bell volume' or, 
		more likely, 'bell frequency' ( in hertz, Hz) .

	the '20' is an out-of-range frequency , 
		so it disables the bell.


...that explanation is coming from a fuzzy memory of it, and might not
be 100% right, but hopefully the command will work regardless.



& this doesn't seem to disable the bell under x-windows, but it should
work for the console.



-- s.c.



Reply to: