NameDateSize

..06-May-202087

aclocal.m4H A D18-Aug-2016126.6 KiB

ansi_stdlib.hH A D18-Aug-20161.5 KiB

bind.cH A D18-Aug-201655.5 KiB

callback.cH A D18-Aug-20167.1 KiB

CHANGELOGH A D18-Aug-201623.5 KiB

CHANGESH A D18-Aug-201640.5 KiB

chardefs.hH A D18-Aug-20164.6 KiB

compat.cH A D18-Aug-20162.5 KiB

complete.cH A D18-Aug-201664.3 KiB

config.h.inH A D18-Aug-20166 KiB

configureH A D18-Aug-2016272.9 KiB

configure.inH A D18-Aug-20167.5 KiB

COPYINGH A D18-Aug-201617.6 KiB

display.cH A D18-Aug-201674.7 KiB

doc/H20-Dec-201614

emacs_keymap.cH A D18-Aug-201636.9 KiB

examples/H20-Dec-201616

FREEBSD-upgradeH A D18-Aug-2016357

funmap.cH A D18-Aug-20168.7 KiB

histexpand.cH A D18-Aug-201638.4 KiB

histfile.cH A D18-Aug-201613.6 KiB

histlib.hH A D18-Aug-20162.4 KiB

history.cH A D18-Aug-201612.5 KiB

history.hH A D18-Aug-201610 KiB

histsearch.cH A D18-Aug-20164.9 KiB

input.cH A D18-Aug-201612.8 KiB

INSTALLH A D18-Aug-201612 KiB

isearch.cH A D18-Aug-201618.7 KiB

keymaps.cH A D18-Aug-20163.5 KiB

keymaps.hH A D18-Aug-20163.4 KiB

kill.cH A D18-Aug-201615.4 KiB

macro.cH A D18-Aug-20166.9 KiB

Makefile.inH A D18-Aug-201616.3 KiB

MANIFESTH A D18-Aug-20162.4 KiB

mbutil.cH A D18-Aug-20168.8 KiB

misc.cH A D18-Aug-201614.1 KiB

NEWSH A D18-Aug-2016444

nls.cH A D18-Aug-20166.1 KiB

parens.cH A D18-Aug-20164.7 KiB

posixdir.hH A D18-Aug-20162 KiB

posixjmp.hH A D18-Aug-20161.3 KiB

posixstat.hH A D18-Aug-20164.3 KiB

readline.cH A D18-Aug-201631.5 KiB

readline.hH A D18-Aug-201633.9 KiB

READMEH A D18-Aug-20167.4 KiB

rlconf.hH A D18-Aug-20162.3 KiB

rldefs.hH A D18-Aug-20164.7 KiB

rlmbutil.hH A D18-Aug-20165.1 KiB

rlprivate.hH A D18-Aug-201612.9 KiB

rlshell.hH A D18-Aug-20161.4 KiB

rlstdc.hH A D18-Aug-20161.5 KiB

rltty.cH A D18-Aug-201623.7 KiB

rltty.hH A D18-Aug-20162.6 KiB

rltypedefs.hH A D18-Aug-20162.9 KiB

rlwinsize.hH A D18-Aug-20162.1 KiB

search.cH A D18-Aug-201614.4 KiB

shell.cH A D18-Aug-20164.6 KiB

shlib/H20-Dec-20163

signals.cH A D18-Aug-201612.2 KiB

support/H20-Dec-201611

tcap.hH A D18-Aug-20161.7 KiB

terminal.cH A D18-Aug-201618.4 KiB

text.cH A D18-Aug-201636.1 KiB

tilde.cH A D18-Aug-201612.9 KiB

tilde.hH A D18-Aug-20163.1 KiB

undo.cH A D18-Aug-20167.1 KiB

USAGEH A D18-Aug-20162 KiB

util.cH A D18-Aug-20168 KiB

vi_keymap.cH A D18-Aug-201635.8 KiB

vi_mode.cH A D18-Aug-201638 KiB

xmalloc.cH A D18-Aug-20162.2 KiB

xmalloc.hH A D18-Aug-20161.4 KiB

README

