summaryrefslogtreecommitdiff
path: root/usr.bin/vi/cl
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-07-24 00:07:43 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-07-24 00:07:43 +0000
commit8a2ab60466cbd2986529c0e969ebfa5a622a5aa7 (patch)
treea476c71bd9301205f613b5ff394fc6d9da596b87 /usr.bin/vi/cl
parent30ccdeeff34f8e3eec2205b58637d47f40e5523d (diff)
-D_USE_OLD_CURSE_ for -locurses and no more -ltermlib/termcap
Diffstat (limited to 'usr.bin/vi/cl')
-rw-r--r--usr.bin/vi/cl/cl_bsd.c4
-rw-r--r--usr.bin/vi/cl/cl_funcs.c4
-rw-r--r--usr.bin/vi/cl/cl_main.c4
-rw-r--r--usr.bin/vi/cl/cl_read.c4
-rw-r--r--usr.bin/vi/cl/cl_screen.c4
-rw-r--r--usr.bin/vi/cl/cl_term.c6
6 files changed, 1 insertions, 25 deletions
diff --git a/usr.bin/vi/cl/cl_bsd.c b/usr.bin/vi/cl/cl_bsd.c
index b1d454556ee..4a06a54af2f 100644
--- a/usr.bin/vi/cl/cl_bsd.c
+++ b/usr.bin/vi/cl/cl_bsd.c
@@ -17,11 +17,7 @@ static const char sccsid[] = "@(#)cl_bsd.c 8.29 (Berkeley) 7/1/96";
#include <bitstring.h>
#include <ctype.h>
-#ifdef USE_OCURSES
-#include <ocurses.h>
-#else
#include <curses.h>
-#endif
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/usr.bin/vi/cl/cl_funcs.c b/usr.bin/vi/cl/cl_funcs.c
index 1f27417a624..40315ee85e8 100644
--- a/usr.bin/vi/cl/cl_funcs.c
+++ b/usr.bin/vi/cl/cl_funcs.c
@@ -19,11 +19,7 @@ static const char sccsid[] = "@(#)cl_funcs.c 10.50 (Berkeley) 9/24/96";
#include <bitstring.h>
#include <ctype.h>
-#ifdef USE_OCURSES
-#include <ocurses.h>
-#else
#include <curses.h>
-#endif
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/usr.bin/vi/cl/cl_main.c b/usr.bin/vi/cl/cl_main.c
index a5f0668b7c8..43381d1fb7f 100644
--- a/usr.bin/vi/cl/cl_main.c
+++ b/usr.bin/vi/cl/cl_main.c
@@ -19,11 +19,7 @@ static const char sccsid[] = "@(#)cl_main.c 10.36 (Berkeley) 10/14/96";
#include <bitstring.h>
#include <errno.h>
#include <fcntl.h>
-#ifdef USE_OCURSES
-#include <ocurses.h>
-#else
#include <curses.h>
-#endif
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/usr.bin/vi/cl/cl_read.c b/usr.bin/vi/cl/cl_read.c
index cdae2a09951..d71e03f8c5e 100644
--- a/usr.bin/vi/cl/cl_read.c
+++ b/usr.bin/vi/cl/cl_read.c
@@ -23,11 +23,7 @@ static const char sccsid[] = "@(#)cl_read.c 10.15 (Berkeley) 9/24/96";
#include <bitstring.h>
#include <errno.h>
#include <fcntl.h>
-#ifdef USE_OCURSES
-#include <ocurses.h>
-#else
#include <curses.h>
-#endif
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/usr.bin/vi/cl/cl_screen.c b/usr.bin/vi/cl/cl_screen.c
index 4788be6d042..23e74be812c 100644
--- a/usr.bin/vi/cl/cl_screen.c
+++ b/usr.bin/vi/cl/cl_screen.c
@@ -18,11 +18,7 @@ static const char sccsid[] = "@(#)cl_screen.c 10.49 (Berkeley) 9/24/96";
#include <bitstring.h>
#include <errno.h>
-#ifdef USE_OCURSES
-#include <ocurses.h>
-#else
#include <curses.h>
-#endif
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/usr.bin/vi/cl/cl_term.c b/usr.bin/vi/cl/cl_term.c
index a86b9924b00..7d7661f870f 100644
--- a/usr.bin/vi/cl/cl_term.c
+++ b/usr.bin/vi/cl/cl_term.c
@@ -21,11 +21,7 @@ static const char sccsid[] = "@(#)cl_term.c 10.22 (Berkeley) 9/15/96";
#include <bitstring.h>
#include <errno.h>
#include <limits.h>
-#ifdef USE_OCURSES
-#include <ocurses.h>
-#else
#include <curses.h>
-#endif
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
@@ -451,7 +447,7 @@ noterm: if (row == 0)
return (0);
}
-#ifdef USE_OCURSES
+#ifdef _USE_OLD_CURSES_
/*
* cl_putchar --
* Function version of putchar, for tputs.