How do I make my program beep.
e89hse at rigel.efd.lth.se
e89hse at rigel.efd.lth.se
Mon May 28 05:01:52 AEST 1990
In article <1990May27.000808.13551 at utzoo.uucp>, henry at utzoo.uucp (Henry Spencer) writes:
>In article <3472 at umn-d-ub.D.UMN.EDU> halam2 at umn-d-ub.D.UMN.EDU (Haseen Alam) writes:
>> The K&R says that '\a' is an alert (audible bell), but how do I use it to
>> make my program beep? All my attemps were vain!!
>
>On what machine? You should ask this on a machine-specific newsgroup, like
>say comp.sys.ibm.pc.programmer. How you get a beep is *highly* hardware-
>dependent. My Sun-3/180 can't beep at all (although most of the terminals
>attached to it can).
>--
Yyes is is hardwared dependent, but on most machines ^G (ascii 7) will do it.
Henrik Sandell
More information about the Comp.lang.c
mailing list