From owner-freebsd-questions@FreeBSD.ORG Sat Dec 26 19:41:22 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 24668106566B for ; Sat, 26 Dec 2009 19:41:22 +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 D0D638FC13 for ; Sat, 26 Dec 2009 19:41:21 +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 nBQJfEV4015285; Sat, 26 Dec 2009 14:41:14 -0500 (EST) Received: (from dickey@localhost) by saltmine.radix.net (8.12.2/8.12.2/Submit) id nBQJfEln015284; Sat, 26 Dec 2009 14:41:14 -0500 (EST) Date: Sat, 26 Dec 2009 14:41:14 -0500 From: Thomas Dickey To: Anton Shterenlikht Message-ID: <20091226194113.GA14712@saltmine.radix.net> References: <20091225185826.GA82073@mech-cluster241.men.bris.ac.uk> <20091225204914.2a532df3.freebsd@edvax.de> <20091226153327.GA9918@mech-anton242.men.bris.ac.uk> <20091226165005.GA17386@saltmine.radix.net> <20091226171623.GA34116@mech-cluster241.men.bris.ac.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BOKacYhQ+x31HxR3" Content-Disposition: inline In-Reply-To: <20091226171623.GA34116@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.3.27i Cc: Polytropon , Thomas Dickey , 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: Sat, 26 Dec 2009 19:41:22 -0000 --BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: > >=20 > > instead of the printf/fflush, it would clear the screen and beep - if t= he > > terminal description says it can do the beep. >=20 > I have=20 >=20 > > echo $TERM > xterm > > >=20 > 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 --=20 Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net --BOKacYhQ+x31HxR3 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 iD8DBQFLNmbWtIqByHxlDocRAmJqAJ9aAOnIJNxhoIbCPZ/go5aIEr4/ggCgn3V/ 51aYIX8xRaX+Ren/ZYka0UQ= =RaE9 -----END PGP SIGNATURE----- --BOKacYhQ+x31HxR3--