🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #254971

Re: slrn: default value of Followup-To prompt when starting a new thread

#254971
From: J.B. Nicholson-Owens
Date: Fri, 14 Jun 2013 22:39
20 lines
2336 bytes
Adam Funk wrote:
> I realize the traditional custom is to set FU to one group out of
> those in the Newsgroups header, but this doesn't seem to be the
> desired practice everywhere these days.  Is it possible to configure
> slrn to come up with "Followup-To:" blank by default?

This sounds like something one could do with a macro; essentially you
want to process the edited post after the text editor has finished
editing and before slrn uploads that post to the NNTP server.

I think you'll be interested in slrn's post_filter_hook(). When slrn
asks "Post the message?" you'd hit "f" to run the post through that
hook before pressing "y" to upload the (now processed) post to the
NNTP server.

It's been a while since I've written S-Lang for slrn so I don't recall
if there's a hook that runs unconditionally; a hook that would
alleviate the need to press "f" as described above.  But if you
/really/ need to not press "f" there, perhaps wrapping the post
intrinsic with your own function would do the trick.
Technical Details
Message-ID: <slrnkrn6tt.2v8.jbn@forestfield.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!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mail
References: <se1s8axp6k.ln2@news.ducksburg.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnkrn6tt.2v8.jbn@forestfield.org>
Subject: Re: slrn: default value of Followup-To prompt when starting a new thread
Date: Fri, 14 Jun 2013 22:39:57 +0000
From: "J.B. Nicholson-Owens" <jbn@forestfield.org>
References: <se1s8axp6k.ln2@news.ducksburg.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.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: albasani.net
Lines: 20
X-Trace: news.albasani.net
 mkuV1UlSdkGSDXFPIaHhDDYvbzl9Q1LJCVb4hJjSQn2yNn/1Kl0Uruh/X82P3S4G5vZbzLXgPkt9Z9aN4u4SLA==
NNTP-Posting-Date: Fri, 14 Jun 2013 22:39:57 +0000 (UTC)
Injection-Info: news.albasani.net;
 logging-data="z7KmoRa3kdP51pM38zD4+XShF7b1tr3oLoyzu8Wdg3USDuE/3wQatU2eItp7q4xMV/u4u68zCojo9jMBKs6gNB18tVg+ZjC3YRGTtcMXFJWnCmOFQbemm7b/V7O3pQ/6";
 mail-complaints-to="abuse@albasani.net"
User-Agent: slrn/pre1.0.0-18 (Linux)
Cancel-Lock: sha1:rEGaie95S3U0UoUyYefvVnGeU/0=
X-Original-Bytes: 2068