Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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