Re: Beeping the Speaker
On 24 Feb 1998, Roderick Schertler wrote:
> On Sat, 21 Feb 1998 11:08:17 +1300 (NZDT), mickyb@es.co.nz (Michael Beattie) said:
> >
> > My only problem is that echoing the \a twice runs them together to
> > sound like one... I would like a double beep, so i used `runq;runq'
> > to get a suitable pause in between beeps... If anyone has a better
> > idea.... :)
>
> perl >/dev/tty1 -we '$| = 1;
> print "\a";
> select undef, undef, undef, 0.25;
> print "\a"'
>
> The 0.25 indicates a pause of 0.25 seconds.
>
Excellent... works perfectly :) Thanks.
Michael Beattie (mickyb@es.co.nz)
-------------------------------------------------------------------------------
My cat's eyes look kinda glassy. I think he ate it.
-------------------------------------------------------------------------------
Debian GNU/Linux.... Ooohh You are missing out!
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: