Mail Archives: djgpp/2009/04/10/07:45:24
"Rugxulo" <rugxulo AT gmail DOT com> wrote in message
news:f5509665-5037-4f7b-b71b-8868ddace192 AT l1g2000yqk DOT googlegroups DOT com...
> This was all theoretical anyways. No loss since I didn't get my hopes
> up unrealistically. But there are a few options,
Sorry, wasn't following too well... What options? Options for not using
gzip?...
Well, PKZIP and PKUNZIP or similar functionality (WinZip, InfoZip, 7-ZIP,
.zip folders as part of Windows, etc.) is usually available or easily
obtainable for DOS and Windows. PKZIP isn't GPL so PKUNZIP doesn't require
distributing source. Depending on the version, it's 28KB or 34KB. InfoZip,
which is PKZIP/PKUNZIP compatible, is another possibility.
> Fix DJTAR to unpack .gz instead of .tar.gz
First, why must this file be .gz instead of .tar.gz? Can't the .gz file be
uncompressed and then recompressed as .tar.gz?... It should take just a few
seconds.
Second, what about minigzip.c by Jean-loup Gailly?
> Use another portable tool
What about bzip2 for DOS? (Eli should be familiar with it...)
Maybe... maybe... another option would be your own package manager. As you
know, tar.gz are tar'd and gzip'd. tar collects the files into a single
package and gzip compresses them. .rpm's are basically cpio.gz with an
extra header. That is cpio'd and gzip'd. Except for the header, cpio
collects the files into a single package and gzip compresses them. But,
you're trying to "dump" gzip, so perhaps you could use tar or cpio with some
other compressor...
InfoZip, PKZIP and PKUNZIP compatible, and still provides MS-DOS versions:
http://www.info-zip.org/
John Goltz has Public Domain xzip.c and xunzip.c part of XOS OS sources in
xossrc.zip. I'm not sure if these are PKZIP compatible compressors...
http://www.openxos.org/download.html
Public Domain rpmunpac.c ported to DJGPP is here (needs cpio and gzip after
the fact...):
http://groups.google.com/group/comp.os.msdos.djgpp/msg/07dac4062df95adc?hl=en
old Public Domain cpio is here:
http://groups.google.com/group/net.sources/msg/9801455d5523f8cd?hl=en
old Public Domain tar, PDTAR is here in 3 parts. You might also locate
these as pdtar.tar.Z or pdtar.arc etc.
http://groups.google.com/group/comp.sources.unix/msg/b702702e16afd5e9?hl=en
http://groups.google.com/group/comp.sources.unix/msg/f380d5a92c79edb8?hl=en
http://groups.google.com/group/comp.sources.unix/msg/43cf62672c39936b?hl=en
Paul Edwards has the Public Domain mvsunzip as part of his Public Domain
utilities collection. AFAICT, it extracts files, but I'm not sure what
format other than probably from IBM. It's definately missing "inflate"...
It's probably not worth a link.
Rod Pemberton
- Raw text -