Re: {SPAM?} Re: [flalug] {SPAM?} 1st post

From: Eben King (eben1@tampabay.rr.com)
Date: Sat Feb 19 2005 - 20:00:54 EST


On Sat, 19 Feb 2005, Chad Perrin wrote:

> Eben King wrote:
>
> >> What exactly are you using to rotate your signatures?
> >
> > I wrote a script called "sigmonster". I don't know for sure if it gets the
> > last one (I think it doesn't). Probably my use of $RANDOM needs work. If
> > you use it, you'll need to change some things.
> >
> > See http://24.94.123.65:81/signatures.tar.gz .
> >
> > You might also want to check out
> >
> > http://24.94.123.65:81/cgi-bin/getscript?file=%2Fexport%2Fbin%2Fsigmonster
>
> Thanks muchly.
>
> I've been pondering whether to do something like this myself, but
> haven't actually decided to do it yet. I think part of it is the simple
> fact that I'm feeling too lazy to figure out how to make it work with
> Thunderbird's signature-applying feature which, if I'm unlucky, might
> turn out to be a challenge.

Maybe it reads (or can be convinced to read) ~/.signature just like
everybody else.

Feel free to modify mine as needed.

> I guess I need to look into how it actually calls up the text from a
> signature file.

My thing was, if various apps read ~/.signature when they need it, that'll
change its access time, so I can just compare that to what it was the last
time I checked. If they're different, write a new .signature . If they
read it once and then cache the result, I'm out of luck. That hasn't
happened yet for Linux apps.

-- 
-eben    ebQenW1@EtaRmpTabYayU.rIr.OcoPm    home.tampabay.rr.com/hactar
   Your pretended fear lest error might step in is like the man who
   would keep all wine out of the country lest men should be drunk.
                                                 -- Oliver Cromwell



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:06:37 EDT