[comp.sys.mac] Help with StuffIt header problems.

pete_ashdown@pedro.UUCP (Pete Ashdown) (06/17/88)

I have been having a problem with Raymond Lau's StuffIt.  I have tried 
everything I can think of, but I can not come up with a solution.  Here it is: 
  
I download a Mac program in SIT format from a local Mac BBS.  However, here is 
the catch.  I am downloading it on my Amiga.  I transfer the file to an IBM 
disk through a program on the Amiga known as Dos2Dos.  Then I take the IBM 
disk to my work where I transfer it to the Mac II via DaynaFile.  Surprise! 
Surprise!  StuffIt tells me that I have a bad header.  What I _think_ the 
problem is, is that when Mr. Mac uploads a program to the local BBS, he is 
using the Mac version of XModem.  Thus, if Mrs. Mac downloads it, her Mac 
terminal automatically recognizes the header on the file and interprets it to 
be a SIT! SIT! file.  However, Mr. Amiga (me) just downloads the whole thing 
and the header information gets attached.  Even if I change the filetype on 
the DaynaFile to SIT! SIT!, it still doesn't jive because it has that extra 
information on the beginning of the file. 
  
So you say, "Simple, edit off the beginning of the file."  HOW?  I used a text 
editor on the Mac and it still throws some header information onto the file. 
So I edited it on the Amiga and it _almost_ works, except for the fact that 
StuffIt thinks that the first file of the SIT is in there an infinite amount 
of times.  So obviously, I chopped off either too much or too little. 
  
Can ANYONE give me a simple solution to this dilemma?  Don't say, "Download 
the programs from the Mac II."  I CAN'T.  Besides, with a TrailBlazer on my 
Amiga, it makes downloading stuff I hardly use a lot easier.. 
  
Please mail me, I don't read this newsgroup too often. 
-- 
\  "I don't practice what I preach because I'm not the kind of person I'm  / 
/              preaching to."  - J.R. "Bob" Dobbs in Newsweek              \ 
\         -Killer Rabbit Bits-  "Program good games, or die trying."       / 
/   Pete Ashdown [uunet!iconsys!caeco!pedro!slack!pete] [pete@slack.uucp]  \ 

David_Alan_Newman@cup.portal.com (06/24/88)

Pete Ashdown seems to have hit the cause of the problem on the nose. The
Amiga comm program will not recongize a MacBinary header, so saves the
MacBinary file image to disk as is. The file remains a MacBinary image
once it reaches his Mac. The link from DOS to Mac obviously does not
recongize MacBinary formatted files either.

So, what Pete needs is a utility called BinHex 4.0, but not 5.0. What
BinHex 4.0 does is convert Mac files from MacBinary format to their
original format, and vice versa.

Dave Newman
===========
david_alan_newman@cup.portal.com
CI$[76012,3707]
MacNET: NEWMAND

hirchert@uxe.cso.uiuc.edu (06/27/88)

>So, what Pete needs is a utility called BinHex 4.0, but not 5.0. What
>BinHex 4.0 does is convert Mac files from MacBinary format to their
>original format, and vice versa.

BinHex 4 is the program that converts between ordinary Macintosh files and
the all text format used on comp.binaries.mac, the info-mac archives, etc.
I believe it is BinHex 5 that does MacBinary conversion.

>Dave Newman

Kurt W. Hirchert     hirchert@ncsa.uiuc.edu
National Center for Supercomputing Applications

clubmac@runx.ips.oz (Macintosh Users Group) (07/05/88)

In article <6805@cup.portal.com> David_Alan_Newman@cup.portal.com writes:
>Pete Ashdown seems to have hit the cause of the problem on the nose. The
>Amiga comm program will not recongize a MacBinary header, so saves the
>MacBinary file image to disk as is. The file remains a MacBinary image
>once it reaches his Mac. The link from DOS to Mac obviously does not
>recongize MacBinary formatted files either.
>
>So, what Pete needs is a utility called BinHex 4.0, but not 5.0. What
>BinHex 4.0 does is convert Mac files from MacBinary format to their
>original format, and vice versa.
>
>Dave Newman

Arrgh! I'm sorry Dave, but I'm afraid you can't do that! :-)

This is the umpteenth time I have seen a message telling the world that
BinHex 5.0 DOES NOT convert MacBinary format files back to their original
state, as a normal Mac application/document.

You're assertion is wrong. BinHex 5.0 is the utility you need to do the
conversion.

NOT BINHEX 4.0! You use 4.0 to convert the stuff that regularly appears
in comp.binaries.mac and a few other places.

If you're reading this Pete, remember to use BinHex 5.0. That is, if your
terminal program doesn't support MacBinary. If it doesn't, it's not worth
using. Red Ryder, MacTerminal, MicroPhone, Versaterm are just a few that
will recognize the MacBinary format files that you wish to download from
the Amiga.


Jason Haines, President
Club Mac - Australia's Largest Macintosh Users Group

Phone Home:  +61-2-73-1016
OZ Post:     Box 213, Holme Building, Sydney University, NSW, 2006, Australia
Internet:    clubmac@runx.ips.oz.au    UUCP: uunet!runx.ips.oz.au!clubmac