Article View: news.software.nntp
Article #63084Re: NNTP and YENC
From: Bart Crane
Date: Tue, 14 Jan 2003 02:34
Date: Tue, 14 Jan 2003 02:34
76 lines
3996 bytes
3996 bytes
Hello to everyone reading this who is interested in this, especially those who took the time to respond. First, I do not purport to be a "standards expert", not on any of the specs mentioned. My understanding of these things is from a practical perspective: how to solve a problem, especially for the long-term. I have often suggested the use of NNTP for news-like information transfer. An important facet of nntp is that it transports data via text. Using text-streams means that stdio-based software can be written that is portable across platforms. This allows building data-processing systems that include computers with different operating systems. Changing NNTP from its textual nature to binary is a profound change that limits interoperability among computers with different operating systems. Because, on Unix, it just so happens that there is no special translation between text- and binary-modes, to Unix programmers, this problem seems to be non-existent. For programmers on other operating systems, the C runtime library would have to be re-implemented. On DOS, this only involves CR LF -> LF translation, but on other operating systems, this may not be so trivial. The idea that DOS is broken, or non-conformant, is to deny that operating systems be allowed to define a difference in how a text-file is stored. There is a good reason for "r" vs. "rb", as I have learned recently. Deciding to include all ANSI-defined control-codes in the NNTP Response Data, in addition to those explicitly defined in RFC 977, is more than just upgrading the protocol to transfer 8-bit data. Allowing control-codes in the data-stream eliminates the ability to write source-code compatible stdio-based filters for any and all computers whose operating system makes a distinction between text- and binary-modes. This is not because DOS is not POSIX-compliant, or because the software in question was written 10+ years ago. NNTP is a text-based protocol, not a binary protocol. Any and all computers connected to the network, not just Unix computers, should be able to process the data as text-streams, as they always have. Now that 1Ah is now realized to cause a problem, it should be added to the list of YENC Critical Characters. An update to the Common NNTP Extensions should be made, to document the need for certain control-codes to be excluded for reasons of compatibility. When NNTP-B(inary) is deployed, text-processing utilities will, by definition, be incompatible. As long as need exists to exclude certain codes, treat specially certain others, then accomodating operating-system particulars for reasons of compatibility is not uncalled for. Thanks!! Bart.
Technical Details
Message-ID:
<QGKU9.41482$No.6059@sccrnsc04>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!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!wn11feed!wn12feed!worldnet.att.net!204.127.198.204!attbi_feed4!attbi.com!sccrnsc04.POSTED!not-for-mailReferences:
<BXLR9.432835$pN3.48082@sccrnsc03><1041772747.319829@ok-corral.gunslinger.net><BiqS9.160$wz1.152433@news.uswest.net><1042007522.340079@ok-corral.gunslinger.net> <8d$Rtvs3cDD@3247.org> <aOIU9.101$qk2.63728@news.uswest.net>Show Full Headers
Complete Article Headers
Message-ID: <QGKU9.41482$No.6059@sccrnsc04> Subject: Re: NNTP and YENC Date: Tue, 14 Jan 2003 02:34:24 GMT From: "Bart Crane" <svcrane@attbi.com> References: <BXLR9.432835$pN3.48082@sccrnsc03><1041772747.319829@ok-corral.gunslinger.net><BiqS9.160$wz1.152433@news.uswest.net><1042007522.340079@ok-corral.gunslinger.net> <8d$Rtvs3cDD@3247.org> <aOIU9.101$qk2.63728@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!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!wn11feed!wn12feed!worldnet.att.net!204.127.198.204!attbi_feed4!attbi.com!sccrnsc04.POSTED!not-for-mail Newsgroups: news.software.nntp Lines: 75 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: sccrnsc04 1042511664 12.234.193.86 (Tue, 14 Jan 2003 02:34:24 GMT) NNTP-Posting-Date: Tue, 14 Jan 2003 02:34:24 GMT Organization: AT&T Broadband