Mail Archives: djgpp/1996/11/12/04:33:26
Alaric B. Williams wrote:
>
[...]
> ZIPing that file, PKZIP would notice the repeated "Hello World", and
> probably replace each copy of it with a two byte escape sequence. And
> the .tar file headers will be mostly the same (size of file, probably
> most of the filename (test1,test2,test3...), etc) and produce immense
> compression.
>
> Neither ZIP nor TAR alone can compress the files themselves. The whole
> is greater than the sum of the parts!
>
Just to jump into that thread:
With the real mode ``unzip'' you can make a self-extracting
executable. I'm not quite sure if this works with the djgpp
version. So what comes to my mind is something like a
self-extracting djtar with built-in gzip. I'm not sure if this
works, because you'll have to skip the real-mode stub, the
coff part and then untar/unzip the rest of the .EXE.
And, maybe most important, you'll have to ship the DPMI provider
somehow...
But combinig this you get the good overall compression rates
_and_ easy-to-use installing.
--
Ciao
Tom
*************************************************************
* Thomas Demmer *
* Lehrstuhl fuer Stroemungsmechanik *
* Ruhr-Uni-Bochum *
* Universitaetsstr. 150 *
* D-44780 Bochum *
* Tel: +49 234 700 6434 *
* Fax: +49 234 709 4162 *
* Voice/Fax Box: +49 2561 91371 2056 *
* http://www.lstm.ruhr-uni-bochum.de/~demmer *
*************************************************************
- Raw text -