example c program that does "beep"

Thomas Dickey dickey at radix.net
Fri Dec 25 22:15:59 UTC 2009


On Fri, Dec 25, 2009 at 08:34:39PM +0100, Polytropon wrote:
> On Fri, 25 Dec 2009 18:58:26 +0000, Anton Shterenlikht <mexas at bristol.ac.uk> wrote:
> > How can I get a beep from c?
> > I looked at curses and syscons.c, but
> > still not clear.
> 
> If you want to use NCURSES / CURSES, it's a bit complicated.

tput bel

(that's part of ncurses - though your configuration iirc doesn't have
a fully-functional tput).

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091225/ddd8d059/attachment.pgp


More information about the freebsd-questions mailing list