For mutt, here's a much simplier way of doing it. Make an edit to your ~/.muttrc that reads something along these lines.
set signature='cat /home/timh/.signature ; echo " -----------------------------Uptime -------------------------------" ; uptime ; echo " -------------------------------------------------------------------"|' That's all one line, and that's what gives me the signature that I have. That can all of course be changed to your astetic choosing, but that's the easier way of going about it in mutt. tdh -- -------------------------------------------------------------------- T. Holmes | UNIXTECHS.org | [EMAIL PROTECTED] | UIN: 17021091 -------------------------------------------------------------------- | | The important thing missing here is the automatic start of the script. | The script is nice but I still have to punch 'sig' (or whatever I call | the script) into an xterm before I start writing a mail. | What I'd like is: whenever I type 'm' or 'r' or any command in my mutt to | write a mail or reply to a mail I want this script generate the current | signature which mutt puts under my mail body. | | One possible solution may be running the script by a cron job every 5 | minutes during 'mail writing hours'. | | wobo | -- | <[EMAIL PROTECTED]> | Registered Linux User 228909 Powered By Mandrake Linux 8.1 | --------------------------------------------------------------------- | 3:14am up 7 days, 11:46, 3 users, load average: 0.01, 0.01, 0.00 | | Want to buy your Pack or Services from MandrakeSoft? | Go to http://www.mandrakestore.com ----------------------------- Uptime ------------------------------- 11:33PM up 52 days, 12:12, 4 users, load averages: 0.00, 0.00, 0.00 --------------------------------------------------------------------
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
