On Tuesday, Oct 23, 2001, [EMAIL PROTECTED] wrote:
> This question is directed to Paul Cox, and is completely unrelated to the
> original topic. I am sending thought the mailing list since someone maybe
> wondering the same thing. My question is about the kernel and uptime on
> Paul's signature, I assume that is generated automatically (don't think
> anyone would go through the trouble to add and update it every time a
> message is sent 8) ). Is that done with a certain mail client or it can be
> done with any mail client? and how? TIA.
I think you emailed me about this, but I accidently deleted your
message. =) Anyway, it's a perl script that appends it to my .signature
file, and then that's piped into my mail client's signature (I use
Mutt). It's easier than it sounds. The original script (attached as
uptime.bak.pl) I got from Vincent Danen. I then modified it (attached
as uptime.pl) to make it display a little differently. It can also
write out the completed sig to a file, but that's currently commented
out, so you'll have to uncomment it. Then you can just run it in a cron
job every 5 mintues or something.
Oh, and my setting for Mutt (to be but in your muttrc):
set signature='~/bin/uptime.pl ~/.signature|'
If you have any other questions, just let me know.
--
Paul Cox <paul at coxcentral dot com>
Kernel: 2.4.8-26mdk - Uptime: 2 days 22 hours 42 minutes.
uptime.pl
uptime.bak.pl
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com