update terminfo documentation