🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #30046

Re: REPOST: Re: Content-Transfer-Encoding: binary

#30046
From: Curt Welch
Date: Mon, 27 Jul 1998 00:00
58 lines
3896 bytes
dillon@best.net (Matt Dillon) wrote:
>     ?? 'other OS's'?  The OS has nothing to do with it.

CRLF -> LF has nothing to do with the Unix EOL convention ????

>     translations are not something the OS does in the case, they are
>     something the news transit software does.

>     Let me put it this way:
>     The backbones have been moving to 8-bit clean for several years now.
>     Any systems that can't handle it are going to be (and many have
>     already been) S.O.L.  Whether you like it or not.

Whether I like it?  I'm not against it.  (I'm also not the one who started
this tread with you in case you missed that).  It just sounds to me like
what you are talking about just won't work unless it's made a standard and
all the transports are forced to follow the same procedure.

If Unix based transports translate the NNTP CR LF pair into a LF because of
Unix EOL convetion, what happens when there's a lone LF in the data?  When
it's sent back out by NNTP does it get translated into CRLF?  If it does,
then you can "trick" that system into accepting and passing clean binary
data by doing a LF->CRLF translation before the first injection (like you
mentioned).  The file as stored on Unix will be in the correct binary
format (i.e. a jpeg image could be read out of the file with no character
translations).

But what if there's a Mac based transport that's also 8 bit clean, but it
translates CR LF into CR for local storage and does the inverse on
transmitting?  For that transport (does one exist?) you would have to do
CR -> CRLF translation before injecting the binary article to keep the
transport from corrupting the article as it passed through.  Your
(Unix based) LF->CR LF pre-translation trick wouldn't work for this server.

Then there are the Windows/NT and VMS based servers.  I'd expect them to
leave the CR LF as a CR LF.  They at least will not corrupt the data (i.e.
they are likely to send it as it was received), but on their local storage
the binary data won't be correct because they didn't do the CR LF -> LF
translation.  They would tend to "expect" raw data to be "raw" data and not
have any strange LF -> CRLF done to it before hand.

So, we have Unix based servers that would like to see the raw data
translated with a LF -> CR LF before it's first sent, Mac based servers
(I've never heard of one so this might not be an issue) that need a CR ->
CR LF, and NT like servers that don't want any translation done.  These
can't all live togther and "work" correctly for arbitrary binary data
unless there's a clear standard about how this should be done.  Is there
one?

>     It's entirely out of your control.

A lot of things are :)

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Technical Details
Message-ID: <19980727160740.165$5x@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!not-for-mail
References: <slrn6qs63j.8b9.usenet@hmmm.colo.erols.net> <6pga50$olf$1@unlnews.unl.edu> <6pggup$t2e$1@flea.best.net> <19980727114121.703$9g@newsreader.com> <6pie7i$rpn$1@flea.best.net>

Show Full Headers
Complete Article Headers
Message-ID: <19980727160740.165$5x@newsreader.com>
Subject: Re: REPOST: Re: Content-Transfer-Encoding: binary
Date: Mon, 27 Jul 1998 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <slrn6qs63j.8b9.usenet@hmmm.colo.erols.net> <6pga50$olf$1@unlnews.unl.edu> <6pggup$t2e$1@flea.best.net> <19980727114121.703$9g@newsreader.com> <6pie7i$rpn$1@flea.best.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!not-for-mail
X-Deja-AN: 375413787
Supersedes: <19980727160307.629$hL@newsreader.com>
X-User: Curt@NewsReader.Com
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
Organization: NewsReader.Com
X-Url: http://CurtWelch.Com/
Newsgroups: news.software.readers,news.software.nntp