🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #50207

Re: INN 2.x FAQ

#50207
From: Russ Allbery
Date: Sat, 27 Jan 2001 08:52
28 lines
2233 bytes
meowbot@meowing.net writes:
> Russ Allbery <rra@stanford.edu> wrote:
>> Marco d'Itri <abuse@0.1.2.0.1.0.0.1.e.f.f.3.ip6.int> writes:

>>> Actually only the token will work, because if controlchan finds sm in
>>> the path it will pass stdin to it as an argument.

>> Thanks, updated.  That would be a good thing to fix in controlchan,
>> though.

> open_article() already ignores the sm program and treats the "token" as
> a filename to open if the first character is '/'.  A more generous check
> that looked for, say, the absence of the '@' characters would allow it
> to work on relative paths as well.

You're right; I should have checked first.  And in fact, it looks like the
latter is already in there as well; unless it matches the pattern for a
token, $inn::spool is prepended (and that really shouldn't be relative).

I'll revert that change again.  :)

(We really need to clean up innshellvars* so that they use the same names
for things as the rest of INN does; $inn::pathspool wouldn't require me to
double-check that $inn::spool really is what I think it is.)

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Technical Details
Message-ID: <yl8znxqsvz.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!sn-xit-04!supernews.com!feed.textport.net!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
References: <inn-faq-980064001$1565@windlord.stanford.edu> <0t3a6e09a3i1536n3e9%md@wonderland.linux.it> <ylvgr28ot5.fsf@windlord.stanford.edu> <87r91p1yam.fsf@litterbox.meowing.net>

Show Full Headers
Complete Article Headers
Message-ID: <yl8znxqsvz.fsf@windlord.stanford.edu>
Subject: Re: INN 2.x FAQ
Date: Sat, 27 Jan 2001 08:52:16 +0000
From: Russ Allbery <rra@stanford.edu>
References: <inn-faq-980064001$1565@windlord.stanford.edu> <0t3a6e09a3i1536n3e9%md@wonderland.linux.it> <ylvgr28ot5.fsf@windlord.stanford.edu> <87r91p1yam.fsf@litterbox.meowing.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!sn-xit-04!supernews.com!feed.textport.net!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 27
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 980585536 9292 171.64.13.23 (27 Jan 2001 08:52:16 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)