Paul . L . Snyder on Wed, 11 Jun 2003 09:49:09 -0400


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

Re: [PLUG] System Bell - Beep!


"Jeff Abrahamson" <jeff@purple.com> wrote on 06/10/2003 at 11:57:58 PM:

> On Tue, Jun 10, 2003 at 10:10:01PM -0400, zeek wrote:
[...]
> > Does anyone know how to ring a system bell, a beep w/o additional
> > software? I've tried:
> >
> > echo -n -e "\a"  and  echo -n -e "\007"
> >
> > but neither of these are working --even for systems which ring
> > bells on other calls.
[...]
> These both work for me:
>
> /bin/echo -n -e "\a"
> echo -n -e "\a"
>
> Since echo is also a shell built-in, you have to specify that you want
> /bin/echo if you want it.


Bash uses the readline library.  Perhaps readline is configured not to
generate a bell tone?  Jeff's suggestion should work, if that's what's
going on.  Still, you might try adding

  set bell-style audible

to .inputrc, in your home directory.  Readline configuration is covered
in the bash man page.

pls


_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug