Subject: Re: bug#48755: 28.0.50; Emacs doesn't detect the terminal background color in macOS Terminal or iTerm2

From: Eli Zaretskii <[email-masked]>
Date: Mon, 31 May 2021 15:02:52 +0300

> Date: Mon, 31 May 2021 00:20:35 +0200
> From:  Daniel Martín via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <[email-masked]>
> 
> I tried to fix the problem by taking a look at xterm--version-handler in
> xterm.el, but the version logic is a bit difficult to understand.  Is
> there some documentation about the versions and capabilities somewhere?

The canonical source for xterm documentation is here:

  https://invisible-island.net/xterm/manpage/xterm.html