home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / mac / misc / 21173 < prev    next >
Encoding:
Text File  |  1992-12-29  |  2.3 KB  |  55 lines

  1. Newsgroups: comp.sys.mac.misc
  2. Path: sparky!uunet!spool.mu.edu!agate!dog.ee.lbl.gov!hellgate.utah.edu!csn!stortek!sanitas!pg
  3. From: pg@sanitas.stortek.com (Paul Gilmartin)
  4. Subject: Re: mcvert, binhex, file forks tutorial
  5. Message-ID: <1992Dec29.184930.13944@stortek.com>
  6. Sender: usenet@stortek.com
  7. Nntp-Posting-Host: sanitas.stortek.com
  8. Organization: Storage Technology Corp.
  9. X-Newsreader: TIN [version 1.1 PL7]
  10. References: <C011uA.5zA@iapa.uucp%mailhost.ecn.uoknor.edu>
  11. Date: Tue, 29 Dec 1992 18:49:30 GMT
  12. Lines: 41
  13.  
  14. bryan d oakley (ctrbdo@iapa.uucp%mailhost.ecn.uoknor.edu) wrote:
  15. : A brief tutorial for a new mac owner, please:
  16. : If I take my .hqx file(s) and convert to MacBinary and somehow manage
  17. : to get these files to my mac, are they ready to go or do the
  18. : MacBinary files require yet another round of translation to become
  19. : executables?  And, what's the deal with the forks?  Just what is a
  20. : fork, and what is it doing in my files...
  21.  
  22. In stark contrast to a Unix file, which is flat and featureless,
  23. a Mac file in highly structured.  It consists of two (possibly empty)
  24. forks: the Data Fork, which contains (for example) the plain text
  25. of a document, and the Resource Fork, which contains things such as
  26. Icons, Window definitions, Fonts, and executable code segments.
  27.  
  28. The Resource Fork of a simple text file is generally empty; the Data
  29. Fork of an executable program is generally empty.
  30.  
  31. MacBinary is a binary archiving of a Mac file's Data and Resource forks
  32. and essential directory Information (3 things) into a pure data fork file.
  33. It's like a tar in that it preserves creation dates and Creator ID and 
  34. File Type, which serve some of the purpose of a Unix access mode.
  35. :     -- and sure enough --
  36. :     % ls -l Moria*
  37. :     -rw-rw----  1 ctrbdo     330240 Dec 29 09:21 Moria_1.0.cpt.bin
  38. : So now what do I do?
  39.  
  40. The .bin denotes MacBinary.  The communication program that transfers
  41. the file to the Mac will most likely undo this.  The .cpt is a
  42. Compact Pro compressed archive.  Compact Pro (shareware) or 
  43. Stuffit Expander (freeware) will undo that.
  44.  
  45. Get info-mac/util/stuffit-expander-30.hqx from sumex-aim.stanford.edu.
  46. : If all of this is in a FAQ somewhere, just point me in the right
  47. : direction.   Many thanks.
  48.  
  49. It is, but it's expired at our site, anyway.  Wait till next year.
  50.