Subject: Re: How to produce BEEP
To: None <jonny@mailhost.coppe.ufrj.br>
From: Hacksaw <hacksaw@remote116.channel1.com>
List: netbsd-help
Date: 10/16/1996 17:57:39
>Oh.  Now this is easy !!!
>
>Just this:
>
>{
>  int console;
>
>  console = open( "/dev/console", O_WRONLY );
>  ...
>  write( console, "\007", 1 );  /*  BEEP on the console */
>  ...
>}
>

Ummm, did you try it?

I compiled Mike's program. Nothing. Not when pointed at /dev/console,
not when pointed at /dev/vt0 (my real console), not when pointed at
/dev/vt7 (the vt in use by X). But beeping works, emacs and shells do
it fine.

Nope. I think the solutions =
i386: compile a kernel with the "speaker" device added,
All others: S**t Outta Luck?
--
Hacksaw