🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #772

better new-group code coming soon (was: rn scans the whole file.)

#772
From: Wayne Davison
Date: Thu, 24 Oct 1991 21:59
28 lines
2254 bytes
Dale L. Wiles (wiles@ultra.Kodak.COM) writes:
>First, if FASTNEW isn't defined in common.h, then you have to have all the
>groups you don't want to read unsubscribed in your .newsrc.

It's not actually required that you keep all the group names around for the
non-NNTP version, but it does make the wait while checking for new groups
tolerable, since it doesn't have to call birthof() for all the missing group
names.  It also prevents you from getting repeats of certain troublesome
groups that don't have spool directories (if you have any).

The entire newgroup process is in need of a reworking, so that is what I'm
in the final stages of doing for trn 2.0.  I've got to tweak it a bit more
and let my beta team beat on it, and then I'll send the diffs off to Stan
for possible inclusion into the rn 4.4 code.

For the new new-group strategy to work, you need to maintain a file called
"active.times".  While C News systems do this for you automatically, other
systems can use either the new mthreads or a program I've written called
acttimes to manually maintain the active.times file.  Having your server
run acttimes rather than mkgrdates will enable [t]rrn to use the NEWGROUPS
call in NNTP and get an accurate report of new groups.  With this in place
you don't need to keep a full .newsrc hanging around or be subjected to
long, agonizing waits.  Of course, the old method will still be available
as a fall-back for sites without an active.times file.
-- 
 \  /| / /|\/ /| /(_)     Wayne Davison
(_)/ |/ /\|/ / |/  \      davison@borland.com
   (W   A  Y   N   e)
Technical Details
Message-ID: <1991Oct24.215916.25589@borland.com>
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!zeus.ieee.org!europa.asd.contel.com!uunet!decwrl!borland.com!davison
References: <1991Oct24.185950.29038@kodak.kodak.com>

Show Full Headers
Complete Article Headers
Message-ID: <1991Oct24.215916.25589@borland.com>
Subject: better new-group code coming soon (was: rn scans the whole file.)
Date: Thu, 24 Oct 1991 21:59:16 +0000
From: davison@borland.com (Wayne Davison)
References: <1991Oct24.185950.29038@kodak.kodak.com>
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!zeus.ieee.org!europa.asd.contel.com!uunet!decwrl!borland.com!davison
Newsgroups: news.software.readers
Organization: Borland International
Lines: 28