1

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?

2
  • 1
    What happens when you run tmux with the -2 flag? -2 Force tmux to assume the terminal supports 256 colours unix.stackexchange.com/questions/1045/…
    – HBruijn
    Aug 22, 2014 at 13:56
  • Ah! That fixed it. I was unaware there was another flag to set.
    – Petriborg
    Aug 22, 2014 at 14:01

1 Answer 1

2

According to the manual:

-2 Force tmux to assume the terminal supports 256 colours

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .