GNU bug report logs - #30429
27.0.50; Emacs TERMINFO "xterm-direct" "efaq" example not working

Previous Next

Package: emacs;

Reported by: Live System User <nyc4bos <at> aol.com>

Date: Mon, 12 Feb 2018 02:11:02 UTC

Severity: minor

Found in version 27.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 30429 <at> debbugs.gnu.org (full text, mbox):

From: Rami Ylimäki <rami.ylimaki <at> vincit.fi>
To: Live System User <nyc4bos <at> aol.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 30429 <at> debbugs.gnu.org
Subject: Re: bug#30429: 27.0.50; Emacs TERMINFO "xterm-direct" "efaq" example
 not working
Date: Mon, 12 Feb 2018 18:38:14 +0200
On 12.02.2018 17:51, Eli Zaretskii wrote:

>> From: Live System User <nyc4bos <at> 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.





This bug report was last modified 7 years and 104 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.