Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ukma!wuarchive!udel!princeton!czar.Princeton.EDU!fuchs From: fuchs@czar.Princeton.EDU (Ira Fuchs) Newsgroups: comp.sys.next Subject: Re: Printer power on-off --- Announce mail arrival. Message-ID: <5705@idunno.Princeton.EDU> Date: 25 Jan 91 17:07:05 GMT References: <5671@idunno.Princeton.EDU> Sender: news@idunno.Princeton.EDU Reply-To: fuchs@czar.Princeton.EDU (Ira Fuchs) Distribution: usa Lines: 10 The easiest way I know of to have audio announcement of mail arrival is to create a .forward file (or append to an existing one) the following: "|sndplay soundofyourchoice.snd". You can actually take this a step further and do something like this: "|gawk '/anystringyoulike/ {system(\"sndplay somesound.snd\")}`" This will play somesound.snd only when the string "anystringofyourchoice" is in the mail. Obviously you can have as complex a gawk script as you like (e.g., play the pre-recorded name of the sender or a tune which you associate with the sender, etc.). The possibilities are endless (and possibly noisy).