Re: ietf-nntp Issue: empty groups

Stan Barber <sob@academ.com> Tue, 31 December 1996 18:17 UTC

Received: from cnri by ietf.org id aa17925; 31 Dec 96 13:17 EST
Received: from ACADEM2.ACADEM.COM by CNRI.Reston.VA.US id aa14837; 31 Dec 96 13:17 EST
Received: (from majordomo@localhost) by academ2.academ.com (8.8.4/8.7.3) id MAA05996 for ietf-nntp-outgoing; Tue, 31 Dec 1996 12:14:08 -0600 (CST)
X-Authentication-Warning: academ2.academ.com: majordomo set sender to owner-ietf-nntp using -f
Received: from academ.com (sob@ACADEM.COM [198.137.249.2]) by academ2.academ.com (8.8.4/8.7.3) with ESMTP id MAA05991 for <ietf-nntp@ACADEM2.ACADEM.COM>; Tue, 31 Dec 1996 12:14:06 -0600 (CST)
Received: (from sob@localhost) by academ.com (8.8.4/8.7.1) id MAA03292 for ietf-nntp@academ.com; Tue, 31 Dec 1996 12:14:05 -0600 (CST)
Message-Id: <199612311814.MAA03292@academ.com>
From: Stan Barber <sob@academ.com>
Date: Tue, 31 Dec 1996 12:14:05 CST
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
To: ietf-nntp@academ.com
Subject: Re: ietf-nntp Issue: empty groups
Sender: owner-ietf-nntp@academ.com
Precedence: bulk

I can confirm that the reference implementation returns 0 0 0 when there are
no articles in a group. The way that the reference implementation works is to
actually scan the directory in which the articles for a group would be
located and return the total number of articles in the spool between (and 
including) the lownum and highnum at the time of the query. If there are no 
articles in the directory, it returns the 0 0 0. 

It should also be noted that the reference implementation can have this
change through the course of a session, so it will issue the most current
information available at the time of the query.

The reference implementation does use the active file to establish the initial
conditions about article numbers when running the GROUP command. It does not
look for any articles outside this range when figuring out what articles
are actually there. So, it is possible to change the behavior of the
GROUP command in the reference implementation easily to accomodate a
return value of 0 lownum highnum if that is what should be done.

As best I can tell, this is the way it has worked since the initial release
of the 1.5 version of the reference implementation.

-- 
Stan   | Academ Consulting Services        |internet: sob@academ.com
Olan   | For more info on academ, see this |uucp: {mcsun|amdahl}!academ!sob
Barber | URL- http://www.academ.com/academ |Opinions expressed are only mine.