X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-Id: <201010030438.o934cUuC013115@delorie.com> From: Juan Manuel Guerrero To: djgpp-announce AT delorie DOT com Subject: ANNOUNCE: DJGPP port of GNU grep 2.7 uploaded. Date: Sun, 3 Oct 2010 01:57:07 +0200 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline This is a port of GNU grep 2.7 to MSDOS/DJGPP. DJGPP specific changes. ======================= DJGPP specific changes are those required to implement colorization support for this port. If grep is called with the command line option --color and the output is directed to the screen then the default colors will be used to mark matches, file names and line numbers. If the output does not go to the screen then colorization is automatically suppressed. Read the docs to learn how to control the color using the environment variable GREP_COLORS. As usual all changes are documented in the diffs file that is stored in the /djgpp directory. Please note that to run the test suite produced with autoconf 2.64 and later you must install mktmp16b or later. Because the test suite also tries to test multibyte patterns but multibyte strings are not fully supported by DJGPP some tests will be skipped or fail. The yesno test is known to fail, so please do not report it. Please also note that there is a function name clash between gnulib's and grep's gettext wrapper and djgpp's old BORLAND compatibility gettext function declared in conio.h. This issue has been solved in djdev204. To solve the problem for djdev203, I provide the patch /djgpp/conio.patch that will change djdev203's conio.h accordingly to djdev204 conio.h. After this change the name clash will be solved in the same way as it has been solved for djdev204. The patch only concerns this name clash. This port has been configured with perl-regexp (pcre) support enabled. This means that you will have to install pcre libray available as: ftp://ftp.delorie.com/pub/djgpp/current/v2tk/pcre810b.zip or ftp://ftp.delorie.com/pub/djgpp/beta/v2tk/pcre810b.zip if you decide to compile the sources. If you prefer to disable the pcre support you will have to reconfigure and recompile the suorces again, but this time passing the "no-pcre" command line option to config.bat. To build this port and run the testsuite you will need LFN support. If you use djdev204 you will have to adjust your /dev/env/DJDIR/include/time.h. The _rdtsc declaration and definition both needs static as qualifier and the extern qualifier removed from the declaration. From the 29 testcases 1 will fail and 11 will be skipped. yesno testcase as usual fails and the 11 skipped are those multi bytes testcases that require UTF-8 locale. If you compile the sources without pcre support 2 more testcases (pcre and pcre-z) will be skipped. For further information about GNU grep please read the info docs and NEWS file. The port consists of the usual three packages that have been compiled using stock djdev203 and that can be downloaded from ftp.delorie.com and mirrors as (time stamp 2010-10-03): grep 2.7 binaries, info and man format documentation: ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/grep27b.zip grep 2.7 dvi, html, pdf and ps format documentation: ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/grep27d.zip grep 2.7 source: ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/grep27s.zip For the convenience of the WinXP users binaries compiled with djdev204 are also distributed and can be downloaded from ftp.delorie.com and mirrors as (time stamp 2010-10-03): grep 2.7 binaries, info and man format documentation: ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/grep27b.zip Send grep specific bug reports to . Send suggestions and bug reports concerning the DJGPP port to comp.os.msdos.djgpp or . Enjoy. Guerrero, Juan Manuel