summaryrefslogtreecommitdiff
path: root/usr.bin/tic
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-01-16 01:35:20 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-01-16 01:35:20 +0000
commit4f8aa862930674882c18bd874d1e03ef2b683b90 (patch)
treefdd3069af3a177667aa385bd0920bdcceb7cfc55 /usr.bin/tic
parentb4d14dd490ae681e832fa406a09c4e29963c25ad (diff)
Update to ncurses-5.0-20000115:
+ additional fixes for non-bce terminals (handling of delete_character) to work when assume_default_colors() is not specified. + modify warning message from _nc_parse_entry() regarding extended capability names to print only if tic/infocmp/toe have the -v flag set, and not at all in ordinary user applications. Otherwise, this warning would be shown for screen's extended capabilities in programs that use the termcap interface. + modify use of _nc_tracing from programs such as tic so their debug level is not in the same range as values set by trace() function. + small panel header cleanup (patch by Juergen Pfeifer).
Diffstat (limited to 'usr.bin/tic')
-rw-r--r--usr.bin/tic/tic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tic/tic.c b/usr.bin/tic/tic.c
index 428f77ca01d..2fb3b3ab033 100644
--- a/usr.bin/tic/tic.c
+++ b/usr.bin/tic/tic.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * Copyright (c) 1998,1999 Free Software Foundation, Inc. *
+ * Copyright (c) 1998-2000 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
@@ -42,7 +42,7 @@
#include <dump_entry.h>
#include <term_entry.h>
-MODULE_ID("$From: tic.c,v 1.55 1999/12/11 20:20:54 tom Exp $")
+MODULE_ID("$From: tic.c,v 1.57 2000/01/15 21:44:28 tom Exp $")
const char *_nc_progname = "tic";
@@ -518,7 +518,7 @@ main(int argc, char *argv[])
}
debug_level = (v_opt > 0) ? v_opt : (v_opt == 0);
- _nc_tracing = (1 << debug_level) - 1;
+ set_trace_level(debug_level);
if (_nc_tracing) {
save_check_termtype = _nc_check_termtype;