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