Article View: news.software.nntp
Article #62906Re: NNTP and YENC
From: Frank Slootweg
Date: Tue, 07 Jan 2003 16:00
Date: Tue, 07 Jan 2003 16:00
100 lines
5574 bytes
5574 bytes
Bart Crane <svcrane@attbi.com> wrote: > "Frank Slootweg" <franks@neth.hp.com> wrote in message > news:avecqn$at3$5@support.neth.hp.com... >> Bart Crane <svcrane@attbi.com> wrote: >> > "Zem" <invalid@invalid.invalid> wrote in message >> > news:Xns92FBF0F662B2CZemZemZem@66.150.105.46... >> >> "Bart Crane" <bcrane@iready.com> wrote in >> >> news:QZrS9.133$ds6.237079@news.uswest.net: >> >> >> >> > Russ Allbery <rra@stanford.edu> wrote in message >> >> > news:ylisx3xsbd.fsf@windlord.stanford.edu... >> >> >> >> >> >> I'm sorry that you don't find this particularly helpful, but the >> >> >> short summary of my position is that you should fix, replace, or > work >> >> >> around your broken operating system rather than making the rest of >> >> >> the world cater to its bugs. >> >> > >> >> > I don't know why you call it a bug, or the operating system as >> >> > "broken". This situation is fully documented, and the software >> >> > involved has been working perfectly for years. >> >> > >> >> > I think you mean "broken" as in "it does not work like it does on my >> >> > Unix machine". That is the situation: the exact same source code, > run >> >> > against the exact same data, on your machine it works, but not on >> >> > mine. >> >> >> >> The NNTP protocol defines the platform independent interaction between >> > NNTP >> >> hosts. Implementations deal with any platform specific issues. >> >> >> >> 0x1A interpreted as an EOF is a well known and documented platform >> > specific >> >> issue. It is the responsibility of the implementations for the affected >> >> platforms to handle. >> >> >> >> Your implementation is broken, not because it treats 0x1A as an EOF, > but >> >> because it does not handle its platform specific issues. >> > >> > Hello, >> > >> > There are no platform-specific issues in this program, yet if you >> > compile and pipe the output from an nntp-server to it, you may >> > get different results on different operating systems, depending >> > on the data being transported. >> >> May I suggest that you re-read this statement of yours, and hopefully >> realize how contradicting_itself/rediculous it is? > > Well, it was pretty late, so let me look at it again!! > > Can you help me by pointing out what you do not > understand? Here is what I mean: > > telnet news.server.com 119 < commands > data > more < data > > When nntp-data was textual, this worked on any > platform with a C-compiler and stdio. > > Now that nntp-servers are transporting non-textual > data, on DOS, all data after a 1Ah is lost. [Note that, as has been said (by me and others), this *does* work on modern DOS/Windows platforms, but you seem to be unimpressed by actual facts. But it is hardly the point whether or not this works. The point is what the (Usenet/NNTP) standards require/offer. And no, the C/ stdio(3S) standard is *not* relevant, for exactly the reason you say: platform-, i.e. also language-, independence.] Let me try once more: NNTP servers are *still* transporting "textual data". Only, *within* that "textual data" some people try to transmit *encoded* versions of "non-textual"/"binary" data, i.e. YENC in your case. That is fine, but that is an encoding scheme *on top* of NNTP. That encoding scheme will have to live with the capabilities and incapabilities of the transport, i.e. NNTP. In YENC's case that is no problem. Now *your* *broken* *DOS* software comes in the picture and now suddenly everone should change everything, just because you can not, or are unwilling to, fix your broken software? I/we don't think so. Another take: There is *no* requirement whatsoever that (Usenet) News articles *must* be transported by NNTP, i.e. they can, have been and are transported by other transports (for example UUCP, NFS, physical media, etc.). Also for *those* transports, Ctrl-Z is *not* special cased. Many respondents in this thread have tried to explain it to you many times and in many different ways. Don't you think that it is very, very likely that you are wrong (because you don't understand (or because you don't want to understand?)? I think that Karl Kleinpaste explained things very clearly in <news:vxkn0mdhyr1.fsf@cinnamon.vanillaknot.com>, i.e. UNIX has a *similar* EOF 'problem' (Ctrl-D), but on UNIX people code around that 'problem' and so do people on DOS?windows, so it *can* be done. That *you* are unable/unwilling to do it is another matter. [deleted]
Technical Details
Message-ID:
<avetjg$qt3$4@support.neth.hp.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!logbridge.uoregon.edu!nntp-relay.ihug.net!ihug.co.nz!news.compaq.com!ctss92.sgp.hp.com!news.cup.hp.com!support.neth.hp.com!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> <avecqn$at3$5@support.neth.hp.com> <weCS9.597573$WL3.177699@rwcrnsc54>Show Full Headers
Complete Article Headers
Message-ID: <avetjg$qt3$4@support.neth.hp.com>
Subject: Re: NNTP and YENC
Date: Tue, 07 Jan 2003 16:00:48 +0000
From: Frank Slootweg <franks@neth.hp.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> <avecqn$at3$5@support.neth.hp.com> <weCS9.597573$WL3.177699@rwcrnsc54>
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!logbridge.uoregon.edu!nntp-relay.ihug.net!ihug.co.nz!news.compaq.com!ctss92.sgp.hp.com!news.cup.hp.com!support.neth.hp.com!not-for-mail
Newsgroups: news.software.nntp
Organization: NOYB
Lines: 99
NNTP-Posting-Host: support.neth.hp.com
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (HP-UX/B.10.20 (9000/800))