terminfo variable

12 Feb 2016

This is a quick reminder to my future self about how to fix some annoying TERM errors

./bin/atop
Error opening terminal: rxvt-unicode-256color.

On these cases it could help to define the TERM variable to a more standard type, eg;

TERM=xterm ./bin/atop

Or/and specify the TERMINFO variable, eg:

TERMINFO='/usr/share/terminfo/'  ./bin/atop

This is specially useful for compiled programs who configured the TERMINFO variable to a different one during compilation time.

That’s it, happy launching 😋