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: 27.0.50; Emacs TERMINFO "xterm-direct" "efaq" example not working Date: Mon, 12 Feb 2018 18:38:14 +0200 Message-ID: <53be5e03-5c03-a3fc-1605-4c777b2006a4@vincit.fi> References: <873727rmaj.fsf@aol.com> <83sha6yzo2.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1518455626 26836 195.159.176.226 (12 Feb 2018 17:13:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 12 Feb 2018 17:13:46 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 Cc: 30429@debbugs.gnu.org To: Live System User Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 12 18:13:41 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 1elHfA-0004kM-Nn for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Feb 2018 18:13:08 +0100 Original-Received: from localhost ([::1]:55542 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1elHhC-00048S-AR for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Feb 2018 12:15:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1elH8D-0006SA-4u for bug-gnu-emacs@gnu.org; Mon, 12 Feb 2018 11:39:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1elH89-0002BI-Ss for bug-gnu-emacs@gnu.org; Mon, 12 Feb 2018 11:39:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60257) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1elH89-0002Aw-Po for bug-gnu-emacs@gnu.org; Mon, 12 Feb 2018 11:39:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1elH89-00031r-KJ for bug-gnu-emacs@gnu.org; Mon, 12 Feb 2018 11:39:01 -0500 X-Loop: help-debbugs@gnu.org 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 16: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.151845350411599 (code B ref 30429); Mon, 12 Feb 2018 16:39:01 +0000 Original-Received: (at 30429) by debbugs.gnu.org; 12 Feb 2018 16:38:24 +0000 Original-Received: from localhost ([127.0.0.1]:39921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elH7Y-000311-Ik for submit@debbugs.gnu.org; Mon, 12 Feb 2018 11:38:24 -0500 Original-Received: from mail-lf0-f42.google.com ([209.85.215.42]:34674) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elH7W-00030n-Cd for 30429@debbugs.gnu.org; Mon, 12 Feb 2018 11:38:23 -0500 Original-Received: by mail-lf0-f42.google.com with SMTP id k19so21278864lfj.1 for <30429@debbugs.gnu.org>; Mon, 12 Feb 2018 08:38:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vincit.fi; s=ticniv; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=taOSB/ySRqXITwCauRfCkiycP3nsGXaC7SXfi975sjw=; b=NdMArWNEnCIkdklxim36E4EQABSGDrK+3I60ArNjOwvApAn5iVqygIJUvhfH4OU9Mg G4uT91XDf2kGIJiFwSY0NnWnWl+/+flAJQi3cyZjlG1Glj58la5rYpWqZ/BLSDqbMFyd eHYmqgymrL29/XHS0is122PuCZbw/KHj1VEWc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=taOSB/ySRqXITwCauRfCkiycP3nsGXaC7SXfi975sjw=; b=mvkXmenJDoSt4Fgh4wn0f9v1WtC+/mBHo8wY5zV4XODYLbVDzHIDvR3JHei4uG/8+W pD4lOyx2HUdcCa0Quh24gBnDMCbxNnrsqXAPa57EfHeEGmH+2r4RKSEbSxmU45w+9b9Z 10sQGX8ZxRuO5oZAwH9cIn88t/41wQtWxIMOvKZRbB2OKpe+dC0lfP7Ue9F1PRT+VaxQ BQJ2dp3i/bZU3LkdrinOTytVbHXvu8JZaOsIsUKWqycJkWnSMU9rhEbIZEcJShmfBEhc VhgpuWx3O+6ezJwdFUlmzmVixps/Nfq4KOL9YzlT9ntHtUUc0XN0tjX5LinLtQ8gnfks 2ckQ== X-Gm-Message-State: APf1xPBirkLxvEcivc3GBpkJuJoaap2OmAWtB9RYCGlYtkeVUdWXoZQa 8q80Bm11TVxsiy5qhQ51yQA/iV4cLFI= X-Google-Smtp-Source: AH8x227BndrbYnrSfz0Eh0xfzJYNEb4B61Kkf9fXQMVc/JhctkEtisENmQ3UMxuskCzuVhhD0hhKhA== X-Received: by 10.46.109.18 with SMTP id i18mr7722583ljc.19.1518453496025; Mon, 12 Feb 2018 08:38:16 -0800 (PST) Original-Received: from [10.138.224.161] (gw.vincit.cloud. [195.60.252.249]) by smtp.gmail.com with ESMTPSA id h76sm1680021ljh.77.2018.02.12.08.38.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Feb 2018 08:38:15 -0800 (PST) In-Reply-To: <83sha6yzo2.fsf@gnu.org> Content-Language: en-US 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:143207 Archived-At: On 12.02.2018 17:51, Eli Zaretskii wrote: >> From: Live System User >> Date: Sun, 11 Feb 2018 21:09:40 -0500 >> >> The example in the "efaq" Info file gives the following >> >> TERM=xterm-direct emacs -nw >> >> When I execute this, as stated, I get an Emacs session >> WITHOUT any colors -- even "M-x list-colors-display" >> does not show any colors. >> >> However, if I change this to the following, I see colors >> displayed: >> >> TERM=xterm-direct2 emacs -nw >> This is expected. Each direct mode TERM specification uses slightly different seta[bf] string to display the colors. For example, currently Gnome Terminal supports xterm-direct2 and iTerm2/XTerm support xterm-direct. It's the user's responsibility to set TERM to something that is supported by their terminal. Emacs happens to be mentioned in the comment for xterm+direct2 in Terminfo source file. However, this is just a coincidence and doesn't mean that Emacs would have any connection with xterm-direct2. The comment simply states that the non-standard set[bf]24 strings supported by Emacs (before Terminfo added the standard capabilities) aren't added to Terminfo as standard capabilities. I chose to use xterm-direct in the FAQ, because Terminfo suggests that seta[bf] strings of xterm-direct are the preferred way to display colors in direct mode. The bug here is that the FAQ could explain this more thoroughly, but there's no bug in software.