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: auryn@rtd.com (Don Yuniskis) Subject: Re: UNIX Compressed Files From A PC Date: 2000/08/13 Message-ID: #1/1 X-Deja-AN: 657652437 References: <3995C90A.E72C055F@acm.org> X-Complaints-To: Abuse Role , We Care X-Trace: monger.newsread.com 966130220 198.102.68.2 (Sat, 12 Aug 2000 21:30:20 EDT) Organization: none NNTP-Posting-Date: Sat, 12 Aug 2000 21:30:20 EDT Newsgroups: comp.lang.ada Date: 2000-08-13T00:00:00+00:00 List-Id: In article <3995C90A.E72C055F@acm.org>, Marin D. Condic wrote: >I'm looking for a package that can access UNIX compressed files and Are you looking for files that have been compress(1)-ed, freeze(1)-d, zip(1)-ed, gzip(1)-ed, bzip2(1)-ed, etc.? The algorithms used differ. >unpack them for me. I'm in a situation where I've got to read these >files from a WinNT PC and the files will be resident either on the PC or >across the net on a Sun platform. I want to access them as any other >byte stream file - Open/Read/Write/Seek/Close operations are what I I assume you *really* mean a "package" and not some other solution to your problem (i.e. unpacking them outside *your* application). If you want to be able to *write* to the packed files, then you obviously either want them to be unpacked before you access them or "wrap" the open/close with unpack/pack... ? Or, was the reference to "write" an overzealous typo? :> >need. Does anybody know of an Ada package that is generally available >that can do this? The sources to all of the compressors/decompressors in popular use are readily available (though almost always written in C) --don