From: aberigan@nde.unl.edu (A. Berigan)
Newsgroups: comp.sys.apple2
Subject: Re: Need IIgs app. to unpack Mac archives WITH resource forks
Date: 15 Oct 1992 02:40:04 GMT
Organization: Ord High School, Ord, NE
Distribution: world
NNTP-Posting-Host: nde.unl.edu

<SAB121@psuvm.psu.edu> writes:
>aberigan@nde.unl.edu (A. Berigan) says:

>>I have a friend who has a Mac LC II who needs some help.  He needs the
>>Mac equivalent of BinSCII, called BinHex.  Unfortunately, even with the
>>varied Mac archive formats, I cannot seem to get a program to an
>>HFS volume in a form that the Mac will recognize as other than a
>>"document".
>>
>>I need a program which can extract .hqx files directly to an HFS volume,
>>keeping them as Mac files (with a Mac resource fork) so they can be
>>executed on the Mac.  (I am running on a IIgs with System 6 with the
>>HFS.FST installed.)

>Ok, First off here is my thoughts on BinHEX.  I believe that it is possible to
>get a self extracting archive of BinHex.  I'll talk to a friend who is HEAVILY
>into Mac's and GS's.

Nope.  Every executable on the Mac requires a resource fork, and that is
precisely what I need to get to the HFS volume.  No resource fork, no
execution.

>Second:  I see you are coming in through a university.  My first thought is to
>drop by the comp sci department of your U. and ask the ops for a copy of
>BinHEX.  This is what most of the users around here do to get ahold of it.
>Your campus should have a copy floating around somewhere if they have any macs
>at all on campus.

Unfortunately I'm connecting to my local University via long distance.
For me to visit the campus would be a 3 hour drive.

>Third and last:  Most of the Mac archives I've seen are Stuffit archives that
>are Binhex'd.  SO:  Use GSCII+ (Found on cco.caltech.edu via anonymous FTP
>in (I believe!) pub/apple2/addons/nda) to extract the archive.  GSCII is an
>NDA for the GS that does BinHEX, Binscii, UUEncode/Decode, and I think one
>other, although I'm not really that sure.  (I really wish I had a desktop comm
>program that could do downloads/uploads to an IBM mainframe!  Then I could
>check this out for you right now! :)

>It should extract the stuffit archive, and since it runs on the GS/OS desktop
>you SHOULD be able to save the resulting archive file directly onto an HFS
>volume.

No, GScii+ does not extract .sit files.  GSHK does, but when I tried
using that directly to an HFS volume, I still ended up with a file which
was not executable on the Mac.

>NOTE: In order to do this you will also need Stuffit or Stuffit
>Deluxe for the Macintosh that you are going to unarchive this on!  Currently
>(at least as far as I know, correct me if I'm wrong, Andy!) ShrinkIt GS
>cannot unstuff a plain archive, it must have a MacBinary header.  It also
>cannot unstuff an archive made with Stuffit Deluxe!, so you really must have
>these programs to do the unstuff operation.

And to get those programs, I need to transfer them.  Catch-22.

>I'm not sure if the HFS FST understands all the file types for the Mac OS, but
>it should.  If it does then it should unBinhex the file into a proper file
>type for Stuffit to understand.  If not there should be an option somewhere
>in stuffit/Stuffit Deluxe to see All files, not just archives.

I ran across the lack of such a built-in option in Mac System 7 when I
tried to load a MIDI Sequencer file into Finale which did not have the
proper types (the file format, not Finale).

>| Salvatore A. Buttice              |  BITNet: SAB121@PSUVM            |
>| 1511 State Street    _____________|__InterNET: sab121@psuvm.psu.edu__|

I'm getting increasingly of the opinion that the AFE filter Mac2MacBinary
should come with the system.  That filter unfortunately also require a
resource fork.

So the request is still the same.  I need a program that can extract
.hqx, .sit, or MacBinary files to an HFS volume, keeping the resource
forks intact.  Hell, I'd be happy if it were a ProDOS 8 application.

-- 
     __o          (10/3)  1/      (11/3)
  __p\<,_       WF      + /(10-WF)
__(")/ (`)__     
~~~~~~~~~~~~ aberigan@nde.unl.edu (Greg Berigan)
Newsgroups: comp.sys.apple2