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: <3996DCFB.22A75F67@acm.org>#1/1 X-Deja-AN: 657834014 Content-Transfer-Encoding: 7bit References: <3995C90A.E72C055F@acm.org> <3996B1FC.A5892C21@acm.org> <3996A9CD.A9EF115@netwood.net> <3996BB8D.1CD77C10@acm.org> <3996C305.338F5769@netwood.net> Organization: Quadrus Corporation X-Sender: "Marin D. Condic" (Unverified) X-Server-Date: 13 Aug 2000 17:39:19 GMT Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-08-13T17:39:19+00:00 List-Id: E. Robert Tisdale wrote: > UNIX? I thought that you were doing this in Windows. > What about using a UNIX pipe? > One more time. With feeling. :-) The program runs on a WinNT box. It must open the file which (maybe) lives on a UNIX box somewhere down at the other end of the hose. I've got to use the facilities that are on the WinNT box because that's where I run and I may have to open the file almost anywhere - including the WinNT box. Its a UNIX compressed file. I can't count on UNIX to uncompress it for me. I've got to do the decompression myself. I can't decompress the file and write it to another file on a disk somewhere and then read it with plain, vanilla I/O. Hence, I need a subroutine library that will perform the functions I've outlined in previous posts. > > You can get the source for the GNU versions of compress and uncompress. > Bzzzzzzzzzt! Wrong answer. Check prior posts. Even if the GNU stuff would work, it's only going to do what I could have done by typing "uncompress " at the Unix command line or done with PKZip or Winzip or a thousand other utilities. See below: > > I really have to do Open/Read/Write/Seek/Close - ^^^^^^ |||||| And I'm NOT kidding! I don't have time to sort through someone elses LZW algorithm, modify it to have functions described above, debug it, etc. If I had time to do that, I'd go get a book that described the thing itself and run off and built my own. I'd probably do a better job of writing what I need than I'd get by cobbling something together out of GNU code, etc. What I'm hoping to find is an "off-the-shelf" answer that I can plug into the code I've got, declare victory, collect my check and move on to something a little less silly. If you know of a package that will do what I've described, this would be helpful. 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. ======================================================================