🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62921

Re: NNTP and YENC

#62921
From: Bart Crane
Date: Tue, 07 Jan 2003 19:26
108 lines
5749 bytes
"Frank Slootweg" <franks@neth.hp.com> wrote in message
news:aveugf$qt3$5@support.neth.hp.com...
> Bart Crane <svcrane@attbi.com> wrote:
> > "greg andruk" <gja@meowing.net> wrote in message
> > news:1oiwxtjb247u0$.dlg@meowing.net...
> [deleted]
> >> That's beyond silly, since the requirements were in fact well known by
the
> >> time NNTP appeared.  Usenet had already been in operation for over six
> >> years, and predated MS-DOS by two.
> >
> > Actually, I agree with you!!!  The authors were perfectly aware of
> > these requirements, and, in fact, it was standardized as ASCII, and
> > text is defined to be "every value that is not a control code".
>
>   I assume you can give a ((*applicable*) *standard*) reference where it
> says that "text is defined to be "every value that is not a control
> code""? I.e. perhaps it is 'defined' as such in your mind, but not in
> reality (i.e. the applicable Usenet/NNTP standards/practices).

RFC 977 refers to RFC 821 which refers to ASCII X3.4, which defines
a 7-bit character set, the values 00.1F and 7F(!) as control codes, all
others being text codes.

Here is an interesting link on the history of some codes:
http://www.wps.com/texts/codes/


>
> > The values 00..1F and FF are control-codes.
>
>   In the *ASCII* standard, but we aren't talking about the ASCII
> standard, are we? (If we were and your definition of text would be
> correct, then we couldn't have (for example) tab (or form-feed or bell
> or escape or ...) characters either. Let me assure you that we can.)
> (Minor nit: You mean 7F, not FF, ASCII only defines only 00-7F.)

ASCII is the standard here, yes.  American Standard Code for
Information Interchange, used by NNTP, a Transport Protocol
that allows information to be interchanged.

Imagine an nntp system that had one client whose terminal,
when it attempted to display BEL, would power off.  He
would complain to the nntp-server provider, who would
have to weigh the costs and benefits of providing
compatibility with that one client.  Now, imagine everyone
enjoys beeping each other, so the nntp-server provider
decides that compatibility with that client is not worth
ruining every one's fun.  So, the nntp-service provider will
include BEL as a textual character in their ASCII-derived,
custom character-set.  Everyone is happy, except one
client.

Now, substitute CTRL-Z for BEL.  The nntp-service
provider proposes defining the character-set such that
CTRL-Z is not a textual character, and no one objects
because it carries no import detrimental to their own
desires.  Everyone is happy.

The NNTP authors specifically do not define what
character set to use to define "textual matter", because
it is defined by the makeup of their clients, who all
must cooperate to avoid trashing each other's terminal.

I claim this because the authors say that the data is
"usually to be displayed on the user's terminal".  This
requires clients to be cooperative with respect to the
data they send, because it will go directly to another
client's output device.

Now, since terminals are no longer such the rage,
people are considering re-using those control-codes,
which is fine, except for 1Ah, because, as a control-
code, it is being interpreted by the operating system
when the device or file is being accessed in text-mode.

As with the BEL situation, the nntp-server providers
must make the decision: should we make CTRL-Z a
non-textual character for our one client? Or, will
disallowing everyone else from sending it going to ruin
their fun.

As long as the protocol has to "escape" any data,
CR, LF, DOT, then 1Ah is not a burden, it does not
set back Usenet by 10 years, it is merely a symptom
of the textual nature of NNTP.  When NNTP is
binary, when you can no longer telnet into it and give
it commands, then text-processing systems, by
definition, will not work.

At least, it works for me!!

Bart.


>
> > So, back to my original request: can NNTP servers please start
> > enforcing the "textual matter" clause of the nntp-spec?
>
>   They already do.
>
> > If not all control codes, at least 1A?
>
>   See above.


Technical Details
Message-ID: <SRFS9.601362$%m4.184426@rwcrnsc52.ops.asp.att.net>
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!wn11feed!wn12feed!worldnet.att.net!204.127.198.204!attbi_feed4!attbi.com!rwcrnsc52.ops.asp.att.net.POSTED!not-for-mail
References: <BXLR9.432835$pN3.48082@sccrnsc03> <ylfzs8tlg7.fsf@windlord.stanford.edu> <e7VR9.570818$%m4.168983@rwcrnsc52.ops.asp.att.net> <86n0mflgcc.fsf@number6.magda.ca> <uUnS9.128$wz1.135006@news.uswest.net> <ylsmw5yj2d.fsf@windlord.stanford.edu> <1whhai4ut01zx.dlg@meowing.net> <n1vS9.271676$qF3.24635@sccrnsc04> <6vch63wrrekk$.dlg@meowing.net> <D7wS9.272170$qF3.24597@sccrnsc04> <1oiwxtjb247u0$.dlg@meowing.net> <9YBS9.274062$qF3.24204@sccrnsc04> <aveugf$qt3$5@support.neth.hp.com>

Show Full Headers
Complete Article Headers
Message-ID: <SRFS9.601362$%m4.184426@rwcrnsc52.ops.asp.att.net>
Subject: Re: NNTP and YENC
Date: Tue, 07 Jan 2003 19:26:42 GMT
From: "Bart Crane" <svcrane@attbi.com>
References: <BXLR9.432835$pN3.48082@sccrnsc03> <ylfzs8tlg7.fsf@windlord.stanford.edu> <e7VR9.570818$%m4.168983@rwcrnsc52.ops.asp.att.net> <86n0mflgcc.fsf@number6.magda.ca> <uUnS9.128$wz1.135006@news.uswest.net> <ylsmw5yj2d.fsf@windlord.stanford.edu> <1whhai4ut01zx.dlg@meowing.net> <n1vS9.271676$qF3.24635@sccrnsc04> <6vch63wrrekk$.dlg@meowing.net> <D7wS9.272170$qF3.24597@sccrnsc04> <1oiwxtjb247u0$.dlg@meowing.net> <9YBS9.274062$qF3.24204@sccrnsc04> <aveugf$qt3$5@support.neth.hp.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!wn11feed!wn12feed!worldnet.att.net!204.127.198.204!attbi_feed4!attbi.com!rwcrnsc52.ops.asp.att.net.POSTED!not-for-mail
Newsgroups: news.software.nntp
Lines: 107
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: 12.234.193.86
X-Complaints-To: abuse@attbi.com
X-Trace: rwcrnsc52.ops.asp.att.net 1041967602 12.234.193.86 (Tue, 07 Jan 2003 19:26:42 GMT)
NNTP-Posting-Date: Tue, 07 Jan 2003 19:26:42 GMT
Organization: AT&T Broadband