Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!ncar!noao!asuvax!mcdphx!estinc!fnf From: fnf@estinc.UUCP (Fred Fish) Newsgroups: comp.unix.xenix Subject: SCO 2.3 development system curses bug Message-ID: <73@estinc.UUCP> Date: 26 Mar 89 18:55:08 GMT Organization: Enhanced Software Technologies Inc., Tempe, Az Lines: 41 /* * 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 line that should be plain text comes out underlined. * * Note that 2.3.1 was shipped with the 2.2 development system * so you must have upgraded to the 2.3 development system * to get this bug. * * Compile as "cc -o cursesbug cursesbug.c -lcurses" * * Note, the order of screen painting appears to be a significant * factor. If the lines are reordered such that painting occurs * from top to bottom with no reverse motion, the bug goes away. * */ #include main () { initscr (); move (0, 0); attron (A_UNDERLINE); printw ("This should be underlined text."); attroff (A_UNDERLINE); move (2, 0); attron (A_STANDOUT); printw ("This should be standout text."); attroff (A_STANDOUT); move (1, 0); printw ("This should be plain text (no underline or bold)."); move (1, 0); refresh (); endwin (); } -- # Fred Fish, 1835 E. Belmont Drive, Tempe, AZ 85284, USA # 1-602-491-0048 asuvax!{nud,mcdphx}!estinc!fnf