SUMMARY beep

Mariel Feder (unix.support@central.meralco.com.ph)
Fri, 02 May 1997 15:03:15 -0800

Original question:

> Does anybody know how can I make the computer beep from a shell
> script or from a C-program?
> I have a Sun Ultra 1 running solaris 2.5.1.

Answer:

>From a shell script

echo '^G' (where ^G means holding down the [Ctrl] key and pressing [G],
not pressing the hat key followed by G.)

or

echo '\007'

>From a C program

printf ("\007")

Thanks for your answers to:
Craig Raskin
Michael Panayiotak
Kent R. Arnott
Glenn Satchell
San Walmsley

Regards,
Mariel