History log of /netbsd-src/lib/libedit/editline.7 (Results 1 – 6 of 6)
Revision Date Author Comments
# 0c83befa 06-Apr-2024 christos <christos@NetBSD.org>

update em-toggle-overwrite binding (Xose Vazquez Perez)


# f9ed317e 09-May-2016 christos <christos@NetBSD.org>

GNU readline(3) regards history chronologically, that is, from the
perspective of the dawn of time, so "next" means "newer" and "previous"
means "older". Libedit, by contrast, uses reverse chronolog

GNU readline(3) regards history chronologically, that is, from the
perspective of the dawn of time, so "next" means "newer" and "previous"
means "older". Libedit, by contrast, uses reverse chronology and
regards history from the perspective of the present, such that "next"
means "longer ago" and "previous" means "not so long ago".

The following patch fixes previous_history() and next_history()
as proposed by Bastian Maerkisch.

But there is a related problem demonstrated by Bastian's regression
tests that his patch did not fix: next_history() can advance not
only to the newest entry, but beyond it, which core libedit cannot
do. So that feature must be implemented locally in readline.c.

With that, the last of Bastians tests is fixed, test_movement_direction().

This patch also improves libedit documentation to more clearly state
what "previous" and "next" mean. GNU readline documentation is
just as unclear, but we can't easily fix that since libedit doesn't
include its own readline.3 manual.

(Ingo Schwarze)

show more ...


# 986567e4 02-May-2016 wiz <wiz@NetBSD.org>

Fix Dd argument.


# ac44c4d1 02-May-2016 christos <christos@NetBSD.org>

Add more explicit xrefs


# 0ad20f8c 02-May-2016 wiz <wiz@NetBSD.org>

Fix Dd argument.


# 067b3315 28-Apr-2016 christos <christos@NetBSD.org>

new man page from Ingo Schwarze.