🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #22009

Re: Random .sigs

#22009
From: Lee Bailey
Date: Thu, 23 May 1996 00:00
44 lines
2376 bytes
Drew (aglazier@fas.HARVARD.EDU) wrote:
> 
> This is from man tin...[snip]
> 
> .Sig is a directory, and I've got a bunch of small text files in there, 
> and from the above, tin ought to pick one of them as a .sig when I post. 
> It doesn't. It doesn't include anything at all unless the line in tinrc
> gives it a *file* name.

I have the same setup and it works fine. Don't know if it matters, but the
files in me .Sig dir are named x.sig were x is a number (I have a script
which takes a text file and generates these separate files in .Sig). 

I also have a file in my HOME dir called .sigfixed. Tin will append a 
random selection from the .Sig dir to this file upon every post or mail.

> Alternatively, is there any easy way of switching among a few different
> signatures every time I source .cshrc, or something similar?
> I've seen a couple of programs to do this, but I don't have 
> easy access to a C compiler, is there any shell script out there
> that would accomplish the same thing?

I also use a shell script to randomly pick from .Sig every time I run 
pine, you could do the same with trn. The script is capable of selecting 
up to 118 random sigs (uses hour:min:sec as the seed number). Again, it 
also relies on the existance of a .sigfixed file to append to. 

> Something that would work with *trn* would be ideal.

It should work with any program that uses a sig file. E-mail me and I'll 
forward it to you.

> Drew



______________________________________________________________________________
  Lee Bailey 	| User of OS/2 and Geoworks Ensemble instead of M$ Windoze,
offsite@crl.com	| get Geos demo at ftp://arginine.umdnj.edu/pub/geos/publish
______________________________________________________________________________
...that's what I use to fill the squirtgun I disipline the cat with. 

Technical Details
Message-ID: <4o1uq2$bso@nntp.crl.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <4nvkgi$n80@decaxp.HARVARD.EDU>

Show Full Headers
Complete Article Headers
Message-ID: <4o1uq2$bso@nntp.crl.com>
Subject: Re: Random .sigs
Date: Thu, 23 May 1996 00:00:00 +0000
From: offsite@crl.com (Lee Bailey)
References: <4nvkgi$n80@decaxp.HARVARD.EDU>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 156321322
Organization: this end
Newsgroups: news.software.readers