I want to disable all color in my shell. Not ls, not nano, not vi, nothing. What's the best way to achieve this?

link|improve this question
feedback

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

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

4 Answers

up vote 0 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)

link|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
feedback

enter image description here

link|improve this answer
4  
+1 for the lulz – ctcherry Apr 6 '11 at 1:35
According to Wikipedia, the text on this machine was light bluish. No go! :P – l0b0 Apr 17 at 13:13
feedback

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.

link|improve this answer
1  
Definitely recommend VT220 over XTERM. – slomojo Apr 6 '11 at 3:20
1  
"xterm" is a color terminal, to disable colors you need TERM=xterm-mono – Idelic Apr 11 '11 at 21:37
feedback
xterm -cm

This will start an xterm with no colors.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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