SCO 2.3 curses bug 3

Fred Fish fnf at estinc.UUCP
Thu Mar 30 03:43:21 AEST 1989


/*
 *	This little program demonstrates what I believe to be a bug
 *	in the SCO 2.3 development package curses library.  During
 *	installation, the "terminfo curses" option was selected.
 *	The screen is left painted in standout mode.
 *
 *	Compile as "cc -o cursesbug3 cursesbug3.c -lcurses"
 *
 *	Note that you have to have the environment variable
 *	TERM=ansi (the default).
 *
 */

#include <curses.h>

main ()
{
	initscr ();
	standout ();
	printw ("something");
	standend ();
	refresh ();
	erase ();
	refresh ();
	endwin ();
}
-- 
# Fred Fish, 1835 E. Belmont Drive, Tempe, AZ 85284,  USA
# 1-602-491-0048           asuvax!{nud,mcdphx}!estinc!fnf



More information about the Comp.unix.xenix mailing list