Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!uunet!zephyr.ens.tek.com!tekgen!teksce!dales From: dales@teksce.SCE.TEK.COM (Dale Snell) Newsgroups: comp.sys.amiga Subject: Re: AmigaDOS UnCompress needed... Summary: Compress is UnCompress Keywords: compress, uncompress, zcat Message-ID: <3372@teksce.SCE.TEK.COM> Date: 29 May 90 18:51:06 GMT References: <20470@snow-white.udel.EDU> Reply-To: dales@teksce.SCE.TEK.COM (Dale Snell) Organization: The Thumps Memorial Home for the Recursively Bemused Lines: 57 [woof!] In article <20470@snow-white.udel.EDU> FAC2863%UOFT01.BITNET@cornellc.cit.cornell.edu (Leon D. Shaner) writes: | |I need a Unix style UNCOMPRESS... I have a FF version of COMPRESS, but it |only includes compressors, no uncompressors.... | To quote the Commodore folks, "It's in there!" Compress *is* the uncompressor. It will vary its behaviour depending on what its name is, or what command line switches it is given. Compress does just what is says. Copy compress to uncompress, and you get the decompressor. Copy compress to zcat and you get a decompressor that goes to stdout instead of a file, for use in pipes. Here's the command line switches: Compress: -c Compress file and send data to stdout, without writing to a file. Nondestructive. -f Force compression, even if file does not shrink, or .Z already exists. -v Verbose. Print (un)compression stats to stderr. -b Set maximum size of common substring codes, in bits (ranges from 9 to 16). Uncompress: -c Uncompress file and send data to stdout, without writing to a file. Equivalent to zcat. -v Verbose. Same as above. Note that setting bits to 16 will chew up *large* amounts of contiguous ram. You need at least two meg of Fast Ram to use compress at that setting. Setting -b 13 seems to be the largest size that will work reliably in a one megabyte Amiga, in my experience. | |Thanks in advance... | |--Leon D. Shaner... You're welcome. I hope this helps. --dds "Right before your eyes, | Dale D. Snell BIX: ddsnell We pull Laughter from the skies, | Usenet: dales@teksce.SCE.TEK.COM And he laughs until he cries, | C$erve: 74756.666@compuserve.COM Then he dies, then he dies." | Disclaimer: Tektronix buys my -- Emerson, Lake, and Palmer | time and labor, not my opinions.