Article View: news.software.nntp
Article #54898Re: RFC 977 - Question 2...
From: Greg Andrews
Date: Tue, 30 Oct 2001 23:28
Date: Tue, 30 Oct 2001 23:28
63 lines
3984 bytes
3984 bytes
"K. Ari Krupnikov" <ari@cogsci.ed.ac.uk> writes: > >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? > Most of the confusion arises from two things. RFC 977 is a protocol, which means it's a toolbox for getting different (but related) kinds of work done. RFC 977 was also written 15 years ago, and Usenet has changed enormously since then. Some other commands have been suggested in this discussion (XOVER, XHDR, LISTGROUP), but they did not exist when RFC 977 was written. The RFC couldn't defer to commands that didn't exist, nor could it create superior ones. Also remember that threading newsreaders did not exist (or were in their infancy) at that time. So many of the commands and server behaviors described in RFC 977 were designed to support the news reading behavior at the time: reading each group's articles in numeric sequence. You can break RFC 977's commands into several categories. The two categories associated most directly with reading articles are the viewing commands (ARTICLE, HEAD, and BODY), and the article pointer manipulation commands (NEXT, LAST, and STAT). The viewing commands can be used with article identifiers, or without. Without identifiers, they rely on the server's current article pointer. A client that relies on the pointer would use STAT and NEXT to select the articles to view. STAT would be used at the start of reading a group, to skip the pointer past the articles that were already seen. After that, NEXT would be used to advance through the rest of the articles in the group. RFC 977 shows exactly this behavior in Section 4.1, Example 1. STAT can also be used to check whether an article exists on the server. An early threading newsreader might get the thread's message-ids from an article's References: header, and want to check whether the other articles exist. The client can use "STAT <message-id>" to verify they exist and which article numbers they have. The message-id form of STAT can also be a much lighter burden on the server than the ARTICLE, HEAD, or BODY commands. The server only needs to look the message-id up in its history database. It doesn't need to stat() the article file, open the file, and read it. Since RFC 977 was written, new techniques for reading articles have been implemented. Use of viewing commands without article identifiers has mostly gone away. Use of the pointer manipulation commands has gone with them. The key to understanding RFC 977 is to understand Usenet as it was 15 years ago. After that, you can decide which parts of the protocol are useful to today's newsreader and which are obsolete. -Greg -- +++++ Greg Andrews +++ gerg@panix.com +++++ I have a map of the United States that's actual size -- Steven Wright
Technical Details
Message-ID:
<9rnd31$ofm$1@news.panix.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!cyclone.bc.net!sunqbc.risq.qc.ca!howland.erols.net!panix!news.panix.com!not-for-mailReferences:
<9rmers$hj4$1@newsg4.svr.pol.co.uk> <3BDEFDCD.A0E6E4C4@cogsci.ed.ac.uk> <20011030143327.291$VI@newsreader.com> <3BDF1990.F045F382@cogsci.ed.ac.uk>Show Full Headers
Complete Article Headers
Message-ID: <9rnd31$ofm$1@news.panix.com> Subject: Re: RFC 977 - Question 2... Date: Tue, 30 Oct 2001 23:28:33 +0000 From: gerg@panix.com (Greg Andrews) References: <9rmers$hj4$1@newsg4.svr.pol.co.uk> <3BDEFDCD.A0E6E4C4@cogsci.ed.ac.uk> <20011030143327.291$VI@newsreader.com> <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!cyclone.bc.net!sunqbc.risq.qc.ca!howland.erols.net!panix!news.panix.com!not-for-mail Newsgroups: news.software.nntp Organization: I have a map of the United States that's actual size Lines: 62 Distribution: inet NNTP-Posting-Host: panix1.panix.com X-Trace: news.panix.com 1004484513 25078 166.84.1.1 (30 Oct 2001 23:28:33 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: 30 Oct 2001 23:28:33 GMT X-Newsreader: trn 4.0-test74 (May 26, 2000) Originator: gerg@panix.com (Greg Andrews)