ITEM: DT7407L

curses program draws boxes with | + - instead of real box


 ENV:
        AIX 4.1.5
        7248-43P
        DEC vt420 terminal

 PROBLEM:
        Writing a curses program that draws boxes and it works fine
        for term types other than vt220 and vt420 - for the DEC
        terminals, the boxes are drawn with + in the corner, and - 
        and | characters for the border rather than actual box
        characters.

*ACTION TAKEN:
        tput font1; tput box1; tput font0

        The actual box drawing characters are displayed so the 
        terminfo file for the vt420 is fine.

        Tried with drawbox in extended curses instead:

        /* Compile with cc boxtest.c -l cur -o boxtest */
        int main()
        {
                initscr();
                drawbox(stdscr, 5, 5, 5, 5);
                refresh();
                sleep(1);
                endwin();
        }

        This worked fine.


Support Line: curses program draws boxes with | + - instead of real box ITEM: DT7407L
Dated: October 1997 Category: N/A
This HTML file was generated 99/06/24~13:30:15
Comments or suggestions? Contact us