freebsd-nq/lib/libedit
Jilles Tjoelker b3c63ff614 libedit: Try to map <Delete> to ed-delete-next-char.
This adds a new "arrow" key "delete" corresponding to the kD termcap value.
It only works if that is a sequence such as "\033[3~"; if it is "\177", the
em-delete-prev-char or ed-delete-prev-char from the single-character
mappings remains. It turns out that most terminals (xterm and alikes,
syscons in xterm mode) produce "\033[3~" by default so <Delete> has the
expected effect.

This also means that things need to be considerably misconfigured for
<Backspace> to perform a <Delete> action.
2010-09-05 16:12:10 +00:00
..
TEST
chared.c
chared.h
common.c
editline.3
editrc.5
el.c
el.h
emacs.c
filecomplete.c
filecomplete.h
hist.c
hist.h
history.c
key.c
key.h
Makefile
makelist
map.c
map.h
parse.c
parse.h
prompt.c
prompt.h
read.c
read.h
refresh.c
refresh.h
search.c
search.h
sig.c
sig.h
sys.h
term.c
term.h
tokenizer.c
tty.c
tty.h
vi.c