Article View: news.software.nntp
Article #62904Re: NNTP and YENC
From: Bart Crane
Date: Tue, 07 Jan 2003 15:27
Date: Tue, 07 Jan 2003 15:27
42 lines
2835 bytes
2835 bytes
"Karl Kleinpaste" <karl@charcoal.com> wrote in message news:vxkn0mdhyr1.fsf@cinnamon.vanillaknot.com... > "Bart Crane" <svcrane@attbi.com> writes: > > There are no platform-specific issues in this program, yet if you > > On the contrary, there is a huge platform-specific issue in this > program, which is that your platform has a platform-specific > conception of EOF which is unlike any other platform's, and this issue > is expressed in a drastic variation in underlying stdio calls. ... which is the whole point about "textual matter", to get around platform-specific issues. > > Perfectly ordinary data streams contain 0x1a. The fact that your > platform twists 0x1a into something special like that, on an > I/O-independent basis, is your platform's problem. It is not a problem, it is a mode. Text- vs. binary-mode. > > Similarly, UNIX systems treat 0x04 (^D) as EOF...but only in the > terminal driver, and only then in "cooked" mode. Outside that very > specific I/O-dependent concern, 0x04 has no special significance at > all. And UNIX terminal drivers can be told _not_ to treat 0x04 as > EOF, on a per-application basis. And other control-codes (non-textual matter) affect the terminal directly. The nntp authors disallowed these from the data stream by virtue of the phrase "textual matter" and "displayed on the user's terminal". The choice of 1A == EOF is perfectly valid in a text-stream, as a text-stream should not contain control codes except 0D, 0A and 09.
Technical Details
Message-ID:
<LlCS9.478850$GR5.180108@rwcrnsc51.ops.asp.att.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!nntp.cs.ubc.ca!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!wn12feed!worldnet.att.net!204.127.198.204!attbi_feed4!attbi.com!rwcrnsc51.ops.asp.att.net.POSTED!not-for-mailReferences:
<BXLR9.432835$pN3.48082@sccrnsc03> <ylisx3xsbd.fsf@windlord.stanford.edu><QZrS9.133$ds6.237079@news.uswest.net><Xns92FBF0F662B2CZemZemZem@66.150.105.46><zyuS9.467090$pN3.50832@sccrnsc03> <vxkn0mdhyr1.fsf@cinnamon.vanillaknot.com>Show Full Headers
Complete Article Headers
Message-ID: <LlCS9.478850$GR5.180108@rwcrnsc51.ops.asp.att.net> Subject: Re: NNTP and YENC Date: Tue, 07 Jan 2003 15:27:39 GMT From: "Bart Crane" <svcrane@attbi.com> References: <BXLR9.432835$pN3.48082@sccrnsc03> <ylisx3xsbd.fsf@windlord.stanford.edu><QZrS9.133$ds6.237079@news.uswest.net><Xns92FBF0F662B2CZemZemZem@66.150.105.46><zyuS9.467090$pN3.50832@sccrnsc03> <vxkn0mdhyr1.fsf@cinnamon.vanillaknot.com> 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!nntp.cs.ubc.ca!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!wn12feed!worldnet.att.net!204.127.198.204!attbi_feed4!attbi.com!rwcrnsc51.ops.asp.att.net.POSTED!not-for-mail Newsgroups: news.software.nntp Lines: 41 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 NNTP-Posting-Host: 12.234.193.86 X-Complaints-To: abuse@attbi.com X-Trace: rwcrnsc51.ops.asp.att.net 1041953259 12.234.193.86 (Tue, 07 Jan 2003 15:27:39 GMT) NNTP-Posting-Date: Tue, 07 Jan 2003 15:27:39 GMT Organization: AT&T Broadband