J Adam Latham wrote:
<Snip>
: I googled fortune, thinking I'd like to use it to generate random
: signatures, but got a number of hits, and don't know if there's a
: specific one to use. Any help please.
Hi Rosemary:
The program you want is fortune-mod. It's available on the install disks from
Mandrake. I run 10.1. Install that and then create a text file with your
list of quotes ...
In your fave text editor, create a file called "sig" or "quotes" or whatever
ya want & enter the following:
%
Quote 1 ...
%
Quote 2 ...
And so on. The quotes you want to enter just need to be separated by the "%"
symbol.
To make this file something that the fortune program can work with, run the
command that Josenildo provided earlier in this thread:
strfile /path/to/your/file
I run this as root, which may or may not be necessary ... or warranted. :)
If everything is Ok, the above command will provide output like the following:
"sig.dat created"
There were xx strings.
Longest string: xx bytes
Shortest string: xx bytes
Now, as to how to get your mail program to work with all this: I don't know
how to do it in Thunderbird, but I would assume it's similar to KMail which
goes like this:
Settings - Configure KMail
Under Identities, highlight the email address you want to utilize fortune and
click "modify" ... Under the signature tab check the box to "enable
signature." Select "output from command" where it asks where to obtain
signature text from ... Finally, where it asks you to specify command enter
"fortune /path/to/your/quote/file" (without quotes).
Hopefully Thunderbird is setup similarly to Kmail ... If not, I'm sure someone
will be able to help you ...
If memory serves, that's all ya need to do to get your random signature
working.
Hope that helps ... :)
Adam
Hi Adam
Thanks for those detailed instructions - always good for a newbie like
me :-). I have a signature file which I use for Tbird so will alter it
as suggested.
Thanks
--
Rosemary
Registered Linux User # 386597 http://counter.li.org
"A friend may well be a masterpiece of nature". Emerson
____________________________________________________
Want to buy your Pack or Services from Mandriva?
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________