[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Stuffit module




On Mon, 24 Aug 1998, Brian L. Matthews wrote:

> |Are the Stuffit script extension and AppleScript the only way to work on
> |stuffit files with MacPerl?
> 
> The Stuffit file format is proprietary (back to a fairly early version),
> so a Stuffit module would have to use AppleScript as well. I suppose you
> could hunt up the older file format, as I believe even the latest Stuffit
> versions read it (although I don't know if their recent Windows products
> do). Or you could just use AppleScript, put it in a module, and submit
> it. :-)

Metrowerks CodeWarrior also includes an API that can run Stuffit from
C/C++ (maybe Pascal, too?) code.  (Think XS.)  But, as Brian said, you
have to purchase a license to distribute a program using this, and it
depends on the presence (naturally) of The Stuffit Engine in the System
Folder. 

This, too, is probably not what you had in mind.  Back to AppleScript.  :)


On the tar/gzip thread (sorry to piggyback, but it isn't worth a separate
message), I like Gzip over Stuffit Expander because it is distinctly
faster, and because I can force it to do strictly binary (not MacBinary)
gzips.  I found that prevented problems when downloading an archive,
gunzipping it, reading some docs, then gzipping it back and moving it to a
unix platform.  I use both Suntar and Stuffit for tarring and untarring.

Gzip is also about 5-10% tighter than Stuffit, so you might consider using
that instead of Stuffit, anyway.  Free is good.  Source is good.  :)


-- 
MattLangford 


***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch