From owner-freebsd-questions@FreeBSD.ORG Mon Oct 7 20:00:57 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7BEF4AF3 for ; Mon, 7 Oct 2013 20:00:57 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 30E962E0B for ; Mon, 7 Oct 2013 20:00:56 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r97K0kjU091036; Mon, 7 Oct 2013 14:00:46 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r97K0kS9091033; Mon, 7 Oct 2013 14:00:46 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 7 Oct 2013 14:00:46 -0600 (MDT) From: Warren Block To: Frank Leonhardt Subject: Re: How do I ring a bell? In-Reply-To: <5252AD3D.7070703@fjl.co.uk> Message-ID: References: <52529CFF.9030105@fjl.co.uk> <5252AD3D.7070703@fjl.co.uk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Mon, 07 Oct 2013 14:00:46 -0600 (MDT) Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Oct 2013 20:00:57 -0000 On Mon, 7 Oct 2013, Frank Leonhardt wrote: > On 07/10/2013 13:06, Peter Boosten wrote: >> >> echo "CTRL-V CTRL-G" should do the trick Or, more easily, printf "\a". > Alas, not. The console driver won't ring the BIOS bell on anything I've > tried. It might on a desktop with a built-in sound card and speakers, but it > won't do anything with the "beep" speaker. It's actually the same solution I > mentioned in the first line (\a translates to 007 which is ctrl-G). Make sure hw.syscons.bell is set to 1. It can be changed at run time, like in /etc/sysctl.conf. Some systems have it disabled (set to 0) because the bell is amazingly loud and piercing. (Looking at you, Dell.)