Ensure $TERMINFO is set