[fa.info-mac] BinHex Question

info-mac@uw-beaver (12/15/84)

From: jsoc@lasspvax (John Socha)

We got binhex from <info-mac> at sumex, but we can't seem to get
it working.  Does anyone have doccumentation for binhex?
How do we use it?

When we run binhex to launch the thing, all seems to go well.
When we try to launch the output, we get an ID=26 error, and the litle sucker
goes belly up in the soapsuds. What are we doing wrong?

For that matter, how can we convert Mac programs to binhex format?

John Socha
jsoc@lasspvax.arpa

Greg Taylor
gtaylor@lasspvax.arpa

info-mac@uw-beaver (12/21/84)

From: decvax!wivax!ss@uw-beaver.arpa

Hi.  If you haven't had this answered before, I may be able to help.
(if you have had it answered, throw this away.) 

The only light I can shed is that it sounds to me like you are using
the wrong kind of files.  Use binhex to make "text" files which
already exist on the mac into lauchable things.  This text file must
have been saved using binhex.  It doesn't work on .rsrc files or .dl
files - for those you need fromhex.

Forgive me if I am telling you something you already know.  If you
want to talk some more, give me a call or email.  I am fairly new to
this stuff myself, but I have been able transfer resources and
macpaint docs to the mac successfully.

Good luck,

Sid Shapiro -- Wang Institute of Graduate Studies
    [apollo, bbncca, cadmus, decvax, linus, masscomp]!wivax!ss
    ss%Wang-Inst@Csnet-Relay.ARPA
	  (617)649-9731

ech@spuxll.UUCP (Ned Horvath) (12/24/84)

I also had problems with binhex, until I realized that the program is expecting
'upload' files to have carriage-return-only as a line separator, and of course
my unix system uses newline-only as line separators.  Before downloading,
try translating with something like
	tr '\012' '\015' < a.x > a.y
then download a.y.  Your local version of tr may want something other than
the escaped-octal codes I have shown, check the man page for tr(1).

=Ned=