summaryrefslogtreecommitdiff
path: root/vietnamese/vnless
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-11-03 11:02:31 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-11-03 11:02:31 +0000
commit1070a9f5d26d781a759ff00b7a7f33d3609fb030 (patch)
tree71816bea076a8658fbf9d8f03c9e3899960d1b6b /vietnamese/vnless
parentFix checksum. This isn't my port, so I don't know why it was wrong. (diff)
Fix curses clear() usage.
Notes
Notes: svn path=/head/; revision=34720
Diffstat (limited to 'vietnamese/vnless')
-rw-r--r--vietnamese/vnless/files/patch-funcs.h7
-rw-r--r--vietnamese/vnless/files/patch-prim.c38
-rw-r--r--vietnamese/vnless/files/patch-screen.c9
3 files changed, 54 insertions, 0 deletions
diff --git a/vietnamese/vnless/files/patch-funcs.h b/vietnamese/vnless/files/patch-funcs.h
new file mode 100644
index 000000000000..72308c93b816
--- /dev/null
+++ b/vietnamese/vnless/files/patch-funcs.h
@@ -0,0 +1,7 @@
+--- funcs.h.orig Mon Feb 24 12:45:37 1992
++++ funcs.h Sat May 20 01:41:19 2000
+@@ -54,3 +54,3 @@
+ public void vbell ();
+- public void clear ();
++ public void clearscr ();
+ public void clear_eol ();
diff --git a/vietnamese/vnless/files/patch-prim.c b/vietnamese/vnless/files/patch-prim.c
new file mode 100644
index 000000000000..8a4a2fabf051
--- /dev/null
+++ b/vietnamese/vnless/files/patch-prim.c
@@ -0,0 +1,38 @@
+--- prim.c.orig Mon Feb 24 12:45:40 1992
++++ prim.c Sat May 20 01:42:18 2000
+@@ -110,7 +110,7 @@
+ * but we don't yet know if that will happen. }}
+ */
+ if (top_scroll == 2)
+- clear();
++ clearscr();
+ home();
+ force = 1;
+ } else
+@@ -132,7 +132,7 @@
+ if (top_scroll)
+ {
+ if (top_scroll == 2)
+- clear();
++ clearscr();
+ home();
+ } else if (!first_time)
+ {
+@@ -352,7 +352,7 @@
+ }
+ lastmark();
+ pos = ch_tell();
+- clear();
++ clearscr();
+ pos_clear();
+ add_back_pos(pos);
+ back(sc_height - 1, pos, 0, 0);
+@@ -503,7 +503,7 @@
+ * More than a screenful back.
+ */
+ lastmark();
+- clear();
++ clearscr();
+ pos_clear();
+ add_back_pos(npos);
+ }
diff --git a/vietnamese/vnless/files/patch-screen.c b/vietnamese/vnless/files/patch-screen.c
new file mode 100644
index 000000000000..86bf7977fb92
--- /dev/null
+++ b/vietnamese/vnless/files/patch-screen.c
@@ -0,0 +1,9 @@
+--- screen.c.orig Mon Feb 24 12:45:41 1992
++++ screen.c Sat May 20 01:40:56 2000
+@@ -481,5 +481,5 @@
+ */
+ public void
+-clear()
++clearscr()
+ {
+ tputs(sc_clear, sc_height, putchr);