🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #61836

Re: YENC and CTRL-Z

#61836
From: Curt Welch
Date: Wed, 06 Nov 2002 15:31
37 lines
2589 bytes
those who know me have no need of my name <not-a-real-address@usa.net>
wrote:
> in news.software.nntp i read:
>
> >Is this the correct place to voice a desire that the YENC protocol be
> >modified so that it treats CTRL-Z as a "Critical Character", causing it
> >to be escaped so that it is not present in the NNTP stream?
>
> probably not.  but it's not likely to do any harm either.

news.software.readers would be a slightly better place to bring up the
issue.

> >CTRL-Z in a text stream is treated as End Of File on DOS/Windows
> >systems.
>
> not if the stream is opened in binary mode, as is only sensible.  yenc'd
> articles are not really text, they only resemble text sufficiently to
> pass through nntp.  attempting to treat them as if they are text is a
> mistake.

Yeah, but it's almost-binary data embeded in text so it does get processed
with text tools so he does have a point there.  yEnc requires newlines to
be added to keep lines short already for the same reason - i.e. to allow
tools (mostly newsreaders) treating it like text to continue working.  And
many of those same newsreaders save articles to text files.

Sounds resonable to me, but getting everyone to change their encoders for
someting so minor might be somewhat hard.

However, the one encoder I wrote I just changed to escape ^Z so that's one
down, 800 to go. :)

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20021106103156.562$Xr@newsreader.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!newsfeed.berkeley.edu!news-hog.berkeley.edu!ucberkeley!newshub.sdsu.edu!news-xfer.cox.net!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <I_2y9.9049$sP2.4623@sccrnsc02> <m1r8dyu6y7.gnus@usa.net>

Show Full Headers
Complete Article Headers
Message-ID: <20021106103156.562$Xr@newsreader.com>
Subject: Re: YENC and CTRL-Z
Date: Wed, 06 Nov 2002 15:31:56 +0000
From: curt@kcwc.com (Curt Welch)
References: <I_2y9.9049$sP2.4623@sccrnsc02> <m1r8dyu6y7.gnus@usa.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!newsfeed.berkeley.edu!news-hog.berkeley.edu!ucberkeley!newshub.sdsu.edu!news-xfer.cox.net!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com ep1DClBn,6ZwpNZLOBr@+KzZz0QV2kzM+fcfRAl+L8ecPU_
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
  %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 36