Subject: Multiple Sigs.

From: [email-masked] ()
Date: 16 Jan 1997 03:00:45 GMT

Just asking about the possibilities.

When I used to use BlueWave off-line reader, I had numerous tagline files
for different usegroups, or to just randomly add one to my message.

Is there anyway to set up a random .sig file in PINE?

This way, I can write different things and have them appear randomly, or
maybe pick and choose.

I know PINE .sigs and BlueWave Taglines, though similar, are not the same,
and this may not be possible, since most people DO NOT CHANGE their sigs
constantly (the .sig usually used as an on-line business card).

As I said, just looking into the possibilities.

Steve Thorne

--

Ramblins courtesy of The Edge Magazine 
http://www.freenet.edmonton.ab.ca/~thornes

WEATHER REPORT:
The confused ramblings of people who made 
a career of guesswork and conjecture.

---

From: [email-masked] (Dave Grossman)
Date: Thu, 16 Jan 1997 19:59:26 GMT

: On 16 Jan 1997 [email-masked] wrote:
: > Just asking about the possibilities.
: > 
: > When I used to use BlueWave off-line reader, I had numerous tagline files
: > for different usegroups, or to just randomly add one to my message.
: > 
: > Is there anyway to set up a random .sig file in PINE?
: > 
: > This way, I can write different things and have them appear randomly, or
: > maybe pick and choose.

Don't know about generating random .sigs... but if you just want to pick 
and choose, you could opt to not have a set .sig file, and at the end of 
each post/letter ^R (Read File) the file you want as your .sig that time.

-Dave

-- 
Dave Grossman (I'm home)| "Life's short...              
Geneseo State University|    Play pinball"         
[email-masked]       | "It has to warm up,
[email-masked]            |  SO IT CAN KILL YOU!" -TAF
-----------------------------------------------------------------
WWW: http://www.j51.com/~tfth  --  pinball, music, and more.
London Pinball Directory: http://www.mdx.ac.uk/~dg076
-----------------------------------------------------------------

---

From: Matthew Schinckel <[email-masked]>
Date: Thu, 16 Jan 1997 17:27:05 +930

> This way, I can write different things and have them appear randomly, or

A bit of a way around this would be to do the following (this is what I 
used to do on my VMS account.):

o Have a directory filled with the individual files, given numerical names.
o Have a script that checks how many files there are, then randomly 
generates a number that will fit in this range (ie 001 - xxx).
o This script could then be used to change a .sig-pointer file to point 
to the chosen tagline file.

Other options would be to have it search through a text file for <CR><CR> 
seperated tags, and chose one of these randomly, but this is a bit trickier.

Matt.
---
Matthew Schinckel - [email-masked]                        Shapeshifter #2813
                    [email-masked]             (Yay Coopers Ale!)

---

From: [email-masked] (Steve McIntyre)
Date: 18 Jan 1997 01:24:10 GMT

In article <[email-masked]>,
>seperated tags, and chose one of these randomly, but this is a bit trickier.

The program sigrot does exactly this, and does it quite well. I use it
from pine by calling it in an output filter. The source is freely 
available on sunsite.unc.edu and its mirrors.

-- 
Steve McIntyre, [email-masked] The Unix world's best mod player
          <a href=http://www.chiark.greenend.org.uk/~stevem/mikmod/>MikMod</a>
"Can't keep my eyes from the circling sky,                 +------------------
"Tongue-tied & twisted, Just an earth-bound misfit, I..."  |Finger for PGP key

---

From: [email-masked] (Steve Lamb)
Date: 19 Jan 1997 21:32:05 GMT

On Sun, 19 Jan 1997 16:32:59 GMT, Eric Tse <[email-masked]> wrote:

>  A while ago I wrote a Perl program which cycles through signature files

    Another option is a perl script called "signify".  It creates random
sigs on the fly in a rather nice manner.  I just have a script that runs it
and my editor at the same time so my .sigs are constantly randomly
generated.

-- 
                      -   -  - ---===+{ }+===--- -  -   -
                                 Steve C. Lamb
             "Burning, longing, nothing could keep him from her now
               He flies by the whispering guidance of the clouds
      This lonely eternity will end this eve within the arms of Gabrielle
        The creatures of the night release him to become the dove again
                               Destiny awaits..."
                                           -- Happy Rhodes, "The Flight"

---

From: Eric Tse <[email-masked]>
Date: Sun, 19 Jan 1997 16:32:59 GMT

A while ago I wrote a Perl program which cycles through signature files
and pick the next one in the cycle. It is used as a pipe (you pipe your
message body through this program, it will advance the sig counter to the
next sig on the cycle, and output your message body with the signature
appended at the end).

  Say if you want random sigs (instead of cycling through them), a little
modification to this program will do.

  This program is available through my home page. Just search for the word
"Perl" ...

  Hope this helps!

________________________________________________________________
Eric Tse             E-mail : [email-masked]
World Wide Web : http://www.undergrad.math.uwaterloo.ca/~jyetse/
HTML, CGI, JavaScript, video games, online message system & more