From owner-freebsd-questions Sat Dec 2 3:50:10 2000 Delivered-To: freebsd-questions@freebsd.org Received: from 2711.dynacom.net (2711.dynacom.net [206.107.213.3]) by hub.freebsd.org (Postfix) with ESMTP id 429A837B400 for ; Sat, 2 Dec 2000 03:50:08 -0800 (PST) Received: from urx.com (dsl1-160.dynacom.net [206.159.132.160]) by 2711.dynacom.net (Build 101 8.9.3/NT-8.9.3) with ESMTP id DAA01855; Sat, 02 Dec 2000 03:49:54 -0800 Message-ID: <3A28E1E2.8D703D3@urx.com> Date: Sat, 02 Dec 2000 03:49:54 -0800 From: Kent Stewart Reply-To: kstewart@urx.com Organization: Dynacom X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Sue Blake Cc: freebsd-questions@FreeBSD.ORG Subject: Re: unpseakable speaker device? References: <20001202222840.K377@welearn.com.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sue Blake wrote: > > Is there some way to test, silently from a shell script, > whether the currently running kernel has PC speaker support? In an xterm window, did you try pressing g. That uses the internal speak on two of my systems. Kent > > I was going to test whether the device is writeable, and if so > echo "~" > /dev/speaker > and look at $? but there might be a more elegant way. > > -- > > Regards, > -*Sue*- > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://kstewart.urx.com/kstewart/index.html FreeBSD News http://daily.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message