Blame SOURCES/vim-7.0-fixkeys.patch

20b5ab
diff -up vim82/src/term.c.fixkeys vim82/src/term.c
20b5ab
--- vim82/src/term.c.fixkeys	2021-01-08 10:12:59.191309539 +0100
20b5ab
+++ vim82/src/term.c	2021-01-08 10:18:05.410470981 +0100
20b5ab
@@ -919,14 +919,14 @@ static struct builtin_term builtin_termc
20b5ab
     {K_XRIGHT,		IF_EB("\033[@;*C", ESC_STR "[@;*C")},
20b5ab
     {K_XLEFT,		IF_EB("\033[@;*D", ESC_STR "[@;*D")},
20b5ab
     // An extra set of function keys for vt100 mode
20b5ab
-    {K_XF1,		IF_EB("\033O*P", ESC_STR "O*P")},
20b5ab
-    {K_XF2,		IF_EB("\033O*Q", ESC_STR "O*Q")},
20b5ab
-    {K_XF3,		IF_EB("\033O*R", ESC_STR "O*R")},
20b5ab
-    {K_XF4,		IF_EB("\033O*S", ESC_STR "O*S")},
20b5ab
-    {K_F1,		IF_EB("\033[11;*~", ESC_STR "[11;*~")},
20b5ab
-    {K_F2,		IF_EB("\033[12;*~", ESC_STR "[12;*~")},
20b5ab
-    {K_F3,		IF_EB("\033[13;*~", ESC_STR "[13;*~")},
20b5ab
-    {K_F4,		IF_EB("\033[14;*~", ESC_STR "[14;*~")},
20b5ab
+    {K_XF1,             IF_EB("\033[11~", ESC_STR "[11~")},
20b5ab
+    {K_XF2,             IF_EB("\033[12~", ESC_STR "[12~")},
20b5ab
+    {K_XF3,             IF_EB("\033[13~", ESC_STR "[13~")},
20b5ab
+    {K_XF4,             IF_EB("\033[14~", ESC_STR "[14~")},
20b5ab
+    {K_F1,              IF_EB("\033OP", ESC_STR "OP")},
20b5ab
+    {K_F2,              IF_EB("\033OQ", ESC_STR "OQ")},
20b5ab
+    {K_F3,              IF_EB("\033OR", ESC_STR "OR")},
20b5ab
+    {K_F4,              IF_EB("\033OS", ESC_STR "OS")},
20b5ab
     {K_F5,		IF_EB("\033[15;*~", ESC_STR "[15;*~")},
20b5ab
     {K_F6,		IF_EB("\033[17;*~", ESC_STR "[17;*~")},
20b5ab
     {K_F7,		IF_EB("\033[18;*~", ESC_STR "[18;*~")},