🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #56744

Re: [yEnc] Survey time! (Compression or not?)

#56744
From: Curt Welch
Date: Thu, 21 Feb 2002 22:06
38 lines
3306 bytes
Jeremy <jeremy@exit109.com> wrote:
> Curt Welch <curt@kcwc.com> wrote:
>
> > zlib sure looks like the solution to the problem as well because it's
> > availbale on a wide range of platforms and it is free from any license
> > restrictions and it seems to work very well for this type of
> > application (with the included limits on worse case expansion etc).
>
> Yeah, but how cross-platform is it *really*?  Does it deal with HFS+
> files with resource forks?  I just checked, and gzip definitely does not.
> It is, therefore, unsuitable for use as "a standard for how binary files
> should be posted on Usenet", because it doesn't work properly as-is for
> the #2 consumer computer platform.

It's ported to both Mac OS and Mac OS X.  It works fine for both platforms.
zlib is ported to everything useful including stuff like Palm OS and the
BeOS. There are source versions or interfaces available for C++, Java,
Perl, Pascal, Python, Tcl, Delphi, and others.  You couldn't ask for a more
portable or well accepted compresion algorithm.

zlib is NOT a file archive tool like zip or tar.  It's a binary stream
compression algorithm.  It's not a command line tool at all, it's a set of
license free open source compression routines.  What you ask about resource
forks is totaly unrelated to whether zlib is useable for compression on
Usenet.  It would work fine for binhex encoded mac files for example. It
would work great for that.

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.  If you want support for native
resource/data fork Mac files in yEnc, then you need to add that to yEnc.
zlib would still work fine for compressing the two separate data forks of
the Mac files once you solved the problem at the encoding level.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20020221170645.662$tH@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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.news.rcn.net!rcn!dca6-feed2.news.digex.net!intermedia!newsfeed1.cidera.com!Cidera!feed2.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
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>

Show Full Headers
Complete Article Headers
Message-ID: <20020221170645.662$tH@newsreader.com>
Subject: Re: [yEnc] Survey time! (Compression or not?)
Date: Thu, 21 Feb 2002 22:06:45 +0000
From: curt@kcwc.com (Curt Welch)
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>
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!feed2.news.rcn.net!rcn!dca6-feed2.news.digex.net!intermedia!newsfeed1.cidera.com!Cidera!feed2.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com PLiQ-Q2.,FZgNF9mDRyyRM=dk2.i_XLw,4VV@5g_maSaqtBt,
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
  %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 37