🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by Paul Smee Thu, 19 Mar 1992 17:32
Why does trn want EVERYTHING in .newsrc?
#1346
Author: 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
Re: Why does trn want EVERYTHING in .newsrc?
#1359
Author: Tom Haapanen
Date: Fri, 20 Mar 1992 14:10
26 lines
2080 bytes
P.Smee@bristol.ac.uk (Paul Smee) writes:
> 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.

Actually, rn 4.4 does this, too, although older versions didn't.

> 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.

I agree with Paul about this.  I'd like to see all the new groups go POOF!
when U hit 'N'.

Oh, and Wayne, if you read this, is there any way of doing the 'c' command
(catchup) from the thread selection level?  It seems to be a natural place,
since you might scan the threads and decide there's nothing you want to
read.  But as far as I figured, I have to go either to the article level
or to the newsgroup level to catchup.  Could 'K' maybe kill all the threads?

[ \tom haapanen    "i don't even know what street canada is on" -- al capone ]
[ tomh@wes.on.ca                   "trust the programmer" -- ansi c standard ]
[ waterloo engineering software      "to thine own self be true" -- polonius ]
Re: Why does trn want EVERYTHING in .newsrc?
#1368
Author: Wayne Davison
Date: Tue, 24 Mar 1992 03:43
22 lines
1789 bytes
Paul Smee (P.Smee@bristol.ac.uk) wrote:
> 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.

Here's the deal with all versions of trn and any version of rn since the
time that rrn (the NNTP version of rn) was included in the mainstream rn
source:  the newgroup-processing code was modified to put all new groups
in the .newsrc file even if they are being added unsubscribed.  However,
only the NNTP version using the old newgroup-finding method needs to see
these lines in the file (the new newgroup methodology first showed up in
trn 2.0 and rn 4.4 pl. 3).  Non-NNTP versions of rn/trn have always been
able to survive if these lines are removed, and now the NNTP version can
handle this using the new NEWGROUPS-using method of newsgroup searching.

Modifying rn/trn to only add subscribed group names to your .newsrc file
is quite an easy thing to do -- do others find this desirable?  Any good
reasons _not_ to make this change?
-- 
 \  /| / /|\/ /| /(_)    Wayne Davison
(_)/ |/ /\|/ / |/  \     davison@borland.com
   (W   A  Y   N   e)
Re: Why does trn want EVERYTHING in .newsrc?
#1378
Author: Alexis Rosen
Date: Tue, 24 Mar 1992 17:28
14 lines
1165 bytes
davison@borland.com (Wayne Davison) writes:
>Modifying rn/trn to only add subscribed group names to your .newsrc file
>is quite an easy thing to do -- do others find this desirable?  Any good
>reasons _not_ to make this change?

This is an extremely desireable feature. I'd be happy if you could just delete
lines from the .newsrc without worrying about having it add them back in,
though.

---
Alexis Rosen
Owner/Sysadmin, PANIX Public Access Unix, NYC.
alexis@panix.com
{cmcl2,apple}!panix!alexis
Re: Why does trn want EVERYTHING in .newsrc?
#1377
Author: Paul Smee
Date: Wed, 25 Mar 1992 13:17
14 lines
1295 bytes
In article <1992Mar24.034314.11295@borland.com> davison@borland.com (Wayne Davison) writes:
>Modifying rn/trn to only add subscribed group names to your .newsrc file
>is quite an easy thing to do -- do others find this desirable?  Any good
>reasons _not_ to make this change?

Thanks for the info.  I'm poke at things a bit here, however, I really hate
local changes so would appreciate it (even if only by config option) in the
'official' version.  So, come on, folks, vote for it.

Cheers...

-- 
Paul Smee, Computing Service, University of Bristol, Bristol BS8 1UD, UK
 P.Smee@bristol.ac.uk - ..!uunet!uknet!bsmail!p.smee - Tel +44 272 303132
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads