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: Gautier Subject: Re: UNIX Compressed Files From A PC Date: 2000/08/14 Message-ID: <3997C391.8DE058D6@maths.unine.ch>#1/1 X-Deja-AN: 658066931 Content-Transfer-Encoding: 7bit References: <3995C90A.E72C055F@acm.org> To: "Marin D. Condic" X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: 14 Aug 2000 12:01:52 +0100, mac13-32.unine.ch Organization: Maths - Uni =?iso-8859-1?Q?Neuch=E2tel?= MIME-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-08-14T00:00:00+00:00 List-Id: Marin D. Condic: > I'm looking for a package that can access UNIX compressed files and > 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 > need. Does anybody know of an Ada package that is generally available > that can do this? 1st solution: (re-)compress your files with 'zip' that exist on all platforms: http://www.info-zip.org/pub/infozip/ , then use my Unzip.Streams package - link below. It has Open/Read/Close, Seek can be easily added, but Write is a nonsense for compressed files... 2nd solution: adapt the C code for .Z files by customizing Unzip.Streams. But I guess it would take big time * person resources... HTH _________________________________________________________ Gautier -- http://members.xoom.com/gdemont/unzipada.htm