From: Ian Darwin Date: Tue, 16 Feb 1988 09:22:02 +0000 (+0000) Subject: squeeze and crunch formats, from Keith Waclena. X-Git-Tag: FILE3_27~341 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3416e41da5b040cfb4bc1adee63e2e0ab5ee44df;p=file squeeze and crunch formats, from Keith Waclena. --- diff --git a/magic/Magdir/compress b/magic/Magdir/compress index d90c6ba9..9d94b071 100644 --- a/magic/Magdir/compress +++ b/magic/Magdir/compress @@ -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 @@ -16,3 +18,11 @@ >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 +0 short 0x76FF squeezed data (CP/M, DOS) +0 short 0x76FE crunched data (CP/M, DOS)