X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-Id: <201507221833.t6MIXIDs012737@delorie.com> Date: Wed, 22 Jul 2015 18:46:02 +0200 From: "Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de) [via djgpp-announce AT delorie DOT com]" To: djgpp-announce AT delorie DOT com Subject: ANNOUNCE: DJGPP port of GNU less 458 uploaded (DJGPP 2.05 only). Content-Type: text/plain; charset=ISO-8859-15; format=flowed Reply-To: djgpp AT delorie DOT com This is a port of GNU less 458 to MSDOS/DJGPP. GNU "less" is a paginator similar to "more" or "pg". DJGPP specific changes. ======================= This is the first port that has been compiled using djdev205. Starting with this port version I will no longer support neither djdev204 nor djdev203. 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. 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/beta/v2tk/pcre836b.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. 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. The port has been configured and compiled on WinXP SP3. There is no guarantee that this may be possible with any other DOS-like OS. Due to the massive use of long file names it will not be possible to configure and compile without LFN support. The port has been compiled using gcc510 and bnu225br2. The port has been tested by using it. I have used them only on WinXP. It has worked flawlessly. I do not konw if this will ever be the case on FreeDOS. I have never used/tested them in that environment. 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. This is an verbatim extract of the NEWS file: ------------------------------------------------------------------------------- Major changes between "less" versions 451 and 458 * Allow backslash escaping of metacharacters in LESS environment variable after the --use-backslash option. * Don't quit if syntax errors are found in command line options. * Increase sizes of some internal buffers. * Fix configure bug with --with-regex=none. * Fix crash with "stty rows 0". * Fix Win32 attribute display bug. * Fix display bug when using up/down arrow on the command line. ====================================================================== Major changes between "less" versions 444 and 451 * Add ESC-F command to keep reading data until a pattern is found. * Use exit code of LESSOPEN script if LESSOPEN starts with "||". * When up/down arrow is used on the command line immediately after typing text, the next command starting with that text is found. * Add support for GNU regex. * Add configure option --with-regex=none and fix compile errors when compiling with no regex library. * Fix bugs handling SGR sequences in Win32. * Fix possible crashes caused by malformed LESSOPEN or LESSCLOSE variables. * Fix bug highlighting text which is discontiguous in the file due to backspace processing. * Fix bug in displaying status column when scrolling backwards with -J and -S in effect. ------------------------------------------------------------------------------- The port consists of the usual two packages produced using djdev205 that can be downloaded from ftp.delorie.com and mirrors as (time stamp 2015-07-21): less 458 binaries, info and man format documentation: ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/lss458b.zip less 458 source: ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/lss458s.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