aboutsummaryrefslogtreecommitdiffstats
path: root/vietnamese/vnless
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-11-03 19:02:31 +0800
committerobrien <obrien@FreeBSD.org>2000-11-03 19:02:31 +0800
commit7fdcdce7272668c1187786923895472077d55e74 (patch)
tree6f8d49605a95f80ca908429186ace97d980b6b85 /vietnamese/vnless
parentd7c13075f764d70c9a2ca93becdb85303cafa8e4 (diff)
downloadfreebsd-ports-gnome-7fdcdce7272668c1187786923895472077d55e74.tar.gz
freebsd-ports-gnome-7fdcdce7272668c1187786923895472077d55e74.tar.zst
freebsd-ports-gnome-7fdcdce7272668c1187786923895472077d55e74.zip
Fix curses clear() usage.
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);