Dec 092017
 
Decompress utility for Unix compressed file format (files.Z).
File DECOMP2.ZIP from The Programmer’s Corner in
Category UNIX Files
Decompress utility for Unix compressed file format (files.Z).
File Name File Size Zip Size Zip Type
DECOMP.C 10056 3819 deflated
DECOMP.EXE 21173 11506 deflated
README 977 578 deflated

Download File DECOMP2.ZIP Here

Contents of the README file


Decomp
======

Compress is the standard way (nowadays) to compress files on Unix systems.
The source was distributed on comp.sources.unix, volume2

DECOMP is modified for MS-DOS, and decompresses only.

Usage : DECOMP infile outfile

The program can be greedy for space, especially if the Unix host used 16-bit
compression (they usually do). In the worst case a 'far heap size' of
200kbytes is needed. If the memory allocation fails, the size is quoted so
you can know how short you are. With smaller files less space is used; the
allocation does not exceed three times the file size.

This version was compiled under Turbo C, small model. It uses huge pointers
to manage large arrays.

B.D. Ripley

[email protected]

23/3/90 revised to circumvent 2 Turbo C bugs.
(a) The file size is sometimes negative on files larger than 32k.
(b) logical operations on long ints sign extend from bit 15
Thanks to Kevin B Black for spotting these.


 December 9, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)