Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use gnome-terminal in Centos 5.

I have my terminal settings customized to use the colours I like.

However when I run screen (or tmux) the colours for my terminal input lines are always inverted. Is there a way to turn of the inverting?

edit: my TERM is set to "xterm"

share|improve this question
1  
What is the value of TERM before and after you start tmux or screen? – chepner Jul 9 '12 at 19:46
    
@chepner: inside tmux: screen-256color, outside tmux: xterm, inside screen: screen – lonestar21 Jul 19 '12 at 17:29
    
Have you tried TERM=xterm-256color tmux to start tmux? – scicalculator Aug 20 '12 at 23:18

May this help you? Send escaped reset command to the term:

echo $'\e[0m'

Or, send command to change the fg/bg color, according to the color table:

color table

in the format of <ESCAPE>[<X>;<Y>m. For example, change to blue backcolor and yellow forecolor:

echo $'\e[44;33m'

Which should look like:

screenshot

share|improve this answer
    
Doesn't seem to help. No matter what colours I tried to choose there is something else overriding it, and I still have no control over the look of the characters. – lonestar21 Jul 19 '12 at 17:27

You must log in to answer this question.

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