🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #18351

Where is NNTP said to be 7 bits ? (was Re: Netscape, most broken newsreader award winner.)

#18351
From: Pierre Beyssac
Date: Tue, 30 Jan 1996 00:00
88 lines
4593 bytes
In article <gberigan-2701962202470001@abel-gberigan.unl.edu>,
Greg Berigan <gberigan@cse.unl.edu> wrote:
>To those saying that modifying newsreaders to support QP is easy, why
>don't you hunt down every source and every author and make the patches
>yourselves, then chase down every admin and personal newsreader user and
>convince them to update their installed newsreaders.  Not as easy as you
>thought, eh?

I tried to have a look by myself at the NNTP specs, since
everybody claims they are "7 bits". After taking this for granted
for some time, I wanted to check for myself.

The only place I've been able to find an allusion to 7 bits in the
NNTP RFC (RFC 977) is there:

|2.2.  Character Codes     
|
|   Commands and replies are composed of characters from the ASCII
|   character set.  When the transport service provides an 8-bit byte
|   (octet) transmission channel, each 7-bit character is transmitted  
|   right justified in an octet with the high order bit cleared to zero.

This applies to server commands and replies, and, indirectly, to
article bodies since they are received as "replies" to some commands.
Note that it is not specified how extended ASCII should be handled,
the note applies to the opposite situation (how to handle pure
ASCII in a 8 bits path).

The POST command further notes that "no attempt shall be made by
the server to filter characters" but refers to RFC 850 (now 1036)
for more details:

|3.10.1.  POST
|   
|   POST
...
|   No attempt shall be made by the server to filter characters, fold or
|   limit lines, or otherwise process incoming text.  It is our intent
|   that the server just pass the incoming message to be posted to the
|   server installation's news posting software, which is separate from
|   this specification.  See RFC850 for more details.
|

Let's have a look at RFC 1036.
The only place where I find a mention of "ASCII" is in the headers
descriptions. No "7 bits" or "8 bits".

RFC 1036, however, refers to RFC 822 :
|    within the Internet standard.  Therefore, the rule is adopted that  
|    all USENET news messages must be formatted as valid Internet mail
|    messages, according to the Internet standard RFC-822.  The USENET   

Looking at RFC 822 we at last can find that message bodies should
be ASCII:

|     3.1.  GENERAL DESCRIPTION
|
|          A message consists of header fields and, optionally, a body.
|     The  body  is simply a sequence of lines containing ASCII charac-
|     ters.  It is separated from the headers by a null line  (i.e.,  a
|     line with nothing preceding the CRLF).

But I don't think the intention of the author was to exclude extended
(8 bits) ASCII. It rather seems to be a side-effect of the wording.

So, am I missing something obvious somewhere ?

It seems to me that saying that standard NNTP is 7 bit is a very
indirect consequence of particular wordings in the NNTP RFC and in
RFC 822.

If my interpretation is right, why should we be stuck with QP in
the name of so-called "compatibility" (when it breaks a lot of
existing software), when we would only need to interpret the NNTP
RFC in the way it was obviously meant to, i.e. be transparent with
respect to the 8th bit in article bodies, which is the way most
NNTP implementations work (the same is true for RFC 822 implementations) ?

Wouldn't it be simpler to upgrade the last two or three NNTP links
in the world to 8 bits, rather than adapting the rest of the world
to QP ?

I must be wrong, I sure am, but _where_ ?
-- 
Pierre Beyssac	    pb@fasterix.frmug.fr.net pb@fasterix.freenix.fr
{Free,Net,Open}BSD, Linux : il y a moins bien, mais c'est plus cher

Technical Details
Message-ID: <4ejr59$k2q@fasterix.frmug.fr.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.net-abuse.misc.mbox.zip!not-for-mail
References: <4dhj8k$jlq@fasterix.frmug.fr.net> <19960120193123978833@stk.berlin.snafu.de> <4duhcm$1uq@fasterix.frmug.fr.net> <gberigan-2701962202470001@abel-gberigan.unl.edu>

Show Full Headers
Complete Article Headers
Message-ID: <4ejr59$k2q@fasterix.frmug.fr.net>
Subject: Where is NNTP said to be 7 bits ? (was Re: Netscape, most broken newsreader award winner.)
Date: Tue, 30 Jan 1996 00:00:00 +0000
From: pb@fasterix.frmug.fr.net (Pierre Beyssac)
References: <4dhj8k$jlq@fasterix.frmug.fr.net> <19960120193123978833@stk.berlin.snafu.de> <4duhcm$1uq@fasterix.frmug.fr.net> <gberigan-2701962202470001@abel-gberigan.unl.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.net-abuse.misc.mbox.zip!not-for-mail
X-Deja-AN: 137187849
Content-type: text/plain;charset=ISO-8859-1
Organization: considered harmful
Mime-version: 1.0
Newsgroups: news.software.readers,news.admin.net-abuse.misc