You must populate your terminfo database at /usr/share/terminfo with information for your terminal (gnome-terminal, Aterm, Eterm, etc). This database belongs to ncurses. In Debian or Ubuntu, it can be installed with command (as root):
apt-get install ncurses-term
|