Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Dec 2009 17:15:51 -0500
From:      Thomas Dickey <dickey@radix.net>
To:        Polytropon <freebsd@edvax.de>
Cc:        Anton Shterenlikht <mexas@bristol.ac.uk>, freebsd-questions@freebsd.org
Subject:   Re: example c program that does "beep"
Message-ID:  <20091225221551.GA6487@saltmine.radix.net>
In-Reply-To: <20091225203439.95a8464f.freebsd@edvax.de>
References:  <20091225185826.GA82073@mech-cluster241.men.bris.ac.uk> <20091225203439.95a8464f.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--/04w6evG8XlLl3ft
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Dec 25, 2009 at 08:34:39PM +0100, Polytropon wrote:
> On Fri, 25 Dec 2009 18:58:26 +0000, Anton Shterenlikht <mexas@bristol.ac.=
uk> wrote:
> > How can I get a beep from c?
> > I looked at curses and syscons.c, but
> > still not clear.
>=20
> 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).

--=20
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

--/04w6evG8XlLl3ft
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (SunOS)
Comment: For info see http://www.gnupg.org

iD8DBQFLNTmVtIqByHxlDocRAiJYAKCgSmrqaHBNyVEQf035jmwwNqk9/gCffMJV
AXuXoyezadR46L0gWhThRlY=
=FDcn
-----END PGP SIGNATURE-----

--/04w6evG8XlLl3ft--



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