[cfe-dev] Disable color errors globally?

Ronald F. Guilmette via cfe-dev cfe-dev at lists.llvm.org
Tue Jun 18 14:07:32 PDT 2019


In message <CAL2T-v61We_KVFNcO8iyy0BOw7MwF7B_V-Gt7yBWyU6Ob4bwCw at mail.gmail.com>
Don Hinton <hintonda at gmail.com> wrote:

>Haven't investigated at all, but why not just set your terminal to not
>display colors?, e.g., TERM=xterm, or something like that?

Ummm... my TERM environment variable is already set to xterm.

I see the pretty colors anyway.

Maybe I should try setting TERM to "bogus".  I guess I'll gve it a try.

(I guess I should also try also unsetting TERMCAP.)

It's an interesting question anyway.  If you inherited a bunch of code
from somebody else, and didn't want to go groveling through all of the
Makefiles in the whole tree, just to (universally) set some particular
clang command line option for all complies, it might be be handy if
clang were to support passing it options via some environment variable.




More information about the cfe-dev mailing list