fnf@estinc.UUCP (Fred Fish) (03/30/89)
/*
* 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
daveh@marob.MASA.COM (Dave Hammond) (03/31/89)
In article <75@estinc.UUCP> fnf@estinc.UUCP (Fred Fish) writes: > >/* > * 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. > * [...] This is a display-dependant "feature" (ie if you attach a different display to your console, it might go away). The fault lies not with Curses, but Term[cap|info] handling of standout. If the ansi entry in your term[cap|info] database includes the "ms" capability, removing it often helps this problem. -- Dave Hammond daveh@marob.masa.com