aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2001-02-20 11:26:30 +0000
committerEli Zaretskii2001-02-20 11:26:30 +0000
commited85f61dc90eda6fd89abca66292a2370acf8165 (patch)
tree4332d400c49e71161d8ed33f24d7a0322449df4e
parent076fa2d7dd4f8c843a449291c11cc8eba3ed4cf3 (diff)
downloademacs-ed85f61dc90eda6fd89abca66292a2370acf8165.tar.gz
emacs-ed85f61dc90eda6fd89abca66292a2370acf8165.zip
Document possible reasons for lack of colors on a tty.
-rw-r--r--etc/PROBLEMS22
1 files changed, 22 insertions, 0 deletions
diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index a1f85a4c7b7..13b4436d9c0 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -89,6 +89,28 @@ This currently doesn't work with scroll-bar widgets (and we don't know
89a good way of implementing it with widgets). If Emacs is configured 89a good way of implementing it with widgets). If Emacs is configured
90--without-toolkit-scroll-bars, C-mouse-2 on the scroll bar does work. 90--without-toolkit-scroll-bars, C-mouse-2 on the scroll bar does work.
91 91
92* Colors are not available on a tty or in xterm.
93
94Emacs 21 supports colors on character terminals and in xterm (when
95Emacs is invoked with the `-nw' option), but this support on Unix and
96GNU/Linux systems relies on the termcap entry to specify that the
97display supports color. Emacs looks at the "Co" capability for the
98terminal to find out how many colors are supported; it should be
99non-zero to activate the color support within Emacs. (Most color
100terminals support 8 or 16 colors.)
101
102Emacs uses the termcap entry for the terminal whose name is the value
103of the environment variable TERM. On an xterm, a common terminal
104entry that supports color is `xterm-color', so setting TERM's value to
105`xterm-color' might activate the color support.
106
107When Emacs runs on MS-DOS or MS-Windows systems, it always supports
108colors, so the above is only relevant for Unix and GNU/Linux systems.
109
110Some editing modes do not use colors unless you turn on the Font-lock
111mode. One easy way of doing that is by typing "M-x
112global-font-lock-mode RET".
113
92* Problems in Emacs built with LessTif. 114* Problems in Emacs built with LessTif.
93 115
94The problems seem to depend on the version of LessTif and the Motif 116The problems seem to depend on the version of LessTif and the Motif