emacs 256 色支持 [英] emacs 256 colour support
本文介绍了emacs 256 色支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用的是 ubuntu 9.04 和 GNU Emacs 22.2.1
I am using ubuntu 9.04 and GNU Emacs 22.2.1
我正在使用终端加载 emacs,即 emacs -nw
I am using the terminal to load emacs i.e. emacs -nw
但是,我只运行 8 种颜色.
However, I am only running in 8 colours.
M-X list-colors-display
仅显示 8 种颜色.
在终端我运行这个命令
tput colors
我得到 8 个显示
如何获得完整的 256 色支持?
How can I get full 256 colour support?
非常感谢您的建议,
推荐答案
刚刚在我的 Debian 机器上测试,我和你一样(8 种颜色).
Just testing on my Debian machine, I get the same as you (8 colours).
你没有说你是否在使用 xterm,但在我的 xterm 中我已经输入了
You don't say whether you are using an xterm, but in my xterm I have typed
export TERM=xterm-256color
然后 emacs -nw
后跟 list-colors-display
显示 256 种颜色.
and then emacs -nw
followed by list-colors-display
shows 256 colours.
这篇关于emacs 256 色支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文