Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!rutgers!njin!uupsi!sunic!lth.se!E89HSE@rigel.efd.lth.se From: e89hse@rigel.efd.lth.se Newsgroups: comp.lang.c Subject: Re: How do I make my program beep. Message-ID: <009374EA.BD5B1A20@rigel.efd.lth.se> Date: 27 May 90 19:01:52 GMT References: <3472@umn-d-ub.D.UMN.EDU>,<1990May27.000808.13551@utzoo.uucp> Sender: newsuser@lth.se (LTH network news server) Reply-To: e89hse@rigel.efd.lth.se Organization: Lund Institute of Technology,Lund, Sweden Lines: 13 In article <1990May27.000808.13551@utzoo.uucp>, henry@utzoo.uucp (Henry Spencer) writes: >In article <3472@umn-d-ub.D.UMN.EDU> halam2@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