[求助]关于emacs23终端的问题

Vim、Emacs配置和使用
回复
tandkzy
帖子: 512
注册时间: 2006-02-12 19:29

[求助]关于emacs23终端的问题

#1

帖子 tandkzy » 2011-02-12 13:25

我的系统是ubuntu10.04。安装的是官方源里的emacs23,啥配置也没调过。在emacs中启用终端(个人对emacs的配置很小白,只会M-x shell),随便输入一个常用的命令,例如ls,出来的结果总有很多不需要的字符。就像下面这个样子

代码: 全选

[01;32[color=#BF0000]mnovel.tx[/color]t[0m
中间红色的才是正常的输出内容。
我想问下怎么把这个调到正常,说实话这个相当的影响使用。
tandkzy
帖子: 512
注册时间: 2006-02-12 19:29

Re: [求助]关于emacs23终端的问题

#2

帖子 tandkzy » 2011-02-12 16:33

那个,应该怎么弄?源里的版本还是23.1.1
cuiaoxiang
帖子: 62
注册时间: 2010-02-01 19:08

Re: [求助]关于emacs23终端的问题

#3

帖子 cuiaoxiang » 2011-02-26 11:58

我的也是 23.1.1
你试试看加上这个?
;; shell-mode with ansi color
(ansi-color-for-comint-mode-on)

以前一直用 eshell 的,后来发现还是 shell mode 好
God grant me the serenity to accept the things I cannot change
the courage to change the things I can
the wisdom know the difference
回复