小编mwt*_*mwt的帖子

如何让 Putty 在 CentOS 上的 Emacs 中支持 256 色?

据我浏览,我的 Emacs 应该有 256 种颜色,但我没有。

我在ec2 实例上运行 CentOS 5.4 。我在 Windows 7 上运行 Putty 0.60。Putty 设置为发送xterm-256color其终端字符串。Putty 设置为允许 256 种颜色。在 CentOS 上,my$TERM设置为xterm-256color.

tput colors显示 256。我将 Emacs 重新编译为 23.2,确保libtermcap-devel事先安装,因为有人声称他们需要那个。但是,当我M-x list-colors-display在 Emacs 中时,它只显示 8 种颜色。

linux centos emacs putty

6
推荐指数
1
解决办法
2092
查看次数

标签 统计

centos ×1

emacs ×1

linux ×1

putty ×1