Subject: Random Signature !

From: Nayan Jain <[email-masked]>
Date: Thu, 1 Oct 1998 15:16:10 +0530 (IST)

Hi All !

I have about 100 files which i would like to use as my signature file.
Now the problem is that if i write anything in signature file (.signature)
then it is constant till i change it to some other file.

What i want is to randomly take any signature from 100 files that i have
and append it to my mail whenever i compose it.

Also can there be a provision that it ask me for appending a signature or
not.

Any and Every tips will be appreciated.
Thanks ,
Nayan..!

-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Rudolf Kompf <[email-masked]>
Date: Thu, 1 Oct 1998 12:26:41 +0200 (MET DST)

Set "signature-file" in your .pinerc empty and write a sending-filter
(see HELP for option "sending-filters")
Hope this helps

Rudolf

On Thu, 1 Oct 1998, Nayan Jain wrote:

-> Date: Thu, 1 Oct 1998 15:16:10 +0530 (IST)
-> From: Nayan Jain <[email-masked]>
-> To: Pine Discussion Forum <[email-masked]>
-> Subject: Random Signature !
-> 
-> Hi All !
-> 
-> I have about 100 files which i would like to use as my signature file.
-> Now the problem is that if i write anything in signature file (.signature)
-> then it is constant till i change it to some other file.
-> 
-> What i want is to randomly take any signature from 100 files that i have
-> and append it to my mail whenever i compose it.
-> 
-> Also can there be a provision that it ask me for appending a signature or
-> not.
-> 
-> Any and Every tips will be appreciated.
-> Thanks ,
-> Nayan..!

-- 
-----------------------------------------------------------------------
Rudolf Kompf                     | E-mail: [email-masked]

---

From: Ian Hall-Beyer <[email-masked]>
Date: Thu, 1 Oct 1998 05:23:47 -0600 (MDT)

> and append it to my mail whenever i compose it.

I have seen some perl-based random .signature scripts out there. I suspect
you can find someting in comp.mail.pine.

I think all you have to do is put the script itself in your signature
file, and then have the script read from a data file (such as a fortune
database) and randomly pull something from it.

HTH,

-Ian

---

From: "Robin S. Socha" <[email-masked]>
Date: Thu, 1 Oct 1998 14:07:43 +0200

> you can find someting in comp.mail.pine.

I'm still looking for some more of these for this page:
<http://www.kens.com/robin/pine-tips.html#pine-randsig>
 
> I think all you have to do is put the script itself in your signature file,
> and then have the script read from a data file (such as a fortune database)
> and randomly pull something from it.

Having it as a sending filter should be much more convenient. The sad thing
about pine not having hooks likt mutt or Gnus is that it isn't exactly
straightforward to implement nested sending filters (actually, the inability
to toy around with pgp *and* a sig selector made me check mutt in the first
place).

Robin

-- 
Robin S. Socha
<http://www.kens.com/robin/>