Article View: news.software.nntp
Article #56773Re: [yEnc] Survey time! (Compression or not?)
From: Bill Cole
Date: Fri, 22 Feb 2002 03:21
Date: Fri, 22 Feb 2002 03:21
43 lines
3443 bytes
3443 bytes
In article <a53sia$7i4$3@pegasus.csx.cam.ac.uk>, Liyang Hu <newsgroups@nerv.cx> wrote: > > If you want to support posting native mac files with yenc, the > > compression algoritmm isn't what's keeping it from working. It's > > the fact that the encoding has no support for it. > > Not many things outside of MacOS has support for it. Which is why OS > X has moved to a directory based structure instead of resource > forks. For forks, yes, and that's probably good. File meta-data is a different issue from forks and it is not so clear that this is going to be devolved, since the alternatives amount to not having that meta-data. Right now there are 3 MIME standards for encoding Mac files: BinHex, AppleSingle, and AppleDouble. All preserve forks and meta-data. Another de facto standard for serializing the forks and meta-data into one stream is MacBinary, which has some fairly minor version variants. AppleSingle is p�tty supported on the Mac side but rarely used. AppleDouble is very widely supported because non-Mac systems that understand MIME and Base64 can at least pull the data fork and the resource fork+meta-data out as distinct streams. Just about anything on the Mac supports MacBinary but it is purely a serializing format, not a transfer encoding. BinHex oddly may be the most widely supported encoding for Mac files, but it is technically pretty lame. Ideally, an encoding would be purely an encoding. Support for anything other than a single stream should be distinct. A very good standard for serializing the elements of Mac files already exists: MacBinary. Nearly any Mac program that handles file transfer of any sort handles MacBinary already. A suitable answer to how yEnc should deal with non-flat files is that it doesn't: it encodes a single stream. How to serialize the parts of a Mac file (or any file) into a single stream should be specific to the home environment of that file format. For Mac users I expect that user software would provide the sort of options that most already do, and support MacBinary plus yEnc or yEnc of just the data fork to get data files to other platforms. -- Bill Cole I don't speak for my current employer, much less my former ones. That disclaimer will not change the minds of a few lunatics, of course...
Technical Details
Message-ID:
<bill-E48803.22211621022002@corp.supernews.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!headwall.stanford.edu!hub1.nntpserver.com!peer1-sjc1.usenetserver.com!usenetserver.com!sn-xit-04!sn-post-01!supernews.com!corp.supernews.com!billReferences:
<a504os$736$6@pegasus.csx.cam.ac.uk> <20020220230116.405$a3@newsreader.com> <1014270020.729921@ok-corral.gunslinger.net> <20020221152617.647$FV@newsreader.com> <1014326106.653256@ok-corral.gunslinger.net> <20020221170645.662$tH@newsreader.com> <a53sia$7i4$3@pegasus.csx.cam.ac.uk>Show Full Headers
Complete Article Headers
Message-ID: <bill-E48803.22211621022002@corp.supernews.com> Subject: Re: [yEnc] Survey time! (Compression or not?) Date: Thu, 21 Feb 2002 22:21:17 -0500 From: Bill Cole <bill@scconsult.com> References: <a504os$736$6@pegasus.csx.cam.ac.uk> <20020220230116.405$a3@newsreader.com> <1014270020.729921@ok-corral.gunslinger.net> <20020221152617.647$FV@newsreader.com> <1014326106.653256@ok-corral.gunslinger.net> <20020221170645.662$tH@newsreader.com> <a53sia$7i4$3@pegasus.csx.cam.ac.uk> 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!headwall.stanford.edu!hub1.nntpserver.com!peer1-sjc1.usenetserver.com!usenetserver.com!sn-xit-04!sn-post-01!supernews.com!corp.supernews.com!bill Newsgroups: news.software.nntp Organization: scconsult.com is not organized User-Agent: MT-NewsWatcher/3.2 (PPC Mac OS X) X-Complaints-To: newsabuse@supernews.com Lines: 42