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
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:
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
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
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
5 matches
Mail list logo