From 3416e41da5b040cfb4bc1adee63e2e0ab5ee44df Mon Sep 17 00:00:00 2001 From: Ian Darwin Date: Tue, 16 Feb 1988 09:22:02 +0000 Subject: [PATCH] squeeze and crunch formats, from Keith Waclena. --- magic/Magdir/compress | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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) -- 2.40.0