Article View: news.software.nntp
Article #30040Re: REPOST: Re: Content-Transfer-Encoding: binary
From: Matt Dillon
Date: Mon, 27 Jul 1998 00:00
Date: Mon, 27 Jul 1998 00:00
69 lines
4367 bytes
4367 bytes
:In article <19980728010652.281$Rf@newsreader.com>,
:Curt Welch <curt@kcwc.com> wrote:
:>dillon@best.net (Matt Dillon) wrote:
:>> If the original article as written in someone's text editor is this:
:>>
:...
:>that's done on _UNIX_ systems to convert the Unix format text files to NNTP
:>format text files.
:>
:>If I create a text file on a PC (which I try not to do :)), then the lines
:>already end in CR LF. So when I send the file to an NNTP server with a
:>POST command, I don't map the LF's to CR LFs. If that file has an imbeded
:>raw JPEG file, then I also don't expect to do any type of translating of
:>characters. I'd just expect to send it in it's raw format. But if I do
:>that, then Diablo will corrupt the file by adding a CR in front of any LF
:>that didn't already have one.
:>
:>If the text file was created on a Mac, then the lines would end with a
:>single CR. So the code that reads this format file and sends it with an
No, Curt, your wrong... what you are talking about is a function of
a news CLIENT. It has nothing whatsoever to do with news TRANSIT
software and it has nothing whatsoever to do with this thread which
is discussing 8-bit clean binary postings... these postings are most
definitely *NOT* plaintext. *obviously* the client needs to understand
the difference, which is as simple as an X- or a MIME header.
The news CLIENT is *interpreting* the article you are posting as a text
message in USENET plaintext form rather then as a binary. It is making
the decision to strip the CR from the original article, and then encoding
the resulting LF-only article as per the NNTP protocol (LF -> CRLF).
Even though this winds up a wash for articles that were original CRLF
to begin with in regards to the protocol, the client is *NOT* posting
the article verbatim in this case. The client has decided to strip the
CR. Stripping the CR is perfectly acceptable if the client is not trying
to post binary data. But this is the CLIENTs decision, not the rest of
the NNTP system.
News *TRANSIT* systems do no such interpretation. I've been trying to
explain the distinction to you for three postings now. Please sit back
and think about it for a while before you respond. You aren't
understanding the distinction.
There are two distinct pieces... there's the news client which
interprets the data, either on reception or when you post something,
and there's the news transit which transfers the article between systems.
You are talking about the news *CLIENT* here. You comments have
absolutely nothing whatsoever to do with 8-bit clean binary postings.
Please keep in mind what this thread is talking about ... we are talking
about dealing with BINARY POSTINGS. We are not talking about making
interpretations of textual articles. Are you attempting to argue that
because a client converts articles on the assumption that they are
plain text that a feature cannot somehow be added to it to allow it to
interpret and/or post the articles as straight binary ?
Curt, please understand the distinction... you are stuck in this CR LF
conversion crap and it's non-problem. 8-bit-clean works across most of
the USENET backbone now.
-Matt
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Technical Details
Message-ID:
<6pjqjp$hdl$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-mailReferences:
<slrn6qs63j.8b9.usenet@hmmm.colo.erols.net> <19980727203523.032$aP@newsreader.com> <6pjaar$9te$1@flea.best.net> <19980728010652.281$Rf@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <6pjqjp$hdl$1@flea.best.net> Subject: Re: REPOST: Re: Content-Transfer-Encoding: binary Date: Mon, 27 Jul 1998 00:00:00 +0000 From: dillon@best.net (Matt Dillon) References: <slrn6qs63j.8b9.usenet@hmmm.colo.erols.net> <19980727203523.032$aP@newsreader.com> <6pjaar$9te$1@flea.best.net> <19980728010652.281$Rf@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 X-Deja-AN: 375570875 X-Trace: 901606845 10354 dillon 206.184.139.131 Organization: Best Internet Communications, Inc. Newsgroups: news.software.readers,news.software.nntp