Re: Beeping the Speaker
On Sat, 21 Feb 1998, Michael Beattie wrote:
> Is it at all possible to beep the PC Speaker via bash? or perl... or
> whatever?
>
> What I want to do is set up my ip-up script, so that fetchmail is run from
> it, and there is some sort of notification when it is complete.. i.e. a
> double beep or something.
>
Thanks for all the reply's, I have found a solution....
`echo CTRL-V CTRL-G' works, as does `echo -e "\a"' but when run in ip-up,
they must be redirected to a tty... i.e `echo -e "\a" > /dev/tty11'
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.... :)
I guess it's okay like that if you use queue_only (smail), you kind of
need to deliver mail that arrives via fetchmail. :)
Thank you again for any help recieved...
Michael Beattie (mickyb@es.co.nz)
-------------------------------------------------------------------------------
If NT is the answer, you didn't understand the question. (NOTE: Stolen sig)
-------------------------------------------------------------------------------
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: