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