Mail Archives: djgpp/2001/07/03/20:19:10
This is a port of GNU Gzip 1.3 to MSDOS/DJGPP.
==============================================
The port consists of the usual three packages that can be downloaded
from simtel.net and mirrors as:
Gzip 1.3 binary, info and man format documentation:
http://www.simtel.net/gnudlpage.php?product=/gnu/djgpp/v2gnu/gzip13b.zip&name=gzip13b.zip
Gzip 1.3 dvi, html and ps format documentation:
http://www.simtel.net/gnudlpage.php?product=/gnu/djgpp/v2gnu/gzip13d.zip&name=gzip13d.zip
Gzip 1.3 source:
http://www.simtel.net/gnudlpage.php?product=/gnu/djgpp/v2gnu/gzip13s.zip&name=gzip13s.zip
DJGPP specific changes.
=======================
This port is completely based on Eli Zaretskii's port of GNU Gzip 1.2.4a
(aka gzp124a[bds].zip). This means, that all the djgpp specific funtionality
introduced with gzp124a will also be available in this new port.
This port is based on the alpha release of GNU Gzip available at:
<ftp://alpha.gnu.org/gnu/gzip/gzip-1.3.tar.gz>
All the changes done to the original distribution are documented in the
diffs file and located together with all the files needed to configure
the package (config.bat, config.sed and config.site) in the djgpp subdir.
This is different from previous ports. The old ones used a makefile located
in the msdos subdir to compile the sources. This makefile is no longer used
in this port. This port creates its own config.h und makefile through the
configure shell script. I have neither inspected nor used the makefile.dj
located in msdos subdir at all. Please, simple do not use it.
If you want to recompile the package, run the command:
make
Install the products running the command:
make install
And reconfigure the package, if needed at all, running the command:
make distclean
djgpp\config
This is a recompilation of all new features introduced with gzp124a
and also available in this port:
- Gzip now fully supports long file names on those platforms where DJGPP
can access them. This means, for example, that compressing `foo.tar' on
Windows 9X will produce `foo.tar.gz', not `foo.tgz'.
For backward compatibility, Gzip knows about butchered DOS-style
extensions of compressed files even when long file names are supported.
For example, if you have `foo.tgz' and you type "gunzip foo.tar", Gzip
will find the file even on Windows 9X. Short variants of compressed
extensions are checked *after* the long ones, so Gzip will try to find
`foo.tar.gz' before `foo.tgz'.
Long file name support is checked for each file submitted to Gzip, so
it will treat each one of them in accordance with the properties of the
file system where that file resides. In other words, you can compress
files that reside on DOS and Windows file systems within a single Gzip
command.
- Gzip will no longer appear to hang when its input comes from the console
device. Previous ports would hang when the user typed "gzip -f [Enter]".
This port allows you to either interrupt the program with Ctrl-C (if you
typed that command by mistake), or type in the input and end it with a ^Z
(if you really mean to compress the text you type from the keyboard).
This is done by avoiding to switch the console device to binary mode,
so any console reads are now done in text mode.
- The default compressed file extension is now `.gz', not `z'. This is so
that compressed file names on Windows 9X would have the usual `.gz'
extension, but it also means that `foo.cc' will now be compressed into
`foo.cgz' when long file names are not supported. Use the -N option to
`gunzip' to restore the original name, if the original file name had
more than one character in the extension.
- When restoring original file names, `gunzip' now converts all characters
that are not allowed in DOS/Windows file names to similar but valid
characters, and changes the file name if it is reserved by a DOS device
driver (like `aux.text' or `prn.tar') by prepending an underscore to it.
- In previous ports, uncompressing files with certain names on Windows 9X
when numeric tails are disabled would trigger false warnings about file
name truncation. This is now fixed.
- Truncation of long file names on plain DOS is somewhat smarter now:
`gunzip' treats several additional characters (like `-' and `_') as
part delimiters.
- Shell scripts `zmore', `zdiff', `zgrep' and others now work on DOS and
Windows, and are distributed with the binary distribution, as are all
the man pages supplied with the official GNU sources.
Send gzip specific bug reports to <bug-gzip AT gnu DOT org>.
Send suggestions and bug reports concerning the DJGPP port
to comp.os.msdos.djgpp or <djgpp AT delorie DOT com>.
Enjoy.
Guerrero, Juan Manuel <st001906 AT hrz1 DOT hrz DOT tu-darmstadt DOT de>
- Raw text -