🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
9 messages
9 total messages Started by Erland Sommarskog Fri, 04 Jun 1999 00:00
Newsrc problem Xnews/trn
#49072
Author: Erland Sommarskog
Date: Fri, 04 Jun 1999 00:00
18 lines
1428 bytes
Occassionally I find that Xnews produces lines like this one in my newsrc:

    se.internet.news.meddelanden: 1-284,282,283,284

This is not a problem for Xnews which understands this correctly.
However, I also use trn on Unix when I log into my ISP from work
via Telnet. And trn think this line is bogus, and says that I have
everything unread.

Since trn carries on from rn which more or less defines the newsrc
format, I'm tempted to turn to Luu to ask for a change. That is,
the series of numbers should be increasing, and no number should
be covered twice, explicitly or implicitly.
-- 
Erland Sommarskog, Stockholm, sommar@algonet.se
A camel is a trotting horse that has been constructed by a committee.

Re: Newsrc problem Xnews/trn
#49057
Author: Erland Sommarskog
Date: Fri, 04 Jun 1999 00:00
44 lines
2583 bytes
Luu Tran (luu@xnews.3dnews.net.invalid) writes:
>1-284 is the result of a catchup or mark all read.  The rest is the result 
>of crosspost killing. That is, you read from another group with articles 
>282 283 284 xposted to above group.  

Yeah, I had more or less found that that was happening behind
the scenes, but I didn't find it particularly interesting. It's
when the file is being written to disk, the cleanup should be
done.

>For efficiency's sake, I don't parse 
>and consolidate those numbers; I just concatenate them to the string and 
>parsw it next time.  Of course in your example, the xposted articles are 
>subsumed by the catchup, so they don't mean much.

But couldn't you parse and consolidate while I'm reading an
article? And even save newsrc every now and then? That's another
feature I've been missing from (t)rn. If I have to leave trn
in some uncontrolled way, unread articles are rarely more than
5-10 articles off from where I crashed.

