Article View: news.software.readers
Article #41865Re: Bugged by linux newsreaders: tin, slrn. Help me, please.
From: Jan Panteltje
Date: Thu, 02 Jul 1998 00:00
Date: Thu, 02 Jul 1998 00:00
136 lines
7051 bytes
7051 bytes
>jan@panteltje.demon.nl (Jan Panteltje) wrote:
>
>>> OK, this is what I would like to see:
>>> A standard reply format for numeric reply 430:
>>> example:
>>> case 430: /* no such article found */
>>> /* rxbuf:430 No article by message-id <wqqwe?>, sorry. */
>
>> I forgot reply 222, even more important, should have msg id.
>
>Okay, refresh my memory. What is reply 222? Is it the successful
>response to a posted article (a guess)? (Can you point me to the
>NNTP RFC? I keep losing the URL.)
>
That would be rfc977, do a www.infoseek.com,
then enter rfc977.txt or rfc977.html.
I have them all local on my disk.
Think I got them from w3.org
Anyways this it what it says:
<H3>3.1.1. <A
NAME="z0">ARTICLE (selection by message-id)</A></H3>
<PRE> ARTICLE <message-id>
Display the header, a blank line, then the body (text) of the
specified article. Message-id is the message id of an article as
shown in that article's header. It is anticipated that the client
will obtain the message-id from a list provided by the NEWNEWS
command, from references contained within another article, or from
the message-id provided in the response to some other commands.
Please note that the internally-maintained "current article pointer"
is NOT ALTERED by this command. This is both to facilitate the
presentation of articles that may be referenced within an article
being read, and because of the semantic difficulties of determining
the proper sequence and membership of an article which may have been
posted to more than one newsgroup.
</PRE>
<H3>3.1.2. ARTICLE (selection by number)</H3>
<PRE> ARTICLE [nnn]
Displays the header, a blank line, then the body (text) of the
current or specified article. The optional parameter nnn is the
numeric id of an article in the current newsgroup and must be chosen
from the range of articles provided when the newsgroup was selected.
If it is omitted, the current article is assumed.
The internally-maintained "current article pointer" is set by this
command if a valid article number is specified.
[the following applies to both forms of the article command.] A
response indicating the current article number, a message-id string,
and that text is to follow will be returned.
The message-id string returned is an identification string contained
within angle brackets ("<" and ">"), which is derived from the header
of the article itself. The Message-ID header line (required by
RFC850) from the article must be used to supply this information. If
the message-id header line is missing from the article, a single
digit "0" (zero) should be supplied within the angle brackets.
Since the message-id field is unique with each article, it may be
used by a news reading program to skip duplicate displays of articles
that have been posted more than once, or to more than one newsgroup.
</PRE>
<H3>3.1.3. Responses</H3>
<PRE> 220 n <a> article retrieved - head and body follow
(n = article number, <a> = message-id)
221 n <a> article retrieved - head follows
222 n <a> article retrieved - body follows
223 n <a> article retrieved - request text separately
412 no newsgroup has been selected
420 no current article has been selected
423 no such article number in this group
430 no such article found
Note the 222 line above, if the server does not support msg id, it sends
a zero in the article location.
(so I do: article <msg_id>, then wait for reply 222 (hopefully),
look up the msg id in 222 in my client data base, find the corresponding
group the request came from, and store in that group.
This way one can send all msg id requests at once to the server,
and just process the incoming stream, without having to wait.
>If so, message-ID tracking through References may become obsolete once
>the persistent Author-IDs header is widely recognized (currently under
>discussion on USEFOR).
>
Well, for the software, whether you reference by msg id or any other unique
string, makes little difference.
However, it is useful for a fast transfer to KNOW which article is being
received, as described in my previous mail.
Also, as described above, I use this feature to prevent articles that
(have the same msg id) to appear in more then one group.
I think this is a very useful feature ,and am using it all the time.
Actually I have been thinking about a binary mode for NNTP,
that COULD go something like this:
client:
binbody <msg_id>
server:
299 <msg_id> binary body follows.
The same procedure for IHAVE and communication between servers.
Of cause code 299 is just a bogus example.
If the server does not support the 'binbody' command it will automatically
send some 500 series reply.
This requires the server to actually HAVE the binary.
It requires the client to switch (for the moment only), from a line
oriented read to a normal read.
This would all work great on TCP/IP.
I think servers should do no decoding.
So then we also need a binary post command analog to this.
The advantage of this system would be:
1) All server manufacturers sell a new copy.
2) The amount of disk space would decrease by up to 30 % on the servers.
3) The amount of net traffic would decrease by 20 to 30 %
4) The download speed for binaries (say pictures) would be cut by 20 to 30 %
5) The clients phone bill would be cut by 20 to 30 % for the same number
of articles. (of cause now they download more).
6) Telcos do not like efficient systems?
7) You can still use the old system, but then the server must uuencode(?) on
the fly? if requested item is in binary form.
Technical Details
Message-ID:
<899411160.13331.0.rover.d4ee0662@news.demon.nl>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<35951422.24CFB42B@ukans.edu> <898974956.17178.0.rover.d4ee0662@news.demon.nl> <6n444v$366$1@unlnews.unl.edu> <899062284.4658.1.rover.d4ee0662@news.demon.nl> <6n75fk$rla$1@unlnews.unl.edu> <899157034.18935.0.spot.d4ee0662@news.demon.nl> <899325182.26446.0.rover.d4ee0662@news.demon.nl> <6neviq$iqe$1@unlnews.unl.edu>Show Full Headers
Complete Article Headers
Message-ID: <899411160.13331.0.rover.d4ee0662@news.demon.nl> Subject: Re: Bugged by linux newsreaders: tin, slrn. Help me, please. Date: Thu, 02 Jul 1998 00:00:00 +0000 From: jan@panteltje.demon.nl (Jan Panteltje) References: <35951422.24CFB42B@ukans.edu> <898974956.17178.0.rover.d4ee0662@news.demon.nl> <6n444v$366$1@unlnews.unl.edu> <899062284.4658.1.rover.d4ee0662@news.demon.nl> <6n75fk$rla$1@unlnews.unl.edu> <899157034.18935.0.spot.d4ee0662@news.demon.nl> <899325182.26446.0.rover.d4ee0662@news.demon.nl> <6neviq$iqe$1@unlnews.unl.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 368193551 X-Newsreader-location: NewsFleX-0.8.3 (c) 'LIGHTSPEED' off line news reader for the Linux platform Visit http://www.panteltje.demon.nl/newsflex/ for a free demo. X-NNTP-Posting-Host: panteltje.demon.nl:212.238.6.98 X-Complaints-To: abuse@demon.net X-Trace: news.demon.nl 899411160 rover:13331 NO-IDENT panteltje.demon.nl:212.238.6.98 User-Agent: NewsFleX (NewsFleX-0.8.3 (LINUX)) Newsgroups: news.software.readers