Patch 9.0.0996
Problem:    If 'keyprotocol' is empty "xterm" still uses modifyOtherKeys.
Solution:   Remove t_TI, t_RK and t_TE from the "xterm" builtin termcap and
            let the default value of 'keyprotocol' add those.
Files:      src/term.c


*** ../vim-9.0.0995/src/term.c  2022-12-02 13:09:59.828025590 +0000
--- src/term.c  2022-12-02 23:44:05.934345229 +0000
***************
*** 452,460 ****
      {(int)KS_TI,      "\0337\033[?47h"},
      {(int)KS_TE,      "\033[?47l\0338"},
  #  endif
!     {(int)KS_CTI,     "\033[>4;2m"},
!     {(int)KS_CRK,     "\033[?4m"},  // see "builtin_mok2"
!     {(int)KS_CTE,     "\033[>4;m"},
      {(int)KS_CIS,     "\033]1;"},
      {(int)KS_CIE,     "\007"},
      {(int)KS_TS,      "\033]2;"},
--- 452,462 ----
      {(int)KS_TI,      "\0337\033[?47h"},
      {(int)KS_TE,      "\033[?47l\0338"},
  #  endif
!     // These are now under control of the 'keyprotocol' option, see
!     // "builtin_mok2".
!     // {(int)KS_CTI,  "\033[>4;2m"},
!     // {(int)KS_CRK,  "\033[?4m"},
!     // {(int)KS_CTE,  "\033[>4;m"},
      {(int)KS_CIS,     "\033]1;"},
      {(int)KS_CIE,     "\007"},
      {(int)KS_TS,      "\033]2;"},
*** ../vim-9.0.0995/src/version.c       2022-12-02 21:49:55.496222004 +0000
--- src/version.c       2022-12-02 23:45:34.818280958 +0000
***************
*** 697,698 ****
--- 697,700 ----
  {   /* Add new patch number below this line */
+ /**/
+     996,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
215. Your mouse-clicking forearm rivals Popeye's.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20221203000102.1D3E31C5967%40moolenaar.net.

Raspunde prin e-mail lui