From: "Rami Ylimäki" <rami.ylimaki@vincit.fi>
To: Live System User <nyc4bos@aol.com>
Cc: 30429@debbugs.gnu.org
Subject: bug#30429: 27.0.50; Emacs TERMINFO "xterm-direct" "efaq" example not working
Date: Mon, 12 Feb 2018 18:38:14 +0200 [thread overview]
Message-ID: <53be5e03-5c03-a3fc-1605-4c777b2006a4@vincit.fi> (raw)
In-Reply-To: <83sha6yzo2.fsf@gnu.org>
On 12.02.2018 17:51, Eli Zaretskii wrote:
>> From: Live System User <nyc4bos@aol.com>
>> 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.
next prev parent reply other threads:[~2018-02-12 16:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-12 2:09 bug#30429: 27.0.50; Emacs TERMINFO "xterm-direct" "efaq" example not working Live System User
2018-02-12 15:51 ` Eli Zaretskii
2018-02-12 16:38 ` Rami Ylimäki [this message]
2018-02-12 17:48 ` Eli Zaretskii
2018-02-12 19:37 ` bug#30429: [PATCH] Improve FAQ about direct mode terminals Rami Ylimäki
2018-02-13 5:35 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53be5e03-5c03-a3fc-1605-4c777b2006a4@vincit.fi \
--to=rami.ylimaki@vincit.fi \
--cc=30429@debbugs.gnu.org \
--cc=nyc4bos@aol.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.