🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62260

Re: Group list, please someone explain...

#62260
From: Russ Allbery
Date: Mon, 09 Dec 2002 21:15
53 lines
3458 bytes
news usenetserver com <noSpam@here.com> writes:

> Hello, I'm building usenet to web gateway using AspNNTP ActiveX
> component to do all NNTP related tasks.  I don't completely understand
> the output format of group list, here is the segment of the output...

> alt.music.toasters 110134 110129 y
> alt.music.todd-rundgren 126063 125944 y
> alt.music.tom-petty 115530 115437 y
> alt.music.tom-waits 130155 130010 y
> alt.music.tonic 110911 110910 y
> alt.music.tool 421934 414643 y
> alt.music.total-touch 110334 110320 y
> alt.music.toten-hosen 112332 112275 y
> alt.music.toy-dolls 110203 110190 y
> alt.music.trading.dat 110578 110571 y
> alt.music.tragically-hip 146354 145997 y

> 1st column is a newsgroup name, but what does column 2,3, and 4 mean? I
> have been looking through RFC #822 and cannot find any details.

You wanted to be looking in RFC 977 for NNTP.  The new NNTP draft is much
clearer here:

    The response to the LIST keyword with no parameters returns a list of
    valid newsgroups and associated information.  Each newsgroup is sent
    as a line of text in the following format:

       group first last status

    where <group> is the name of the newsgroup, <last> is the number of
    the last known article currently in that newsgroup, <first> is the
    number of the first article currently in the newsgroup, and <status>
    indicates the current status of the group on this server. Typically,
    the <status> will consist of the US-ASCII character 'y' where posting
    is permitted, 'n' where posting is not permitted and 'm' where
    postings will be forwarded to the newsgroup moderator by the news
    server. Other status strings may exist. The definition of these other
    values and the circumstances under which they are returned is covered
    in other specifications. Each field in the line is separated from its
    neighboring fields by one or more US-ASCII spaces.
     
    The <first> and <last> fields will always be numeric.  They may have
    leading zeros. The <first> field corresponds to the "reported low
    water mark" and the <last> field corresponds to the "reported high
    water mark" described in the GROUP command (see Section 9.1.1.1).

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <yl1y4qyjuk.fsf@windlord.stanford.edu>
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!shelby.stanford.edu!not-for-mail
References: <is7J9.3519$DJ4.366@fe03>

Show Full Headers
Complete Article Headers
Message-ID: <yl1y4qyjuk.fsf@windlord.stanford.edu>
Subject: Re: Group list, please someone explain...
Date: Mon, 09 Dec 2002 13:15:47 -0800
From: Russ Allbery <rra@stanford.edu>
References: <is7J9.3519$DJ4.366@fe03>
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!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 52
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1039468547 29133 171.64.13.23 (9 Dec 2002 21:15:47 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter,
 sparc-sun-solaris2.6)
Cancel-Lock: sha1:Wp73Mip3v5c9bblnJ6BwpEfnoTQ=