From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Rami =?UTF-8?Q?Ylim=C3=A4ki?= Newsgroups: gmane.emacs.bugs Subject: bug#30429: [PATCH] Improve FAQ about direct mode terminals. Date: Mon, 12 Feb 2018 21:37:54 +0200 Message-ID: <20180212193754.10632-1-rami.ylimaki@vincit.fi> References: <873727rmaj.fsf@aol.com> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1518464277 10041 195.159.176.226 (12 Feb 2018 19:37:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 12 Feb 2018 19:37:57 +0000 (UTC) To: 30429@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 12 20:37:53 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elJub-0008LY-0p for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Feb 2018 20:37:13 +0100 Original-Received: from localhost ([::1]:44265 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1elJwc-0001MY-Rb for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Feb 2018 14:39:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54879) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1elJwP-0001KV-IG for bug-gnu-emacs@gnu.org; Mon, 12 Feb 2018 14:39:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1elJwM-0005Uk-FI for bug-gnu-emacs@gnu.org; Mon, 12 Feb 2018 14:39:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60389) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1elJwM-0005TA-0N for bug-gnu-emacs@gnu.org; Mon, 12 Feb 2018 14:39:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1elJwL-0007AE-Q3 for bug-gnu-emacs@gnu.org; Mon, 12 Feb 2018 14:39:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <873727rmaj.fsf@aol.com> Resent-From: Rami =?UTF-8?Q?Ylim=C3=A4ki?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Feb 2018 19:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30429 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30429-submit@debbugs.gnu.org id=B30429.151846429027454 (code B ref 30429); Mon, 12 Feb 2018 19:39:01 +0000 Original-Received: (at 30429) by debbugs.gnu.org; 12 Feb 2018 19:38:10 +0000 Original-Received: from localhost ([127.0.0.1]:40046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elJvV-00078j-Oi for submit@debbugs.gnu.org; Mon, 12 Feb 2018 14:38:09 -0500 Original-Received: from mail.kapsi.fi ([91.232.154.25]:33141) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elJvS-00078Z-Vg for 30429@debbugs.gnu.org; Mon, 12 Feb 2018 14:38:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kapsi.fi; s=20161220; h=Message-Id:Date:Subject:To:From; bh=LOvWg7Bv5vd5Je+OQNuKdQNl0A+3/nyAkZ9FjVsWE/g=; b=ZheMDSGhGeij9aC36wwJkNVDN0y7dlU3I4UH3BH1kTRStlPz3BS1NsPHPN1wvPiIa+PJL8l/mTpRACgSRMrP3aZNAABMkowHJWn+/TaSCvRI162Ba1Qt6YsMlnMCpgeqzJEsGuC1hhpIOr3I8fpvvjNaucfCaGzu7JtrhJd7dyhFP/G4RpC2l9eSLy/rUZrdWLJJIs1ihmFCkIkRqljUm+Zh84w5O0SeW8dFQFKYTD3rGR7YPYT2hvUxQn7FNA72WqKXAzV/2HTFGx3be/pE55K+GkmLoHIgoCZCDLpcWmOvnT7EeBSX0HQRsmOswkPPN0l5FtgZUbHFGJkjMKUFnQ==; Original-Received: from 91-157-45-84.elisa-laajakaista.fi ([91.157.45.84] helo=nopsakone.home) by mail.kapsi.fi with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1elJvR-000893-BP for 30429@debbugs.gnu.org; Mon, 12 Feb 2018 21:38:05 +0200 X-Mailer: git-send-email 2.14.1 X-SA-Exim-Connect-IP: 91.157.45.84 X-SA-Exim-Mail-From: rami.ylimaki@vincit.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:143219 Archived-At: * 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