Article View: news.software.nntp
Article #62951Re: NNTP and YENC
From: Jeremy
Date: Wed, 08 Jan 2003 06:32
Date: Wed, 08 Jan 2003 06:32
48 lines
3038 bytes
3038 bytes
Phil <PeepingUnder@TheCovers.org> wrote: > 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. But whatever gave you that idea? C code isn't inherently portable; you have to make it portable by working around platform-specific quirks. In your case, this is one of them. If you want to process data from Usenet, you're going to have to open it in binary mode. Which, in fact, *would* be pretty portable, since Unix systems ignore the "b". > 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. What functionality would you be tossing out by using binary mode for the datastream? It seems to me that you'd simply be regaining the functionality you lost by switching to DOS in the first place. I have existing shell scripts using command-line tools like that which expect to be able to handle raw NNTP data on stdin. It works fine. > I am not averse to programming a solution to this. After all, I did write > all the software involved. Then it seems the solution is both simple and clear -- fix the software. yEnc didn't break it; it was always broken, you just didn't notice until now. >> 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". The goal is to make NNTP 8-bit clean. Right now, you can't use nulls, but much software has been made able to deal with them, so we're on our way to getting rid of that problem. You can't use CR or LF because that's special to the data. There are a couple of other, more obscure special cases. But that's the direction we're going, and you're asking for a step backwards. The point is to *not* have anything that's forbidden in the data. -- Jeremy | jeremy@exit109.com
Technical Details
Message-ID:
<1042007522.340079@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!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!saloon!newsbastardReferences:
<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: <1042007522.340079@ok-corral.gunslinger.net> Subject: Re: NNTP and YENC Date: Wed, 08 Jan 2003 06:32:02 +0000 From: Jeremy <jeremy@exit109.com> 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!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!saloon!newsbastard Newsgroups: news.software.nntp Organization: There Is No Organization Lines: 47 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Newsreader: trn 4.0-test76 (Apr 2, 2001) X-Meow: Meow