example c program that does "beep"

Anton Shterenlikht mexas at bristol.ac.uk
Sat Dec 26 17:16:29 UTC 2009


On Sat, Dec 26, 2009 at 11:50:06AM -0500, Thomas Dickey wrote:
> 
> instead of the printf/fflush, it would clear the screen and beep - if the
> terminal description says it can do the beep.

I have 

> echo $TERM
xterm
>

xterm can do beep, can't it?

But I can't get it to beep on anything.
I probably don't get some basic idea..

many thanks
anton


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423


More information about the freebsd-questions mailing list