Article View: news.software.nntp
Article #63157Re: NNTP and YENC
From: Jeremy
Date: Wed, 15 Jan 2003 04:45
Date: Wed, 15 Jan 2003 04:45
33 lines
2277 bytes
2277 bytes
Bart Crane <bcrane@iready.com> wrote: >> NNTP data has never been compatible with this, it's just that you >> didn't encounter the incompatibility until now. > > NNTP has always been compatible in this way. Why do you think > uuencode was made to produce only printable characters? No, NNTP has *never* been compatible in this way. People were free to include control-Z in articles a decade ago just as they are now. > There is no design that circumvents this problem. > > The problem is that a filter designed to process the data specifically > to ensure that "no bad stuff" gets through stops on End Of File when > 1Ah is encountered. So tell it not to. It's a silly thing in the first place; it's historical and it just doesn't matter anymore. Open your streams in binary mode. > It all seems like a no-brainer to me, text- vs. binary-streams > and all, but if you want to say that 1Ah is a perfectly valid text- > character on DOS because it is on Unix, you can say that!!! It's a perfectly valid character for an NNTP datastream. It's up to you to make whatever you're using to process it can handle it. Making NNTP datastreams compatible with DOS text streams simply is not going to be a design goal. That NNTP datastreams are mostly compatible with Unix text utilities is a happy coincidence. -- Jeremy | jeremy@exit109.com
Technical Details
Message-ID:
<1042605928.6116@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-03!sn-xit-01!sn-xit-08!supernews.com!saloon!newsbastardReferences:
<BXLR9.432835$pN3.48082@sccrnsc03><aOIU9.101$qk2.63728@news.uswest.net> <1042509487.957651@ok-corral.gunslinger.net> <sq1V9.77$2r2.63639@news.uswest.net>Show Full Headers
Complete Article Headers
Message-ID: <1042605928.6116@ok-corral.gunslinger.net> Subject: Re: NNTP and YENC Date: Wed, 15 Jan 2003 04:45:28 +0000 From: Jeremy <jeremy@exit109.com> References: <BXLR9.432835$pN3.48082@sccrnsc03><aOIU9.101$qk2.63728@news.uswest.net> <1042509487.957651@ok-corral.gunslinger.net> <sq1V9.77$2r2.63639@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-03!sn-xit-01!sn-xit-08!supernews.com!saloon!newsbastard Newsgroups: news.software.nntp Organization: There Is No Organization Lines: 32 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