[comp.unix.aux] Launching Mac OS Application

ifocs9d@aucs.UUCP (Rick Giles) (05/25/89)

I'm trying to run a Macintosh OS application "foo" under A/UX 1.0.
I was able to mfs x foo over to A/UX, but when I give the command
launch foo, I get the following message:

Unable to open "foo" as an application resource file.

Could I have overlooked something, or is foo A/UX-dead?

PS Have any Canadians received the upgrade from A/UX 1.0 to 1.1?
I ordered mine from Apple Canada way back in February and was first 
told it would be out the end of May. Now I'm told that my 
order was "misplaced", and will be out the end of June. Arrgh.

Rick Giles

Bitnet:   FRGILES@Acadia
Internet: FRGILES%Acadia.BITNET@CUNYVM.CUNY.EDU 
UUCP:     uunet!dalcs!aucs!ifocs9d 

rpd@apple.com (Rick Daley) (06/01/89)

In article <1906@aucs.UUCP> ifocs9d@aucs.UUCP (Rick Giles) writes:
> I'm trying to run a Macintosh OS application "foo" under A/UX 1.0.
> I was able to mfs x foo over to A/UX, but when I give the command
> launch foo, I get the following message:
> 
> Unable to open "foo" as an application resource file.
> 
> Could I have overlooked something, or is foo A/UX-dead?

This message does not imply that foo is A/UX-dead.  All it means is that 
the launch program called OpenResFile on foo, and OpenResFile failed.  
This can happen for several reasons.
    1) The file is protected against you.  Try using a UNIX command, such 
as cp, to see if this is the case.
    2) The file is corrupted, and the Resource Manager can't figure it 
out.  Try redoing the transfer, starting from a newly formatted floppy.  
If it still happens, try copying it as both an Apple-Single or an 
Apple-Double file.  (Use the -d or -s options to mfs)  It's possible that 
there is a bug in mfs that is corrupting the file, but I've never heard of 
such a bug.
    3) You could be handing launch the wrong file name.  If the file is in 
the Apple-Double format (data fork is in "foo", resource fork is in "%foo"), 
you still need to use the bare file name, in this case "foo".  Don't use 
"%foo".

By the way, I hope you get your copy of A/UX 1.1 soon.  It is much more 
compatible with Macintosh applications.  Also, hfx is easier to use than 
mfs.

                                                                           
Rick Daley
                                                                           
rpd@apple.COM