X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=progs%2Ftic.c;h=ed77db9eb7721dc7392f0d11fbd89bbe986aee5e;hp=d96555e9bee6a11dc34018b438d2ced1245e210a;hb=e0881a7f395769f2ec89b8fa8c21c4292c1de7b5;hpb=beb0f0c6911096ee19815bdf2601c4317d80341f diff --git a/progs/tic.c b/progs/tic.c index d96555e9..ed77db9e 100644 --- a/progs/tic.c +++ b/progs/tic.c @@ -46,7 +46,7 @@ #include #include -MODULE_ID("$Id: tic.c,v 1.176 2012/04/29 00:23:38 tom Exp $") +MODULE_ID("$Id: tic.c,v 1.177 2012/06/02 17:19:31 tom Exp $") #define STDIN_NAME "" @@ -1212,6 +1212,11 @@ check_cursor(TERMTYPE *tp) int count; char *list[4]; + /* it is rare to have an insert-line feature without a matching delete */ + ANDMISSING(parm_insert_line, insert_line); + ANDMISSING(parm_delete_line, delete_line); + ANDMISSING(parm_insert_line, parm_delete_line); + /* if we have a parameterized form, then the non-parameterized is easy */ ANDMISSING(parm_down_cursor, cursor_down); ANDMISSING(parm_up_cursor, cursor_up); @@ -1385,6 +1390,12 @@ check_keypad(TERMTYPE *tp) if (*show != '\0') _nc_warning("vt100 keypad map incomplete:%s", show); } + + /* + * These warnings are useful for consistency checks - it is possible that + * there are real terminals with mismatches in these + */ + ANDMISSING(key_ic, key_dc); } static void