Hi If you set TERM to anything aside from screen or screen-256color inside tmux you will get screen corruption because applications will send the incorrect escape sequences. This is not a bug.
The FAQ does not say that setting TERM to screen-256color will just work, although it could probably be clearer. You need to do two things: 1) Set TERM=screen-256color inside so that applications INSIDE tmux know that it supports 256 colours, you can do this however you like but default-terminal is usually easiest. 2) Ensure that tmux knows the outside terminal support 256 colours, either by setting TERM to something with colors=256, or matching *256col*, or by passing -2 to tmux. If you do not do this, tmux will translate ALL colours in the 256 colour palette into their nearest eight-colour equivalent. If you do step (2) and can successfully see 256 colours with, for example, the colortest script at http://www.vim.org/scripts/script.php?script_id=1349, and get them by using TERM=xterm-256color, then it sounds like a problem with the screen-256color terminfo entry. In this case, please send me a copy of "infocmp screen-256color" and "tmux info". -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org