emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multi-tty


From: Robert Pluim
Subject: Re: Multi-tty
Date: Fri, 08 Nov 2024 13:11:50 +0100

>>>>> On Fri, 08 Nov 2024 12:49:02 +0100, Gerd Möllmann 
>>>>> <gerd.moellmann@gmail.com> said:

    Gerd> Eli Zaretskii <eliz@gnu.org> writes:
    >>> From: Gerd Möllmann <gerd.moellmann@gmail.com>
    >>> Cc: Stefan Monnier <monnier@iro.umontreal.ca>,  rpluim@gmail.com,
    >>> emacs-devel@gnu.org
    >>> Date: Fri, 08 Nov 2024 10:16:05 +0100
    >>> 
    >>> I wouldn't try to "fix" the general handling of environment variables,
    >>> if that's even possible, which I kind of doubt as you do, I think. I'd
    >>> just replace the getenv("COLORTERM") with some lookup of COLORTERM in
    >>> what emacsclient sent to the server.
    >> 
    >> I have another suggestion: remove the support for COLORTERM entirely,
    >> or at least announce that it is not supported per-terminal.  It's high
    >> time terminals that support true color have their terminfo entries
    >> fixed and up-to-date.  We supported COLORTERM during the transition
    >> period, as a temporary kludge, to help people who had those terminals,
    >> but whose terminfo DB did not yet catch up, but we should slowly move
    >> towards removing that support from Emacs.

    Gerd> COLORTERM is used right now by popular programs (e.g. iTerm2) on my
    Gerd> system (macOS). So doing that is not an option for me.

You just need the right terminfo entry for iTerm2. See eg

<https://emacs.stackexchange.com/questions/32506/conditional-true-color-24-bit-color-support-for-iterm2-and-terminal-app-in-osx>

Robert
-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]