> Hi all,
> I compil a program with lib ncurses. When I run it on AIX system with lib
> ncurses not installed but original curses lib, the program print on a screen
> : "error opening terminal vt220". Is there a solution to resolve this
> problem without installing ncurses on target computer.
There's no guarantee that the compiled terminfo are compatible
between ncurses and AIX - in that case you must install at least
the terminfo that you use. There's an example on my faq to do
a part of the terminfo only.
However - what version of ncurses are you using? I had known that AIX 3.2.5's
terminfo did not work with ncurses from a long time ago, but recently noticed
that ncurses 5.0 was able to read the files (which I have for testing
purposes). Perhaps some of the checks I made would allow it to be compatible.
Perhaps not - more information would be nice (I don't have an AIX box now).
The current version of ncurses is 5.1 (20000708)
There's an faq at