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