[comp.sys.apple2] Prodos auxtypes

russotto@eng.umd.edu (Matthew T. Russotto) (07/14/90)

[apple 2 people may want to skip this-- it's about preserving prodos auxtypes
in the mac file system]

I was wondering if there was a generally accepted (or Apple-accepted) method
for preserving the prodos file and auxtype when that file is used on a Mac.
Apple File Exchange sets the file's creator to 'pdos' and the type to
'$C0', I believe, for a prodos file of type $C0.  Problem is, this doesn't
preserve the auxtype-- and a $C0, auxtype 0 file is very different from a $C0,
auxtype 2 file!  I've been setting the file type to be one letter followed
by the type and the auxtype (the type takes up one byte, the auxtype 2),
but this could easily conflict with other already-assigned file types.
--
Matthew T. Russotto	russotto@eng.umd.edu	russotto@wam.umd.edu
][, ][+, ///, ///+, //e, //c, IIGS, //c+ --- Any questions?
		Hey!  Bush has NO LIPS!

toddpw@tybalt.caltech.edu (Todd P. Whitesel) (07/14/90)

russotto@eng.umd.edu (Matthew T. Russotto) writes:

>[apple 2 people may want to skip this-- it's about preserving prodos auxtypes
>in the mac file system]

You don't need to say that-- with an HFS FST on the way this kind of stuff is
becoming important. In the 90's, multiplatform connectivity is going to be
infinitely more important than multimedia. Trust me.

>I was wondering if there was a generally accepted (or Apple-accepted) method
>for preserving the prodos file and auxtype when that file is used on a Mac.
>....

There is. According to the AFP chapter of Inside AppleTalk, you do what
Apple File Exchange does. It DOES preserve the auxtype, by setting the mac
filetype field to hold the three prodos type/auxtype bytes and a zero. I forget
which exact order they are in, though.

TO CHAN WILSON AND ANDY (if he's still on the net): A2FX and GSHK's StuffIt
should support this translation. I would really appreciate it if they did!!

Todd Whitesel
toddpw @ tybalt.caltech.edu

dales@pro-novapple.cts.com (Dale Smith) (07/16/90)

In-Reply-To: message from toddpw@tybalt.caltech.edu

 
toddpw@tybalt.caltech.edu (Todd P. Whitesel) writes concerning in a reply on 
ProDOS Filetype/Auxtype support in Mac files: 
 
> TO CHAN WILSON AND ANDY (if he's still on the net): A2FX and GSHK's  
> StuffIt should support this translation. I would really appreciate  
> it if they did!! 
 
I posted your suggestion to Andy [he's not on the net anymore] this morning  
in the belief that the new version 1.0.1 released this morning did address 
this suggestion.  It does; here's Andy's reply from America Online: 
 
% Subj:  Re: Todd Whitesel SIT sugg.           90-07-15 15:33:18 EDT 
% To:    DaleSmith                             From:  ShrinkIt 
% 
% Dale, you might want to post that GSHK does do the correct translation 
% now... :-) 
% 
% andy 
 
 
proline: pro-novapple!dales 
uucp: crash!pro-novapple!dales 
arpa: crash!pro-novapple!dales@nosc.mil 
Internet: dales@pro-novapple.cts.com 
Northern Virginia Apple Users Group >pro-novapple< 703-671-0416/300-2400 baud