🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62929

Re: NNTP and YENC

#62929
From: Zem
Date: Tue, 07 Jan 2003 22:22
54 lines
3147 bytes
"Bart Crane" <svcrane@attbi.com> wrote in
news:p_BS9.469829$pN3.50807@sccrnsc03: 

> 
> "Zem" <invalid@invalid.invalid> wrote in message
> news:Xns92FC23A37303ZemZemZem@66.150.105.46...
>> "Bart Crane" <svcrane@attbi.com> wrote in
>> news:zyuS9.467090$pN3.50832@sccrnsc03:
>>
>> >
>> > "Zem" <invalid@invalid.invalid> wrote in message
>> > news:Xns92FBF0F662B2CZemZemZem@66.150.105.46...
>> >> The NNTP protocol defines the platform independent interaction
>> >> betweenNNTP 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.
>> >
>> > 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.
>> >
>> > #include <stdio.h>
>> > int    main(int argc, char** argv)
>> > {
>> >     int    c;
>> >     while (EOF != (c= getchar()))
>> >         putchar(c);
>> >     return 0;
>> > }
>>
>> The difference in behavior is due to platform specific issues.
>>
>> > 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!!!
>>
>> The mechanics of overcomming platform specific issues is irrelevent.
> 
> The NNTP spec defines Response Data as "textual matter".
> 
The spec doesn't define any special treatment for 0x1A. Within the
context of an NNTP stream, 0x1A is just another character. If an
implementation treats 0x1A in any special way it is in violation of NNTP.

-- 
zem.
Technical Details
Message-ID: <Xns92FCA931CCD29ZemZemZem@66.150.105.46>
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!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!207.99.101.34.MISMATCH!newspeer1.nwr.nac.net!newsfeed-east.nntpserver.com!nntpserver.com!reseller.nntpserver.com!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> <Xns92FC23A37303ZemZemZem@66.150.105.46> <p_BS9.469829$pN3.50807@sccrnsc03>

Show Full Headers
Complete Article Headers
Message-ID: <Xns92FCA931CCD29ZemZemZem@66.150.105.46>
Subject: Re: NNTP and YENC
Date: Tue, 07 Jan 2003 22:22:46 +0000
From: Zem <invalid@invalid.invalid>
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> <Xns92FC23A37303ZemZemZem@66.150.105.46> <p_BS9.469829$pN3.50807@sccrnsc03>
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!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!207.99.101.34.MISMATCH!newspeer1.nwr.nac.net!newsfeed-east.nntpserver.com!nntpserver.com!reseller.nntpserver.com!not-for-mail
Newsgroups: news.software.nntp
User-Agent: Xnews/5.04.25
Lines: 53
X-Abuse-Report: Send abuse reports to abuse@teranews.com
Organization: http://www.TeraNews.com - FREE NNTP Access