NetBSD/lib/libedit
christos 4b3392da81 From Bastian Maerkisch, via Igno Schwarze:
Even though section "2.3.3 Information About the History List"
of the history(3) info(1) manual only says

  -- Function: int where_history (void)
     Returns the offset of the current history element.

which maybe isn't completely clear, a plausible implementation
is that the offset returned is the same offset that can be used
for history_set_pos(), i.e. that it is 0 for the oldest entry
and increases with time, and that's how the GNU implementation
behaves indeed.

The libedit implementation, on the other hand, returns 1 for the
newest entry and increases going back in time.
2016-05-13 15:55:59 +00:00
..
TEST Start removing the WIDECHAR ifdefs; building without it has stopped working 2016-03-23 22:27:48 +00:00
readline whitespace and header sorting changes (Ingo Schwarze). No functional changes. 2016-02-17 19:47:49 +00:00
Makefile Instead of compiling all the source files together in one big file, use 2016-05-09 21:38:27 +00:00
chared.c s/protected/libedit_private/g 2016-05-09 21:46:56 +00:00
chared.h s/protected/libedit_private/g 2016-05-09 21:46:56 +00:00
chartype.c s/protected/libedit_private/g 2016-05-09 21:46:56 +00:00
chartype.h s/protected/libedit_private/g 2016-05-09 21:46:56 +00:00
common.c s/protected/libedit_private/g 2016-05-09 21:46:56 +00:00
config.h Start removing the WIDECHAR ifdefs; building without it has stopped working 2016-03-23 22:27:48 +00:00
editline.3 GNU readline(3) regards history chronologically, that is, from the 2016-05-09 21:27:55 +00:00
editline.7 GNU readline(3) regards history chronologically, that is, from the 2016-05-09 21:27:55 +00:00
editrc.5 new man page from Ingo Schwarze. 2016-04-28 15:50:33 +00:00
el.c s/protected/libedit_private/g 2016-05-09 21:46:56 +00:00
el.h s/protected/libedit_private/g 2016-05-09 21:46:56 +00:00
eln.c Elide gcc warning about intermediate const casts caused by visibility change. 2016-05-09 21:37:34 +00:00
emacs.c s/protected/libedit_private/g 2016-05-09 21:46:56 +00:00
filecomplete.c Char -> wchar_t from Ingo Schwarze. 2016-04-11 00:50:13 +00:00
filecomplete.h Char -> wchar_t from Ingo Schwarze. 2016-04-11 00:50:13 +00:00
hist.c s/protected/libedit_private/g 2016-05-09 21:46:56 +00:00
hist.h s/protected/libedit_private/g 2016-05-09 21:46:56 +00:00
histedit.h From Ingo Schwarze: 2016-04-19 19:50:53 +00:00
history.c Get rid of private/public; keep protected (Ingo Schwarze) 2016-04-11 18:56:31 +00:00
historyn.c From Ingo Schwarze: 2016-04-18 17:01:19 +00:00
keymacro.c s/protected/libedit_private/g 2016-05-09 21:46:56 +00:00
keymacro.h s/protected/libedit_private/g 2016-05-09 21:46:56 +00:00
makelist s/protected/libedit_private/g 2016-05-09 21:46:56 +00:00
map.c s/protected/libedit_private/g 2016-05-09 21:46:56 +00:00
map.h s/protected/libedit_private/g 2016-05-09 21:46:56 +00:00
parse.c s/protected/libedit_private/g 2016-05-09 21:46:56 +00:00
parse.h s/protected/libedit_private/g 2016-05-09 21:46:56 +00:00
prompt.c s/protected/libedit_private/g 2016-05-09 21:46:56 +00:00
prompt.h s/protected/libedit_private/g 2016-05-09 21:46:56 +00:00
read.c s/protected/libedit_private/g 2016-05-09 21:46:56 +00:00
read.h s/protected/libedit_private/g 2016-05-09 21:46:56 +00:00
readline.c From Bastian Maerkisch, via Igno Schwarze: 2016-05-13 15:55:59 +00:00
refresh.c s/protected/libedit_private/g 2016-05-09 21:46:56 +00:00
refresh.h s/protected/libedit_private/g 2016-05-09 21:46:56 +00:00
search.c s/protected/libedit_private/g 2016-05-09 21:46:56 +00:00
search.h s/protected/libedit_private/g 2016-05-09 21:46:56 +00:00
shlib_version
sig.c s/protected/libedit_private/g 2016-05-09 21:46:56 +00:00
sig.h s/protected/libedit_private/g 2016-05-09 21:46:56 +00:00
sys.h s/protected/libedit_private/g 2016-05-09 21:46:56 +00:00
terminal.c s/protected/libedit_private/g 2016-05-09 21:46:56 +00:00
terminal.h s/protected/libedit_private/g 2016-05-09 21:46:56 +00:00
tokenizer.c Get rid of private/public; keep protected (Ingo Schwarze) 2016-04-11 18:56:31 +00:00
tokenizern.c From Ingo Schwarze: 2016-04-18 17:01:19 +00:00
tty.c s/protected/libedit_private/g 2016-05-09 21:46:56 +00:00
tty.h s/protected/libedit_private/g 2016-05-09 21:46:56 +00:00
vi.c s/protected/libedit_private/g 2016-05-09 21:46:56 +00:00