🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #52056

Re: Groups with no current articles

#52056
From: J.B. Moreno
Date: Thu, 26 Apr 2001 21:37
41 lines
3109 bytes
In article <9c9h98$l81$1@panther.uwo.ca>, Josef Drexler
<nospam0401@josefsbox.cjb.net> wrote:

> Sorry, J.B. Moreno, could you repeat that?  I wasn't paying attention:
> > (I'm adding in news.software.nntp and setting followups to nsr and nsn)
> > 
-snip GROUP returning 0 0 0 group.name for group with no active
articles-
> > IMO this is incorrect -- last is the highest number so far, not the
> > highest number available (cancels for instance).
> 
> It may be incorrect, but that's not how the RFC states it:
> 
> [GROUP command]
>   "The successful selection response will return the article numbers of
>    the first and last articles in the group, and an estimate of the
>    number of articles on file in the group."
> 
> It doesn't say what it should return if there are no articles in the group,
> when there is no first or last article.
> 
> I agree that it should not return zero, but if it does it still doesn't
> violate the RFC.

Oh, I agree that is a possible, maybe even valid, interpretation of
what the RFC says, I just think the idea is silly.  Setting it to zero
seems exactly the wrong thing to do, as the high mark is often used for
checking for new articles, I don't see any benefit to setting it
(unlike the estimated number of articles) to zero.

> The NNTP reference implementation apparently looks at the spool
> directory and finds out what the highest and lowest article are, and
> how many there are.  This would return low=high=count=0 too.  I'm not
> sure what INN does exactly, but it must be something similar.

I'm not familiar with the innards of INN either, hopefully someone that
is will pipe up.

-- 
J.B. Moreno
Technical Details
Message-ID: <260420011737480833%planb@newsreaders.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!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.onemain.com!feed1.onemain.com!feed.newsreader.com!news2.newsreader.com!news3.newsreader.com!planb
References: <MPG.153fe6fda6c3e2149896d5@netnews.worldnet.att.net> <1ert70n.g9vdvptfwht7N%planb@newsreaders.com> <9ba2rs$lj6$1@panther.uwo.ca> <1erv6p0.1dxyy71lpqssdN%planb@newsreaders.com> <9bfbbm$i2e$1@panther.uwo.ca> <1eryw8p.u4h7ndh5lmabN%planb@newsreaders.com> <9bhoo1$nva$1@panther.uwo.ca> <9c4glc$5on$1@panther.uwo.ca> <1esdltl.siywqfe8hc0vN%planb@newsreaders.com> <9c4ouh$6uh$1@panther.uwo.ca> <1ese7b9.1k2jvr7ql426vN%planb@newsreaders.com> <9c6ujj$b0e$1@panther.uwo.ca> <1esffea.18b1u6517ypquaN%planb@newsreaders.com> <9c9h98$l81$1@panther.uwo.ca>

Show Full Headers
Complete Article Headers
Message-ID: <260420011737480833%planb@newsreaders.com>
Subject: Re: Groups with no current articles
Date: Thu, 26 Apr 2001 17:37:48 -0400
From: "J.B. Moreno" <planb@newsreaders.com>
References: <MPG.153fe6fda6c3e2149896d5@netnews.worldnet.att.net> <1ert70n.g9vdvptfwht7N%planb@newsreaders.com> <9ba2rs$lj6$1@panther.uwo.ca> <1erv6p0.1dxyy71lpqssdN%planb@newsreaders.com> <9bfbbm$i2e$1@panther.uwo.ca> <1eryw8p.u4h7ndh5lmabN%planb@newsreaders.com> <9bhoo1$nva$1@panther.uwo.ca> <9c4glc$5on$1@panther.uwo.ca> <1esdltl.siywqfe8hc0vN%planb@newsreaders.com> <9c4ouh$6uh$1@panther.uwo.ca> <1ese7b9.1k2jvr7ql426vN%planb@newsreaders.com> <9c6ujj$b0e$1@panther.uwo.ca> <1esffea.18b1u6517ypquaN%planb@newsreaders.com> <9c9h98$l81$1@panther.uwo.ca>
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!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.onemain.com!feed1.onemain.com!feed.newsreader.com!news2.newsreader.com!news3.newsreader.com!planb
Newsgroups: news.software.nntp,news.software.readers
Organization: bofh wannabe
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 8bit
User-Agent: Thoth/1.2.0 (Carbon/OS X)
Lines: 40