echo "" | gcc -E -dM -
Tuesday, February 26, 2008
Friday, February 22, 2008
xterm, gcc, and colorization
I've found gcc giving strange output when colorizing it's errors on remote machines. Usually there is a carat-a followed by some garbage. It makes it very hard to read the output when it isn't there. Turns out it is a symptom of xterm not supporting unicode. The simple solution is:
or
depending on the shell.
setenv LANG en_US
or
export LANG=en_US
depending on the shell.
Subscribe to:
Posts (Atom)