readline: enable HOME, END, INSERT, and DELETE key bindings in inputrc

Enable readline inputrc bindings for HOME, END, INSERT, and DELETE keys
to support common key sequences on terminal interfaces. These key
sequences are commonly emitted by terminal emulators and physical
keyboards.

This enables expected shell behavior on embedded systems, especially
when interacting over serial consoles or minimal terminal setups.

(From OE-Core rev: 93ea8d1c38ab93912306dd5f7d57745c833161b0)

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Hiago De Franco
2025-05-26 14:10:42 -03:00
committed by Richard Purdie
parent a2b0713e67
commit 435e5ee319

View File

@@ -24,12 +24,12 @@ set output-meta on
$if mode=emacs
# allow the use of the Home/End keys
# "\e[1~": beginning-of-line
# "\e[4~": end-of-line
"\e[1~": beginning-of-line
"\e[4~": end-of-line
# allow the use of the Delete/Insert keys
# "\e[3~": delete-char
# "\e[2~": quoted-insert
"\e[3~": delete-char
"\e[2~": quoted-insert
# mappings for "page up" and "page down" to step to the beginning/end
# of the history