summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2001-06-15 10:04:55 +0000
committerEli Zaretskii <eliz@gnu.org>2001-06-15 10:04:55 +0000
commitb300fd772c538b8ad1c49005c6806a5184a16c90 (patch)
tree99fe10863caec5569bf4b1f4be2dda2766a47c82 /etc
parent6da7ea569dbb4639d8eca9a6a8e0d099c4c2ddcb (diff)
downloademacs-b300fd772c538b8ad1c49005c6806a5184a16c90.tar.gz
More info about fixing problems with colors on a tty.
Diffstat (limited to 'etc')
-rw-r--r--etc/PROBLEMS18
1 files changed, 17 insertions, 1 deletions
diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index 35ac203e1d9..4cd7f6beeb4 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -103,7 +103,23 @@ emulators, but this support relies on the terminfo or termcap database
entry to specify that the display supports color. Emacs looks at the
"Co" capability for the terminal to find out how many colors are
supported; it should be non-zero to activate the color support within
-Emacs. (Most color terminals support 8 or 16 colors.)
+Emacs. (Most color terminals support 8 or 16 colors.) If your system
+uses terminfo, the name of the capability equivalent to "Co" is
+"colors".
+
+In addition to the "Co" capability, Emacs needs the "op" (for
+``original pair'') capability, which tells how to switch the terminal
+back to the default foreground and background colors. Emacs will not
+use colors if this capability is not defined. If your terminal entry
+doesn't provide such a capability, try using the ANSI standard escape
+sequence \E[00m (that is, define a new termcap/terminfo entry and make
+it use your current terminal's entry plus \E[00m for the "op"
+capability).
+
+Finally, the "NC" capability (terminfo name: "ncv") tells Emacs which
+attributes cannot be used with colors. Setting this capability
+incorrectly might have the effect of disabling colors; try setting
+this capability to `0' (zero) and see if that helps.
Emacs uses the database entry for the terminal whose name is the value
of the environment variable TERM. With `xterm', a common terminal