diff options
author | obrien <obrien@FreeBSD.org> | 2000-11-03 11:02:31 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-11-03 11:02:31 +0000 |
commit | 7fdcdce7272668c1187786923895472077d55e74 (patch) | |
tree | 6f8d49605a95f80ca908429186ace97d980b6b85 /vietnamese | |
parent | d7c13075f764d70c9a2ca93becdb85303cafa8e4 (diff) | |
download | FreeBSD-ports-7fdcdce7272668c1187786923895472077d55e74.zip FreeBSD-ports-7fdcdce7272668c1187786923895472077d55e74.tar.gz |
Fix curses clear() usage.
Diffstat (limited to 'vietnamese')
-rw-r--r-- | vietnamese/vnless/files/patch-funcs.h | 7 | ||||
-rw-r--r-- | vietnamese/vnless/files/patch-prim.c | 38 | ||||
-rw-r--r-- | vietnamese/vnless/files/patch-screen.c | 9 |
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 0000000..72308c9 --- /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 0000000..8a4a2fa --- /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 0000000..86bf797 --- /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); |