🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #49074

Re: Newsrc problem Xnews/trn

#49074
From: 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

Technical Details
Message-ID: <8DDB5235Dluutrangeocities@news.mindspring.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <7j7vri$a2$1@cubacola.tninet.se>

Show Full Headers
Complete Article Headers
Message-ID: <8DDB5235Dluutrangeocities@news.mindspring.com>
Subject: Re: Newsrc problem Xnews/trn
Date: Fri, 04 Jun 1999 00:00:00 +0000
From: luu@xnews.3dnews.net.invalid (Luu Tran)
References: <7j7vri$a2$1@cubacola.tninet.se>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 485694343
Organization: Daedalus
User-Agent: Xnews/2.06.02p
Newsgroups: news.software.readers