Re: Getting access to PC-Speaker
From: Michael Heiming (michael+USENET_at_www.heiming.de)
Date: 07/13/03
- Next message: JM: "Re: quick advice on wireless routers"
- Previous message: Kevin Nathan: "Re: Choose? Slow mouse or beep in shell"
- In reply to: Dave: "Getting access to PC-Speaker"
- Next in thread: Dave: "Re: Getting access to PC-Speaker"
- Reply: Dave: "Re: Getting access to PC-Speaker"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 13 Jul 2003 04:44:30 +0200
In alt.os.linux.suse Dave <dwat@gc.quik.com.au> wrote:
> G'day All
> I am trying to get some beeps from the PC-Speaker - just
> simple tones.
> I'm writing in C and have tried the suggested methods
> such as printf("%c\n", '\007');
> printf("%c\n", 0x07);
> printf("\a");
> putchar ('\a');
> putc('\a', stderr);
What does the following, from some xterm?
$ echo -e "\a" > /dev/console
-- Michael Heiming Remove +SIGNS and www. if you expect an answer, sorry for inconvenience, but I get tons of SPAM
- Next message: JM: "Re: quick advice on wireless routers"
- Previous message: Kevin Nathan: "Re: Choose? Slow mouse or beep in shell"
- In reply to: Dave: "Getting access to PC-Speaker"
- Next in thread: Dave: "Re: Getting access to PC-Speaker"
- Reply: Dave: "Re: Getting access to PC-Speaker"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|