🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #63679

Re: Client Question - Best Practice

#63679
From: Curt Welch
Date: Tue, 28 Jan 2003 16:34
56 lines
3696 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
> [Curt Welch]:
> >
> >   LISTGROUP is the most effecent way on my server to find out what
> >   articles are still on the server and which have been expired or
> >   canceled.  But the command takes no range argument so it forces
> >   you to dump the entire group.  I don't know of anyone that uses
> >   the LISTGROUP command because of this.  If it took a range
> >   argument, it might be useful in answering the question you talk
> >   about.
>
> do you think it is worthwhile to add a command listing the articles
> present in range format?
>
>   C: GROUP ifi.test
>   S: 211 2864 5144 8718 ifi.test
>   C: XLISTRANGE
>   S: 211 Article list follows
>   S: 5144-5264,5266-5286,5288-5356,5358-5399,5402-5475,5477-5511,
>     5513-5562
>   S: 6191-6209,6211-6212,6214-6266,6268-6288,6290-6291,6293-6300,
>     6302-6403
>   S: 6405-6429,6431-6477,6479-6480,6482-6548,6550-6578,6580-6623,
>     6625-6648
>   S: 6650-6651,6656-6834,6836-6924,6926-6926,6928-6992,6994-6997,
>     6999-7003
>   S: 7005-7026,7028-7037,7039-7046,7048-7051,7053-7061,7063-7075,
>     7077-7100
>   S: 7103-7105,7107-7110,7112-7145,7147-7149,7151-7164,7166-7241,
>     7243-7243
>   S: 7245-7367,7369-7370,7396-7508,7510-7545,7547-7548,7550-7622,
>     7625-7817
>   S: 7819-7933,7935-7937,7939-8348,8351-8357,8359
>   S: .
>
> the lines could've been longer.  a linefeed has the same meaning as a
> comma.

That would be a fine way to do it if someone really wanted it.  You would
want to allow a range argument to the command so the newsreader could check
only a limited range in the group.  Even though the format above is very
compact compared to LISTGROUP, you still don't want to fource a newsreader
(or news server) to scan the data for a million article group if all the
newsreader was interested in was the last 10,000 articles.

However, I haven't heard many people screeming for the feature because
there are other ways that aren't "too bad" to get the same information
(xhdr). Mostly we try to set up the servers to minimize the gaps so that
they aren't a big problem most the time so most newsreaders simply don't do
anything other than know how to deal with the problem of an article not
being there when you try to fetch it.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20030128113422.064$ND@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <Xns930BDD1C39402peonsomecompanycomin@127.0.0.1> <12439.n13207@archiver.winews.net> <Xns930CEF87A9333peonsomecompanycomin@127.0.0.1> <20458.o1320g@archiver.winews.net> <20030127003207.754$B0@newsreader.com> <1rhebufplk.fsf@vingodur.ifi.uio.no>

Show Full Headers
Complete Article Headers
Message-ID: <20030128113422.064$ND@newsreader.com>
Subject: Re: Client Question - Best Practice
Date: Tue, 28 Jan 2003 16:34:22 +0000
From: curt@kcwc.com (Curt Welch)
References: <Xns930BDD1C39402peonsomecompanycomin@127.0.0.1> <12439.n13207@archiver.winews.net> <Xns930CEF87A9333peonsomecompanycomin@127.0.0.1> <20458.o1320g@archiver.winews.net> <20030127003207.754$B0@newsreader.com> <1rhebufplk.fsf@vingodur.ifi.uio.no>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com w@9idBRkJHMdh-LWEi5BFVpMXf_xjY6+kvLiFW-nd1xjcB
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
  %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 55