Message-Id: <200107290156.VAA28777@delorie.com> From: "Juan Manuel Guerrero" Organization: Darmstadt University of Technology To: djgpp-announce AT delorie DOT com Date: Sat, 28 Jul 2001 19:52:13 +0200 Content-type: text/plain; charset=US-ASCII Subject: ANNOUNCE: Update of DJGPP port of GNU sed 3.02.80 uploaded Reply-To: djgpp AT delorie DOT com This is a port of GNU Sed 3.02.80 to MSDOS/DJGPP. This port is based on the alpha release of GNU Sed available as: ftp://alpha.gnu.org/gnu/sed/sed-3.02.80.tar.gz Sed specific changes. ===================== The following are some of the new features available with sed 3.02.80: 1) Added new command-line options: -u, --unbuffered Do not attempt to read-ahead more than required; do not buffer stdout. -l N, --line-length=N Specify the desired line-wrap length for the `l' command. A length of "0" means "never wrap". 2) New internationalization translations added: fr ru de it el sk pt_BR sv (plus nl from 3.02a). 3) The s/// command now understands the following escapes (in both halves): \a an "alert" (BEL) \f a form-feed \n a newline \r a carriage-return \t a horizontal tab \v a vertical tab \oNNN a character with the octal value NNN \dNNN a character with the decimal value NNN \xNN a character with the hexadecimal value NN This behavior is disabled if POSIXLY_CORRECT is set. Please read the news and changelog files to become familiar with the changes in this product. Read sed.info to become familiar with Sed. DJGPP specific changes. ======================= - Changes needed for NLS support with DJGPP. - Eli Zaretskii contributed a patch to open the input stream in binary mode on platforms, like DOS/WIN95, that distinguish between text and binary files. This will allow to process files that contain embedded ^Z and lone ^M characters. This patch has already been submitted by him to the Sed maintainer, so this feature may become a standard feature in the next official sed release. Thanks to Eli Zaretskii for contributing this. - If you have no DJGPP port of Sed installed and you want to rebuild this package from sources, please read Eli Zaretskii's readme file called: README.ORIG located in the djgpp directory. This explicitely explains how to build the binary from the source package if no Sed executable is installed. As usual, all djgpp specific files (config.bat, diffs, readme files, etc.) are located in the djgpp subdir. This package has been configured and compiled with NLS support, so you can expect the binary to talk in your mother tongue if supported. The README file explains how to set up the required variables in your djgpp.env to enable NLS. It should be noticed that binaries have been compiled using the GNU regex function that comes with the package. This functions are 2-4 times **SLOWER** than DJGPP's libc regex functions for common sed jobs. Although Sed's configure script offers an option to select the regex functions that shall be used for creating the binary, this option can NOT be used. Sed's sources have been changed in such a way that it has become impossible to compile the sources with anything else than the supplied LINUX/GNU regex functions. This misfeature has already been reported to the Sed maintainer. In conclusion: it is up to the user to decide if the new features offered by this port are worth to be paid with performance slow down. The binary package contains two different Sed programs. One called sed.exe (size: 667KB) that offers NLS (native language support) and a second called nnsed.exe (no NLS sed; size: 58KB) without NLS. The later is intended for people who don't need NLS but would like to minimize disk space, or be able to take Sed on a floppy as a part of a minimal set of tools. Both binaries have been completely stripped (symbol table, debug info and stub removed) and have been compressed using upx. Please not that the previous Sed port, sed302[bds].zip, has *NOT* and will *NOT* be removed from simtel.net. The port consists of the usual three packages that can be downloaded from simtel.net and mirrors as (timestamp: 2001-07-28): Sed 3.02.80 binary, info and man format documentation: http://www.simtel.net/gnudlpage.php?product=/gnu/djgpp/v2gnu/sed3028b.zip&name=sed3028b.zip Sed 3.02.80 dvi, html and ps format documentation: http://www.simtel.net/gnudlpage.php?product=/gnu/djgpp/v2gnu/sed3028d.zip&name=sed3028d.zip Sed 3.02.80 source: http://www.simtel.net/gnudlpage.php?product=/gnu/djgpp/v2gnu/sed3028s.zip&name=sed3028s.zip Send Sed specific bug reports to . Send suggestions and bug reports concerning the DJGPP port to comp.os.msdos.djgpp or and cc them to me. Enjoy. Guerrero, Juan Manuel