comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin D. Condic" <mcondic-nospam@acm.org>
Subject: Re: UNIX Compressed Files From A PC
Date: 2000/08/14
Date: 2000-08-14T14:58:39+00:00	[thread overview]
Message-ID: <3998091B.FDAE6F34@acm.org> (raw)
In-Reply-To: 3996FCBB.3FCAD8F8@netwood.net

E. Robert Tisdale wrote:
> I suspect that you've been sent on a fool's errand.
> The right way to do this is to write a UNIX shell script
> which pipes the output from uncompress to a remote process on the NT
> which filters the  uncompressed data then pipes it back to compress on UNIX.
> I think you could do the whole thing with a single UNIX command
> on two or three lines in the shell script.
> Anyway, it's just the sort of assignment that an old UNIX programmer
> with a sick sense of humor would give to a cocky young Windows programmer
> to teach him a little something about UNIX and, of course, humility;-)

I wish I were young - and a Windows programmer :-) Humility is not my
strong suit. It's hard to be humble when you're the best there is.

As I've said in a number of other posts: I cannot change the
requirement. The file *MAY-OR-MAY-NOT* live on a Unix box. Relying on
Unix to uncompress the file is NOT an option. The only thing I can count
on is that at some point in time, the file was compressed using the Unix
"compress" command (LZW algorithm, ".z" file format, whatever that
implies.) I cannot change the compression algorithm. I cannot rely on
the Unix operating system. I cannot use shell scripts or some other
stuff to unpack the file. I've got to *READ* the file in its compressed
format and get it decompressed on the fly.

This is not, in principle, a difficult thing to do - nor an uncommon
thing to do. Look at the Win32.LZExpand stuff provided by the
Win32ada/Win32api. Thats all I need. Just that - only for ".z" files
instead of Windows compressed files. As I understand it, Unix will just
do this for you automagically, when you open and start reading the file.
My only problem is an unsupported file format on Windoze. Why does it
seem that what I want to do is so unusual or oddball?

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. 
======================================================================




  reply	other threads:[~2000-08-14  0:00 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-12  0:00 UNIX Compressed Files From A PC Marin D. Condic
2000-08-13  0:00 ` Don Yuniskis
2000-08-13  0:00   ` Marin D. Condic
2000-08-13  0:00     ` E. Robert Tisdale
2000-08-13  0:00       ` Marin D. Condic
2000-08-13  0:00         ` E. Robert Tisdale
2000-08-13  0:00           ` Marin D. Condic
2000-08-13  0:00             ` E. Robert Tisdale
2000-08-14  0:00               ` Marin D. Condic
2000-08-17  0:00                 ` Thomas Quinot
2000-08-17  0:00                   ` Ted Dennison
2000-08-17  0:00                     ` Jean-Pierre Rosen
2000-08-17  0:00                       ` Ted Dennison
2000-08-18  0:00                     ` Tarjei T. Jensen
2000-08-18  0:00                       ` Tucker Taft
2000-08-13  0:00     ` Don Yuniskis
2000-08-13  0:00       ` Marin D. Condic
2000-08-13  0:00         ` Don Yuniskis
2000-08-13  0:00         ` E. Robert Tisdale
2000-08-14  0:00           ` Marin D. Condic [this message]
2000-08-13  0:00 ` James Moe
2000-08-13  0:00   ` Marin D. Condic
2000-08-14  0:00     ` Tarjei T. Jensen
2000-08-14  0:00       ` Marin D. Condic
2000-08-14  0:00         ` Gautier
2000-08-14  0:00 ` Ted Dennison
2000-08-14  0:00   ` Marin D. Condic
2000-08-14  0:00     ` Ted Dennison
2000-08-14  0:00       ` Marin D. Condic
2000-08-14  0:00         ` E. Robert Tisdale
2000-08-14  0:00           ` Ted Dennison
2000-08-14  0:00             ` Keith Thompson
2000-08-15  0:00               ` Ted Dennison
2000-08-15  0:00           ` Marin D. Condic
2000-08-15  0:00             ` E. Robert Tisdale
2000-08-15  0:00             ` Bill Dale
2000-08-15  0:00               ` Larry Kilgallen
2000-08-16  0:00                 ` Marin D. Condic
2000-08-15  0:00             ` Don Yuniskis
2000-08-15  0:00               ` E. Robert Tisdale
2000-08-18  0:00     ` Stefan Skoglund
2000-08-14  0:00 ` Gautier
2000-08-18  0:00 ` Stefan Skoglund
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox