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 want to disable all color in my shell. Not ls, not nano, not vi, nothing. What's the best way to achieve this?

share|improve this question

migrated from stackoverflow.com Apr 6 '11 at 1:38

This question came from our site for professional and enthusiast programmers.

add comment

3 Answers

up vote 5 down vote accepted

if you are using PUTTY to remotely access the shell, then:
- on the left panel, click Colors
- uncheck the three boxes on the right panel (they are checked by default)

share|improve this answer
    
I'll have to switch to a terminal program that lets me do this. Thanks. –  Poe Apr 6 '11 at 1:57
1  
Geekosaur's answer is better for you, really. –  Slomojo Apr 6 '11 at 3:21
    
@slomojo his answer didn't work with my terminal client –  Poe Apr 6 '11 at 9:46
1  
Oh, interesting, which client is it? –  Slomojo Apr 6 '11 at 10:37
    
I'm using iTerm (OS X) and still getting color if I export TERM=vt220, and in 'ls' even after unsetting LS_COLORS –  Poe Apr 7 '11 at 3:42
show 1 more comment
xterm -cm

This will start an xterm with no colors.

share|improve this answer
add comment

unset LS_COLORS; export TERM=xterm should do it, or at least get you most of the way there. You may need to change that to say TERM=vt220 for some overly "smart" programs.

share|improve this answer
2  
Definitely recommend VT220 over XTERM. –  Slomojo Apr 6 '11 at 3:20
2  
"xterm" is a color terminal, to disable colors you need TERM=xterm-mono –  Idelic Apr 11 '11 at 21:37
add comment

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.