jonas/tig

Error opening terminal xyz

arozehnal opened this issue · 2 comments

I manage about 20 AIX servers that are connected by one NFS.
On one of the servers I build tig. On this server, tig works fine.
When I install tig on NFS, it also runs from the server where it was build.
When I want to run it from another server, it just gives me a message.
Error opening terminal xyz

All servers are configured uniformly, I tried to change the TERM settings, but without success. Is there any possibility to fix it?

AIX 7.2

You get this message because ncurses cannot find the terminfo database. See ncurses(3X) for more information.

You are right; it was necessary to explicitly set the TERMINFO.

While AIX does support the use of Linux tools https://www.ibm.com/support/pages/node/883796 , the result is that AIX is still the underlying platform, allowing the operation of these Linux tools. However, these tools must be compiled and placed in a separate directory structure on AIX (which includes also own the TERMINFO database). Nevertheless, some routines are provided by AIX libraries.

tig ran for me when I explicitly specified the use of the Linux terminfo. It didn't work with AIX terminfo. I have my TERM set to either xterm or xterm-256color. Definitions for both of these terminals are present in AIX's TERMINFO.