home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / os2 / apps / 5417 < prev    next >
Encoding:
Internet Message Format  |  1992-08-19  |  2.2 KB

  1. Path: sparky!uunet!stanford.edu!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340
  2. From: dic5340@hertz.njit.edu (David Charlap)
  3. Newsgroups: comp.os.os2.apps
  4. Subject: Re: reading Mac disks (was Re: Shareware wish list  -or-  does it exist?
  5. Message-ID: <1992Aug19.195900.4077@njitgw.njit.edu>
  6. Date: 19 Aug 92 19:59:00 GMT
  7. References: <1992Aug19.005449.12527@leland.Stanford.EDU>
  8. Sender: news@njit.edu
  9. Organization: New Jersey Institute of Technology, Newark, N.J.
  10. Lines: 34
  11. Nntp-Posting-Host: hertz.njit.edu
  12.  
  13. In article <1992Aug19.005449.12527@leland.Stanford.EDU> jasonc@leland.Stanford.EDU (Jason Campbell) writes:
  14. >It might turn out to involve quite a few technical wrinkles to write a really
  15. >good such beast: I don't know where one goes for information about the
  16. >format, or what one does with the Mac "Resource fork" and the finder/desktop
  17. >information.  
  18.  
  19. Here's an idea:
  20.  
  21. For the finder/desktop information, why not read it and translate it
  22. into something WPS can understand.  Just open the window and show the
  23. icons.  Read the icons out of the apps' ICN# and bndl resources.
  24. (Actually, they're stored in the desktop file - the apps' resources
  25. are used to build the desktop file).
  26.  
  27. For the handling of resource forks:  Programs that mount MS-DOS disks
  28. on Macs generall create a hidden directory under each folder called
  29. "RSRC_FRK", where resource forks are stored (with the same file name
  30. as the app's data fork - in the main directory) in case you copy a Mac
  31. file to the DOS disk.  The long filename is stored in the desktop
  32. file.  Why not have OS/2 make Mac disks look like this as well:
  33. placing the resources in another directory.
  34.  
  35. Another idea regarding resources:  Since OS/2 likes long file names,
  36. and longer ones than the Mac (I think the Mac limits you to
  37. 35-character names), you could just make Mac files look like two
  38. files: <name>.data, and <name>.resource.  This method would make them
  39. invisible to DOS sessions, though.
  40.  
  41. Both of these could be handled just fine via an IFS, I'd think.
  42. -- 
  43.    |)  David Charlap           "I don't even represent myself
  44.   /|_  dic5340@hertz.njit.edu   sometimes so NJIT is right out!.
  45.  ((|,)
  46.   ~|~  Hi! I am a .signature virus, copy me into your .signature file.
  47.