>For the next version, I'm doing something even more diabolical: I stick a 
>zero in between the read numbers and xpost numbers, like this:
>
>1-180,0,182,184,189-190.
>
>(there's a reason for it, of course: it helps me optimize loading headers.)
>
>But apparently this causes serious problem for other readers.  Hmm, what to 
>do, what to do.

Luu, please, don't do something that hampers interoperability with
other newsreaders. I've seen other readers, WinVN for instance,
meddle with the newsrc format, and that's a pain in the rear part
of the body. Don't you have an Xnewsrc where you can put specific
stuff?


-- 
Erland Sommarskog, Stockholm, sommar@algonet.se
This could have been my two cents worth, but alas the Swedish
government has decided that I am not to have any cents.

Re: Newsrc problem Xnews/trn
#49062
Author: Adam Bailey
Date: Fri, 04 Jun 1999 00:00
25 lines
1572 bytes
Erland Sommarskog <sommar@algonet.se> wrote:

> Occassionally I find that Xnews produces lines like this one in my newsrc:
> 
>     se.internet.news.meddelanden: 1-284,282,283,284
> 
> This is not a problem for Xnews which understands this correctly.
> However, I also use trn on Unix when I log into my ISP from work
> via Telnet. And trn think this line is bogus, and says that I have
> everything unread.

Yeah, I've been tracking this problem for a few weeks now. When I
import my newsrc into MT or YA-NewsWatcher, they complain about a
syntax error and ditch the newsgroup entirely. slrn accepts it, but the
unread count is off.

Never had a chance to actually look at the newsrc and see what the
problem is, but you've got it.

-- 
Adam Bailey    | Chicago, Illinois
adamb@lull.org | Finger/Web for PGP
adamkb@aol.com | http://www.lull.org/adam/

Re: Newsrc problem Xnews/trn
#49065
Author: Bert Hyman
Date: Fri, 04 Jun 1999 00:00
18 lines
1322 bytes
In article <8DDB5235Dluutrangeocities@news.mindspring.com>,
Luu Tran <luu@xnews.3dnews.net.invalid> wrote:
> ...
>But apparently this causes serious problem for other readers.  Hmm, what to 
>do, what to do.
>
Maybe provide a config option for those who need it, to consolidate the
numbers when newsrc is saved? 

I "fix" my newsrc by periodically doing a catch-up on all my subscribed
newsgroups.
--
The opinions expressed in this message are my own and are not the opinions of
anyone who does not hold those opinions.

Bert Hyman | St. Paul, MN | bert@yuck.net

Re: Newsrc problem Xnews/trn
#49074
Author: Luu Tran
Date: Fri, 04 Jun 1999 00:00
40 lines
2121 bytes
Erland Sommarskog <sommar@algonet.se> wrote in 
<7j7vri$a2$1@cubacola.tninet.se>:

>Occassionally I find that Xnews produces lines like this one in my newsrc:
>
>    se.internet.news.meddelanden: 1-284,282,283,284
>
>This is not a problem for Xnews which understands this correctly.
>However, I also use trn on Unix when I log into my ISP from work
>via Telnet. And trn think this line is bogus, and says that I have
>everything unread.
>
>Since trn carries on from rn which more or less defines the newsrc
>format, I'm tempted to turn to Luu to ask for a change. That is,
>the series of numbers should be increasing, and no number should
>be covered twice, explicitly or implicitly.

1-284 is the result of a catchup or mark all read.  The rest is the result 
of crosspost killing. That is, you read from another group with articles 
282 283 284 xposted to above group.  For efficiency's sake, I don't parse 
and consolidate those numbers; I just concatenate them to the string and 
parsw it next time.  Of course in your example, the xposted articles are 
subsumed by the catchup, so they don't mean much.

For the next version, I'm doing something even more diabolical: I stick a 
zero in between the read numbers and xpost numbers, like this:

1-180,0,182,184,189-190.

(there's a reason for it, of course: it helps me optimize loading headers.)

But apparently this causes serious problem for other readers.  Hmm, what to 
do, what to do.


-- 
  luu
author of Xnews -- http://xnews.3dnews.net

Re: [xnews] Keep the newsrc portable
#49076
Author: Luu Tran
Date: Sat, 05 Jun 1999 00:00
20 lines
1446 bytes
Dawn Owens-Nicholson <bluemoon@ux6.cso.uiuc.edu> wrote in 
<slrn7lgtuo.cmc.bluemoon@ux6.cso.uiuc.edu>:

>There's a really good reason why you shouldn't do this--interoperability
>with other newsreaders.  There has to be a good way to keep app-specific
>data in a file separate from portable files (the Windows registry? another
>file maintained along side the newsrc?).  This kind of thing happened
>before--there was a newsreader some years ago that put app config data in
>the newsrc and it wasn't as easy to switch newsreaders as it could have
>been.
>

I'm not really doing anything outlandish.  I don't see why other 
newsreaders should freak out on non-ascending numbers.  Kinda dumb.

-- 
  luu
author of Xnews -- http://xnews.3dnews.net

[xnews] Keep the newsrc portable
#49081
Author: Dawn Owens-Nicholson
Date: Sat, 05 Jun 1999 00:00
13 lines
1298 bytes
Luu Tran wrote:
> For the next version, I'm doing something even more diabolical: I stick a 
> zero in between the read numbers and xpost numbers, like this: [...]

There's a really good reason why you shouldn't do this--interoperability
with other newsreaders.  There has to be a good way to keep app-specific
data in a file separate from portable files (the Windows registry? another
file maintained along side the newsrc?).  This kind of thing happened
before--there was a newsreader some years ago that put app config data in
the newsrc and it wasn't as easy to switch newsreaders as it could have
been.

Re: [xnews] Keep the newsrc portable
#49084
Author: Erland Sommarskog
Date: Sat, 05 Jun 1999 00:00
18 lines
1516 bytes
Luu Tran (luu@xnews.3dnews.net.invalid) writes:
>I'm not really doing anything outlandish.  I don't see why other 
>newsreaders should freak out on non-ascending numbers.  Kinda dumb.

Maybe they freak out because they think the user has been there
and messed things up. 

Maybe they freak out only because the newsreader author was lazy.

In any case, remember the golden rule: be conservative in what you
send, be liberal in what you accept.

-- 
Erland Sommarskog, Stockholm, sommar@algonet.se
This could have been my two cents worth, but alas the Swedish
government has decided that I am not to have any cents.

Re: [xnews] Keep the newsrc portable
#49115
Author: Luu Tran
Date: Mon, 07 Jun 1999 00:00
20 lines
1332 bytes
Erland Sommarskog <sommar@algonet.se> wrote in 
<8DDCE0620Yazorman@news.algonet.se>:

>>I'm not really doing anything outlandish.  I don't see why other 
>>newsreaders should freak out on non-ascending numbers.  Kinda dumb.
>
>Maybe they freak out because they think the user has been there
>and messed things up. 
>
>Maybe they freak out only because the newsreader author was lazy.
>

Actually, I can see the advantage of keeping the numbers sorted.  Makes it 
easier to insert to the list.

-- 
  luu
author of Xnews -- http://xnews.3dnews.net

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