Ogg Vorbis, was Re: procmail script question

2001-11-13 Thread Ailbhe Leamy
On (22/07/01 14:43), Lang Hurst wrote: > > That works great. However I am often listening to my vorbis > collection. When my music is playing and a new email comes in, the > festival output just gets garbled with the music. I would like to set > up a procmail script that says > > if xmms is pla

Re: procmail script question

2001-11-11 Thread John Patton
On Sun, Jul 22, 2001 at 02:43:30PM -0700, Lang Hurst wrote: > I use the following procmail script to make festival speak the FROM and > SUBJECT headings of new email through my speakers: > > SUBJECT=`formail -xSubject: \ > | expand | sed -e 's/^[ ]*//g' -e 's/[ ]*$//g'` > SENDER=`formail -xFrom:

procmail script question

2001-11-11 Thread Lang Hurst
I use the following procmail script to make festival speak the FROM and SUBJECT headings of new email through my speakers: SUBJECT=`formail -xSubject: \ | expand | sed -e 's/^[ ]*//g' -e 's/[ ]*$//g'` SENDER=`formail -xFrom: \ | expand | sed -e 's/^[ ]*//g' -e 's/[ ]*$//g'` :0c | echo "New mail f

Re: procmail script question

2001-07-22 Thread John Patton
I would pipe the contents of echo to a shell script. In that script you could test for xmms with something like the following: #!/bin/bash xmms=`ps -ef | grep xmms | grep -v grep` if [ "X$xmms" = "X" ]; then # xmms not running echo "$* | festival --tts" else

procmail script question

2001-07-22 Thread Lang Hurst
I use the following procmail script to make festival speak the FROM and SUBJECT headings of new email through my speakers: SUBJECT=`formail -xSubject: \ | expand | sed -e 's/^[ ]*//g' -e 's/[ ]*$//g'` SENDER=`formail -xFrom: \ | expand | sed -e 's/^[ ]*//g' -e 's/[ ]*$//g'` :0c | echo "New mail f