From: Mark V. <vm...@mv...> - 2000-08-25 09:28:13
|
On Fri, 25 Aug 2000, you wrote: > [Mark Veinot <vm...@mv...>] > | > #!/bin/sh > | > > | > echo "^G" > | > [eof] > | > > | > and then having that as my onevent command... But an option would be a lot > | > cleaner. :) > | > | Compile beep.c in the licq-`date`/bin directory. That's what it's there for. > > And then you could use something like: > > #!/bin/bash > if { ! (/usr/bin/play $1 &> /dev/null) } > then beep > fi > > To get "real" sound when the sound device is free =) Hey! That's a really good idea! -- Mark Veinot - Computer Science - Acadia University ---------------------------------------------------------------- MV GrafX - Mark Veinot's Desktop (last reboot: 46 hours ago) ---------------------------------------------------------------- Sent on Wednesday, August 23, 2000 He's dead, Jim. Spock took his tricorder, I got his wallet. Author of LinuxTaRT (version 3.02) ---------------------------------------------------------------- (UIN 2785587) check -> http://mvgrafx.penguinpowered.com ---------------------------------------------------------------- |