Article View: news.software.nntp
Article #62853Re: NNTP and YENC
From: Phil
Date: Mon, 06 Jan 2003 23:03
Date: Mon, 06 Jan 2003 23:03
64 lines
3683 bytes
3683 bytes
David Magda <dmagda+usenet@ee.ryerson.ca> wrote in message news:86n0mflgcc.fsf@number6.magda.ca... > "Bart Crane" <svcrane@attbi.com> writes: > [...] > > Thus, the solution to the problem introduced by YENC is > > to go ahead and download the article, and then throw it > > away. This is the solution to problem caused by the > > solution to the bandwidth problem -- waste bandwidth. > > > > An alternate and more bandwidth-efficient solution is for > > the nntp server to immediately reject any article that > > includes CTRL-Z. > > If the problem was "introduced by YENC", why should the solution be > changing the NNTP server? I do not see the logic in that conclusion. This change to NNTP servers is merely to enforce compliance with the NNTP spec, so that the data can be processed using text-processing utilities on operating systems other than Unix. That is the point behind the definition of "textual" in the NNTP spec: fopen() in "r" vs. "rb" mode. The problem was introduced by YENC because, until that time, NNTP clients were respecting the NNTP spec (perhaps unwittingly), and ensuring that all data was textual. Thus, NNTP servers were observed to conform to the spec, whereas they actually were not enforcing it. > > [...] > > Not being an expert, I appreciate input regarding how things > > work beyond the spec. > > > > But, you have it backwards. The restrictive view is that a text-stream > > can consist of any data, except maybe 00h. This restricts compatibility > > by excluding DOS/Windows computers from have stdio-based > > software systems. > [...] > > Isn't this is a design defect in DOS/Windows then? Or perhaps, a bad > assumption was made in the designing the OS, or in the designing of > the YENC spec.? (Most probably YENC.) Text-streams are well-defined, and implemented in every C compiler/library that I have ever encountered (not that many, but 100% of them). Unix programmers tend to be unaware of the difference between text- and binary-mode, because there is no difference when using fopen() in "r" vs. "rb" mode. The man-pages for fopen() even have a note about that. Other operating systems can and do treat text-streams different from binary-streams. This is nothing new. > > -- > David Magda <dmagda at ee.ryerson.ca> > Because the innovator has for enemies all those who have done well under > the old conditions, and lukewarm defenders in those who may do well > under the new. -- Niccolo Machiavelli, _The Prince_, Chapter VI
Technical Details
Message-ID:
<uUnS9.128$wz1.135006@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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed.news.qwest.net!news.uswest.net.POSTED!not-for-mailReferences:
<BXLR9.432835$pN3.48082@sccrnsc03> <ylfzs8tlg7.fsf@windlord.stanford.edu> <e7VR9.570818$%m4.168983@rwcrnsc52.ops.asp.att.net> <86n0mflgcc.fsf@number6.magda.ca>Show Full Headers
Complete Article Headers
Message-ID: <uUnS9.128$wz1.135006@news.uswest.net> Subject: Re: NNTP and YENC Date: Mon, 6 Jan 2003 15:03:30 -0800 From: "Phil" <PeepingUnder@TheCovers.org> References: <BXLR9.432835$pN3.48082@sccrnsc03> <ylfzs8tlg7.fsf@windlord.stanford.edu> <e7VR9.570818$%m4.168983@rwcrnsc52.ops.asp.att.net> <86n0mflgcc.fsf@number6.magda.ca> 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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed.news.qwest.net!news.uswest.net.POSTED!not-for-mail Newsgroups: news.software.nntp Lines: 63 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 1041894042 65.115.68.98 (Mon, 06 Jan 2003 17:00:42 CST) NNTP-Posting-Date: Mon, 06 Jan 2003 17:00:42 CST