summaryrefslogtreecommitdiffstats
path: root/debian/inputrc.arrows
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:38:57 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:38:57 +0000
commitb0a54c0318f73e8824c1299900286d1d7dcade3a (patch)
tree40130abdf474665f42bf01fab6e42ab4a7e1e1c5 /debian/inputrc.arrows
parentAdding upstream version 5.2.15. (diff)
downloadbash-b0a54c0318f73e8824c1299900286d1d7dcade3a.tar.xz
bash-b0a54c0318f73e8824c1299900286d1d7dcade3a.zip
Adding debian version 5.2.15-2.debian/5.2.15-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/inputrc.arrows')
-rw-r--r--debian/inputrc.arrows30
1 files changed, 30 insertions, 0 deletions
diff --git a/debian/inputrc.arrows b/debian/inputrc.arrows
new file mode 100644
index 0000000..21aed08
--- /dev/null
+++ b/debian/inputrc.arrows
@@ -0,0 +1,30 @@
+# This file controls the behaviour of line input editing for
+# programs that use the Gnu Readline library.
+#
+# Arrow keys in keypad mode
+#
+"\C-[OD" backward-char
+"\C-[OC" forward-char
+"\C-[OA" previous-history
+"\C-[OB" next-history
+#
+# Arrow keys in ANSI mode
+#
+"\C-[[D" backward-char
+"\C-[[C" forward-char
+"\C-[[A" previous-history
+"\C-[[B" next-history
+#
+# Arrow keys in 8 bit keypad mode
+#
+"\C-M-OD" backward-char
+"\C-M-OC" forward-char
+"\C-M-OA" previous-history
+"\C-M-OB" next-history
+#
+# Arrow keys in 8 bit ANSI mode
+#
+"\C-M-[D" backward-char
+"\C-M-[C" forward-char
+"\C-M-[A" previous-history
+"\C-M-[B" next-history