Article View: news.software.nntp
Article #54892Re: RFC 977 - Question 2...
From: K. Ari Krupnikov
Date: Tue, 30 Oct 2001 21:20
Date: Tue, 30 Oct 2001 21:20
30 lines
2497 bytes
2497 bytes
Curt Welch wrote: > > "K. Ari Krupnikov" <ari@cogsci.ed.ac.uk> wrote: > > "Pyro [Paranoid]" wrote: > > > > > > Hello again, > > > > > > Another question regarding the protocol... > > > > > > RFC977 talks of a "STAT" command, im probably missing something but i > > > dont understand its purpose, would anyone be so good as to enlighten > > > me? > > > > You can select a newsgroup with the GROUP group.name command. If you > > then say ARTICLE (with no arguments), you'll get the first article in > > that group, and the "current article" will move to the next one, so when > > you say ARTICLE again, you'll get the second. STAT advances the "next > > article" counter without returning any text. It can be used to skip an > > article. > > I think you are confusing the "next" command with "stat". stat will > advance to the first article after selecting a group (though the behavior I > believe is not correctly documented in the RFCs), but will not advance to > the next article if an article is already selected. "next" will do that. You're right, it doesn't advance the counter. I guess STAT could be useful if you wanted to find the which article is current? Ari.
Technical Details
Message-ID:
<3BDF1990.F045F382@cogsci.ed.ac.uk>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!lon1-news.nildram.net!195.8.68.195.MISMATCH!newspeer.clara.net!news.clara.net!xara.net!gxn.net!server6.netnews.ja.net!newsfeed.ed.ac.uk!news.cogsci.ed.ac.uk!not-for-mailReferences:
<9rmers$hj4$1@newsg4.svr.pol.co.uk> <3BDEFDCD.A0E6E4C4@cogsci.ed.ac.uk> <20011030143327.291$VI@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <3BDF1990.F045F382@cogsci.ed.ac.uk> Subject: Re: RFC 977 - Question 2... Date: Tue, 30 Oct 2001 21:20:16 +0000 From: "K. Ari Krupnikov" <ari@cogsci.ed.ac.uk> References: <9rmers$hj4$1@newsg4.svr.pol.co.uk> <3BDEFDCD.A0E6E4C4@cogsci.ed.ac.uk> <20011030143327.291$VI@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!lon1-news.nildram.net!195.8.68.195.MISMATCH!newspeer.clara.net!news.clara.net!xara.net!gxn.net!server6.netnews.ja.net!newsfeed.ed.ac.uk!news.cogsci.ed.ac.uk!not-for-mail Newsgroups: news.software.nntp Organization: HCRC or CCS, University of Edinburgh Lines: 29 NNTP-Posting-Host: pc-kari.cogsci.ed.ac.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: pc-news.cogsci.ed.ac.uk 1004477004 52268 129.215.110.87 (30 Oct 2001 21:23:24 GMT) X-Complaints-To: usenet@cogsci.ed.ac.uk NNTP-Posting-Date: 30 Oct 2001 21:23:24 GMT X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686) X-Accept-Language: en