🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #218494

Re: [slrn ] My signature does not show

#218494
From: Lewis
Date: Fri, 04 Apr 2008 04:43
51 lines
3468 bytes
 X  andrew <andrew@ilium.invalid> wrote:
> On 2008-04-01, Baba O'Reilly <i_am_the_walrus@purple3377.kicks-ass.org> wrote:

>>              I'll have to give that a try and see if it makes
>> my life easier.  In the meantime, my sig is working.  I'd like
>> to have it more random than a fixed file so I was thinking about
>> aliasing "slrn" to run a shell script that would
>> echo out something clever and random to my news.signature file
>> before calling slrn.  Is there anything other than "fortune"
>> that can do this?

> Unfortuantely I cannot help you here as I have no experience with
> signature rotation. I settled on blatant self-promotion in my
> signature a while ago :-)

> There was a series of posts in the slrn mailing list not too long ago
> on this subject that may help you:

> http://tinyurl.com/3a5cu3

I like to use fortune to create the random signatures.  I use the following,
though it works just as well with any other editor (vi nano, emacs, etc)

set post_editor_command "FILE='%s';bbedit -w --resume +%d $FILE;
/opt/local/bin/fortune ~/mysigs >> $FILE"

(one line)

So, it sets FILE to the filename passed by slrn (.followup or .article),
then it opens the editor.  When the editor is done, it runs fortune and puts
the output at the end of the file.

The only 'gotcha' with this is that you need to create an empty signature for
slrn to see for it to add the signature delimiter (dash, dash, space, new line)
or you have to put the delimiter into every one of your sigs.

the fortune file is very simple:

===begin
Signature 1
%
Signature2
%
Signature 3
===end

then just run strfil <sigfile> and you're done.


-- 
"Yes," said the skull. "Quit while you're a head, that's what I say." 
Technical Details
Message-ID: <slrnfvbceq.cvd.g.kreme@cerebus.local>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
References: <47f16fe2$0$4064$9a566e8b@news.aliant.net> <20080401103157.196@ilium.andrews-corner.org> <47f20a92$0$4059$9a566e8b@news.aliant.net> <20080401231837.163@ilium.andrews-corner.org> <47f2a1a1$0$4034$9a566e8b@news.aliant.net> <20080402090227.201@ilium.andrews-corner.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrnfvbceq.cvd.g.kreme@cerebus.local>
Subject: Re: [slrn ] My signature does not show
Date: Thu, 03 Apr 2008 23:43:06 -0500
From: Lewis <g.kreme@gmail.com.dontsendmecopies>
References: <47f16fe2$0$4064$9a566e8b@news.aliant.net> <20080401103157.196@ilium.andrews-corner.org> <47f20a92$0$4059$9a566e8b@news.aliant.net> <20080401231837.163@ilium.andrews-corner.org> <47f2a1a1$0$4034$9a566e8b@news.aliant.net> <20080402090227.201@ilium.andrews-corner.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 03 Apr 2008 23:43:05 -0500
Newsgroups: news.software.readers
Organization: Miskatonic U
Mail-Copies-To: nobody
X-No-Archive: Yes
X-Face: )^b5"R:T7U>9~:PEn3YkzMfW*[b1qKeU.fP9C8~8HpU9}lA&6`bH1z
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
User-Agent: slrn/0.9.8.1 (Darwin)
Lines: 51
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-d5fPfZeudl5SrJvj4a2jI9BWIo2E7YuNRfVEt/l19kzt6DHCGvNdwC9Cve08VkvvgwB23V9gqXt3hKS!UtN7KezhYUYgDGaD8YkpPsGHZGAEn80z1UJEk9sUiGItiJQDDVl7bHFamuCJ43A=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint
 properly
X-Postfilter: 1.3.38