🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #56578

Re: [yEnc] some newbie questions

#56578
From: The Archiver
Date: Sun, 17 Feb 2002 09:04
96 lines
5128 bytes
lordsnow@home.nl (=-lordsnow-=) wrote:

>You say on your yEnc website that only CR, LF, NUL, and TAB are
>special characters that need to be 'escaped'. Why *only* these four?

You can remove the 'TAB' from the list.

CR & LF must be encoded because some news-software seems to
create own "line-breaks" if a single CR or LF occurs in a message.
NUL must be encoded because it usually terminates a line in the
C-Language. (There are usenet servers which transmit even NUL
in bodies correctly and confuse readers when the final .CRLF comes
in the same data block after a NUL).

All other characters are _usually_ unchanged by the standard NNTP servers
and readers.

>The latest ietf-draft of "News Article Format" states specifically that
>all control codes should be avoided, with the exception of TAB,
>FORMFEED, and BACKSPACE.

This is the same type of restriction as "only 7 bit chars".
yEnc is explicitely violating this rule because news-tools are
_able_ to transport true binaries (with the upper exceptions).

If all news-tools would definitely reject messages with the 8th bit
set - or truncate it - there would be no yEnc.

yEnc is not based on a "standard" - but on the actual abilities of Usenet
and its parts.

>There's some problem with SPACE and TAB getting dropped by
>Gateways if they are at the end of a line (trailing). A quick solution
>for this would be to simply end each line with <some value><CRLF>.
>
>Because Gatways may mangle {, }, |, ^, [, ], `, and \ it's suggested
>that those would be avoided as well.
>
>In short, it looks like there's 39 characters to "escape" including the
>escape-character itself.

We had a short discussion here if trailing spaces in bodies would be
truncated by some news-server-software. And it is possible that other
(exotic) programs might have problems with some special characters
in the first or last column.
But I have been encouraged to ignore this - and rely on the fact that
most news-soft _does_ handle 8 bit correctly - and the rest should
be fixed (earlier or later).

The yEnc draft still contains DOTs and TABs as "encodable"
 - and it is flexible enough to encode all other chars if necessary.
And as soon as it spreads to eMail (or other protocols/formats... XML ?)
it might be necessary to really escape also other charcters.

But the actual status (my knowledge) is that we can easily ignore
all the additional encodings but CRLF+NULL. 


It might be a good idea to contact USEFOR again - perhaps they should at
least mention that a software should be _prepared_ for message bodies
which are fully 8 bit (as yEnc does).

It might be a bad idea to release a standard which would theoretically
forbid yEncoded posts.

>who wants to see the birth of yet
>another half-assed scheme? Like I said before, yEnc is a good idea.. all
>it needs is a good thinking over and proper implementation.

Welcome to n.s.nntp - and perhaps to the yEnc mailing list.
We'll see how much time it will take to create a final spec/RFC.

>I did read all of the text on the sire prior to posting to this NG. The
>draft really needs a new refreshing - it totally lacks on explaining
>*why* you made yEnc work the way it does.

I wrote a kind of "novel" in German language (my native language)
which is now on the yenc.org site (history).  Perhaps someone wants to
translate it. But as these are more "personal experiences" I'm not
sure if it was a good idea to publish them.

>> I personally dont like Web-based forums - they are hard to use and
>> time-consuming.
>
>I just think they're a good source of information for "future 
>generations"... with proper topic admin-ing it would be a LOT easier to
>navigate than what I just did - spend the last few hours reading
>yEnc-related articles on Google :)

I'm still having all the USENET/mail messages about yEnc on my servers
- but I'm afraid that it would take far longer to read them all :-)

-- 
Juergen

Technical Details
Message-ID: <4704a.h22202@archiver.winews.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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-xfer.siscom.net!not-for-mail
References: <3c6e6798.9093644@news> <a4kc41$ou1$2@pegasus.csx.cam.ac.uk> <1rr8nmjix6.fsf@fjorir.ifi.uio.no> <3c6f000b.24535748@news> <10209.g22203@archiver.winews.net> <3c6fa367.17843811@news>

Show Full Headers
Complete Article Headers
Message-ID: <4704a.h22202@archiver.winews.net>
Subject: Re: [yEnc] some newbie questions
Date: Sun, 17 Feb 2002 09:04:47 +0000
From: archiver@i3w.com (The Archiver)
References: <3c6e6798.9093644@news> <a4kc41$ou1$2@pegasus.csx.cam.ac.uk> <1rr8nmjix6.fsf@fjorir.ifi.uio.no> <3c6f000b.24535748@news> <10209.g22203@archiver.winews.net> <3c6fa367.17843811@news>
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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-xfer.siscom.net!not-for-mail
Newsgroups: news.software.nntp
X-Newsreader: MyNews
Lines: 95
Organization: Newshosting.com - Highest quality at a great price! www.newshosting.com
NNTP-Posting-Date: 17 Feb 2002 11:31:50 GMT
NNTP-Posting-Host: e95532ed.news.newshosting.com
X-Trace: DXC=0[T5WCVZ4TQbo3PaT@55oXX`1N4>^k1LSiF6BbIV4YYRLnHEXCOOR@_Lob;0m:>8K_3nWncBSY5k[DVD;P6?`fSWhHj];T3QSd_
X-Complaints-To: abuse@newshosting.com