Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ANNOUNCE: DJGPP port of GNU Readline 6.2 uploaded.

28 views
Skip to first unread message

Juan Manuel Guerrero

unread,
May 17, 2011, 5:14:18 PM5/17/11
to djgpp-a...@delorie.com
This is a port of GNU Readline and History libraries 6.2 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.


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.

I have not tried to configure and compile the sources on plain DOS. I assume
that LFN support will be required to succesfully compile the package. I have
no intentions to change this.


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 (timestamp 2011-02-16):

Readline and History 6.2 libraries, headers and info format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/rdln62b.zip

GNU Readline 6.2 dvi, html, ps and pdf format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/rdln62d.zip

GNU Readline 6.2 source:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/rdln62s.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-02-16):

Readline and History 6.2 libraries, headers and info format documentation:
ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/rdln62b.zip


Send GNU Readline specific bug reports to <bug-...@gnu.org>.
Send suggestions and bug reports concerning the DJGPP port to
comp.os.msdos.djgpp or <dj...@delorie.com>.


Enjoy.

Guerrero, Juan Manuel <juan.g...@gmx.de>

0 new messages