]> granicus.if.org Git - file/commitdiff
squeeze and crunch formats, from Keith Waclena.
authorIan Darwin <ian@darwinsys.com>
Tue, 16 Feb 1988 09:22:02 +0000 (09:22 +0000)
committerIan Darwin <ian@darwinsys.com>
Tue, 16 Feb 1988 09:22:02 +0000 (09:22 +0000)
magic/Magdir/compress

index d90c6ba908197dcbedd6f6145ce51f3052622425..9d94b07134ec406ba99a53673b1618c3e4c8a5dc 100644 (file)
@@ -2,7 +2,9 @@
 # CPL  - added pack to /etc/magic
 0      short           017436          packed data
 0      short           0145405         huf output
-
+#
+# Formats for "compress"
+#
 0      string          \037\235        compressed data
 # non block compressed
 >2     byte            12              - with 12 bits
 >2     byte            142             - with 14 bits
 >2     byte            143             - with 15 bits
 >2     byte            144             - with 16 bits
+#
+# Squeeze and Crunch...
+# These numbers were gleaned from the Unix versions of the programs to
+# handle these formats.  Note that I can only uncrunch, not crunch, and
+# I didn't have a crunched file handy, so the crunch number is untested.
+#                              Keith Waclena <keith@cerberus.uchicago.edu>
+0      short           0x76FF          squeezed data (CP/M, DOS)
+0      short           0x76FE          crunched data (CP/M, DOS)