1Introduction
2============
3
4This is the Gnu Readline library, version 5.2.
5
6The Readline library provides a set of functions for use by applications
7that allow users to edit command lines as they are typed in.  Both
8Emacs and vi editing modes are available.  The Readline library includes
9additional functions to maintain a list of previously-entered command
10lines, to recall and perhaps reedit those lines, and perform csh-like
11history expansion on previous commands.
12
13The history facilites are also placed into a separate library, the
14History library, as part of the build process.  The History library
15may be used without Readline in applications which desire its
16capabilities.
17
18The Readline library is free software, distributed under the terms of
19the [GNU] General Public License, version 2.  For more information, see
20the file COPYING.
21
22To build the library, try typing `./configure', then `make'.  The
23configuration process is automated, so no further intervention should
24be necessary.  Readline builds with `gcc' by default if it is
25available.  If you want to use `cc' instead, type
26
27        CC=cc ./configure
28
29if you are using a Bourne-style shell.  If you are not, the following
30may work:
31
32        env CC=cc ./configure
33
34Read the file INSTALL in this directory for more information about how
35to customize and control the build process.
36
37The file rlconf.h contains C preprocessor defines that enable and disable
38certain Readline features.
39
40The special make target `everything' will build the static and shared
41libraries (if the target platform supports them) and the examples.
42
43Examples
44========
45
46There are several example programs that use Readline features in the
47examples directory.  The `rl' program is of particular interest.  It
48is a command-line interface to Readline, suitable for use in shell
49scripts in place of `read'.
50
51Shared Libraries
52================
53
54There is skeletal support for building shared versions of the
55Readline and History libraries.  The configure script creates
56a Makefile in the `shlib' subdirectory, and typing `make shared'
57will cause shared versions of the Readline and History libraries
58to be built on supported platforms.
59
60If `configure' is given the `--enable-shared' option, it will attempt
61to build the shared libraries by default on supported platforms.
62
63Configure calls the script support/shobj-conf to test whether or
64not shared library creation is supported and to generate the values
65of variables that are substituted into shlib/Makefile.  If you
66try to build shared libraries on an unsupported platform, `make'
67will display a message asking you to update support/shobj-conf for
68your platform.
69
70If you need to update support/shobj-conf, you will need to create
71a `stanza' for your operating system and compiler.  The script uses
72the value of host_os and ${CC} as determined by configure.  For
73instance, FreeBSD 4.2 with any version of gcc is identified as
74`freebsd4.2-gcc*'.
75
76In the stanza for your operating system-compiler pair, you will need to
77define several variables.  They are:
78
79SHOBJ_CC	The C compiler used to compile source files into shareable
80		object files.  This is normally set to the value of ${CC}
81		by configure, and should not need to be changed.
82
83SHOBJ_CFLAGS	Flags to pass to the C compiler ($SHOBJ_CC) to create
84		position-independent code.  If you are using gcc, this
85		should probably be set to `-fpic'.
86
87SHOBJ_LD	The link editor to be used to create the shared library from
88		the object files created by $SHOBJ_CC.  If you are using
89		gcc, a value of `gcc' will probably work.
90
91SHOBJ_LDFLAGS	Flags to pass to SHOBJ_LD to enable shared object creation.
92		If you are using gcc, `-shared' may be all that is necessary.
93		These should be the flags needed for generic shared object
94		creation.
95
96SHLIB_XLDFLAGS	Additional flags to pass to SHOBJ_LD for shared library
97		creation.  Many systems use the -R option to the link
98		editor to embed a path within the library for run-time
99		library searches.  A reasonable value for such systems would
100		be `-R$(libdir)'.
101
102SHLIB_LIBS	Any additional libraries that shared libraries should be
103		linked against when they are created.
104
105SHLIB_LIBPREF	The prefix to use when generating the filename of the shared
106		library.  The default is `lib'; Cygwin uses `cyg'.
107
108SHLIB_LIBSUFF	The suffix to add to `libreadline' and `libhistory' when
109		generating the filename of the shared library.  Many systems
110		use `so'; HP-UX uses `sl'.
111
112SHLIB_LIBVERSION The string to append to the filename to indicate the version
113		of the shared library.  It should begin with $(SHLIB_LIBSUFF),
114		and possibly include version information that allows the
115		run-time loader to load the version of the shared library
116		appropriate for a particular program.  Systems using shared
117		libraries similar to SunOS 4.x use major and minor library
118		version numbers; for those systems a value of
119		`$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)$(SHLIB_MINOR)' is appropriate.
120		Systems based on System V Release 4 don't use minor version
121		numbers; use `$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)' on those systems.
122		Other Unix versions use different schemes.
123
124SHLIB_DLLVERSION The version number for shared libraries that determines API
125		compatibility between readline versions and the underlying
126		system.  Used only on Cygwin.  Defaults to $SHLIB_MAJOR, but
127		can be overridden at configuration time by defining DLLVERSION
128		in the environment.
129
130SHLIB_DOT	The character used to separate the name of the shared library
131		from the suffix and version information.  The default is `.';
132		systems like Cygwin which don't separate version information
133		from the library name should set this to the empty string.
134
135SHLIB_STATUS	Set this to `supported' when you have defined the other
136		necessary variables.  Make uses this to determine whether
137		or not shared library creation should be attempted.
138
139You should look at the existing stanzas in support/shobj-conf for ideas.
140
141Once you have updated support/shobj-conf, re-run configure and type
142`make shared'.  The shared libraries will be created in the shlib
143subdirectory.
144
145If shared libraries are created, `make install' will install them. 
146You may install only the shared libraries by running `make
147install-shared' from the top-level build directory.  Running `make
148install' in the shlib subdirectory will also work.  If you don't want
149to install any created shared libraries, run `make install-static'. 
150
151Documentation
152=============
153
154The documentation for the Readline and History libraries appears in
155the `doc' subdirectory.  There are three texinfo files and a
156Unix-style manual page describing the facilities available in the
157Readline library.  The texinfo files include both user and
158programmer's manuals.  HTML versions of the manuals appear in the
159`doc' subdirectory as well. 
160
161Reporting Bugs
162==============
163
164Bug reports for Readline should be sent to:
165
166        bug-readline@gnu.org
167
168When reporting a bug, please include the following information:
169
170        * the version number and release status of Readline (e.g., 4.2-release)
171        * the machine and OS that it is running on
172        * a list of the compilation flags or the contents of `config.h', if
173          appropriate
174        * a description of the bug
175        * a recipe for recreating the bug reliably
176        * a fix for the bug if you have one!
177
178If you would like to contact the Readline maintainer directly, send mail
179to bash-maintainers@gnu.org.
180
181Since Readline is developed along with bash, the bug-bash@gnu.org mailing
182list (mirrored to the Usenet newsgroup gnu.bash.bug) often contains
183Readline bug reports and fixes. 
184
185Chet Ramey
186chet.ramey@case.edu
187