Revert the change to the `pc' capability from the previous change. Pointed
out in email by Thomas Dickey.
This commit is contained in:
parent
b5590faec8
commit
c9e9551689
|
@ -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,
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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 <sys/cdefs.h>
|
||||
#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 <stdarg.h>
|
||||
|
@ -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)
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue