emacs 256色支持 [英] emacs 256 colour support

查看:187
本文介绍了emacs 256色支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用ubuntu 9.04和GNU Emacs 22.2.1



我正在使用终端加载emacs,即 emacs -nw



但是,我只运行8种颜色。

  MX list-colors-display 

只显示8种颜色。



在终端中运行此命令



tput颜色,我得到8显示



如何获得完整的256色支持?



非常感谢任何建议,

解决方案

只需在我的Debian机器上测试,我得到和你一样(8种颜色)。



你不说你是否使用xterm,但是在我的xterm中我输入了

  export TERM = xterm-256color 

然后 emacs -nw 后跟 list-colors-display 显示256种颜色。


I am using ubuntu 9.04 and GNU Emacs 22.2.1

I am using the terminal to load emacs i.e. emacs -nw

However, I am only running in 8 colours.

M-X list-colors-display

Only displays 8 colours.

In the terminal I run this command

tput colors and I get 8 displayed

How can I get full 256 colour support?

Many thanks for any advice,

解决方案

Just testing on my Debian machine, I get the same as you (8 colours).

You don't say whether you are using an xterm, but in my xterm I have typed

export TERM=xterm-256color

and then emacs -nw followed by list-colors-display shows 256 colours.

这篇关于emacs 256色支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