Removed need for TERMINFO to be set.