home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / compsrcs / misc / volume05 / compress.mgc < prev    next >
Encoding:
Internet Message Format  |  1991-08-27  |  1.5 KB

  1. From decwrl!labrea!rutgers!tut.cis.ohio-state.edu!cwjcc!hal!ncoast!allbery Sat Nov  5 22:38:38 PST 1988
  2. Article 705 of comp.sources.misc:
  3. Path: granite!decwrl!labrea!rutgers!tut.cis.ohio-state.edu!cwjcc!hal!ncoast!allbery
  4. From: steve@nuchat.UUCP (Steve Nuchia)
  5. Newsgroups: comp.sources.misc
  6. Subject: v05i028: /etc/magic lines for compress
  7. Message-ID: <2643@nuchat.UUCP>
  8. Date: 31 Oct 88 02:59:39 GMT
  9. Sender: allbery@ncoast.UUCP
  10. Reply-To: steve@nuchat.UUCP (Steve Nuchia)
  11. Organization: Public Access - Houston, Tx
  12. Lines: 26
  13. Approved: allbery@ncoast.UUCP
  14.  
  15. Posting-number: Volume 5, Issue 28
  16. Submitted-by: "Steve Nuchia" <steve@nuchat.UUCP>
  17. Archive-name: compress.magic
  18.  
  19. This is one of those little throw-away things that normally
  20. don't get posted.  It was pointed out to me recently that
  21. we need to make an extra effort to get this kind of stuff
  22. out, so here it is.
  23.  
  24. If you have a file(1) compatible with the one in sysVr3
  25. adding the following lines to /etc/magic will make it
  26. recognize compressed files.  I was motivated to add this
  27. when I imported a bunch of files from BSD systems and the .Zs
  28. all got lopped off.
  29.  
  30.  
  31. 0    short        40223        compressed data
  32. >2    byte        <0200        - %d bits
  33. >2    byte        0214        - 12 bits
  34. >2    byte        0215        - 13 bits
  35. >2    byte        0220        - 16 bits
  36.  
  37. -- 
  38. Steve Nuchia        | [...] but the machine would probably be allowed no mercy.
  39. uunet!nuchat!steve  | In other words then, if a machine is expected to be
  40. (713) 334 6720        | infallible, it cannot be intelligent.  - Alan Turing, 1947
  41.  
  42.  
  43.