On Sat, May 27, 2000 at 05:08:39AM +0530, rohit sharma wrote:
> This works for me,mail.wav is played whenever there is new mail
> fetched by fetchmail. This is on my BSD box, check what is the device for
> sound on your linux box (/dev/snd)(?) and substitute /dev/dsp1.
>
> if fetchmail; then cat $HOME/mail.wav >>/dev/dsp1; fi;
>
on Linux the device is /dev/dsp, and the native format is .au, so u'd have to
use sox or esdcat (if u're running esd), or some thing on thoz lines to get
the sound playing...
Nikhil.
-----------------------------------------------------------------------
LIH is all for free speech. But it was created for a purpose - to help
people discuss issues about installing and running Linux. If your
messages are counterproductive to this purpose, your privileges to
submit messages can and will be revoked.