Subject: bug#30429: [PATCH] Improve FAQ about direct mode terminals.

From: Rami Ylimäki <[email-masked]>
Date: Mon, 12 Feb 2018 21:37:54 +0200

* doc/misc/efaq.texi (Colors on a TTY): Show how to list direct mode
TERM definitions.  (Bug#30429)
---
 doc/misc/efaq.texi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/doc/misc/efaq.texi b/doc/misc/efaq.texi
index fef9b1051b..ffd833f832 100644
--- a/doc/misc/efaq.texi
+++ b/doc/misc/efaq.texi
@@ -1525,6 +1525,19 @@ Colors on a TTY
 $ TERM=xterm-direct emacs -nw
 @end example
 
+If your terminal is incompatible with XTerm, you may have to use
+another TERM definition.
+
+@example
+$ toe | grep '\-direct'
+
+konsole-direct  konsole with direct-color indexing
+vte-direct      vte with direct-color indexing
+st-direct       st with direct-color indexing
+xterm-direct2   xterm with direct-color indexing (old)
+xterm-direct    xterm with direct-color indexing
+@end example
+
 Terminals with @samp{RGB} capability treat pixels #000001 - #000007 as
 indexed colors to maintain backward compatibility with applications
 that are unaware of direct color mode.  Therefore the seven darkest
-- 
2.14.1