🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62918

Re: NNTP and YENC

#62918
From: Dr.Ruud
Date: Tue, 07 Jan 2003 18:51
43 lines
2623 bytes
Phil (Bart Crane) skribis:

> The test is taking a piece of C code using stdio.h, compile it on
> DOS/Windows or Unix/Linux, and running it on both.  The result should be
> identical.

That is as if you have never seen any '#ifdef OS_TYPE' lines.

With properly written C-code (that has OS_TYPE-specific code where needed)
the result is identical (not necessarily binary identical while still
inside the borders of the OS-of-the-moment).


> It is not.  On Unix/Linux, the entire data-set comes through.
> On On DOS/Windows, every after the 1Ah is not processed.

Blame the process.


> Nothing presented here indicates that including 1Ah as a Critical
> Character in YENC will "cripple Usenet".

How about null-bytes (even \0-escaped ones) in Header-lines?
They do occur in the wild, google: sendmail header null-byte.
"Be conservative in what you generate, and liberal in what you accept."


> Ultimately, as evidenced by the lack of a hard definition of "textual", it
> comes down to "how compatible do you want to be?"  It would be pretty
> difficult to be compatible with an operating system that uses 0D as the
> End Of File indicator.  Any NNTP implementor would have to decide for
> themselves.

At that Operating System's 'side of the fence' it can do anything it
should. At the world's side, just behave like >90% of the others do.

BTW, UCS4 is very textual.

-- 
Affijn, Ruud


Technical Details
Message-ID: <avfb5d.134.1@news.isolution.nl>
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!transit.news.xs4all.nl!newsfeed.xs4all.nl!xs4all!not-for-mail
References: <BXLR9.432835$pN3.48082@sccrnsc03> <1041772747.319829@ok-corral.gunslinger.net> <BiqS9.160$wz1.152433@news.uswest.net>

Show Full Headers
Complete Article Headers
Message-ID: <avfb5d.134.1@news.isolution.nl>
Subject: Re: NNTP and YENC
Date: Tue, 7 Jan 2003 19:51:23 +0100
From: "Dr.Ruud" <'t.leven.is.fijn@life.i$.great>
References: <BXLR9.432835$pN3.48082@sccrnsc03> <1041772747.319829@ok-corral.gunslinger.net> <BiqS9.160$wz1.152433@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!transit.news.xs4all.nl!newsfeed.xs4all.nl!xs4all!not-for-mail
Reply-To: "Dr.Ruud" <rvtol@isolution.nl>
Newsgroups: news.software.nntp
Organization: k-oz rewlz
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1123
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1123
X-Face: #{C<X">RxZJ*2)H_&d$Um/=B%{yse{[bKgJ2AxD^-`7rAZej\.vG{F'C$p(>&#cS
Lines: 42
NNTP-Posting-Date: 07 Jan 2003 20:02:10 CET
NNTP-Posting-Host: 24.132.0.158
X-Trace: 1041966130 news.xs4all.nl 49111 rvtol/24.132.0.158:62827
X-Complaints-To: abuse@xs4all.nl