🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #54588

Re: KRN uses LF instead of CRLF

#54588
From: Wolfgang Schelongowski
Date: Fri, 26 Nov 1999 00:00
91 lines
5188 bytes
In <greg-2411991811000001@oshar.war-of-the-worlds.org> greg@apple2.com writes:

>In article <81h4qe$jbn$1@xivic.ruhr.de>,
>skaranyi+news1@games.ruhr.de (Wolfgang Schelongowski) wrote:
>>greg@apple2.com writes:

>>> There is a definitive standard for what kind of newlines to use in Usenet
>>> articles.  KRN violates that.  

From the son-of-1036:
...
          How the end of a text line is  represented  depends  on  the
          context  and  the implementation.  For Internet transmission
          via protocols such as SMTP [rrr], an  end-of-line  is  a  CR
          (ASCII  13)  followed  by an LF (ASCII 10).  ISO C [rrr] and
          many modern operating systems indicate  end-of-line  with  a
          single  character,  typically  ASCII LF (aka "newline"), and
          this is the normal convention when news is  transmitted  via
          UUCP.  A variety of other methods are in use, including out-
          ^^^^
It is here, and the batches have no \r, only \n's.

          UUCP.  A variety of other methods are in use, including out-
          of-band methods in which there is no specific character that
          means end-of-line.

          This Draft does not constrain how end-of-line is represented
          in news, except that characters other than CR  and  LF  MUST
          not  be  usurped  for  use  in  end-of-line representations.
          Also, obviously, all software dealing with a particular copy
          of  an  article  must  agree  on  the convention to be used.
          "EOL" is used to mean "whatever  end-of-line  representation
          is  appropriate";  it  is  not  necessarily  a  character or
          sequence of characters.
 
>> So does MT-NewsWatcher 2.4.4, because your article has only \n, i.e.
>> without \r. On the _news spool_ of xivic.ruhr.de (inn-1.7.2.insync-1.1d).

>Then there must be something wrong with your server or a server between us
>because MT-NW sends postings with CRLF.  If it had the same problem as
>KRN, I wouldn't be able to read my own articles.

Since you were able to read my article I expect something in between is
adding CRs to my LFs.

>  If MT-NW failed, I'd
>expect it would be generating CR without LF, not LF without CR, as is the
>Apple convention from the Apple I to the PowerMac G4.

>The path your article took to reach here was:

>Path: news2.giganews.com!nntp2.giganews.com!nntp.giganews.com!
>  nntp.primenet.com!nntp.gctr.net!newsin.iconnet.net!netnews.com!
>  windy.ip.versatel.net!newsfeed.icl.net!newsfeed.nacamar.de!
>  rz.uni-karlsruhe.de!news.uni-stuttgart.de!news.ruhr-uni-bochum.de!
>  news.tmr.net!nntp.ruhr.de!ruhr.de!xivic.ruhr.de!not-for-mail

>Except of course without the folding whitespace which I added just to make
>it neat.  What was the path of the article as you received it from me?

Practically all articles arrive here via
 xivic.ruhr.de!ruhr.de!nntp.ruhr.de!news.ruhrgebiet.individual.net!
or
 xivic.ruhr.de!ruhr.de!nntp.ruhr.de!news.tmr.net!
Very few come via xivic.ruhr.de!ruhr.de!<path-through-ZC-net> (argh).
All come via UUCP. It is independent of the different kinds of news
servers which have been installed on ruhr.de, nntp.ruhr.de, and 
news.ruhrgebiet.individual.net. I could have a look what's really
on ruhr.de, nntp.ruhr.de, and probably news.ruhrgebiet.individual.net
but I'd have to go online (meterred telephone calls here). But see
my last paragraph below.

>    telnet xivic.ruhr.de 119 | tee xivic.tee

>and use the "article" command to retrieve the article by its message ID. 
>Then examine the resulting xivic.tee file to see what kind of newline was
>used.

YM telnet 127.1 119 ... and a 'mode reader' first. Result: No CR.
You might want to 'telnet news2.giganews.com 119' and see what you 
find.

I suggest you ask the gurus on news.software.nntp how the EOL
is actually represented on news spools of different servers,
and what happens during transfer.
-- 
The weaknesses and the strengths of computer networking derive from the same
feature: it is easy to send messages to anyone who has access to the network.
  -- Donald A. Norman, The Trouble with Networks (Datamation 1/1982)

Technical Details
Message-ID: <81ml5n$n9k$1@xivic.ruhr.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <151119990052347437%brianb1@home.com> <greg-2211991128180001@oshar.war-of-the-worlds.org> <943348187.1367349393@beta-news.idirect.com> <greg-2311991040020001@oshar.war-of-the-worlds.org> <81h4qe$jbn$1@xivic.ruhr.de> <greg-2411991811000001@oshar.war-of-the-worlds.org>

Show Full Headers
Complete Article Headers
Message-ID: <81ml5n$n9k$1@xivic.ruhr.de>
Subject: Re: KRN uses LF instead of CRLF
Date: Fri, 26 Nov 1999 00:00:00 +0000
From: SKaranyi+n0@localhost.ruhr.de (Wolfgang Schelongowski)
References: <151119990052347437%brianb1@home.com> <greg-2211991128180001@oshar.war-of-the-worlds.org> <943348187.1367349393@beta-news.idirect.com> <greg-2311991040020001@oshar.war-of-the-worlds.org> <81h4qe$jbn$1@xivic.ruhr.de> <greg-2411991811000001@oshar.war-of-the-worlds.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 553389940
Organization: Private site in Germany
Reply-To: skaranyi+news1@games.ruhr.de (Wolfgang Schelongowski)
Newsgroups: comp.sys.mac.apps,comp.sys.mac.system,news.software.readers