home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / apple2 / 19483 < prev    next >
Encoding:
Internet Message Format  |  1992-08-26  |  1.9 KB

  1. Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!data.nas.nasa.gov!taligent!apple!city-lights.apple.com!user
  2. From: mattd@apple.com (Matt Deatherage)
  3. Newsgroups: comp.sys.apple2
  4. Subject: Re: hfs.FST?
  5. Message-ID: <mattd-200892145812@city-lights.apple.com>
  6. Date: 20 Aug 92 21:58:39 GMT
  7. References: <1992Aug18.161646.19380@yang.earlham.edu>
  8. Sender: usenet@Apple.COM
  9. Followup-To: comp.sys.apple2
  10. Organization: Developer Technical Support, Apple Computer, Inc.
  11. Lines: 26
  12.  
  13. In article <1992Aug18.161646.19380@yang.earlham.edu>,
  14. deviant@yang.earlham.edu wrote:
  15. >    Is there any way for GS/OS to recognize the file types of mac documents 
  16. > and applications?  I'm talking some way for these files to be recognized 
  17. > in the same way other files are recognized.  No more unknown filetype when 
  18. > you use Info.  And if that was recognizable, then there could be icons 
  19. > assigned to mac files/apps, and not by filename.
  20.  
  21. HFS uses four-byte file types and four-byte creator types.  GS/OS uses
  22. two-byte file types and four-byte auxiliary types.  There's no way to
  23. exclusively map all HFS types into GS/OS types, and trying to do so would
  24. create a file type assigment list from hell that no one could ever, ever
  25. possibly keep up with.
  26.  
  27. The default mappings are listed in "Programmer's Reference for System 6.0,"
  28. and the option_list information in that book shows you how you can get at
  29. the untranslated HFS file type and creator type using GS/OS calls.  This
  30. is how Teach recognizes MacWrite documents, for example.
  31.  
  32. ============================================================================
  33. Matt Deatherage, Developer Support Center, Apple Computer, Inc.
  34. Personal mail only -- please POST technical questions, questions about
  35. Apple and its policies, where to find documents and related inquiries.
  36. The opinions I express don't represent Apple, which makes us both happy.
  37. ============================================================================
  38.