在emacs的shell模式下使用shell 怎么有乱码?

Vim、Emacs配置和使用
回复
codycody23
帖子: 167
注册时间: 2008-06-19 15:27

在emacs的shell模式下使用shell 怎么有乱码?

#1

帖子 codycody23 » 2009-01-12 14:36

在emacs的shell模式下使用shell 怎么有乱码?
不在emacs下又没事

在emcas下:
图片

不在emacs下:
图片
linuxiverson
帖子: 14
注册时间: 2008-10-25 17:27

Re: 在emacs的shell模式下使用shell 怎么有乱码?

#2

帖子 linuxiverson » 2009-04-13 20:57

在.emacs当中添加:
(setq ansi-color-for-comint-mode t)
(customize-group 'ansi-colors)
如果不成功试试只添加第一句
回复