summaryrefslogtreecommitdiff
path: root/misc/44bsd-more/files/patch-screen.c
diff options
context:
space:
mode:
authorTim Vanderhoek <hoek@FreeBSD.org>2001-01-06 03:41:36 +0000
committerTim Vanderhoek <hoek@FreeBSD.org>2001-01-06 03:41:36 +0000
commit36647dc805ede441feb033a31774c27e02c5c72e (patch)
tree6497cc5b99dba481a6330ed2cc92d8ffc9859a95 /misc/44bsd-more/files/patch-screen.c
parentRemove extra .gz in MAN1. (diff)
Quick hacks to catch this port up with FreeBSD, namely the upgrade
to ncurses and the removal of CIRCLEQ. Proper hacks will be made at a later date. This gets us compiling again.
Notes
Notes: svn path=/head/; revision=36841
Diffstat (limited to 'misc/44bsd-more/files/patch-screen.c')
-rw-r--r--misc/44bsd-more/files/patch-screen.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/misc/44bsd-more/files/patch-screen.c b/misc/44bsd-more/files/patch-screen.c
new file mode 100644
index 000000000000..9e846af185fb
--- /dev/null
+++ b/misc/44bsd-more/files/patch-screen.c
@@ -0,0 +1,23 @@
+diff -U8 -r ../work.orig/screen.c ./screen.c
+--- ../work.orig/screen.c Fri Jan 5 22:17:02 2001
++++ ./screen.c Fri Jan 5 22:36:53 2001
+@@ -122,17 +122,19 @@
+ #define M_UL 2
+ #define M_BO 4
+
+ /*
+ * These two variables are sometimes defined in,
+ * and needed by, the termcap library.
+ * It may be necessary on some systems to declare them extern here.
+ */
++#if 0
+ /*extern*/ speed_t ospeed; /* Terminal output baud rate */
++#endif
+ /*extern*/ char PC; /* Pad character */
+
+ extern int back_scroll;
+
+ /*
+ * Change terminal to "raw mode", or restore to "normal" mode.
+ * "Raw mode" means
+ * 1. An outstanding read will complete on receipt of a single keystroke.