is there a mail app that does this?
Kurt Wall
kwall
Mon Jan 3 16:25:11 PST 2005
On Mon, Jan 03, 2005 at 10:49:46AM -0500, dep took 20 lines to write:
> quoth Bruce Marshall:
>
> | Fortune is one such program. I have a program that I wrote that
> | selects a 'witty saying' as below... using a random number within a
> | file of about 2,500 such sayings. The program is called from kmail
> | at compose time.
>
> is the program you wrote freely available?
Yup. fortune-mod, which can read from a variety of appropriately-formatted
data files. Everything you need is part of fortune-mod. All that remains
is to find the fortune files that please you and hook it up to kmail,
however that works. I use the following script:
#!/bin/sh
SIGFILE=$HOME/.signature
/usr/games/fortune -s | tee $SIGFILE
My mailer (mutt) can be persuaded to read the script's output directly.
The "| tee $SIGFILE" deposits the output in $HOME/.signature for
consumption by my newsreader.
Kurt
--
In Pocataligo, Georgia, it is a violation for a woman over 200 pounds
and attired in shorts to pilot or ride in an airplane.
More information about the Linux-users
mailing list