How to set TERM to xterm-256color

Updated post here: https://codeyarns.github.io/tech/2015-03-18-how-to-set-term-to-xterm-256color.html

7 thoughts on “How to set TERM to xterm-256color

  1. Thank you so much, I had already tried the wrong solutions mentioned in this post and unsurprisingly they didn’t work. Now I have a better understanding on how this works!

    Like

    1. I had the same problem. The xterm pops up. You may not have ‘fish’ shell. If you have dconf -editor, find ther the terminal options and replace ‘fish’ shell by something you have.

      Like

  2. Thanks – I’ve been working around this for too long and this is the right fix. In my case, it involved telling iTerm2 to report term type as xterm-256color. All working great now in local & remote shells.

    Like

  3. I tried this: alias ssh="env TERM=xterm-256color ssh". From my understanding of your explanation, this could also help?

    Like

Leave a Reply to cesar Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.