🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #57948

Re: A better way to post binaries

#57948
From: J.B. Moreno
Date: Fri, 05 Apr 2002 17:30
71 lines
4084 bytes
In article <4219b.542200@archiver.winews.net>, 
 Juergen Helbing <archiver@i3w.com> wrote:

> Jeremy <jeremy@exit109.com> wrote:
-snip-
> >> I'd recommend to introduce a variable offset for the "Quoted-Printable
> >> -Rotated" format. This avoids the problems yEnc-V1 has with extreme
> >> cases of binaries.
> >
> >Well, I'm not actually proposing that all three of those formats be
> >standardized.  I was looking for people to tell me which was the best
> >way to go.
> 
> Unfortunately we dont have a "best" way.
> Qp-lite would have large overhead for multimedia (NULLs) - but would
> require no (or little) changes to MIME decoders.
> 
> QP-lite-rotated would need changes to all MIME decoders. 
> But we still have the problem where to add the "rotation" value.
> 
> yEnc would be the same as QP-lite-Rot. 
> Also here we would also need additional decoding information 
> (like the offset '42' which is already variable in the
> future ideas for yEnc-V2 to prevent extreme overhead cases) .

I've said it before but never so explicitly: screw extreme overhead
cases.  In reality they aren't a problem -- in no useful data will they
ever add up to the overhead of UUE or Base64, which people are using
now.

> >> yEnc can be easily expanded by a "End-Of-Data" Marker as:  =z
> >> because the need to encode the letter  'J'  is hard to see.
> >
> >That's exactly what I was thinking (same character, too).
> >
> >However, it's been pointed out that simply using =yend as end-of-data
> >would work; I think it's kind of ugly, but it *would* work, and thus
> >wouldn't require any changes in the existing yEnc.
> 
> Well, having =yend without a =ybegin would be at least strange :-)
> And having a =yend without the other parameters would again
> cause changes to existing yDecoders - because they surely are
> scanning thze =yend line actually for the parameters to verify
> the correctness.
> 
> One of my very old ideas for the MIME-embedding of yEnc was
> to include the full block  =ybegin....   up to  =yend .... into a
> MIME part. This would also solve the problem where to place
> the "offset=40" parameter. 
> But I'm sure that you dont like this.

I believe that is what he is talking about -- it's certainly what I
have been proposing, and his objection to that seems to be just how
long to allow that to continue.  (Which in a way is moot, it should be
done that way and left to future implementors to decide when it is no
longer necessary).

-snip-
> btw.: Whatever we choose to do:
> We will _need_ a "decoder-API" - and perhaps even an external
> "decoder-DLL" for our MIME-changes.
> In "former" days MIME decoders had only to deal with BASE64
> and sometimes X-uuencode
> Now we are adding 1/2/3/<future> decodings.

Just 1 (and possibly not even that, as those that handle yEnc won't
even need to change if the current yEnc spec is kept unchanged).

-- 
J.B. Moreno
Technical Details
Message-ID: <050420021230413841%planb@newsreaders.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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!feed2.newsreader.com!news2.newsreader.com!flame.newsreader.com!planb
References: <1017777829.201228@ok-corral.gunslinger.net> <3915b.342201@archiver.winews.net> <1017854668.242120@ok-corral.gunslinger.net> <4219b.542200@archiver.winews.net>

Show Full Headers
Complete Article Headers
Message-ID: <050420021230413841%planb@newsreaders.com>
Subject: Re: A better way to post binaries
Date: Fri, 05 Apr 2002 12:30:41 -0500
From: "J.B. Moreno" <planb@newsreaders.com>
References: <1017777829.201228@ok-corral.gunslinger.net> <3915b.342201@archiver.winews.net> <1017854668.242120@ok-corral.gunslinger.net> <4219b.542200@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!newsfeed1.cidera.com!Cidera!feed2.newsreader.com!news2.newsreader.com!flame.newsreader.com!planb
Newsgroups: news.software.nntp
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 8bit
User-Agent: Thoth/1.6.0 (Carbon/OS X)
X-Face: ]lUBtDImSD_`E"<*ZgyJUoCT\=CdRLFX4qCMLK[xy^L7v|uX|f8`cFDd*PaH8
  N*x>d^h
X-Trace: flame.newsreader.com 5qFk8vhN5la5U_h@BBwB6Z@R@.z3x9q.Li=.iF_FcKV++aF
Lines: 70