Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Dec 2000 03:49:54 -0800
From:      Kent Stewart <kstewart@urx.com>
To:        Sue Blake <sue@welearn.com.au>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: unpseakable speaker device?
Message-ID:  <3A28E1E2.8D703D3@urx.com>
References:  <20001202222840.K377@welearn.com.au>

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


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 <ctl>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A28E1E2.8D703D3>