readline-4.1: description + notes

The readline library provides a set of functions for use by applications that let users 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, libhistory, as part of the build process. The History library may be used without libreadline in applications that desire its capabilities.

In /usr/freeware/share/readline there are several example programs that use Readline features. The rl program (also installed in /usr/freeware/bin as readline) is of particular interest. It is a command-line interface to Readline, suitable for use in shell scripts in place of read.


Developers intending to use this library for development of other freeware packages or their own software applications will need to be familiar with a few peculiarities due to the way that this library is packaged and installed. The reasons for this installation strategy are described further in the fw_common product release notes.

The header files and libraries in this package are installed into /usr/freeware. This means that when building software using this distribution of libreadline or libhistory you should be sure to do the following:

Following these guidelines will let your application safely and easily use the software in this package.
To auto-install this package, go back and click on the respective install icon.