🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
9 messages
9 total messages Started by Dave Manley Mon, 30 Dec 1991 23:03
trn2.2 and .newsrc
#952
Author: Dave Manley
Date: Mon, 30 Dec 1991 23:03
10 lines
1151 bytes
trn is (apparently) updating unsubscribed groups in my .newsrc file.  This isn't
necessarily bad, but it does it in this way:

news.groups! 1-29105,29537,29543,29551,29553-29555,29558,29565-29567,29577,29579-29580,29582-29583,29589,29596,29600,29605,29612,29631,29657-29659,29680,29737,29739,29760,29764

Some of the entries in the file are getting extremely long.  Why is trn doing
this?  I'm unsubscribed to these groups, so it's not because I am skipping
articles.  Why does trn do anything at all with unsubscribed groups?

Dave Manley
Re: trn2.2 and .newsrc
#950
Author: Sean Eric Fagan
Date: Wed, 01 Jan 1992 04:56
16 lines
1487 bytes
In article <9036@optilink.UUCP> manley@optilink.UUCP (Dave Manley) writes:
>Some of the entries in the file are getting extremely long.  Why is trn doing
>this?  I'm unsubscribed to these groups, so it's not because I am skipping
>articles.  Why does trn do anything at all with unsubscribed groups?

(rn does, as well, incidently.)

Because you might choose to subscribe to them at some point, and a design
decision was made to have long .newsrc lines instead of requiring you to
reread articles should you read a group you were previously unsubscribed to.

-- 
Sean Eric Fagan  | "One form to rule them all, one form to find them, one
sef@kithrup.COM  |  form to bring them all and in the darkness rewrite the
-----------------+  hell out of them" -- sendmail ruleset 3 comment from DEC.
Any opinions expressed are my own, and generally unpopular with others.
Re: trn2.2 and .newsrc
#955
Author: John Temples
Date: Thu, 02 Jan 1992 06:02
19 lines
1593 bytes
In article <1992Jan01.045643.7904@kithrup.COM> sef@kithrup.COM (Sean Eric Fagan) writes:
>In article <9036@optilink.UUCP> manley@optilink.UUCP (Dave Manley) writes:
>>Why does trn do anything at all with unsubscribed groups?
>
>Because you might choose to subscribe to them at some point, and a design
>decision was made to have long .newsrc lines instead of requiring you to
>reread articles should you read a group you were previously unsubscribed to.

That doesn't really explain why it's happening, though.  Starting with
trn 2.0, the "xref chasing" feature was added.  If you junk an article
from the thread selection screen which is crossposted to a newsgroup
you're unsubscribed from, trn will still update the unsubscribed
newsgroup's .newsrc line.

If you're using trn 2.0, take a look at your .newsrc, and you'll see
lots of articles marked as read in newsgroups you've never even heard
of, much less subscribed to.
-- 
John W. Temples -- john@jwt.UUCP (uunet!jwt!john)
Re: trn2.2 and .newsrc
#957
Author: Sean Eric Fagan
Date: Thu, 02 Jan 1992 09:39
13 lines
1366 bytes
In article <1992Jan2.060234.22198@jwt.UUCP> john@jwt.UUCP (John Temples) writes:
>That doesn't really explain why it's happening, though.  Starting with
>trn 2.0, the "xref chasing" feature was added.

All this does is the same thing that happens when you read an article.  rn
doesn't follow crossposting when killing an article; Wayne just added it
(and I disabled it here because it took far too long to process).

-- 
Sean Eric Fagan  | "One form to rule them all, one form to find them, one
sef@kithrup.COM  |  form to bring them all and in the darkness rewrite the
-----------------+  hell out of them" -- sendmail ruleset 3 comment from DEC.
Any opinions expressed are my own, and generally unpopular with others.
Re: trn2.2 and .newsrc
#958
Author: Rob Bernardo
Date: Thu, 02 Jan 1992 17:33
19 lines
1721 bytes
manley@optilink.UUCP (Dave Manley) wrote:
>trn is (apparently) updating unsubscribed groups in my .newsrc file.  This isn't
>necessarily bad, but it does it in this way:
>
>news.groups! 1-29105,29537,29543,29551,29553-29555,29558,29565-29567,29577,29579-29580,29582-29583,29589,29596,29600,29605,29612,29631,29657-29659,29680,29737,29739,29760,29764
>
>Some of the entries in the file are getting extremely long.  Why is trn doing
>this?  I'm unsubscribed to these groups, so it's not because I am skipping
>articles.  Why does trn do anything at all with unsubscribed groups?

Trn (and I believe rn as well) mark cross-posted articles that you read
as having been read in all the groups in which they are cross-posted;
this is that way so that you only read the article once.  It is
important that this been done even with unsubscribed newsgroups, so
that, if you should later subscribe, you don't get a flood of articles
you've already read elsewhere.
-- 
Rob Bernardo					Mt. Diablo Software Solutions
email: rob@mtdiablo.Concord.CA.US		home phone: (510) 827-4301
Re: trn2.2 and .newsrc
#963
Author: Dave Manley
Date: Fri, 03 Jan 1992 01:08
25 lines
1636 bytes
In article <1992Jan2.060234.22198@jwt.UUCP> john@jwt.UUCP (John Temples) writes:
>In article <1992Jan01.045643.7904@kithrup.COM> sef@kithrup.COM (Sean Eric Fagan) writes:
>>In article <9036@optilink.UUCP> manley@optilink.UUCP (Dave Manley) writes:

>>>Why does trn do anything at all with unsubscribed groups?

>>Because you might choose to subscribe to them at some point...

