diff --strip-trailing-cr -w -Naur mc-4.7.5.5/lib/tty/key.c mc-4.7.5.5.patched/lib/tty/key.c
old
|
new
|
|
1226 | 1226 | || (term != NULL |
1227 | 1227 | && (strncmp (term, "iris-ansi", 9) == 0 |
1228 | 1228 | || strncmp (term, "xterm", 5) == 0 |
1229 | | || strncmp (term, "rxvt", 4) == 0 || strcmp (term, "screen") == 0))) |
| 1229 | || strncmp (term, "putty", 5) == 0 // http://www.midnight-commander.org/ticket/1974 |
| 1230 | || strncmp (term, "rxvt", 4) == 0 |
| 1231 | || strcmp (term, "screen") == 0))) |
1230 | 1232 | define_sequences (xterm_key_defines); |
1231 | 1233 | |
1232 | 1234 | /* load some additional keys (e.g. direct Alt-? support) */ |
diff --strip-trailing-cr -w -Naur mc-4.7.5.5/lib/tty/tty.c mc-4.7.5.5.patched/lib/tty/tty.c
old
|
new
|
|
101 | 101 | exit (EXIT_FAILURE); |
102 | 102 | } |
103 | 103 | |
104 | | return force_xterm || strncmp (termvalue, "xterm", 5) == 0 |
| 104 | return force_xterm |
| 105 | || strncmp (termvalue, "xterm", 5) == 0 |
| 106 | || strncmp (termvalue, "putty", 5) == 0 // http://www.midnight-commander.org/ticket/1974 |
105 | 107 | || strncmp (termvalue, "konsole", 7) == 0 |
106 | 108 | || strncmp (termvalue, "rxvt", 4) == 0 |
107 | 109 | || strcmp (termvalue, "Eterm") == 0 || strcmp (termvalue, "dtterm") == 0; |