Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!pacbell!att!mcdchg!mcdphx!estinc!fnf From: fnf@estinc.UUCP (Fred Fish) Newsgroups: comp.unix.xenix Subject: SCO 2.3 curses bug 2 Message-ID: <74@estinc.UUCP> Date: 29 Mar 89 17:42:32 GMT Organization: Enhanced Software Technologies Inc., Tempe, Az Lines: 40 /* * 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. * There is garbage standout "blanks" left at the end of a line. * * Compile as "cc -o cursesbug2 cursesbug2.c -lcurses" * * Note that you have to have the environment variable * TERM=ansi (the default) and the length of the strings * is significant. * */ #include main () { initscr (); move (0,3); standout (); printw ("this is standout!"); standend (); move (0,30); printw ("this is just a normal run of text.."); refresh (); erase (); move (0,3); standout (); printw ("standout again!"); standend (); move (0,30); printw ("note the garbage standout at end of line"); refresh (); endwin (); } -- # Fred Fish, 1835 E. Belmont Drive, Tempe, AZ 85284, USA # 1-602-491-0048 asuvax!{nud,mcdphx}!estinc!fnf