1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/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 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
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 libedit: Allow simple quoting in filename completion. 2010-06-15 21:34:57 +00:00
hist.c
hist.h
history.c
key.c
key.h
Makefile libedit: Add basic filename completion code from NetBSD. 2010-06-13 17:04:42 +00:00
makelist
map.c
map.h
parse.c
parse.h
prompt.c
prompt.h
read.c
read.h The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-02 07:25:20 +00:00
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