Dominique wrote:

> I've seen several times users being confused about
> how to set up t_8f and t_8b, needed for some terminals
> to get 'termguicolors' feature to work. Copy/pasting the
> following 2 lines from  :help xterm-true-color does
> not work, since ^[ needs to be typed as a single Escape
> char:
> 
>      set t_8f=^[[38:2:%lu:%lu:%lum
>      set t_8b=^[[48:2:%lu:%lu:%lum
> 
> Attached patch attempts to clarify how to set t_8f and t_8b.

Thanks.  But I think this is a lot simpler:

         let &t_8f = "\<Esc>[38:2:%lu:%lu:%lum"
         let &t_8b = "\<Esc>[48:2:%lu:%lu:%lum"

> I've also been confused myself with getting 'termguicolors'
> to work, as it works for some terminals but not others.
> How about listing in help files terminals where 'termguicolors'
> is known to work and terminal where it known to not work?
> I've only tried 'termguicolors' on xubuntu-14.04 and xubuntu-15.10:
> 
> 'termguicolors' did not work with:
> - xfce4-terminal 0.6.3 (xubuntu-14.04, xubuntu-15.10)
> - gnome-terminal 3.6.2 (xubuntu-14.04)
> - MATE Terminal 1.10.1 (xubuntu-15.10)
> 
> 'termguicolors' worked with:
> - XTerm (297, xubuntu-14.04)
> - gnome-terminal (3.16.2, xubuntu-15.10)
> 
> I'm hoping that support for 'termguicolors' is better
> in more recent distributions.

We can update the docs with this.  Ideally it would work out of the box
though.  Not sure if that is possible.

-- 
hundred-and-one symptoms of being an internet addict:
120. You ask a friend, "What's that big shiny thing?" He says, "It's the sun."

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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