[net.sources] vnews addendum

ka@spanky.UUCP (06/07/83)

Two problems with the vnews distribution.  First, on line 1129 of
visual.c the routine growline is called growlin.  You only need
to fix this under BSD, since other compilers only look at the first
seven characters of variable names anyway.  Secondly, I omitted the
file curterm.c.  It is reproduced below:


/*
 * Additions to curses.
 */

#include <stdio.h>
#include <curses.h>

/*
 * move to the bottom of the screen.
 */

botscreen() {
	move(LINES-1, 0);
	refresh();
	putchar('\n');
	fflush(stdout);
}


/*
 * Clear a line.
 */

clrline(linno) {
	move(linno, 0);
	clrtoeol();
}


#ifdef ACURSES
/*
 * Ring the bell on the terminal.
 */

beep() {
	putchar('\007');
	fflush(stdout);
}
#endif