vnews addendum

ka at spanky.UUCP ka at spanky.UUCP
Tue Jun 7 07:47:16 AEST 1983


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



More information about the Comp.sources.unix mailing list