🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #41252

Re: [slrn] read_active?

#41252
From: Dawn Owens-Nicholson
Date: Sun, 31 May 1998 00:00
46 lines
2815 bytes
Bill McCarthy <Bill.McCarthy@pobox.com> wrote:
> My ISP claims to support the XGTITLE NNTP command.  Indeed it seems
> to work except for ISP specific newsgroups.

Then your ISP should fix their descriptions file.  Any description
(even "?") is better than missing an entry in the list.  A small perl
script can be made to synchronize the descriptions file with the
active file.  By running this every time your ISP picks up a new group
or drops a group, the descriptions file can remain synchronized.  I've
got such a script, but it doesn't run so well with full warnings on
(using -w, in other words), so I'd like to clean it up.

> Turning on read_active appears to cause all newsgroups to be read
> into memory with read_active 1.

Correct, the active file is usually very large.

> Perhaps a read_active 2 should be available.  This option would
> check whether an active file exists on disk.  If not, it would
> download the list, sort it and write it to a specific file.
> Otherwise it would be read from that file.

Unfortunately, this cached active file would be out of date faster
than you could update it over a slow connection (like one is likely to
have using a modem); the article counts in active groups change quite
often.  For slow links, using a lot of NNTP GROUP commands is faster
and acceptable.

A newsreader could download a partial active file; downloading a
partial active file is possible with LIST ACTIVE [wildmat] (as
documented in the common NNTP extensions drafts).  Unfortunately (as
suggested by appearing in the "extensions" drafts), this command is
not required to be supported by an RFC-compliant Usenet news server,
so it might not exist everywhere.

The descriptions file (when properly maintained) contains a relatively
static list of newsgroups a newsreader could download (and save to a
local file, drawing upon it as you suggest above).  slrn does this,
but again, slrn's ability to do this depends on your resourcefulness
in putting a sufficiently large descriptions file on your machine.
JED has made the MIT descriptions list available at
ftp://space.mit.edu/pub/davis/newsgroups.dsc.gz but the more
descriptions you can get, the better.

Technical Details
Message-ID: <slrn6n3kcl.281.bluemoon@ux6.cso.uiuc.edu>
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: <6ks2nc$p8m$1@pinta.pagesz.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrn6n3kcl.281.bluemoon@ux6.cso.uiuc.edu>
Subject: Re: [slrn] read_active?
Date: Sun, 31 May 1998 00:00:00 +0000
From: bluemoon@ux6.cso.uiuc.edu (Dawn Owens-Nicholson)
References: <6ks2nc$p8m$1@pinta.pagesz.net>
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: 358272716
Organization: University of Illinois at Urbana-Champaign
Newsgroups: news.software.readers