File git-43-14003c19eaa863ae9d80a0ebb9b5cab6273a5a9e.patch of Package aaa_base.24604
From 14003c19eaa863ae9d80a0ebb9b5cab6273a5a9e Mon Sep 17 00:00:00 2001
From: Werner Fink <werner@suse.de>
Date: Thu, 17 Oct 2019 06:59:18 +0200
Subject: [PATCH] Use official key binding functions in inputrc
that is replace up-history with previous-history, down-history with
next-history and backward-delete-word with backward-kill-word
(bsc#1084934). Add some missed key escape sequences for urxvt-unicode
terminal as well (boo#1007715).
Signed-off-by: Werner Fink <werner@suse.de>
---
files/etc/inputrc | 32 ++++++++++++++++----------------
files/etc/inputrc.keys | 24 ++++++++++++++----------
2 files changed, 30 insertions(+), 26 deletions(-)
diff --git files/etc/inputrc files/etc/inputrc
index eefdcda..74ebb48 100644
--- a/files/etc/inputrc
+++ b/files/etc/inputrc
@@ -54,40 +54,40 @@ $include /etc/inputrc.keys
$if term=xterm
"\e\eOD": backward-word
"\e\eOC": forward-word
-"\e\eOA": up-history
-"\e\eOB": down-history
+"\e\eOA": previous-history
+"\e\eOB": next-history
"\C-\eOD": backward-char
"\C-\eOC": forward-char
-"\C-\eOA": up-history
-"\C-\eOB": down-history
+"\C-\eOA": previous-history
+"\C-\eOB": next-history
"\M-\eOD": backward-word
"\M-\eOC": forward-word
-"\M-\eOA": up-history
-"\M-\eOB": down-history
+"\M-\eOA": previous-history
+"\M-\eOB": next-history
"\C-\M-OD": backward-char
"\C-\M-OC": forward-char
-"\C-\M-OA": up-history
-"\C-\M-OB": down-history
+"\C-\M-OA": previous-history
+"\C-\M-OB": next-history
$endif
#
# Standard cursor
#
"\e\e[D": backward-word
"\e\e[C": forward-word
-"\e\e[A": up-history
-"\e\e[B": down-history
+"\e\e[A": previous-history
+"\e\e[B": next-history
"\C-\e[D": backward-char
"\C-\e[C": forward-char
-"\C-\e[A": up-history
-"\C-\e[B": down-history
+"\C-\e[A": previous-history
+"\C-\e[B": next-history
"\M-\e[D": backward-word
"\M-\e[C": forward-word
-"\M-\e[A": up-history
-"\M-\e[B": down-history
+"\M-\e[A": previous-history
+"\M-\e[B": next-history
"\C-\M-[D": backward-char
"\C-\M-[C": forward-char
-"\C-\M-[A": up-history
-"\C-\M-[B": down-history
+"\C-\M-[A": previous-history
+"\C-\M-[B": next-history
$endif
#
# end
diff --git files/etc/inputrc.keys files/etc/inputrc.keys
index 1e3269a..04f1659 100644
--- a/files/etc/inputrc.keys
+++ b/files/etc/inputrc.keys
@@ -237,8 +237,8 @@ $endif
"\C-?": backward-delete-char
"\C-H": backward-delete-char
$if term=xterm
-"\e\303\277": backward-delete-word
-"\eÿ": backward-delete-word
+"\e\303\277": backward-kill-word
+"\eÿ": backward-kill-word
$endif
#
# Home and End
@@ -798,14 +798,18 @@ set editing-mode emacs
"\e\e[2$": overwrite-mode
$endif
"\e\eOq": end-of-line
-"\e\eOr": down-history
+"\e\eOr": next-history
"\e\eOs": history-search-forward
"\e\eOt": backward-char
"\e\eOu": re-read-init-file
"\e\eOv": forward-char
"\e\eOw": beginning-of-line
-"\e\eOx": up-history
+"\e\eOx": previous-history
"\e\eOy": history-search-backward
+"\eOc": forward-word
+"\eOd": backward-word
+"\eOa": history-search-backward
+"\eOb": history-search-forward
"\e[c": forward-word
"\e[d": backward-word
"\e[a": history-search-backward
@@ -843,8 +847,8 @@ $endif
$if term=screen
"\e[1;2D": backward-word
"\e[1;2C": forward-word
-"\e[1;2A": up-history
-"\e[1;2B": down-history
+"\e[1;2A": previous-history
+"\e[1;2B": next-history
"\e[1;2H": beginning-of-line
"\e[1;2F": end-of-line
$if mode=emacs
@@ -871,8 +875,8 @@ $endif
"\e[6;2~": history-search-forward
"\e[1;5D": backward-word
"\e[1;5C": forward-word
-"\e[1;5A": up-history
-"\e[1;5B": down-history
+"\e[1;5A": previous-history
+"\e[1;5B": next-history
"\e[1;5H": beginning-of-line
"\e[1;5F": end-of-line
"\e[3;5~": delete-char
@@ -880,8 +884,8 @@ $endif
"\e[6;5~": history-search-forward
"\e[1;3D": backward-word
"\e[1;3C": forward-word
-"\e[1;3A": up-history
-"\e[1;3B": down-history
+"\e[1;3A": previous-history
+"\e[1;3B": next-history
"\e[1;3H": beginning-of-line
"\e[1;3F": end-of-line
"\e[3;3~": delete-char
--
2.26.2