'xterm-256color': unknown terminal type.

After upgrading to OSX Lion, I started getting this error on certain (Debian/Ubuntu) servers. The fix is simply to install the “ncurses-term” package which provides the file {{{/usr/share/terminfo/x/xterm-256color}}}.

19 thoughts on “'xterm-256color': unknown terminal type.

  1. Great Info! Is there a workaround that I can do from my Mac’s terminal client? I log into 100+ servers where I don’t have root access and installing anything requires lots of change control.

  2. Works in ubuntu 8.04. Thanks.
    A workaround is to start a xterm in OSX and connect to the linux server from it. At least it works for me.

  3. Ran into this on an unsupported Linux server (no way to install new packages).

    But I don’t care about color, so the simple fix was:

    cd /usr/share/terminfo/x/
    ln -s xterm-mono xterm-256color

    Won’t work for everyone, but will work for others who don’t need/want color.

Leave a Reply

Your email address will not be published. Required fields are marked *