At Sun, 9 Sep 2001 06:52:28 +0100,
Glynn Clements wrote:
Note that shell-mode can handle colour via ansi-color.el (from the
text-modes package); use ansi-color-for-comint-mode-on to enable it.
Yes; I'd already found this, but just colouring wasn't enough. Also,
for the main thing for which this would be useful, ls --color, this
would need some fiddling in my .bashrc, because dircolors rightly
notices that TERM=emacs doesn't support colour, and so doesn't set
things up right. I guess the thing to do would be to temporarily set
TERM to vt100, run dircolors, and then restore it, but if you have a
better suggestion, I'd be glad to hear it.