<quote who="Rev Simon Rumble">

> You also need a DISPLAY=":0" (or similar) in there for it to know
> where to stick the text.

And a few other bits... Such as pointing it to .Xauthority. See my
.procmailrc here for the rest: http://perkypants.org/dotfiles/

[ As if I had to explain that bit! ;) ]

> Now Jeff, how would I get it to also put up the From address?

*grmph* Always doing people's dirty work for them... *grmph*

I was doing this in my head early this morning anyway... ;) You use a
procmail block to grab the two matches, then you echo them out. Example:

:0 c
* ^Subject:.*\/.*
{
    SUBJECT=$MATCH

    :0 ih
    * ^From: .*\/[^<]*
    | echo "$SUBJECT from $MATCH" | $ONSCREEN
}

Note: I would have done echo -e "$SUBJECT\n$MATCH", but this requires
support from osd_cat in the way of "\n" processing. It doesn't currently do
it, so you know what to do. ;)

- Jeff

-- 
   "It's actually my new bandwidth conservation technique: compresion of    
                     al double leters." - Telsa Gwynne                      
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to