🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62903

Re: NNTP and YENC

#62903
From: Bart Crane
Date: Tue, 07 Jan 2003 15:19
87 lines
4171 bytes
"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.


>
> > #include <stdio.h>
> > int    main(int argc, char** argv)
> > {
> >     int    c;
> >     while (EOF != (c= getchar()))
> >         putchar(c);
> >     return 0;
> > }
> >
> > If your response is "use binary mode", then my response is "the
> > spec says text-mode", and your response will be "we don't
> > follow the spec"... and I don't have a good comeback to that!!!
> >
> > Bart.
> >
> >> --
> >> zem.


Technical Details
Message-ID: <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!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!wn12feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc54.POSTED!not-for-mail
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>

Show Full Headers
Complete Article Headers
Message-ID: <weCS9.597573$WL3.177699@rwcrnsc54>
Subject: Re: NNTP and YENC
Date: Tue, 07 Jan 2003 15:19:56 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> <avecqn$at3$5@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!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!wn12feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc54.POSTED!not-for-mail
Newsgroups: news.software.nntp
Lines: 86
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: rwcrnsc54 1041952796 12.234.193.86 (Tue, 07 Jan 2003 15:19:56 GMT)
NNTP-Posting-Date: Tue, 07 Jan 2003 15:19:56 GMT
Organization: AT&T Broadband