A small replacement for GNU readline() for UNIX
Go to file
Joachim Nilsson e4b1078234 editline.3: Update man page slightly and fix example formatting.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2015-02-01 14:58:17 +01:00
debian Bump version for release, v1.14.2 2014-09-14 04:27:38 +02:00
doc Minor cleanup before release. 2010-03-09 21:18:03 +01:00
examples Cleanup configure.ac and regenerate default configure files. 2013-07-08 16:47:03 +02:00
include Add support for el_no_hist to disable access to and auto-save of history. 2014-11-04 22:47:55 +01:00
m4 Cleanup configure.ac and regenerate default configure files. 2013-07-08 16:47:03 +02:00
man editline.3: Update man page slightly and fix example formatting. 2015-02-01 14:58:17 +01:00
src Fix out-of-bounds access in user key binding routines. 2014-11-04 23:50:48 +01:00
.gitignore Update .gitignore 2010-07-18 02:50:09 +02:00
.travis.yml Add missing security token to Coverity Scan. 2014-09-17 05:57:41 +02:00
aclocal.m4 Cleanup configure.ac and regenerate default configure files. 2013-07-08 16:47:03 +02:00
CHANGELOG Rename NEWS --> CHANGELOG 2015-01-28 23:14:53 +01:00
CHANGELOG.md Update to keepachangelog.com format and add to install+dist 2015-01-28 23:33:50 +01:00
config.guess Cleanup configure.ac and regenerate default configure files. 2013-07-08 16:47:03 +02:00
config.h.in Cleanup configure.ac and regenerate default configure files. 2013-07-08 16:47:03 +02:00
config.sub Cleanup configure.ac and regenerate default configure files. 2013-07-08 16:47:03 +02:00
configure Bump version for release, v1.14.2 2014-09-14 04:27:38 +02:00
configure.ac Bump version for release, v1.14.2 2014-09-14 04:27:38 +02:00
depcomp Add standard GNU configure and build system (autoconf+automake). 2008-06-07 21:03:48 +02:00
INSTALL Update build instructions with info on --prefix 2010-08-08 17:20:36 +02:00
install-sh Cleanup configure.ac and regenerate default configure files. 2013-07-08 16:47:03 +02:00
LICENSE New replacement LICENSE and README files. 2008-06-07 17:44:13 +02:00
ltmain.sh Cleanup configure.ac and regenerate default configure files. 2013-07-08 16:47:03 +02:00
Make.os9 Restore previously discarded (and incomplete) OS9 backend files. 2010-08-03 00:14:48 +02:00
Makefile.am Update to keepachangelog.com format and add to install+dist 2015-01-28 23:33:50 +01:00
Makefile.in Update to keepachangelog.com format and add to install+dist 2015-01-28 23:33:50 +01:00
missing Add standard GNU configure and build system (autoconf+automake). 2008-06-07 21:03:48 +02:00
README Create Markdown versions of README and NEWS and update for release 2014-09-14 04:24:18 +02:00
README.md Cleanup and improve Markdown syntax, inspired by libuEv 2015-01-28 23:13:20 +01:00
TODO Add support for inhibiting completion: rl_inhibit_completion 2010-08-11 13:14:32 +02:00

Minix Editline

Build Status Coverity Scan Status

Introduction

This is a small line editing library. It can be linked into almost any program to provide command line editing and history functions. It is call compatible with the FSF readline library, but at a fraction of the size, and as a result fewer features.

The small size (<30k), lack of dependencies (no ncurses needed!), and the free license should make this library interesting to many embedded developers.

Editline has several optional build-time features that can be enabled by by supplying different options to the GNU configure script. See the output from configure --help for details. In the examples/ directory you can find some small code snippets used for testing.

API

TODO

Example

TODO

Origin & References

The editline library was created by Simmule Turner and Rich Salz back in in 1992. It is distributed under a "C News-like" license, similar to the BSD License. For details, see the file LICENSE.

This version of the editline library is forked from the Minix 3 tree. Other known versions, often based off of the original comp.sources.unix posting, are:

The most intersting patches and bug fixes from each fork have been merged here. Outstanding issues are listed in the TODO file.

An explanation of the version numbering may be in order. I didn't know about the Debian version for quite some time, so I kept a different name for the package and a different versioning scheme. In June 2009, I decided to line up alongside Debian, with the intent of eventually merging the efforts. However, despite several attempts, the Debian maintainer has not responded to my emails.