[comp.sys.mac.misc] Help! please, with Macbinary and *.sit

tim@maths.tcd.ie (Timothy Murphy) (01/01/91)

I have retrieved a number of *.sit files
(eg flextc.sit, bisontc.sit, kermitnnnn.sit)
from the net.
These appear to be uuencode'd --
at any rate they uudecode without problem.
But I haven't discovered how to return them to StuffIt format.
I retrieved Macbinary from macbinary.hqx ,
and have tried this on the .sit files.
While it converts them to files with the StuffIt logo,
StuffIt 1.5.1 and Stuffit Classic
both report that the files are bad.
(They have 'bad headers'.)

Could some kind soul please e-mail me the solution
to this doubtless elementary conundrum.

-- 

Timothy Murphy  

e-mail: tim@maths.tcd.ie

hairston@henry.ece.cmu.edu (David Hairston) (01/02/91)

[tim@maths.tcd.ie (Timothy Murphy) writes:]
[] I have retrieved a number of *.sit files
[] (eg flextc.sit, bisontc.sit, kermitnnnn.sit)
[] from the net.
[] These appear to be uuencode'd --
[] at any rate they uudecode without problem.

typically mac files are compressed and then ascii-encoded using a
format known as BinHex 4.0 which is analogous to uuencode.  can't
say for certain what the format of your files is but if you read
BinHex 4.0 encoded files they usually have a prefix line stating:
(This file must be converted with BinHex 4.0)
or failing that they will have a leading and trailing ':' surrounding
the ascii-encoding unlike uuencode which is typically characterized
by a leading M on each line of the ascii-encoding.

if the files are ascii-encoded then macbinary transfer is unnecessary.
assuming BinHex 4.0-encoding just transfer the files and then using
Stuffit first "Decode BinHex ..." on them to get to the archives and
then open the archives and extract.

if the files are uuencoded then there are applications which can
uudecode them but you may still need BinHex 4.0 and/or Stuffit to
unpackage them initially.

  -dave-  
hairston@henry.ece.cmu.edu