🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #1346

Why does trn want EVERYTHING in .newsrc?

#1346
From: Paul Smee
Date: Thu, 19 Mar 1992 17:32
44 lines
2959 bytes
trn is pretty insistent about having all newsgroups in your .newsrc,
whether you read them or not.  I seem to recall rn not being this way,
though presumably it is now.

This has several undesireable side effects.  The first (which comes to
mind since I just checked news on a system I don't normally use), is
that even if you say 'N' to the first 'add this group' query, it
insists on keeping on going, and adding all groups unsubscribed.  (Yes,
I *do* know about -q, but it's never my first thought.  I did fairly
quickly remember ^C^C.)

Second is that it wastes storage.  I just checked, and my .newsrc has
grown to 31012 bytes again.  Trimming it to include only groups I am
subscribed to (i.e. grep :) reduces it to 1307 bytes.  Thats 30000
unneeded bytes.

Last is that it increases the probability, particularly with the idiots
who play in the alt hierarchy, that people will end up with bogus
newsgroups in their .newsrc, and it really increases the time it takes
to check the rest of the .newsrc once it's found the first bogus group.

Is there some good technical reason that I don't understand for trn
needing all the unsubscribed groups?  (Seems to run perfectly happily
if I hand-trim them out, though it does seem to sneak them back in
again when I'm not looking.  Should be able to use active.times to spot
real new groups, so it shouldn't need them just so it can know you've
rejected them already.)

If not, I'd suggest this as a possible enhancement -- to wit, that it
not add unsubscribed groups to .newsrc -- and might even think about
looking at the source myownself.  I'm happy if it leaves things in if
you were once subscribed and then unsubscribe, as I can see styles of use
where that could be handy.  What I don't see is why it should keep notes
about things you've never subscribed to, and have said you don't want to.

(Or, blush, is it maybe a config option which I overlooked when I put
it up?  Doesn't look that way to me, but I have been known to make
mistakes -- sometimes at a massive rate.  If this is the case, I'd sure
appreciate a nudge in the right direction.  (If it matters, I'm on a
Sun SPARCServer 4/330, about 1 major OS release behind.)

-- 
Paul Smee, Computing Service, University of Bristol, Bristol BS8 1UD, UK
 P.Smee@bristol.ac.uk - ..!uunet!ukc!bsmail!p.smee - Tel +44 272 303132
Technical Details
Message-ID: <1992Mar19.173247.22644@bristol.ac.uk>
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!sparky!uunet!mcsun!uknet!gdt!bsmail!smee

Show Full Headers
Complete Article Headers
Message-ID: <1992Mar19.173247.22644@bristol.ac.uk>
Subject: Why does trn want EVERYTHING in .newsrc?
Date: Thu, 19 Mar 1992 17:32:47 +0000
From: smee@bristol.ac.uk (Paul Smee)
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!sparky!uunet!mcsun!uknet!gdt!bsmail!smee
Newsgroups: news.software.readers
Reply-To: P.Smee@bristol.ac.uk (Paul Smee)
Organization: University of Bristol
Lines: 44