On Do, 31 Aug 2017, h_east wrote:

> Thanks for the making patch 8.0.1016 and 8.0.1021
> The issue of GNOME terminal has been resolved.
> 
> I am happy if you can add Judgment of PuTTY as well.
> (PuTTY 0.70 sends ">0;136;0c")
> 
> I attach a patch to this email.

> diff --git a/src/term.c b/src/term.c
> index 4244892..506402f 100644
> --- a/src/term.c
> +++ b/src/term.c
> @@ -4568,6 +4568,11 @@ check_termcode(
>                       if (col >= 3000)
>                           is_not_xterm = TRUE;
>  
> +                     /* PuTTY sends 0;136;0 */
> +                     if (col == 136
> +                             && STRNCMP(tp + extra - 2, "0;136;0c", 8) == 0)
> +                         is_not_xterm = TRUE;
> +
>                       /* Only request the cursor style if t_SH and t_RS are
>                        * set. Not for Terminal.app, it can't handle t_RS, it
>                        * echoes the characters to the screen. */

Not that I am against it, but perhaps one should run putty with 
$TERM=putty-256color?


Best,
Christian
-- 
Wenn man bei Mädgen etwan wie bei Männern auf ein schneidendes Ja oder
Nein dringt: so gewinnt man sicher das Unangenehmere - sie haben eine
aus Ja und Nein zusammengesetzte Antwort gewohnt.
                -- Jean Paul

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