diff options
Diffstat (limited to 'app-misc/screen/files/screen-4.0.3_p20070403-map.patch')
-rw-r--r-- | app-misc/screen/files/screen-4.0.3_p20070403-map.patch | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/app-misc/screen/files/screen-4.0.3_p20070403-map.patch b/app-misc/screen/files/screen-4.0.3_p20070403-map.patch index 36d7162b87f1..13ce1192f93c 100644 --- a/app-misc/screen/files/screen-4.0.3_p20070403-map.patch +++ b/app-misc/screen/files/screen-4.0.3_p20070403-map.patch @@ -1,14 +1,13 @@ -diff -Nur screen-4.0.3_p20070403.orig/term.c screen-4.0.3_p20070403/term.c ---- screen-4.0.3_p20070403.orig/term.c 2005-12-16 18:51:07.000000000 +0000 -+++ screen-4.0.3_p20070403/term.c 2007-04-22 19:47:17.002355543 +0000 -@@ -230,8 +230,8 @@ - /* define T_NAVIGATE */ - { "kh", T_STR }, KMAPDEF("\033[1~") KMAPMDEF("\201") - { "@1", T_STR }, -- { "kH", T_STR }, KMAPDEF("\033[4~") KMAPMDEF("\205") -- { "@7", T_STR }, -+ { "kH", T_STR }, -+ { "@7", T_STR }, KMAPDEF("\033[4~") KMAPMDEF("\205") - { "kN", T_STR }, KMAPDEF("\033[6~") KMAPMDEF("\006") - { "kP", T_STR }, KMAPDEF("\033[5~") KMAPMDEF("\002") - { "kI", T_STR }, KMAPDEF("\033[2~") +diff --git a/src/termcap.c b/src/termcap.c +index 01082cb..b96497d 100644 +--- a/src/termcap.c ++++ b/src/termcap.c +@@ -548,8 +548,6 @@ int map; + else + break; + } +- if (n < KMAP_KEYS) +- domap = 1; + if (map == 0 && domap) + return 0; + if (map && !domap) |