Message-Id: <201106261602.p5QG2pv4002543@delorie.com> From: Juan Manuel Guerrero To: djgpp-announce AT delorie DOT com Subject: ANNOUNCE: DJGPP port of GNU less 444 uploaded. Date: Sun, 26 Jun 2011 17:51:58 +0200 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline This is a port of GNU less 444 to MSDOS/DJGPP. DJGPP specific changes. ======================= This port no longer uses the supplied DOS/DJGPP specific files defines.ds and Mekefile.dsg. To configure this package the stock configure script is used. All the required support files are stored in the /djgpp directory. You can configure the sources by starting config.bat and passing the required options. To be able to compile the sources snprintf() and some other functions are required. These functions are provided by libsupp.a, so you will need to install the package: ftp://ftp.delorie.com/pub/djgpp/beta/v2tk/lsupp64a.zip before you can configure and compile the sources. This port also offers perl-regexp (pcre) support so if you want to compile the sources with this feature you will have to install the pcre library first. This is available as: ftp://ftp.delorie.com/pub/djgpp/current/v2tk/pcre812b.zip or ftp://ftp.delorie.com/pub/djgpp/beta/v2tk/pcre812b.zip If you want this feature you will have to reconfigure and recompile the port passing the "pcre" command line option to config.bat. By default this feature will be disabled and the stock posix regex support will be compiled in. The binary package contains both programs, the one without pcre support is called "less" and the one with pcre support is called "lesspcre". Keep the one you prefer and delete the other one. This port has been configured and compiled to use the MS-DOS "edit" as the default editor. Which editor shall be used at runtime can always be specified by the VISUAL and EDITOR environment variables. At runtime, less will detect which editor shall be started and adjust the command line options passed to the editor accordingly. This means that edit will get only the file name but all other editors get all default options or those options specified by the LESSEDIT environment variable. Less will search for all configuration and history files at the standard posix places and with the standard posix names before searching at the standard dos places with the standard dos names. Less will look for the system wide configuration files as: /dev/env/DJDIR/bin/.sysless (deprecated; with LFN support) /dev/env/DJDIR/bin/_sysless (deprecated; without LFN support) /dev/env/DJDIR/etc/sysless c:\_sysless Less will always give the posix versions precedence over the dos versions of the files. This means that it will try to load /dev/env/DJDIR/etc/sysless and if this fails it tries to load c:\_sysless. The other twos are deprecated but still supported. Here again /dev/env/DJDIR/bin/.sysless will be tried first and if it fails because it does not exists or because no LFS support is available then /dev/env/DJDIR/bin/_sysless will be tried. The same applies to the user configuration files and history files. The user configuration file will be searched as $HOME/.less and if this fails the dos version $HOME/_less will be tried. If this fails too then the file _less will be searched along the dos path as it used to be. I have build this port with LFN support. I do not know if it is possible to build it without. As usual, all djgpp specific files (config.bat, diffs, README files, etc.) are located in the /djgpp directory. The changes I have done to the sources are documented in the /djgpp/diffs file. For further information about GNU less please read the info docs and NEWS file. The port has been compiled using stock djdev203 (patchlevel 2) and consists of two packages that can be downloaded from ftp.delorie.com and mirrors as (timestamp 2011-06-25): less 444 binaries, info and man format documentation: ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/lss444b.zip less 444 source: ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/lss444s.zip The binaries have been produced a second time using the stock version of djdev204 beta library. This package is available at ftp.delorie.com and mirrors as (timestamp 2011-06-25): less 444 binaries, info and man format documentation: ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/lss444b.zip Send less specific bug reports to . Send suggestions and bug reports concerning the DJGPP port to comp.os.msdos.djgpp or . Enjoy. Guerrero, Juan Manuel