aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c21
1 files changed, 2 insertions, 19 deletions
diff --git a/src/term.c b/src/term.c
index 4d900020ce6..7b6cb41e23d 100644
--- a/src/term.c
+++ b/src/term.c
@@ -1422,18 +1422,6 @@ term_get_fkeys_1 (void)
1422 CONDITIONAL_REASSIGN ("kD", "kI", "insert"); 1422 CONDITIONAL_REASSIGN ("kD", "kI", "insert");
1423 /* if there's no key_end keycap, map key_ll to 'end' keysym */ 1423 /* if there's no key_end keycap, map key_ll to 'end' keysym */
1424 CONDITIONAL_REASSIGN ("@7", "kH", "end"); 1424 CONDITIONAL_REASSIGN ("@7", "kH", "end");
1425
1426 /* IBM has their own non-standard dialect of terminfo.
1427 If the standard name isn't found, try the IBM name. */
1428 CONDITIONAL_REASSIGN ("kB", "KO", "backtab");
1429 CONDITIONAL_REASSIGN ("@4", "kJ", "execute"); /* actually "action" */
1430 CONDITIONAL_REASSIGN ("@4", "kc", "execute"); /* actually "command" */
1431 CONDITIONAL_REASSIGN ("%7", "ki", "menu");
1432 CONDITIONAL_REASSIGN ("@7", "kw", "end");
1433 CONDITIONAL_REASSIGN ("F1", "k<", "f11");
1434 CONDITIONAL_REASSIGN ("F2", "k>", "f12");
1435 CONDITIONAL_REASSIGN ("%1", "kq", "help");
1436 CONDITIONAL_REASSIGN ("*6", "kU", "select");
1437#undef CONDITIONAL_REASSIGN 1425#undef CONDITIONAL_REASSIGN
1438 } 1426 }
1439 1427
@@ -3845,10 +3833,7 @@ static void
3845tty_free_frame_resources (struct frame *f) 3833tty_free_frame_resources (struct frame *f)
3846{ 3834{
3847 eassert (FRAME_TERMCAP_P (f)); 3835 eassert (FRAME_TERMCAP_P (f));
3848 3836 free_frame_faces (f);
3849 if (FRAME_FACE_CACHE (f))
3850 free_frame_faces (f);
3851
3852 xfree (f->output_data.tty); 3837 xfree (f->output_data.tty);
3853} 3838}
3854 3839
@@ -3860,9 +3845,7 @@ static void
3860tty_free_frame_resources (struct frame *f) 3845tty_free_frame_resources (struct frame *f)
3861{ 3846{
3862 eassert (FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)); 3847 eassert (FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f));
3863 3848 free_frame_faces (f);
3864 if (FRAME_FACE_CACHE (f))
3865 free_frame_faces (f);
3866} 3849}
3867#endif /* MSDOS */ 3850#endif /* MSDOS */
3868 3851