[Gllug] emacs shell

Holger Duerer hduerer at gmx.net
Mon Aug 2 15:16:19 UTC 2004


>>>>> "JF" == J F <jnns at linuxmail.org> writes:

    JF> Hello
    JF> WHen running 'ls' in a shell in Emacs (M+x shell), the colour
    JF> escape codes appear on screen.

    JF> How can I disable them?

As some other person mentioned by explicitly invoking it with an
option to not use colour.  Alternatively, you could find out, why it
wants to use colour (the terminal type should be 'dumb' which, I
believe, does not specify colour capabilities).  Some system init
script could either create an alias for 'ls' to invoke ls with the
colour option or some environment variable (the name of which escapes
me at the moment) could be set.  In the former case you need to
unalias the offending command in the latter unset the environment
variable.


        Holger
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list