🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #651

Re: WANTED: program to munch 'unavailable' articles...

#651
From: Andrew Hastings
Date: Fri, 27 Sep 1991 19:37
30 lines
2560 bytes
In article <1991Sep27.032750.9333@looking.on.ca> brad@looking.on.ca (Brad Templeton) writes:
>RN seems to be "working" on unavailable articles only because it is in
>a busy wait or sleep so you have time to see the message.
>
>Simply comment the code to do the pause out of your RN source.

This isn't quite true.  There IS a 1/3 second delay after the "Skipping
unavailable articles" message.  But each time rn prints a "." it means it
skipped another article.

The NNTP variant of rn ("rrn") is much slower than the non-NNTP variant ("rn")
at skipping contiguous unavailable articles.  Both variants try to read the
article corresponding to the current article number, and increment the article
number on failure.  After a couple of failures, "rn" scans the directory
containing the articles to quickly find the next available article.  In
contrast, "rrn" blithely continues to increment the article number.

Recent versions of "rrn" have attempted to use the NNTP "NEXT" command to
quickly skip to the next available article.  Unfortunately, they neglect to
set the NNTP server's idea of the "current article pointer" before issuing
the "NEXT" command, and the "NEXT" command may or may not return the desired
results.  (rn4.4 may incorrectly skip unread articles when in subject search
mode.)

I have made modifications to rn4.4 to correct this problem, to speed up
cacheing of subjects, to speed up the "p" command, and to provide a faster
version of the "Junk" command.  I expect to forward a patch to Stan Barber
shortly.  If there is enough demand, I will post my patch on this newsgroup.

-Andy Hastings			abh@cs.cmu.edu			412/268-8734
Technical Details
Message-ID: <1991Sep27.193742.103081@cs.cmu.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmdzi!unido!mcsun!uunet!snorkelwacker.mit.edu!micro-heart-of-gold.mit.edu!rutgers!rochester!pt.cs.cmu.edu!crabapple.srv.cs.cmu.edu!abh
References: <1991Sep26.182605.11999@ohsu.edu> <1991Sep27.002223.13923@usenet@CS.ORST.EDU> <1991Sep27.032750.9333@looking.on.ca>

Show Full Headers
Complete Article Headers
Message-ID: <1991Sep27.193742.103081@cs.cmu.edu>
Subject: Re: WANTED: program to munch 'unavailable' articles...
Date: Fri, 27 Sep 1991 19:37:42 +0000
From: abh+@cs.cmu.edu (Andrew Hastings)
References: <1991Sep26.182605.11999@ohsu.edu> <1991Sep27.002223.13923@usenet@CS.ORST.EDU> <1991Sep27.032750.9333@looking.on.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmdzi!unido!mcsun!uunet!snorkelwacker.mit.edu!micro-heart-of-gold.mit.edu!rutgers!rochester!pt.cs.cmu.edu!crabapple.srv.cs.cmu.edu!abh
Newsgroups: news.software.readers
Keywords: rn, NNTP
Organization: School of Computer Science, Carnegie Mellon
Lines: 30
Nntp-Posting-Host: b.gp.cs.cmu.edu
Originator: abh@B.GP.CS.CMU.EDU