freebsd-dev/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 libedit: Do not move the cursor for ed-delete-next-char in emacs mode. 2010-09-03 22:24:26 +00:00
editline.3 Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki while 2010-08-16 15:18:30 +00:00
editrc.5
el.c
el.h
emacs.c
filecomplete.c libedit: Reduce surprising behaviour with filename completion some more: 2010-06-15 22:23:21 +00:00
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 libedit: Try to map <Delete> to ed-delete-next-char. 2010-09-05 16:12:10 +00:00
term.h libedit: Try to map <Delete> to ed-delete-next-char. 2010-09-05 16:12:10 +00:00
tokenizer.c
tty.c
tty.h
vi.c