Use correct terminfo file.