Garret Raziel
Garret Raziel

Reputation: 385

Coding in Emacs shell?

I am using shell in my emacs version 22.2.1 (debian stable repos) and it has some kind of broken coding. For example, if I run `ls' command, output is

[0m[01;34margouml-0.30.2[0m

not "argouml-0.30.2" as normal. I have tried commands C-x RET p utf-8 and so others but without any effect. I have properly generated utf-8 locales and everywhere else in emacs coding works perfect. Does anybody knows what may be wrong with it?

Upvotes: 1

Views: 490

Answers (2)

darioo
darioo

Reputation: 47183

You can also try M-x ansi-term, or even download Multi term and try that too.

Links:

Upvotes: 1

Wooble
Wooble

Reputation: 89847

Your terminal type in the shell is set incorrectly; those escapes are for colors, but the emacs shell doesn't support them. Try M-x term instead for better support.

Upvotes: 3

Related Questions