On Mi, 30 Aug 2017, Marius Gedminas wrote:

> Note that this does nothing today since gnome-terminal stopped setting
> $COLORTERM in 2014 (and then began setting COLORTERM=truecolor in 2016).
> 
> It also switched from using "xterm" as default $TERM value to
> "xterm-256color", but you can override that with a ./configure
> argument.  I don't know if any distros do that; I'm pretty sure Ubuntu
> doesn't.
> 
> Incidentally, libvte exports $VTE_VERSION, which could be used to detect
> if you're running inside gnome-terminal or any other VTE-using terminal,
> as long as you don't mind this detection breaking when sudo or ssh
> strips the environment or when you run a screen/tmux, which intercepts
> and interprets all the escape sequences.

Yeah, I remember wondering myself, if this check is still in effect when 
I posted. So I checked on my Debian stretch client box:

,----
| chrisbra@debian ~ % env |grep "TERM\|VTE"
| COLORTERM=gnome-terminal
| VTE_VERSION=4601
| TERM=xterm-256color
`----

so looks like it is still there. 

Anyhow, thanks for adding this additional information. That is certainly 
useful for the reader.

Best,
Christian
-- 
Filmemacher sollten bedenken, daß man ihnen am Tag des Jüngsten
Gerichts all ihre Filme wieder vorspielen wird.
                -- Charlie Chaplin

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui