From owner-freebsd-questions@FreeBSD.ORG Fri Dec 25 22:15:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FDD01065670 for ; Fri, 25 Dec 2009 22:15:59 +0000 (UTC) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (saltmine.radix.net [207.192.128.40]) by mx1.freebsd.org (Postfix) with ESMTP id 2C71A8FC12 for ; Fri, 25 Dec 2009 22:15:58 +0000 (UTC) Received: from saltmine.radix.net (localhost [127.0.0.1]) by saltmine.radix.net (8.12.2/8.12.2) with ESMTP id nBPMFpV4006841; Fri, 25 Dec 2009 17:15:51 -0500 (EST) Received: (from dickey@localhost) by saltmine.radix.net (8.12.2/8.12.2/Submit) id nBPMFp5m006840; Fri, 25 Dec 2009 17:15:51 -0500 (EST) Date: Fri, 25 Dec 2009 17:15:51 -0500 From: Thomas Dickey To: Polytropon Message-ID: <20091225221551.GA6487@saltmine.radix.net> References: <20091225185826.GA82073@mech-cluster241.men.bris.ac.uk> <20091225203439.95a8464f.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/04w6evG8XlLl3ft" Content-Disposition: inline In-Reply-To: <20091225203439.95a8464f.freebsd@edvax.de> User-Agent: Mutt/1.3.27i Cc: Anton Shterenlikht , freebsd-questions@freebsd.org Subject: Re: example c program that does "beep" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Dec 2009 22:15:59 -0000 --/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 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--