Mercurial > emacs
comparison etc/PROBLEMS @ 36221:a1ee57f6f276
Document possible reasons for lack of colors on a tty.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Tue, 20 Feb 2001 11:26:30 +0000 |
parents | 1ddf9f48dc2f |
children | db153cee8704 |
comparison
equal
deleted
inserted
replaced
36220:f9a70f278391 | 36221:a1ee57f6f276 |
---|---|
86 * Clicking C-mouse-2 in the scroll bar doesn't split the window. | 86 * Clicking C-mouse-2 in the scroll bar doesn't split the window. |
87 | 87 |
88 This currently doesn't work with scroll-bar widgets (and we don't know | 88 This currently doesn't work with scroll-bar widgets (and we don't know |
89 a good way of implementing it with widgets). If Emacs is configured | 89 a 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 | |
92 * Colors are not available on a tty or in xterm. | |
93 | |
94 Emacs 21 supports colors on character terminals and in xterm (when | |
95 Emacs is invoked with the `-nw' option), but this support on Unix and | |
96 GNU/Linux systems relies on the termcap entry to specify that the | |
97 display supports color. Emacs looks at the "Co" capability for the | |
98 terminal to find out how many colors are supported; it should be | |
99 non-zero to activate the color support within Emacs. (Most color | |
100 terminals support 8 or 16 colors.) | |
101 | |
102 Emacs uses the termcap entry for the terminal whose name is the value | |
103 of the environment variable TERM. On an xterm, a common terminal | |
104 entry that supports color is `xterm-color', so setting TERM's value to | |
105 `xterm-color' might activate the color support. | |
106 | |
107 When Emacs runs on MS-DOS or MS-Windows systems, it always supports | |
108 colors, so the above is only relevant for Unix and GNU/Linux systems. | |
109 | |
110 Some editing modes do not use colors unless you turn on the Font-lock | |
111 mode. One easy way of doing that is by typing "M-x | |
112 global-font-lock-mode RET". | |
91 | 113 |
92 * Problems in Emacs built with LessTif. | 114 * Problems in Emacs built with LessTif. |
93 | 115 |
94 The problems seem to depend on the version of LessTif and the Motif | 116 The problems seem to depend on the version of LessTif and the Motif |
95 emulation for which it is set up. | 117 emulation for which it is set up. |