Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Apr 2003 11:01:44 -0400
From:      Wade Majors <wade@ezri.org>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Console beep function?
Message-ID:  <3E997BD8.4080605@ezri.org>
In-Reply-To: <OE58ICSsiWdBdsnvUFc0000d84f@hotmail.com>
References:  <OE58ICSsiWdBdsnvUFc0000d84f@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Mxsmanic wrote:
> What is the closest thing to a beep function for the system console on
> FreeBSD?  I have a program I want to port from Windows that beeps
> intermittently at various frequencies, and it appears that there's no direct
> equivalent of the Windows functions for making noise.  Suggestions?  It will
> only be run on the console, so it doesn't have to work for remote terminals
> or anything.

Take a look at the spkr(4) man page. Might also want to look at the 
source for /usr/ports/audio/beep which is a tiny app that uses it.

-Wade




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E997BD8.4080605>