[TriLUG] Dumb Question: Terminal Beep Command

Mark Shuford mark at tmhco.com
Tue Feb 15 16:34:01 EST 2005


Don't know, ain't tried it, but...

<CTL>-g

is the ascii bell character.

mds


On Tue, 15 Feb 2005 16:30:30 -0500
David Rasch <rasch at raschnet.com> wrote:

> Looks like there is a program written for this purpose.  In Debain
> it's contained in the package "beep".  It looks like there's some
> RPM's for older RH's here: http://www.johnath.com/beep/ along with the
> source code.
> 
> David
> 
> On Tue, Feb 15, 2005 at 04:23:43PM -0500, Brian Henning
> <brian at strutmasters.com> wrote:
> > Hi Guys,
> >   Back in the days of DOS, there was a really cool shell command, 
> > "BEEP."  Amazingly, execution of said command caused a terminal
> > beep.  I am looking for exactly that function in a bash shell, but
> > for some reason it is eluding me.
> > 
> > Ooh, here we go:  From the bash manpage: $'\a' results in an alert,
> > or bell.  So my question becomes, is there a preexisting shell
> > command that will accomplish "echo $'\a'" in less than half the
> > number of keystrokes, and doesn't result in a line-feed in the
> > terminal?
> > 
> > Thanks!
> > ~Brian
> > -- 
> > TriLUG mailing list        :
> > http://www.trilug.org/mailman/listinfo/trilug
> > TriLUG Organizational FAQ  : http://trilug.org/faq/
> > TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> > TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc
> > 
> 


-- 
Mark Shuford



More information about the TriLUG mailing list