🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #22373

Re: Knews with suck

#22373
From: J$
Date: Mon, 03 Jun 1996 00:00
50 lines
2580 bytes
Scripsit Sherwin Sequeira [SS]:

SS: 	I have been led to believe that knews can be configured to read
SS: articles downloaded with suck, without running a server,  the manual
SS: page for knews also states this, without going into detail.
SS: 
SS: 	I have downloaded a small test newsgroup successfully with suck, but
SS: cannot get knews to recognize the articles.
SS: 
SS: 	Can anyone tell me whether any document(s) exist, and if so the
SS: whereabouts?

from the excellent knews man:

READING THE SPOOLDIR
     Knews supports a rather obscure mechanism for  communicating
     with  an arbitrary program instead of an nntp server.  Using
     knewsd(1), this can be used for  reading  news  (in)directly
     from  the spool dir, or even mail folders if they are in the
     correct format.  This is how it works:  If the  nntp  server
     is  given as #str, where str is an arbitrary string not con-
     taining white space or the characters '/', '.' or '*', knews
     finds the value of the resource Knews.#str and tries to exe-
     cute that program.  The program has it's standard input  and
     output  connected  to  knews.  If you use this resource set-
     ting:
 
     Knews.#spool: knewsd -spool /var/spool/news \
             -active /usr/local/news/active
 
     with the appropriate paths for your system, you can read the
     spool directory by specifying the nntp server as '#spool' in
     e.g. the connect dialogue.  This could  easily  be  used  to
     read mh(1) style mail folders too.

and from my ${LIB}/Knews file:

Knews.#spool:   knewsd  -spool /var/spool/news \
                        -active /opt/newslib/active \
                        -newsgroups /opt/newslib/newsgroups \
                        -overview /opt/newslib/overview \
                        -post 'exec inews -h'

If your 'suck'-ed newsgroep has a proper format, it might work.

Cheers, J.


Technical Details
Message-ID: <4ouqo1$2v@moe.phil.ruu.nl>
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: <4oq6lj$npk@power2.powernet.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <4ouqo1$2v@moe.phil.ruu.nl>
Subject: Re: Knews with suck
Date: Mon, 03 Jun 1996 00:00:00 +0000
From: J$ <js@cs.vu.nl>
References: <4oq6lj$npk@power2.powernet.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.readers.mbox.zip!not-for-mail
X-Deja-AN: 158222607
X-date: Mon Sep 1007 15:47:36 EDT 1993
Content-type: text/plain; charset=US-ASCII
Organization: Diff'rent colours, made of tears
Mime-version: 1.0
Newsgroups: news.software.readers