diff --git a/lib/libcurses/curses.c b/lib/libcurses/curses.c index edfad76576d6..db6d675058b0 100644 --- a/lib/libcurses/curses.c +++ b/lib/libcurses/curses.c @@ -1,4 +1,4 @@ -/* $NetBSD: curses.c,v 1.17 2000/12/19 21:34:25 jdc Exp $ */ +/* $NetBSD: curses.c,v 1.18 2000/12/22 17:07:12 jdc Exp $ */ /* * Copyright (c) 1981, 1993, 1994 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)curses.c 8.3 (Berkeley) 5/4/94"; #else -__RCSID("$NetBSD: curses.c,v 1.17 2000/12/19 21:34:25 jdc Exp $"); +__RCSID("$NetBSD: curses.c,v 1.18 2000/12/22 17:07:12 jdc Exp $"); #endif #endif /* not lint */ @@ -53,7 +53,7 @@ int __noqch = 0; /* * insert/delete line capabilities * for quick change on refresh. */ -char __tc_pc; +char PC; char __tc_am, __tc_bs, __tc_cc, __tc_da, __tc_eo, __tc_hc, __tc_hl, __tc_in, __tc_mi, __tc_ms, __tc_nc, __tc_ns, __tc_os, __tc_ul, __tc_ut, diff --git a/lib/libcurses/curses.h b/lib/libcurses/curses.h index fed1ba6b73ba..3deaedd3a04d 100644 --- a/lib/libcurses/curses.h +++ b/lib/libcurses/curses.h @@ -1,4 +1,4 @@ -/* $NetBSD: curses.h,v 1.49 2000/12/19 21:34:24 jdc Exp $ */ +/* $NetBSD: curses.h,v 1.50 2000/12/22 17:07:13 jdc Exp $ */ /* * Copyright (c) 1981, 1993, 1994 @@ -81,6 +81,9 @@ typedef char bool; #define nocrmode() nocbreak() #define ospeed (cfgetospeed(&__baset)) #endif /* _CURSES_PRIVATE */ + +/* Termcap capabilities. */ +extern char PC; /* END BACKWARD COMPATIBILITY ONLY. */ /* symbols for values returned by getch in keypad mode */ diff --git a/lib/libcurses/curses_private.h b/lib/libcurses/curses_private.h index 6b4f1c6297f7..79060b29d551 100644 --- a/lib/libcurses/curses_private.h +++ b/lib/libcurses/curses_private.h @@ -1,4 +1,4 @@ -/* $NetBSD: curses_private.h,v 1.11 2000/12/19 21:34:25 jdc Exp $ */ +/* $NetBSD: curses_private.h,v 1.12 2000/12/22 17:07:13 jdc Exp $ */ /*- * Copyright (c) 1998-2000 Brett Lymn @@ -105,7 +105,6 @@ extern int My_term; /* Use Def_term regardless. */ extern const char *Def_term; /* Default terminal type. */ /* Termcap capabilities. */ -extern char __tc_pc; extern char __tc_am, __tc_bs, __tc_cc, __tc_da, __tc_eo, __tc_hc, __tc_hl, __tc_in, __tc_mi, __tc_ms, __tc_nc, __tc_ns, __tc_os, __tc_ul, __tc_ut, diff --git a/lib/libcurses/pause.c b/lib/libcurses/pause.c index abfca8340849..97a9acc10def 100644 --- a/lib/libcurses/pause.c +++ b/lib/libcurses/pause.c @@ -1,4 +1,4 @@ -/* $NetBSD: pause.c,v 1.2 2000/12/19 21:34:25 jdc Exp $ */ +/* $NetBSD: pause.c,v 1.3 2000/12/22 17:07:13 jdc Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ #include #ifndef lint -__RCSID("$NetBSD: pause.c,v 1.2 2000/12/19 21:34:25 jdc Exp $"); +__RCSID("$NetBSD: pause.c,v 1.3 2000/12/22 17:07:13 jdc Exp $"); #endif /* not lint */ #include @@ -77,7 +77,7 @@ delay_output(int ms) #ifdef DEBUG __CTRACE ("delay_output: %d\n", ms); #endif - if (!__tc_pc) + if (!PC) return(napms(ms)); if (asprintf(&delstr, "%d", ms) == -1) diff --git a/lib/libcurses/setterm.c b/lib/libcurses/setterm.c index 6b38a7becbc5..9a8a16708e25 100644 --- a/lib/libcurses/setterm.c +++ b/lib/libcurses/setterm.c @@ -1,4 +1,4 @@ -/* $NetBSD: setterm.c,v 1.27 2000/12/19 21:34:24 jdc Exp $ */ +/* $NetBSD: setterm.c,v 1.28 2000/12/22 17:07:13 jdc Exp $ */ /* * Copyright (c) 1981, 1993, 1994 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)setterm.c 8.8 (Berkeley) 10/25/94"; #else -__RCSID("$NetBSD: setterm.c,v 1.27 2000/12/19 21:34:24 jdc Exp $"); +__RCSID("$NetBSD: setterm.c,v 1.28 2000/12/22 17:07:13 jdc Exp $"); #endif #endif /* not lint */ @@ -191,7 +191,7 @@ setterm(char *type) } else __CA = 1; - __tc_pc = _PC ? _PC[0] : 0; + PC = _PC ? _PC[0] : 0; aoftspace = tspace; if (unknown) { strcpy(ttytype, "dumb");