🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62854

Re: NNTP and YENC

#62854
From: Phil
Date: Mon, 06 Jan 2003 23:26
94 lines
4142 bytes
David Magda <dmagda+usenet@ee.ryerson.ca> wrote in message
news:86isx3lflt.fsf@number6.magda.ca...
> "Bart Crane" <svcrane@attbi.com> writes:
> [...]
> > This is not a "7- to 8-bit" issue.  This is a text-
> > vs. binary-stream issue.
> [...]
>
> The terms "text-stream" and "binary-stream" are highly open to debate
> and interpretation. Is a particular shade of colour blue or cyan or
> green?

The difference is documented for fopen(), "r" vs. "rb" mode.


>
> > The NNTP authors specifically state that the Response Data is
> > "textual".
> >
> > The ambiguity regarding the definition of "textual" is confused by
> > the 8-bit issue.  It is not related.
> >
> > The NNTP authors did not define what "textual" meant, because it
> > would link implementation with specification.  The implementation
> > is operating-[...]
> [...]
>
> Then it is up to the implementor of NNTP to determine what it means.

Yes.  It is a question of compatibility.  Being compatible with DOS/Windows
means not allowing CTRL-Z into the text-stream.

The NNTP authors defined the output stream to be "textual" so that the data
could be processed on other operating systems with the same,
source-compatible, text-processing utilities.


>
> [...]
> > That is because there is a spec regarding what constitutes a text-
> > stream, defined by the operating system, and the implementers of the
> [...]
>
> Can you please post a reference/URL to this spec?

Here's an interesting doc:
http://www.cs.vsu.ru/~koval/DOCs/glibc/library_157.html

Here is another one:
http://www.sas.com/service/library/onlinedoc/sasc/doc/lr1/lrv1ch3.htm


>
> [...]
> > Don't expect the rest of the world to have the same computer
> > as you.  The world is not one big unix box.
> [...]
>
> We don't. But why should I worry about Windows boxes when I'm running
> a Unix box? Microsoft is not making things easier for the rest of the
> world. In many instances it works quite hard in making things more
> difficult (e.g., "embracing-and-extending" standards like
> Kerberos 5 to break inter-operability).

This text- vs. binary-mode thing is very old, fully documented, etc... it is
really a no-brainer, I am very surprised that there is so little
understanding of the differences between the two modes.


>
> [...]
> > It would be much harder than including CTRL-Z as a Critical Character
> > in the YENC spec.
> [...]
>
> And it's easier to fix *every* *single* operating NNTP server?

If NNTP servers were written to accept any value as "textual", then they
would need to be fixed.

If they were written to be configured as to what values are rejected, then
including 1Ah will restore compatibility with DOS/Windows.


>
> --
> David Magda <dmagda at ee.ryerson.ca>
> Because the innovator has for enemies all those who have done well under
> the old conditions, and lukewarm defenders in those who may do well
> under the new. -- Niccolo Machiavelli, _The Prince_, Chapter VI


Technical Details
Message-ID: <DdoS9.133$wz1.137034@news.uswest.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!feed.news.qwest.net!news.uswest.net.POSTED!not-for-mail
References: <BXLR9.432835$pN3.48082@sccrnsc03> <20030104215829.905$Rh@newsreader.com> <j8TR9.568229$WL3.160487@rwcrnsc54> <86isx3lflt.fsf@number6.magda.ca>

Show Full Headers
Complete Article Headers
Message-ID: <DdoS9.133$wz1.137034@news.uswest.net>
Subject: Re: NNTP and YENC
Date: Mon, 6 Jan 2003 15:26:03 -0800
From: "Phil" <PeepingUnder@TheCovers.org>
References: <BXLR9.432835$pN3.48082@sccrnsc03> <20030104215829.905$Rh@newsreader.com> <j8TR9.568229$WL3.160487@rwcrnsc54> <86isx3lflt.fsf@number6.magda.ca>
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!feed.news.qwest.net!news.uswest.net.POSTED!not-for-mail
Newsgroups: news.software.nntp
Lines: 93
Organization: Human Sexuality Determination, Incorporated
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 65.115.68.98
X-Trace: news.uswest.net 1041895395 65.115.68.98 (Mon, 06 Jan 2003 17:23:15 CST)
NNTP-Posting-Date: Mon, 06 Jan 2003 17:23:15 CST