From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1ece2318f24b35a7 X-Google-Attributes: gid103376,public From: "Marin D. Condic" Subject: Re: UNIX Compressed Files From A PC Date: 2000/08/13 Message-ID: <3996AD0B.64A8C7D6@acm.org>#1/1 X-Deja-AN: 657780334 Content-Transfer-Encoding: 7bit References: <3995C90A.E72C055F@acm.org> <3995E7D2.DEFF8821@rtd.com> Organization: Quadrus Corporation X-Sender: "Marin D. Condic" (Unverified) X-Server-Date: 13 Aug 2000 14:14:11 GMT Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-08-13T14:14:11+00:00 List-Id: James Moe wrote: > Have you looked at GNU's gzip? It de-/compresses unix compressed > files as well as its own compression format (which is quite good, much > better than ZIP or PKZIP). If you need code, you could get the > source.... > >From what I've been told, GNU's gzip will not handle Unix ".z" files properly. Besides, I am in a situation where I have to solve this problem quickly from the perspective of an Ada (or C++) package that will do the Open/Read/Write/Seek/Close capabilities I mentioned. If I have to glom onto some GNU code and cobble a solution together for myself, this will take too much time. I've encountered some incredibly badly written C code (why does that not surprise me?) that successfully decompresses the files. The only problem is that it doesn't provide the capabilities I need (if you give it a file it will decompress it for you into another file - could have done that from the command line already.) Because its so badly written and obfuscated, it could take weeks to butcher it into something that would do the 5 functions I mentioned. Thanks for the info. If you know of something a little closer to my requirements, please pass that along. MDC -- ====================================================================== Marin David Condic - Quadrus Corporation - http://www.quadruscorp.com/ Send Replies To: m c o n d i c @ q u a d r u s c o r p . c o m Visit my web site at: http://www.mcondic.com/ "Take away the punchbowl just when the party gets going" -- William McChesney Martin, Former Fed chairman, explaining what a sound central bank must always do. ======================================================================