Mail Archives: djgpp-announce/2014/10/12/16:14:40.2
This is a port of GNU Readline and History libraries 6.3 to MSDOS/DJGPP.
The Readline library provides a set of functions for use by applications
that allow users to edit command lines as they are typed in. Both
Emacs and vi editing modes are available. The Readline library includes
additional functions to maintain a list of previously-entered command
lines, to recall and perhaps reedit those lines, and perform csh-like
history expansion on previous commands.
The history facilites are also placed into a separate library, the
History library, as part of the build process. The History library
may be used without Readline in applications which desire its
capabilities.
DJGPP specific changes.
=======================
- The port is based on the port of readline 2.2 and uses the termios
emulation provided by it. It has been slightly adjusted to work with
DJGPP 2.04. It also supports copying from Windows clipboard as the
readline port from bash does. Most of the other changes are to handle
DOS/DJGPP specific slash and backslash issues and to pacify the compiler.
- The port will check at run time if LFN support is available or not.
If available, then it will look for ".inputrc" and ".history" as
configuration files. If one of them is not available then it will try
"_inputrc" and/or "_history" as alternative file names. This means that
if LFN support is available, the POSIX file names will always be tried
before the DOS file names are tried. Of course, if only SFN support is
available only the DOS versions of the file names will be tried.
- The port will try to load the system wide configuration file using
the file name "/dev/env/DJDIR/etc/inputrc" instead of the hard coded
"/etc/inputrc". The system wide INPUTRC file is always tried to be
load if the loading of "~/.inputrc" fails and before "~/_inputrc" is
tried to be load on LFN systems.
- If pdcurses is installed it will be used to provide termios functionality
instead of the one provided by the C-library. If you prefer the termios
functionality profided by the C-library you will have to uninstall pdcurses
before you configure the sources. The sources have been configured
without pdcurses support.
- 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 use of long file names it will not be possible to configure and
compile without LFN support.
- The DJGPP 2.04 version of the port has been compiled using gcc490 and
bnu224br2. But instead of using the libc.a provided djdev204, a libc
version compiled from the repository code has been used. The repository
code has been patched with the memory patch as provided by Andris Pavenis
in:
http://ap1.pp.fi/djgpp/djdev/djgpp/20140421/use_nmalloc.diff
The goal is to test how well the new memory system and the current libc
code works. The repository code can be downloaded from Martin Stromberg's
site as:
http://www.ludd.luth.se/~ams/djgpp/cvs/djgpp.cvs.tar.gz
As usual, my changes and the rest of the djgpp specific stuff is stored in
the /djgpp directory. To learn how to use the libraries please inspect the
files in the /examples directory.
For further information about GNU Readline please read the info docs and NEWS file.
The port has been compiled using stock djdev203 (patchlevel 2) and consists
of the usual three packages that can be downloaded from ftp.delorie.com and
mirrors as (time stamp 2014-10-03):
Readline and History 6.3 libraries, headers and info format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/rdln63b.zip
GNU Readline 6.3 dvi, html, ps and pdf format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/rdln63d.zip
GNU Readline 6.3 source:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/rdln63s.zip
The libraries have been produced a second time using a libc.a version
compiled from current repository code and patched with the new malloc
code. This package is available at ftp.delorie.com and mirrors
as (times tamp 2014-10-03):
Readline and History 6.3 libraries, headers and info format documentation:
ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/rdln63b.zip
Send GNU Readline specific bug reports to <bug-bash 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 <juan DOT guerrero AT gmx DOT de>
- Raw text -