🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #64787

Re: Tin or SLRN

#64787
From: Thomas Schultz
Date: Wed, 23 Aug 2000 00:00
38 lines
2488 bytes
On 22 August 2000, Martien Verbruggen <mgjv@tradingpost.com.au> wrote:
[...]
> I personally use a named pipe instead of $HOME/.signature, with a
> randomising writer attached to it, but slrn can be trivially extended
> to spawn an external program to do it. If I didn't already have the
> functionality, I'd write it myself :) I might just do it anyway.

This suggestion came up some time ago in de.comm.software.newsreader
and I argumented that we did not need it, because there are already
several ways to have random signatures:

 1. The easiest way is probably to add the sig randomizer to your
    post_editor_command in your slrnrc, e.g.:

| set post_editor_command "sigrot.pl > ~/.signature; jed '%s' -g %d -tmp"

 2. You can call your sig randomizer from post_hook() /
    followup_hook() / reply_hook(). This even makes it possible to
    have signatures that depend on the group you are posting to.

 3. You can use a macro that calls the sig randomizer first and then
    does the followup and bind it to the key 'f', e.g.:

| setkey article "system(\"sigrot.pl > ~/.signature\"); call(\"followup\")" "f"

 4. Like you mention yourself, you can use a named pipe and a small
    program that writes random signatures to it. Such a program was
    posted here some time ago.

I still do not see what you can do with your patch that cannot easily
be done without it.
-- 
Thomas Schultz <tststs@gmx.de>
*** Latest news from http://slrn.sourceforge.net/
 -> [2000-08-16] Macros page online
 -> [2000-08-05] www.slrn.org points to our new site

Technical Details
Message-ID: <slrn8q77f3.3ng.tststs@starflower.tststs.ddns.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.mbox.zip!not-for-mail
References: <IQQm5.1157$xL6.44475@news3.voicenet.com> <EZNo5oHpviQB092yn@visi.com> <86snrzm21j.fsf@yggdrasil.brfmasthugget.se> <slrn8q24io.umk.mgjv@martien.heliotrope.home> <qojo5oHpv2vI092yn@visi.com> <slrn8q4lfq.uou.mgjv@martien.heliotrope.home>

Show Full Headers
Complete Article Headers
Message-ID: <slrn8q77f3.3ng.tststs@starflower.tststs.ddns.org>
Subject: Re: Tin or SLRN
Date: Wed, 23 Aug 2000 00:00:00 +0000
From: tststs@gmx.de (Thomas Schultz)
References: <IQQm5.1157$xL6.44475@news3.voicenet.com> <EZNo5oHpviQB092yn@visi.com> <86snrzm21j.fsf@yggdrasil.brfmasthugget.se> <slrn8q24io.umk.mgjv@martien.heliotrope.home> <qojo5oHpv2vI092yn@visi.com> <slrn8q4lfq.uou.mgjv@martien.heliotrope.home>
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: 661479270
X-Server-Date: 23 Aug 2000 10:00:05 GMT
X-Complaints-To: abuse@cityweb.de
Organization: Pinguin online.
User-Agent: slrn/0.9.6.2+ (Linux)
NNTP-Posting-Date: 23 Aug 2000 10:03:07 GMT
Newsgroups: news.software.readers