A small replacement for GNU readline() for UNIX
read_history()
and write_history()
, could return errno
instead of EOF
to indicate error. Now both functions have uniform return values on errorrealloc()
errors better. Now memory is not leaked if realloc()
failseditline.3
man pagecli.c
and fileman.c
cli.c
configure --disable-eof
does not biteEvent loop callback support.
rl_unintialize()
, new function to free all memory, by Claus Fischerrl_insert_text()
, new GNU Readline compat functionrl_refresh_line()
, new GNU Readline compat functionrl_callback_*()
, alternate interface to plain readline()
for event loops. Modeled after the GNU Readline APIrl_completion_entry_function
, and rl_attempted_completion_function
are two new GNU Readline compat user hooks for the completion frameworkrl_completion_matches()
and rl_filename_completion_function()
are two new GNU Readline compat functionsfileman.c
from GNU Readline to demonstrate the level of compatibility of the revamped completion framework__
NULL
instead of 0
, and -1
instead of NULL
, where applicabletestit.c
example code-Wextra
to std CFLAGS
fclose()
return value in in write_history()
and read_history()
NULL
on free()
Bug fixes and minor feature creep in pkg-config
support.
libeditline.pc
for pkg-config
tgetent()
in
curses, ncurses, tinfo and termcap librariestty_flush()
when user calls rl_forced_update_display()
to prevent screen becoming garbled. Patch by Jakub Pawlowski--disable-eof
and --disable-sigint
to disable
default Ctrl-D and Ctrl-C behaviorel_no_hist
to disable access to and auto-save of history./autogen.sh
to generate the configure
script when working from GIT. This
does not affect distributed tarballssizeof(char **)
, same as sizeof(char *)
but
non-portable. Found by Coverity Scan