I'm working remotely on a SLES11 machine (woe is me). On this machine, I'm using git, and specifically, git diff
, which passes its results to less
with some of colorization. Now, for some reason, instead of seeing color, I'm seeing lines which look like:
ESC[1mdiff --git a/path/to/file.h b/path/to/file.hESC[m
ESC[1mindex 1ab153f..0491db9 100644ESC[m
etc.
I know the terminal supports color (ls results are colorized); I have TERM=xterm
and COLORTERM=1
in my environment.
How can I get the colorized diff to display properly?