The ordering of alternative rl_ttyset() implementations is important.
We have chosen to place the most common, most portable, code first
and then in lesser order. Ending with the sgtty.h based code, which
I cannot test on GNU/Linux. Will test on OpenBSD later.
Also added Emacs indentation style to make it easier to follow the
original style of Mr Turner and Salz.
Remove all old $Id:$ and similar constructs, they don't provide any
additional benefit anymore.
Add configure options for toggling terminal bell and toying with
SIGSTOP using Ctrl-Z. Rename config option for ANSI keys to get
a consistent namespace.
Also did some work on ANSI-fication of function definitions, lot's
of that was still lingering around.
the library name, from libedit.a to libeditline.a
Bump version to 1.13.0 to better illustrate it has the same heritage
as the Debian version.
Import the debian/ directory from editline-1.12-5.
Yes, this is a major changeset. :)
tty_flush(): Silence compiler warning.
meta(): Extend to support Home, End and Del keys, in addition to
the arrow keys. Also capturing PgUp, PgDn and Ins to prevent
them from generating odd ~ characters in input.
Also rearranged a couple of callback functions so they could be
reached by the meta() function without forward declaring them.
This is also better placement, together with other similar fns.
Add configure support for ANSI arrow keys.
Tested OK with gnome-terminal.
src/complete.c:
Remove usage of CONST and refactor compare() to use standard
C syntax instead of old K&R.
rl_complete() and rl_list_possib(). Simply leave out complete.o from
the default build and in all programs require these two functions to
be supplied.
A better alternative would be to use function pointers and check those
for NULL in the running code. With this code, and no completion handler
the editline code will die.