diff -Naur mc-4.7.0.1/src/main.c mc-4.7.0.1.patched/src/main.c
old
|
new
|
|
1408 | 1408 | use_mouse_p = MOUSE_DISABLED; |
1409 | 1409 | } |
1410 | 1410 | |
1411 | | if (mc_args__force_xterm || strncmp (termvalue, "xterm", 5) == 0 |
| 1411 | if (mc_args__force_xterm |
| 1412 | || strncmp (termvalue, "xterm", 5) == 0 |
| 1413 | || strncmp (termvalue, "putty", 5) == 0 // http://www.midnight-commander.org/ticket/1974 |
1412 | 1414 | || strncmp (termvalue, "konsole", 7) == 0 |
1413 | 1415 | || strncmp (termvalue, "rxvt", 4) == 0 |
1414 | 1416 | || strcmp (termvalue, "Eterm") == 0 |
diff -Naur mc-4.7.0.1/src/tty/key.c mc-4.7.0.1.patched/src/tty/key.c
old
|
new
|
|
1049 | 1049 | || (term != NULL |
1050 | 1050 | && (strncmp (term, "iris-ansi", 9) == 0 |
1051 | 1051 | || strncmp (term, "xterm", 5) == 0 |
1052 | | || strncmp (term, "rxvt", 4) == 0 || strcmp (term, "screen") == 0))) |
| 1052 | || strncmp (term, "putty", 5) == 0 // http://www.midnight-commander.org/ticket/1974 |
| 1053 | || strncmp (term, "rxvt", 4) == 0 |
| 1054 | || strcmp (term, "screen") == 0))) |
1053 | 1055 | define_sequences (xterm_key_defines); |
1054 | 1056 | |
1055 | 1057 | /* load some additional keys (e.g. direct Alt-? support) */ |