>If you junk an article
>from the thread selection screen which is crossposted to a newsgroup
>you're unsubscribed from, trn will still update the unsubscribed
>newsgroup's .newsrc line.

Ok, these answers make sense, but...

It seems to my feeble brain that somehow trn (or rn, or whatever) 
should consolidate these long list when they refernce expired
articles.  I don't know about your systems but we run an expire
on postings older than 4 days.  Isn't a bug for the newsreader
to keep track of articles I haven't read (in my .newsrc) that have 
expired?


Dave Manley
uunet!optilink!manley
Re: trn2.2 and .newsrc
#969
Author: Mike Northam ext 2651
Date: Fri, 03 Jan 1992 17:06
23 lines
1947 bytes
>>>>> On 30 Dec 91 23:03:08 GMT, manley@optilink.UUCP (Dave Manley) said:

Dave> trn is (apparently) updating unsubscribed groups in my .newsrc file.
Dave> This isn't necessarily bad, but it does it in this way:

Dave> news.groups!
Dave> 1-29105,29537,29543,29551,29553-29555,29558,29565-29567,29577,29579-29580,29582-29583,29589,29596,29600,29605,29612,29631,29657-29659,29680,29737,29739,29760,29764

Dave> Some of the entries in the file are getting extremely long.  Why is
Dave> trn doing this?  I'm unsubscribed to these groups, so it's not
Dave> because I am skipping articles.  Why does trn do anything at all
Dave> with unsubscribed groups?

Usually this is due to articles that are cross-posted to several groups.
You probably read the article that is 29106 in news.groups (for example)
in some other newsgroup.  Of course news.groups, by its nature, is a prime
candidate for cross-posting.

--
Mike Northam    mbn@fps.com   Home:123 11' 40"W   45 37' 14"N
(503) 641-3151 (work) (503) 324-1831 (home) {ucsd|tektronix|sun}!fpssun!mbn
FPS has been acquired by Cray Research, Inc--beware of mail address changes
"A chicken is merely an egg's way of making another egg."  (author unknown)
Re: trn2.2 and .newsrc
#971
Author: Sean Eric Fagan
Date: Fri, 03 Jan 1992 19:21
24 lines
1846 bytes
In article <9066@optilink.UUCP> manley@optilink.UUCP (Dave Manley) writes:
>It seems to my feeble brain that somehow trn (or rn, or whatever) 
>should consolidate these long list when they refernce expired
>articles.  I don't know about your systems but we run an expire
>on postings older than 4 days.  Isn't a bug for the newsreader
>to keep track of articles I haven't read (in my .newsrc) that have 
>expired?

You can write a utility to do that, if you want.  Neither rn nor trn do
that, right now.  In fact, if you want to do it, you can do it by something
like

	1-999999999999=

and then the reader will spit out lots of stuff, and complain about missing
articles, and print out subjects, etc.  Fun stuff.  (I *think* it will mark
them as read.  Alternatively, you could have your system update the min
field of the active file when it does expires, and rn will notice that.)

-- 
Sean Eric Fagan  | "One form to rule them all, one form to find them, one
sef@kithrup.COM  |  form to bring them all and in the darkness rewrite the
-----------------+  hell out of them" -- sendmail ruleset 3 comment from DEC.
Any opinions expressed are my own, and generally unpopular with others.
Re: trn2.2 and .newsrc
#976
Author: Felan shena Thoron'edras
Date: Sat, 04 Jan 1992 20:56
42 lines
2891 bytes
In article <9066@optilink.UUCP> manley@optilink.UUCP (Dave Manley) writes:
>In article <1992Jan2.060234.22198@jwt.UUCP> john@jwt.UUCP (John Temples) writes:
>>In article <1992Jan01.045643.7904@kithrup.COM> sef@kithrup.COM (Sean Eric Fagan) writes:
>>>In article <9036@optilink.UUCP> manley@optilink.UUCP (Dave Manley) writes:
>>>>Why does trn do anything at all with unsubscribed groups?

Funny, I asked the same thing a while back, as I thought it was a bug at
the time.  Still, it's been adequately explained this time around (was
last time, too).

>It seems to my feeble brain that somehow trn (or rn, or whatever) 
>should consolidate these long list when they refernce expired

So it should, but it doesn't seem to work, always.  So, I offer to you
what _I_ use to fix this problem occasionally (it IS worth it to fix it
eventually, if you read as many cross-post-prone groups as I do.  It's
an easy way to reduce your disk usage by 5K or so).  Jonathan Kamens
(hi jik!  thanks, it's helped a lot) wrote this for me, as I had no idea
what to do:

-----
#!/bin/sed -f

s/! *\([0-9][0-9]*\).*[,-]\([0-9][0-9]*\)$/! \1-\2/
-----
What these three lines do is find the first number for each group that you're
unsubscribed to, as that number appears in your .newsrc; then it finds the
last number on that line; then it rewrites everything between those two to
be first-last.  Makes it much easier.  (I had to modify it slightly from the
way Jonathan sent it to me, as it didn't work with some of the odder lines
I get.  That is, the lines I've gotten have had, well... One was:
rec.arts.startrek.current:6, instead of rec.arts.startrek.current: 6 the
way it was supposed to be.  I fixed it to handle similar things in the
unsubscribed groups.)
  I named it 'fix.newsrc', and run it thus:
fix.newsrc .newsrc > new.newsrc; mv new.newsrc .newsrc
  Hopefully, this will be of some use to someone...

Leanne Phillips
"Go not unto the Elves for counsel, for they will say both yea and nay."
"Now is _not_ a good time, Keiko!" - Worf, "Disaster"
"Variety is the spice of life, and I don't want to die." - Scott Borst
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