[comp.sys.mac.wanted] Patching together hqx files...

draphsor@portia.Stanford.EDU (Matt Rollefson) (05/02/90)

In article <1990May1.223759.6773@ddsw1.MCS.COM> douglas@ddsw1.MCS.COM (Douglas Mason) writes:

>Being the ignorant person that I am, I am new to the world of using the
>.hqx files.  While I understand how it all works and how to convert the
>files, is there any simple way to string together files that are broken
>down into 5 or so segments?

>To get Solarian II was VERY messy.  To save your lunch I won't go into the
>details other than I used Word Perfect and a hell of a lot of cut and
>pasting...

>What is the sane solution to this?  Surely there must be a "better way".

>Douglas T. Mason | douglas@ddsw1.UUCP or dtmason@m-net | 

Yes, there is a better way.  There's a neat little program called
"United" that I downloaded from comp.binaries.mac a while back.  It
will take any number of segments, strip them of headers and footers,
and combine them into one file.  Note that the files must be in
ASCII format for United to be able to read them.

I don't know if it's still available on comp.binaries.mac - it was
a week or two ago.  It should be available somewhere at sumex-aim.
Unfortunately, I haven't had time to search around there seriously -
anybody else know where to find it?

Disclaimer:  I have absolutely no connection to the author of United.
It's just a useful program that seems to work well.

-- 
Draphsor vo'drun-Aelf                  draphsor@portia.stanford.edu

ar4@sage.cc.purdue.edu (Piper Keairnes) (05/02/90)

douglas@ddsw1.MCS.COM (Douglas Mason) writes:
>
>While I understand how it all works and how to convert the
>files, is there any simple way to string together files that are broken
>down into 5 or so segments?

While reading comp.binaries.mac I do this:

  1) save each segment into the same file (appended)
  2) type 'mcvert filename'
  3) and then 'rm filename.hqx'
  4) what I have left over is something of the form 'filename.sit.bin'
	   this file is a plain binary stuffit file ready for downloading.	 

So far, this has worked no matter how many separate segments there are.

The 'mcvert' source is available at sumex-aim.stanford.edu in the unix
directory. It compiled fine on our system. You might also want to investigate
related files like 'bhcomb', 'unsit', and so forth...

---
Piper Keairnes                  **  General Consultant-UNIX/VM/IBM/MAC  **
ar4@sage.cc.purdue.edu            **       Macintosh Specialist       **
Purdue Univ. Computing Center

mocko@marlin.NOSC.MIL (Gary S. Mocko) (05/04/90)

In article <1990May1.223759.6773@ddsw1.MCS.COM> douglas@ddsw1.MCS.COM (Douglas Mason) writes:
>
>
>Being the ignorant person that I am, I am new to the world of using the
>.hqx files.  While I understand how it all works and how to convert the
>files, is there any simple way to string together files that are broken
>down into 5 or so segments?
>
>To get Solarian II was VERY messy.  To save your lunch I won't go into the
>details other than I used Word Perfect and a hell of a lot of cut and
>pasting...
>
>What is the sane solution to this?  Surely there must be a "better way".
>



...and yet another method...

since the sloooooowest part of my transfer is from mainframe to mac, i've
been using the mac version of the unix =compress= [=maccompress=].

after =cat=ing the .hqx parts together, i =compress= them, do a binary
transfer to the mac [compress saving about 10minutes/100K], using =word= on
the mac with Find... takes about a minute to cut out the text and then
=binhex= the whole wad.

...gary

blood@aludra.usc.edu (Brian Blood) (05/08/90)

From blood Mon May  7 14:19:15 1990
To: /home/chaph9/blood/.article


Again, for about the fifth time throughout the comp.sys.mac boards the best way
to unite binhex files is using the utility called United 2.2 which is available from sumex

+-*/+-*/+-*/+-*/+-*/+-*/+-*/+-*/+-*/+-*/+-*/+-*/+-*/+-*/+-*/+-*/+-*/+-*/+-*/+-*/
Brian Blood		Univ. of Southern Cal. Underground Mac Dude
INTERNET: blood@usc.edu			Business Hours: 20/24 daily
Disclaimer: 'Vuja De'--None of this has ever happened!
SnailMail: 333 Prestonwood DR #2506 	AT&TLink: USC--(213)745-2760
	   Richardson, TX 75081			  HomeSweetHome--(214)907-2943
'Pain don't hurt'-'Roadhouse'		'We don't need no stinkin' badges!'-BS
+-*/+-*/+-*/+-*/+-*/+-*/+-*/+-*/+-*/+-*/+-*/+-*/+-*/+-*/+-*/+-*/+-*/+-*/+-*/+-*/

ted@cs.utexas.edu (Ted Woodward) (05/08/90)

In article <9656@chaph.usc.edu> blood@aludra.usc.edu (Brian Blood) writes:
 
>Again, for about the fifth time throughout the comp.sys.mac boards the best way
>to unite binhex files is using the utility called United 2.2 which is available
>from sumex
 
Actually, I find mcvert to be better.  Not only can you poke around in the
source, it runs on the unix boxes here, so:
a) it's faster than united on my SE (we've got sparcs)
b) I can download the stuffit files instead of the bloated binhex files.


-- 
Ted Woodward (ted@cs.utexas.edu)

Death now has Extra Speed!