View previous topic :: View next topic |
Author |
Message |
acwarrie n00b
Joined: 23 Nov 2004 Posts: 9
|
Posted: Wed May 31, 2006 3:35 pm Post subject: emacs shell has strange characters |
|
|
When I go into shell mode from within emacs by typing Alt-x shell <enter>, there are strange characters. For example, when I type ls in a directory containing a single file "testFile", this is the output I get:
^[[0m^[[0mtestFile^[[0m
What is the problem here ? |
|
Back to top |
|
|
limn l33t
Joined: 13 May 2005 Posts: 997
|
Posted: Wed May 31, 2006 4:00 pm Post subject: |
|
|
Code: | $ type ls
ls is aliased to `ls --color=auto' |
You are seeing the color control sequences. You can either
and the sequences will not be used, or load ansi-color, and the sequences will be translated to colors.
See this EmacsWiki page for more on ansi-color. |
|
Back to top |
|
|
acwarrie n00b
Joined: 23 Nov 2004 Posts: 9
|
Posted: Wed May 31, 2006 4:08 pm Post subject: |
|
|
Thank you ! It works ... |
|
Back to top |
|
|
|