Rebuild terminfo files with
TERMINFO=<Full-Path-To-XEmacs-tree>/etc tic *.ti
