example c program that does "beep"

Thomas Dickey dickey at radix.net
Sat Dec 26 19:41:22 UTC 2009


On Sat, Dec 26, 2009 at 05:16:23PM +0000, Anton Shterenlikht wrote:
> 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?

usually.  I broke it (and fixed it) last spring.
There's a workaround by setting a resource value, noted in the change
comment:

	http://invisible-island.net/xterm/xterm.log.html#xterm_243

-- 
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/20091226/1a1de0d5/attachment.pgp


More information about the freebsd-questions mailing list