Coding in Emacs shell?
I am using shell in my emacs v开发者_高级运维ersion 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?
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.
You can also try M-x ansi-term
, or even download Multi term and try that too.
Links:
- Ansi Term
- Multi Term
精彩评论