🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #5538

Re: How to not pull an entire news feed across a slow line

#5538
From: Tony Luck
Date: Fri, 04 Mar 1994 17:46
28 lines
2260 bytes
robertl@arnet.com (Robert Lipe) writes:
>How can I convince nnmaster to stop transferring the headers for
>every newsgroup that exists?

Maybe there's a way to do it by modifying the 'GROUPS' file, or playing
with 'nnadmin' ... I didn't even think of trying that, I just went in
with a crowbar and fixed "nntp.c".  The changes I made were to make it
read a file of prefixes that I was interested in, and then when it grabbed
a copy of the active file, prune out the lines that I didn't care about.
Thus the rest of the nn code never even realizes that the other groups
exist.

The code is not well integrated into the rest of nn (the name of the file
of prefixes is hard-wired instead of being configurable, I expect that there
are already routines to match group names elsewhere in the nn code, but I
didn't want to read all the source to find them ... on the plus side all of
the changes are localized to nntp.c, and the code does seem to work).

The nntp.c I used as a base was from nn-6.4.18 as I found it on uunet last
December.  If anyone wants it, drop me a line.  If I get more than about 10
requests I'll post it here.

-- Tony

"The problem, of course, was that even though the information was coming a
lot faster, the vast majority of it, having originated with human beings, was
still wrong.  Eventually people realized that the Information Superhighway was
essentially CB radio, but with more typing."  -- Dave Barry
Technical Details
Message-ID: <952.29567@stratus.SWDC.Stratus.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.nn.mbox.zip!gmd.de!Germany.EU.net!EU.net!uknet!bnr.co.uk!corpgate!news.utdallas.edu!wupost!udel!MathWorks.Com!transfer.stratus.com!stratus!alpine!aegl
References: <robertl.762651505@amsg>

Show Full Headers
Complete Article Headers
Message-ID: <952.29567@stratus.SWDC.Stratus.COM>
Subject: Re: How to not pull an entire news feed across a slow line
Date: Fri, 04 Mar 1994 17:46:20 +0000
From: aegl@alpine.swdc.stratus.com (Tony Luck)
References: <robertl.762651505@amsg>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!Germany.EU.net!EU.net!uknet!bnr.co.uk!corpgate!news.utdallas.edu!wupost!udel!MathWorks.Com!transfer.stratus.com!stratus!alpine!aegl
Newsgroups: news.software.nn
Keywords: nn slow line serial isdn nnmaster
Sender: news@SWDC.Stratus.COM
Organization: Stratus Computer, Inc., San Jose, CA
Lines: 28
Nntp-Posting-Host: alpine