[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Beep-Beep



Hi,

I've found it usefull to make my serbver BEEP when happen
some interesting events. So here  is ingenious script
making PC beep!

-----8<-----------
#!/bin/sh
while [ 1 ] do;
  printf "\a"
  sleep 2
done;
-----8<-----------

Brilliant! BUT it beeps only when it is run on
particular TTY. If it is run at background, it stops
beeping when it's TTY dies.

Question:
  How to make a script BEEP on a host machine even
  when it's TTY dies?
Alexander Rier
e-mail:  alexr@gezernet.co.il
Tel:     972-3-5340807
         972-52-442549
ICQ:     2462621