Use emacs' terminfo, not the system's