🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #46802

Re: NoCeM-on-Spool and INN/CNFS

#46802
From: Ben C. O. Grimm
Date: Sun, 04 Jun 2000 00:00
50 lines
2554 bytes
On 03 Jun 2000 02:38:59 +0100, Andrew Gierth <andrew@erlenstar.demon.co.uk>
wrote:

> >>>>> "Ben" == Ben C O Grimm <Ben.Grimm@wirehub.net> writes:
 
>  Ben> I'm drawing a blank here. 
>  Ben> Does NoCeM-on-Spool (v0.92.3e) work with INN 2.2.2/CNFS?

> If you prefer to fix ncmspool, what you have to do is to arrange to
> use the 'sm' program to access the article rather than assuming that
> the article token is a filename.

This was easier than I expected. For those who want to use ncmspool v0.92.3e
with CNFS .. here are the diffs (this is a quick fix, mind you):

diff ncmspool.orig ncmspool      

111c111,113
<   NFROM=$FD
---
>   NFROM1=$FD
>   ${PATHBIN}/sm $NFROM1 > ${TMPDIR}/notice.$$
>   NFROM=`echo ${TMPDIR}/notice.$$`
139a142
>   rm -f ${TMPDIR}/notice.$$

As you can see, it's just a question of invoking sm to fetch the article
represented by the token ($FD) and write it to a tempfile, and then using the
path to the tempfile as if it were a path to an article in a tradspool
environment.

news.notice:

ncmspool: NoCeM on spool v0.92.3e 
ncmspool: Good sig in /usr/local/news/tmp/notice.92913:From:
clewis@ferret.ocunix.on.ca (Chris Lewis) 
ncmspool: ------------ 
ncmspool: 1 total ids found 
ncmspool: 1 unique 

If you like to preserve the notices for later reference, just skip the last
diff (but do clean up manually once in a while :)

-- 
- Ben C. O. Grimm ----------------- Ben.Grimm@wirehub.net -
- Wirehub! Internet Engineering - http://www.wirehub.net/ -
- Wirehub! Backbone --- http://doema.wirehub.net/wirehub/ -
- Private Ponderings ------- http://libertas.wirehub.net/ -

Technical Details
Message-ID: <aq8jjsklfi4580mn7kbtpefo93e92aukho@kluner.wirehub.nl>
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!not-for-mail
References: <36mgjsc20cn8rmojs26tupthgpd26kvoud@kluner.wirehub.nl> <87n1l3a6h8.fsf@erlenstar.demon.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <aq8jjsklfi4580mn7kbtpefo93e92aukho@kluner.wirehub.nl>
Subject: Re: NoCeM-on-Spool and INN/CNFS
Date: Sun, 04 Jun 2000 00:00:00 +0000
From: Ben C. O. Grimm <Ben.Grimm@wirehub.net>
References: <36mgjsc20cn8rmojs26tupthgpd26kvoud@kluner.wirehub.nl> <87n1l3a6h8.fsf@erlenstar.demon.co.uk>
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!not-for-mail
X-Deja-AN: 630761719
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@wirehub.net
X-Trace: kluner.wirehub.nl 960079712 93011 195.86.114.90 (4 Jun 2000 00:48:32 GMT)
Organization: Wirehub! Internet Engineering
Mime-Version: 1.0
NNTP-Posting-Date: 4 Jun 2000 00:48:32 GMT
Newsgroups: news.software.nntp