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: Tue, 4 Mar 2014 11:49:45 -0500
On Tue, Mar 04, 2014 at 10:23:17AM -0500, Howard Eisenberger wrote:

> On Mon, Mar 03, 2014 at 10:34:44PM -0500, Howard Eisenberger wrote:
> 
> > 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.
> 
> Check that. It's actually the internal mono speaker from the
> onboard sound. I can adjust the volume with the mixer. There 
> is no PC speaker. Otherwise, no difference.

Scratch that too. :-) The mixer does NOT affect the volume of
the bell. "xset b vol" does.

Regards,

Howard E.