[comp.sources.d] `Z' files

samples@RENOIR.BERKELEY.EDU (A. Dain Samples) (05/14/87)

I fear I did not make myself clear enough.  My problem is not
	<filename>.Z
rather it is
	<filename>.<suffix1>Z<suffix2>

I.e. I unarchived a file from the SIMTEL20 archives, and got the file
	PCPI6502.MZP
`compress' and its associated programs do not recognize the format of this
program.  Furthermore, when I do `od -cx PCPI6502.MZP' I get

0000000   v 376   P   C   P   I   6   5   0   2   .   M   A   P  \0   !
           76fe    5043    5049    3635    3032    2e4d    4150    0021
0000016  \0 005   * 233 215 346   c   1 244 306   i   0 233 004 004
           2000    052a    9b8d    e663    31a4    c669    309b    0404
0000032 323  \t 300   A 006 020 020   N 007 003   a 224   @   6 032 214
           d309    c041    0610    104e    0703    6194    4036    1a8c
	:
	:

I was informed that the program I need is PD:<UNIX.SQ-USQ>UNCR231A.C
so I am waiting for it to appear to give it a try. (I just hope it hasn't
been `Z'd!)

Dain

dhesi@bsu-cs.UUCP (05/16/87)

In article <8705141943.AA29124@renoir.Berkeley.EDU> 
samples@RENOIR.BERKELEY.EDU (A. Dain Samples) reminesces about an
article in which he asked how to uncompress files with a Z suffix:
>I fear I did not make myself clear enough.  My problem is not
>	<filename>.Z
>rather it is
>	<filename>.<suffix1>Z<suffix2>

Right.

>I was informed that the program I need is PD:<UNIX.SQ-USQ>UNCR231A.C
>so I am waiting for it to appear to give it a try. (I just hope it hasn't
>been `Z'd!)
>
>Dain

There is a popular CP/M utility set called CRUNCH and UNCRUNCH which
uses Ziv-Lempel compression and creates compressed files with the
?Z? suffix.  The original CP/M utility is written in assembly language
and UNCR231A.C is a portable C version of it.  I believe it uses
a 12-bit code.

So you are on the right track.
-- 
Rahul Dhesi         UUCP:  {ihnp4,seismo}!{iuvax,pur-ee}!bsu-cs!dhesi