The filename completion handler fallback will now be enabled by default.
To disable it a new GNU Readline function pointer will be added.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
Improper handling of AC_ARG_ENABLE() causes the configure script to
always enable CONFIG_USE_TERMCAP.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
- Move 'foreign' declaration from Makefile.am's to configure script
- Move CFLAGS from configure script to src/Makefile.am
- Remove faltering license blurb at top of configure script, no need
for this since we a) do not care, b) falls under project license
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This is a followup patch for issue #8. When the user elects
to enable Termcap checks for window resizing we need to check
what library on the system provides this functionality. Do
not assume -ltermcap, but instead check for tgetent() in all
possible libraries.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This patch adds support for `--disable-eof` and `--disable-sigint` to
the Editline configure script. With either of these two switches the
`tty_special()` function bypasses the special TTY checks making it
possible to bind Ctrl-C and Ctrl-D to custom callbacks. This can be
useful if you want to emulate a Cisco style CLI rather than traditional
UNIX.
The user can of course also redefine the VINTR and VEOF special terminal
control characters, but these configure script switches may be easier to
use for some.
Also, the CLI example has been updated to bind Ctrl-D, Ctrl-C and Ctrl-Z
for testing purposes.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
o Bump minor version for release
o Update maintainer email address
o Change to tar.xz for archive distribution
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
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. :)
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.