So I'm working on a Solaris 10 box from Putty running on Windows 7, and having a lot of trouble getting the terminal colors to work properly in actual programs like vim or tmux.

Here is the output from 256colors:

Putty terminal color test

On the left is my putty terminal connected to Solaris, on the right is running tmux. Vim has very similar problems.

I've tried changing the TERM values: xterm, xtermc, screen-256color, xterm-color, etc. The output from tput colors says 8, and usually 256 from within tmux.

Whats going on?


According to the manual:

-2 Force tmux to assume the terminal supports 256 colours

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.