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.
=====================
Fix Debian batch mode reader, read_redirected(), which is activated
when input comes from a file rather than a tty.
The implementation of read_redirected() did not support lines longer
than 64 chars. It tried to realloc(), but goofed up and instead
truncated all the first 64 chars. The result was that each read
line only contained the reminder of a a division with 64... :-)
to work better on embedded targets running off the initial console.
Also, first merge of patches from Debian. This part holds all of the
sysunix.c changes and some 8-bit patches and SIGSTP patches in the
editline.c file.
=====================
Fix another build warning for Arm cross-gcc, which actually was v4.1.2
This time getpid() was missing unistd.h, but kill() was also missing
signal.h. Added test for signal.h, but left out unistd.h since we
already define SYS_UNIX -- which we should really check for instead...
The rest are cosmetic prototype or automake/autoconf fixes.
=====================
Don't use AC_FUNC_MALLOC/REALLOC to check for malloc()/realloc() this seems to
confuse not only AIX but also embedded targets using uClibc (Snapgear). Instead
we now check for malloc.h and include that in the internal editline.h