🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62859

Re: NNTP and YENC

#62859
From: Phil
Date: Tue, 07 Jan 2003 01:47
84 lines
4278 bytes
Jeremy <jeremy@exit109.com> wrote in message
news:1041772747.319829@ok-corral.gunslinger.net...
> Bart Crane <svcrane@attbi.com> wrote:
>
> > The problem is that NNTP servers are forwarding YENC-encoded
> > data, but this data includes control-characters, one of which, 0x1A,
> > is interpreted within text-streams on DOS/Windows to mean "End
> > Of File."
>
> After that long email discussion we had, I didn't budge you at all? :(

Hello, Jeremy.

Not much!!

The ambiguous part was, what does "textual" mean?

I gave up on linking "textual" with "display on the user's terminal", and
decided to illustrate the difference between "textual" and "non-textual"
using fopen() with "r" vs. "rb" example.  I did not want to continue taking
up your time, so I posted it to the group.

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

It does not seem right that this bit of major functionality be tossed out.
Command-line programs get included in scripts.  Change one program, you
probably have to change a bunch of others.

I am not averse to programming a solution to this.  After all, I did write
all the software involved.  The amount of time I have available is not
great, so, so I had to bring it up, just in case someone responded with "we
broke compatibility with DOS/Windows??? Omigosh, we will fix it right
away!!!".  Yeah, right!!!


>
> The bottom line is this: your argument is that we should permanently
> cripple Usenet to accomodate a broken operating system, or badly designed
> software running on a broken operating system.  No.

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

Of course I was being facetious about asking everyone to reject every
YENC-encoded article!!!  But, in case someone was looking for a reason to
stop the madness, this is one: it violates the NNTP spec.

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.


>
> In addition, it's worth noting that *most* of the people currently using
> yEnc are also using Windows, and somehow their software manages to deal
> with it.

No doubt they are not using command-line tools compiled 10+ years ago!!!
Maybe I have been living on borrowed time...

So, I am bringing this up, not to force anyone to change how news servers
are being run, but in case no one was aware of the fact that it breaks
text-processing on DOS/Windows.

I don't know, it just seems wrong to me.  I received the responses of "buy a
new computer", "get a better operating system", "rewrite all your software
to binary mode", "buy new software".

But thanks for your input, and everyone's.

Bart.

>
> --
> Jeremy  |  jeremy@exit109.com


Technical Details
Message-ID: <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!news2.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!newsfeed.cwix.com!feed.news.qwest.net!news.uswest.net.POSTED!not-for-mail
References: <BXLR9.432835$pN3.48082@sccrnsc03> <1041772747.319829@ok-corral.gunslinger.net>

Show Full Headers
Complete Article Headers
Message-ID: <BiqS9.160$wz1.152433@news.uswest.net>
Subject: Re: NNTP and YENC
Date: Mon, 6 Jan 2003 17:47:53 -0800
From: "Phil" <PeepingUnder@TheCovers.org>
References: <BXLR9.432835$pN3.48082@sccrnsc03> <1041772747.319829@ok-corral.gunslinger.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!news2.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!newsfeed.cwix.com!feed.news.qwest.net!news.uswest.net.POSTED!not-for-mail
Newsgroups: news.software.nntp
Lines: 83
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 1041903905 65.115.68.98 (Mon, 06 Jan 2003 19:45:05 CST)
NNTP-Posting-Date: Mon, 06 Jan 2003 19:45:05 CST