home | list info | list archive | date index | thread index

Re: [OCLUG-Tech] how does one simply print a BEL character?

  • Subject: Re: [OCLUG-Tech] how does one simply print a BEL character?
  • From: Howard Eisenberger <hce [ at ] ncf [ dot ] ca>
  • Date: Mon, 3 Mar 2014 22:34:44 -0500
On Mon, Mar 03, 2014 at 05:12:10AM -0500, Robert P. J. Day wrote:

>   i'm feeling a bit dense right now, but all i want to do is
> echo/print/printf/whatever a BEL character to get a beep. i've checked
> all the standard ways, using '\a' and \007 and so on, but no alleged
> variation gives me a beep. sound is turned on, so i'm puzzled.
> 
>   this is on fedora 20, is there a shell setting of some kind that i
> need to tweak?

echo -e '\a' works here through the PC speaker on the console or 
in an xterm. In X I can turn the bell off with "xset -b", so maybe
try "xset b". "xset" with no options shows the usage.

Regards,

Howard E.