aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1994-10-14 02:43:58 +0000
committerKarl Heuer1994-10-14 02:43:58 +0000
commit0a7f697a8d20b2c72b89975882680565a308345a (patch)
treefc918843918da9aa4de7140326b8f5778a21654c /src
parent67893ba3c11551b867cae34f563fc50cb7d18f83 (diff)
downloademacs-0a7f697a8d20b2c72b89975882680565a308345a.tar.gz
emacs-0a7f697a8d20b2c72b89975882680565a308345a.zip
(term_get_fkeys_1): Workaround for IBM's dialect of terminfo.
Diffstat (limited to 'src')
-rw-r--r--src/term.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/term.c b/src/term.c
index 5b1d8118cae..7d9ba353340 100644
--- a/src/term.c
+++ b/src/term.c
@@ -1351,6 +1351,18 @@ term_get_fkeys_1 ()
1351 CONDITIONAL_REASSIGN ("%8", "kP", "prior"); 1351 CONDITIONAL_REASSIGN ("%8", "kP", "prior");
1352 /* if there's no key_dc keycap, map key_ic to `insert' keysym */ 1352 /* if there's no key_dc keycap, map key_ic to `insert' keysym */
1353 CONDITIONAL_REASSIGN ("kD", "kI", "insert"); 1353 CONDITIONAL_REASSIGN ("kD", "kI", "insert");
1354
1355 /* IBM has their own non-standard dialect of terminfo.
1356 If the standard name isn't found, try the IBM name. */
1357 CONDITIONAL_REASSIGN ("kB", "KO", "backtab");
1358 CONDITIONAL_REASSIGN ("@4", "kJ", "execute"); /* actually "action" */
1359 CONDITIONAL_REASSIGN ("@4", "kc", "execute"); /* actually "command" */
1360 CONDITIONAL_REASSIGN ("%7", "ki", "menu");
1361 CONDITIONAL_REASSIGN ("@7", "kw", "end");
1362 CONDITIONAL_REASSIGN ("F1", "k<", "f11");
1363 CONDITIONAL_REASSIGN ("F2", "k>", "f12");
1364 CONDITIONAL_REASSIGN ("%1", "kq", "help");
1365 CONDITIONAL_REASSIGN ("*6", "kU", "select");
1354#undef CONDITIONAL_REASSIGN 1366#undef CONDITIONAL_REASSIGN
1355 } 1367 }
1356} 1368}