SCCS-vsn: lib/libcurses/refresh.c 5.28
SCCS-vsn: lib/libcurses/tscroll.c 5.4
-static char sccsid[] = "@(#)refresh.c 5.27 (Berkeley) %G%";
+static char sccsid[] = "@(#)refresh.c 5.28 (Berkeley) %G%";
#endif /* not lint */
#include <curses.h>
#endif /* not lint */
#include <curses.h>
mvcur(oy, ox, top, 0);
/* Scroll up the block */
if (DL)
mvcur(oy, ox, top, 0);
/* Scroll up the block */
if (DL)
- tputs(tscroll(DL, n), 0, __cputchar);
+ tputs(__tscroll(DL, n), 0, __cputchar);
else
for(i = 0; i < n; i++)
tputs(dl, 0, __cputchar);
else
for(i = 0; i < n; i++)
tputs(dl, 0, __cputchar);
*/
mvcur(top, 0, bot - n + 1, 0);
if (AL)
*/
mvcur(top, 0, bot - n + 1, 0);
if (AL)
- tputs(tscroll(AL, n), 0, __cputchar);
+ tputs(__tscroll(AL, n), 0, __cputchar);
else
for(i = 0; i < n; i++)
tputs(al, 0, __cputchar);
else
for(i = 0; i < n; i++)
tputs(al, 0, __cputchar);
/* Preserve the bottom lines */
mvcur(oy, ox, bot + n + 1, 0); /* n < 0 */
if (DL)
/* Preserve the bottom lines */
mvcur(oy, ox, bot + n + 1, 0); /* n < 0 */
if (DL)
- tputs(tscroll(DL, -n), 0, __cputchar);
+ tputs(__tscroll(DL, -n), 0, __cputchar);
else
for(i = n; i < 0; i++)
tputs(dl, 0, __cputchar);
else
for(i = n; i < 0; i++)
tputs(dl, 0, __cputchar);
/* Scroll the block down */
if (AL)
/* Scroll the block down */
if (AL)
- tputs(tscroll(AL, -n), 0, __cputchar);
+ tputs(__tscroll(AL, -n), 0, __cputchar);
else
for(i = n; i < 0; i++)
tputs(al, 0, __cputchar);
else
for(i = n; i < 0; i++)
tputs(al, 0, __cputchar);
-static char sccsid[] = "@(#)tscroll.c 5.3 (Berkeley) %G%";
+static char sccsid[] = "@(#)tscroll.c 5.4 (Berkeley) %G%";
#endif /* not lint */
#include <stdio.h>
#endif /* not lint */
#include <stdio.h>
* all other characters are ``self-inserting''.
*/
char *
* all other characters are ``self-inserting''.
*/
char *
const char *cap;
int n;
{
const char *cap;
int n;
{