Chinaunix

标题: Emacs shell-mode乱码解决 [打印本页]

作者: riverbird2005    时间: 2010-01-21 10:22
标题: Emacs shell-mode乱码解决


每次在进入emacs下面,使用shell-mode来进行命令行操作,乱码显示总让人头疼不已,不过,现在终于找到方法解决了。1).方法一,改配置文件.emacs:(setq ansi-color-for-comint-mode t), 不过在我的emacs里面试了一下并不成功。2). 方法二, 键入操作:M-x ansi-term,这个就没有问题。这篇文章是一篇不错的有关emacs配置的Q&A:http://myknobby.spaces.live.com/Blog/cns!1pZiBfdrlJdyNTdFGqyf_9Ig!109.entry,推荐。


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/15586/showart_2155702.html




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2