QNX RTP 6.1 w/ ncurses

Note: I don’t know if this is the right place to post it. If it’s not, I’m
sorry.

I’m trying to draw a CUI using ncurses using A_ALTCHARSET on a PC.

Using the following code;

------ snipet -----
#include <curses.h>

int main()
{
initscr();
printw(“MMMMMMMMMM\n”);
mvchgat(0, 0, 10, A_ALTCHARSET, 1, NULL);
refresh();
getch();
endwin();

return 0;
}

------ snipet -----

$ gcc test.c -lncurses -o test

I get the double horizontal line that I want, great, but all characters
after the 2nd are blinking.
I’ve tried lots of different ways of setting the A_ALTCHARSET, still have
the same result.
I looked on the net for a solution, but I can’t find anybody that had that
problem.

Is ncurses the right thing to use under QNX? Is there another solution?
I’m lost here.

Thanks for the help.

-Stef.