🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #34921

Another feature request for slrn.

#34921
From: asf... Lloyd Zusman
Date: Mon, 07 Jul 1997 00:00
40 lines
2197 bytes

I'm currently using slrn 0.9.4.2 and I'm very happy with it.  I
especially like the newly added post_filter_hook.  I would like,
however, to have the option of causing all posts to go through
this hook.  In other words, I'd like to request that there be
a variable in .slrnrc which, if set, would bypass the requirement
that we type "f" at the prompt, and which would cause all posted
articles and followups to go through post_filter_hook as the final
step before being posted.

I know that I can use set_input_chars from within post_hook and
followup_hook to pre-set the "f" key as a response to the prompt which
will later come up. However, it turns out that this is not a trivial
task when doing followups.  Depending on the Mail-Copies-To and
X-Mail-Copies-To headers, I may or may not get prompted about sending
a CC.  Furthermore, if these headers contain an email addrss of a
suspicious format, I might get a further prompt which asks me if I
want to go ahead or not.

Therefore, within followup_hook, I must duplicate quite a bit of the
logic from the followup() routine in art.c if I want to properly
determine which and how many characters I need to pass to
set_input_chars to cause the "f" prompt to be bypassed later.

This is why I'm requesting a flag that can be set in .slrnrc to
optionally force all posts through the post_filter_hook without
a prompt.

I'm willing to write the code for this feature and to generate the
appropriate patch(es?) for slrn, but before I do, I'd like some
feedback about this topic from John and the rest of you.

Thanks in advance.


-- 
 Lloyd Zusman
 l...@asfast.com
Technical Details
Message-ID: <slrn5s2a4n.881.asfast@ljz.asfast.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <slrn5s2a4n.881.asfast@ljz.asfast.net>
Subject: Another feature request for slrn.
Date: Mon, 07 Jul 1997 00:00:00 +0000
From: asf...@asfast.com (Lloyd Zusman)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!not-for-mail
X-Deja-AN: 255293230
Organization: As Fast
Reply-To: l...@asfast.com (Lloyd Zusman)
Newsgroups: news.software.readers,alt.lang.s-lang