Karsten Hopp 91a6a7
To: vim_dev@googlegroups.com
Karsten Hopp 91a6a7
Subject: Patch 7.3.811
Karsten Hopp 91a6a7
Fcc: outbox
Karsten Hopp 91a6a7
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 91a6a7
Mime-Version: 1.0
Karsten Hopp 91a6a7
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 91a6a7
Content-Transfer-Encoding: 8bit
Karsten Hopp 91a6a7
------------
Karsten Hopp 91a6a7
Karsten Hopp 91a6a7
Patch 7.3.811
Karsten Hopp 91a6a7
Problem:    Useless termresponse parsing for SGR mouse.
Karsten Hopp 91a6a7
Solution:   Skip the parsing. (Hayaki Saito)
Karsten Hopp 91a6a7
Files:	    src/term.c
Karsten Hopp 91a6a7
Karsten Hopp 91a6a7
Karsten Hopp 91a6a7
*** ../vim-7.3.810/src/term.c	2012-12-05 14:42:56.000000000 +0100
Karsten Hopp 91a6a7
--- src/term.c	2013-02-13 15:49:24.000000000 +0100
Karsten Hopp 91a6a7
***************
Karsten Hopp 91a6a7
*** 4045,4052 ****
Karsten Hopp 91a6a7
  #ifdef FEAT_TERMRESPONSE
Karsten Hopp 91a6a7
  	if (key_name[0] == NUL
Karsten Hopp 91a6a7
  	    /* URXVT mouse uses <ESC>[#;#;#M, but we are matching <ESC>[ */
Karsten Hopp 91a6a7
! 	    || key_name[0] == KS_URXVT_MOUSE
Karsten Hopp 91a6a7
! 	    || key_name[0] == KS_SGR_MOUSE)
Karsten Hopp 91a6a7
  	{
Karsten Hopp 91a6a7
  	    /* Check for xterm version string: "<Esc>[>{x};{vers};{y}c".  Also
Karsten Hopp 91a6a7
  	     * eat other possible responses to t_RV, rxvt returns
Karsten Hopp 91a6a7
--- 4045,4051 ----
Karsten Hopp 91a6a7
  #ifdef FEAT_TERMRESPONSE
Karsten Hopp 91a6a7
  	if (key_name[0] == NUL
Karsten Hopp 91a6a7
  	    /* URXVT mouse uses <ESC>[#;#;#M, but we are matching <ESC>[ */
Karsten Hopp 91a6a7
! 	    || key_name[0] == KS_URXVT_MOUSE)
Karsten Hopp 91a6a7
  	{
Karsten Hopp 91a6a7
  	    /* Check for xterm version string: "<Esc>[>{x};{vers};{y}c".  Also
Karsten Hopp 91a6a7
  	     * eat other possible responses to t_RV, rxvt returns
Karsten Hopp 91a6a7
*** ../vim-7.3.810/src/version.c	2013-02-13 15:44:22.000000000 +0100
Karsten Hopp 91a6a7
--- src/version.c	2013-02-13 15:50:27.000000000 +0100
Karsten Hopp 91a6a7
***************
Karsten Hopp 91a6a7
*** 727,728 ****
Karsten Hopp 91a6a7
--- 727,730 ----
Karsten Hopp 91a6a7
  {   /* Add new patch number below this line */
Karsten Hopp 91a6a7
+ /**/
Karsten Hopp 91a6a7
+     811,
Karsten Hopp 91a6a7
  /**/
Karsten Hopp 91a6a7
Karsten Hopp 91a6a7
-- 
Karsten Hopp 91a6a7
No children may attend school with their breath smelling of "wild onions."
Karsten Hopp 91a6a7
		[real standing law in West Virginia, United States of America]
Karsten Hopp 91a6a7
Karsten Hopp 91a6a7
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 91a6a7
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 91a6a7
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 91a6a7
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///