🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62898

Re: NNTP and YENC

#62898
From: Karl Kleinpaste
Date: Tue, 07 Jan 2003 13:32
18 lines
2353 bytes
"Bart Crane" <svcrane@attbi.com> writes:
> There are no platform-specific issues in this program, yet if you

On the contrary, there is a huge platform-specific issue in this
program, which is that your platform has a platform-specific
conception of EOF which is unlike any other platform's, and this issue
is expressed in a drastic variation in underlying stdio calls.

Perfectly ordinary data streams contain 0x1a.  The fact that your
platform twists 0x1a into something special like that, on an
I/O-independent basis, is your platform's problem.

Similarly, UNIX systems treat 0x04 (^D) as EOF...but only in the
terminal driver, and only then in "cooked" mode.  Outside that very
specific I/O-dependent concern, 0x04 has no special significance at
all.  And UNIX terminal drivers can be told _not_ to treat 0x04 as
EOF, on a per-application basis.
Technical Details
Message-ID: <vxkn0mdhyr1.fsf@cinnamon.vanillaknot.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!arclight.uoregon.edu!newsfeed.srv.cs.cmu.edu!cantaloupe.srv.cs.cmu.edu!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>

Show Full Headers
Complete Article Headers
Message-ID: <vxkn0mdhyr1.fsf@cinnamon.vanillaknot.com>
Subject: Re: NNTP and YENC
Date: Tue, 07 Jan 2003 08:32:02 -0500
From: Karl Kleinpaste <karl@charcoal.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>
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!arclight.uoregon.edu!newsfeed.srv.cs.cmu.edu!cantaloupe.srv.cs.cmu.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: Vanilla Knot
Lines: 17
Reply-To: karl+usenet@charcoal.com
NNTP-Posting-Host: crabapple.srv.cs.cmu.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: cantaloupe.srv.cs.cmu.edu 1041946506 1363 128.2.206.189 (7 Jan 2003 13:35:06 GMT)
X-Complaints-To: postmaster@cs.cmu.edu
NNTP-Posting-Date: 7 Jan 2003 13:35:06 GMT
Keywords: platform-specific,eof,0x04
X-Face: "5(T0tZd{6}pd~YzBG8O/*EW,.]6]@`m^e;fv65W^Y&=d"M\1H}>T~4_.kcDD.O~y3k)a6
 hR;Nmi>9|>Nm${2IpM0^RcUEa\jcq?KOP)C&~x51l~zCHTulL^_T|u0I^kB'z@]{`2YjQu
User-Agent: Gnus/5.090011 (Oort Gnus v0.11) XEmacs/21.4 (Military
 Intelligence, i686-pc-linux)
Cancel-Lock: sha1:BUkHXkgZWwfe6fxLXUx7TeE2WBA=