A small replacement for GNU readline() for UNIX
Go to file
Joachim Nilsson afb65c0d75 Add standard GNU configure and build system (autoconf+automake).
Enable termio backend in sysunix.c (HAVE_TERMIO_H)

Modify original sources to fit standard macros defined in config.h
2008-06-07 21:03:48 +02:00
doc New replacement LICENSE and README files. 2008-06-07 17:44:13 +02:00
examples Add standard GNU configure and build system (autoconf+automake). 2008-06-07 21:03:48 +02:00
man Add missing editline man page. 2008-06-07 21:02:28 +02:00
src Add standard GNU configure and build system (autoconf+automake). 2008-06-07 21:03:48 +02:00
aclocal.m4 Add standard GNU configure and build system (autoconf+automake). 2008-06-07 21:03:48 +02:00
config.h.in Add standard GNU configure and build system (autoconf+automake). 2008-06-07 21:03:48 +02:00
configure Add standard GNU configure and build system (autoconf+automake). 2008-06-07 21:03:48 +02:00
configure.ac Add standard GNU configure and build system (autoconf+automake). 2008-06-07 21:03:48 +02:00
depcomp Add standard GNU configure and build system (autoconf+automake). 2008-06-07 21:03:48 +02:00
install-sh Add standard GNU configure and build system (autoconf+automake). 2008-06-07 21:03:48 +02:00
LICENSE New replacement LICENSE and README files. 2008-06-07 17:44:13 +02:00
Makefile-minix.in New layout. 2008-06-07 17:04:59 +02:00
Makefile.am Add standard GNU configure and build system (autoconf+automake). 2008-06-07 21:03:48 +02:00
Makefile.in Add standard GNU configure and build system (autoconf+automake). 2008-06-07 21:03:48 +02:00
missing Add standard GNU configure and build system (autoconf+automake). 2008-06-07 21:03:48 +02:00
README New replacement LICENSE and README files. 2008-06-07 17:44:13 +02:00

README                                          -*-text-*-
======
This is a line-editing library.  It can be linked into almost any
program to provide command-line editing and recall.

It is call-compatible with the FSF readline library, but it is a
fraction of the size (and offers fewer features).  It does not use
standard I/O.  It is distributed under a "C News-like" copyright, see
the file LICENSE for details.

Configuration is made by supplying different options to the GNU
configure script.  In the examples directory, type "make testit" to
get a small slow shell for testing.

Changes
-------
An earlier version was distributed with Byron's rc.  Principal changes
over that version include:

 * Faster.
 * Is eight-bit clean (thanks to brendan@cs.widener.edu)
 * Written in K&R C, but ANSI compliant (gcc all warnings)
 * Propagates EOF properly; rc trip test now passes
 * Doesn't need or use or provide memmove.
 * More robust
 * Calling sequence changed to be compatible with readline.
 * Test program, new manpage, better configuration
 * More system-independant; includes Unix and OS-9 support.

This contains some changes since the posting to comp.sources.misc:
 * Bugfix for completion on absolute pathnames.
 * Better handling of M-n versus showing raw 8bit chars.
 * Better signal handling.
 * Now supports termios/termio/sgttyb ioctl's.
 * Add M-m command to toggle how 8bit data is displayed.

Bugs
----
There is one known bug. History-searching redraws the line wrong if
the text retrieved is shorter then the prompt.

Enjoy,
	Rich $alz
	<rsalz@osf.org>