SUMMARY beep

From: Mariel Feder (unix.support@central.meralco.com.ph)
Date: Fri May 02 1997 - 18:03:15 CDT


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



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:52 CDT