Re: Signatures

2001-11-30 Thread Phil Gregory

* Elimar Riesebieter [EMAIL PROTECTED] [2001-24-11 20:17 +0100]:
 Just another quetion:
 Is there a possibility to tell mutt to coose the signature randomly
 out of a directory? 

I'll once again plug my approach, which is to use fortune for the
random part of my sig.  I don't generally like reinventing wheels.

set signature=cat ~/sigs/prefix;/usr/games/fortune ~/sigs/sig_archive;cat 
~/sigs/suffix |

-- 
[EMAIL PROTECTED] / DNRC / UMBC-LUG: http://linux.umbc.edu
PGP public key fingerprint:  0A7D B3AD 2D10 1099  7649 AB64 04C2 05A6
--- --
Second Law of Fashion:
  Any female character's costume, no matter how outlandish, is always
  completely suitable to wear when climbing around in caves, hiking across
  the desert, and slogging through the sewers.
   -- Console Role Playing Game Clichés, item 73
 --- --



Re: Signatures

2001-11-25 Thread fred smith

On Sat, Nov 24, 2001 at 11:58:04PM -0500, Harold Bibik wrote:
 On Sat, Nov 24, 2001 at 08:17:43PM +0100, Elimar Riesebieter arranged the electrons 
something like this:
 
 
  Just another quetion:
  Is there a possibility to tell mutt to coose the signature randomly
  out of a directory? 
 
 I use a sig generator called makesig, a perl script that will choose a
 random quote from a given file, add it to your chosen sig and stick
 it a the bottom of your emails

Here's a shellscript someone posted some time back, I just began using
it the other day (when, after an OS upgrade the hack Id been using for
years decided to no longer work). I would expect it's a lot more 
lightweight than a perl script:

#!/usr/bin/ksh
# from mutt mailing list...
{
typeset afile
set -A allsigs `cd ~/.sigs;ls -a sig[0-9]*`

(( afile = $RANDOM % ${#allsigs[*]} ))
cat ~/.sigs/${allsigs[$afile]}
}


Drop this in a file somewhere, make it executable, name it 'randisg' (or
whatever you like, really), set up the signature in mutt to be 
/path/to/randsig | and voila!

Of course, you also need a set of files in a directory (in this case it's
/.sigs) each of which contains one signature.

-- 
 Fred Smith -- [EMAIL PROTECTED]  
Do you not know? Have you not heard? 
The LORD is the everlasting God, the Creator of the ends of the earth. 
  He will not grow tired or weary, and his understanding no one can fathom.
- Isaiah 40:28 (niv) -



Re: Signatures

2001-11-24 Thread Harold Bibik

On Sat, Nov 24, 2001 at 08:17:43PM +0100, Elimar Riesebieter arranged the electrons 
something like this:


 Just another quetion:
 Is there a possibility to tell mutt to coose the signature randomly
 out of a directory? 

I use a sig generator called makesig, a perl script that will choose a
random quote from a given file, add it to your chosen sig and stick
it a the bottom of your emails


I believe it's still available at:

http://www.h.shuttle.de/mitch/makesig_pl.en.html

if not a quick search of google or freshmeat should give you a link



-- 
And remember, rebooting your brain can be tricky. -- Eric Townsend 

  =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Harold Bibik [EMAIL PROTECTED]



Re: signatures

2000-03-11 Thread Mikko Hänninen

J McKitrick [EMAIL PROTECTED] wrote on Sat, 11 Mar 2000:
 Is there a way to make part of my signature appear above the 2 dashes?

Well, you can unset $sig_dashes and then include them in your own
signature file.  In this case, make sure to note that the signature
separator is actually "-- " (with the space), not just two dashes.


Regards,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
"Why don't you pick a fight with someone your own size?"  (Dragonheart)



Re: signatures

2000-03-11 Thread Jon Parise

On Sat, Mar 11, 2000 at 02:31:22PM +, J McKitrick wrote:

 Is there a way to make part of my signature appear above the 2
 dashes?  Or is that really just a template?

Sure.  Create the signature the way you want it to look including
the two dashes (which are followed by a blank space, btw).  Save
all that in your signature file.  Then, turn sigdashes off in your
.muttrc.

-- 
Jon Parise ([EMAIL PROTECTED])  .  Rochester Inst. of Technology
http://www.pobox.com/~parise/  :  Computer Science House Member



Re: signatures

2000-03-11 Thread Lars Hecking

J McKitrick writes:
 Is there a way to make part of my signature appear above the 2 dashes?
 Or is that really just a template?

 The sole purpose of the signature separator (dash dash space)
 is to separate the signature from the text of the email. Anything
 above the dashes is not a signature, by definition.