|
Karsten Hopp |
9259b4 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
9259b4 |
Subject: Patch 7.3.863
|
|
Karsten Hopp |
9259b4 |
Fcc: outbox
|
|
Karsten Hopp |
9259b4 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
9259b4 |
Mime-Version: 1.0
|
|
Karsten Hopp |
9259b4 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
9259b4 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
9259b4 |
------------
|
|
Karsten Hopp |
9259b4 |
|
|
Karsten Hopp |
9259b4 |
Patch 7.3.863 (after 7.3.859)
|
|
Karsten Hopp |
9259b4 |
Problem: Problem with 'ambiwidth' detection for ANSI terminal.
|
|
Karsten Hopp |
9259b4 |
Solution: Work around not recognizing a term response. (Hayaki Saito)
|
|
Karsten Hopp |
9259b4 |
Files: src/term.c
|
|
Karsten Hopp |
9259b4 |
|
|
Karsten Hopp |
9259b4 |
|
|
Karsten Hopp |
9259b4 |
*** ../vim-7.3.862/src/term.c 2013-03-13 19:29:24.000000000 +0100
|
|
Karsten Hopp |
9259b4 |
--- src/term.c 2013-03-16 14:29:00.000000000 +0100
|
|
Karsten Hopp |
9259b4 |
***************
|
|
Karsten Hopp |
9259b4 |
*** 3926,3933 ****
|
|
Karsten Hopp |
9259b4 |
* Check at several positions in typebuf.tb_buf[], to catch something like
|
|
Karsten Hopp |
9259b4 |
* "x<Up>" that can be mapped. Stop at max_offset, because characters
|
|
Karsten Hopp |
9259b4 |
* after that cannot be used for mapping, and with @r commands
|
|
Karsten Hopp |
9259b4 |
! * typebuf.tb_buf[]
|
|
Karsten Hopp |
9259b4 |
! * can become very long.
|
|
Karsten Hopp |
9259b4 |
* This is used often, KEEP IT FAST!
|
|
Karsten Hopp |
9259b4 |
*/
|
|
Karsten Hopp |
9259b4 |
for (offset = 0; offset < max_offset; ++offset)
|
|
Karsten Hopp |
9259b4 |
--- 3926,3932 ----
|
|
Karsten Hopp |
9259b4 |
* Check at several positions in typebuf.tb_buf[], to catch something like
|
|
Karsten Hopp |
9259b4 |
* "x<Up>" that can be mapped. Stop at max_offset, because characters
|
|
Karsten Hopp |
9259b4 |
* after that cannot be used for mapping, and with @r commands
|
|
Karsten Hopp |
9259b4 |
! * typebuf.tb_buf[] can become very long.
|
|
Karsten Hopp |
9259b4 |
* This is used often, KEEP IT FAST!
|
|
Karsten Hopp |
9259b4 |
*/
|
|
Karsten Hopp |
9259b4 |
for (offset = 0; offset < max_offset; ++offset)
|
|
Karsten Hopp |
9259b4 |
***************
|
|
Karsten Hopp |
9259b4 |
*** 4098,4104 ****
|
|
Karsten Hopp |
9259b4 |
#ifdef FEAT_TERMRESPONSE
|
|
Karsten Hopp |
9259b4 |
if (key_name[0] == NUL
|
|
Karsten Hopp |
9259b4 |
/* URXVT mouse uses <ESC>[#;#;#M, but we are matching <ESC>[ */
|
|
Karsten Hopp |
9259b4 |
! || key_name[0] == KS_URXVT_MOUSE)
|
|
Karsten Hopp |
9259b4 |
{
|
|
Karsten Hopp |
9259b4 |
/* Check for some responses from terminal start with "<Esc>[" or
|
|
Karsten Hopp |
9259b4 |
* CSI.
|
|
Karsten Hopp |
9259b4 |
--- 4097,4107 ----
|
|
Karsten Hopp |
9259b4 |
#ifdef FEAT_TERMRESPONSE
|
|
Karsten Hopp |
9259b4 |
if (key_name[0] == NUL
|
|
Karsten Hopp |
9259b4 |
/* URXVT mouse uses <ESC>[#;#;#M, but we are matching <ESC>[ */
|
|
Karsten Hopp |
9259b4 |
! || key_name[0] == KS_URXVT_MOUSE
|
|
Karsten Hopp |
9259b4 |
! # ifdef FEAT_MBYTE
|
|
Karsten Hopp |
9259b4 |
! || u7_status == U7_SENT
|
|
Karsten Hopp |
9259b4 |
! # endif
|
|
Karsten Hopp |
9259b4 |
! )
|
|
Karsten Hopp |
9259b4 |
{
|
|
Karsten Hopp |
9259b4 |
/* Check for some responses from terminal start with "<Esc>[" or
|
|
Karsten Hopp |
9259b4 |
* CSI.
|
|
Karsten Hopp |
9259b4 |
***************
|
|
Karsten Hopp |
9259b4 |
*** 4129,4135 ****
|
|
Karsten Hopp |
9259b4 |
|
|
Karsten Hopp |
9259b4 |
#ifdef FEAT_MBYTE
|
|
Karsten Hopp |
9259b4 |
/* eat it when it has 2 arguments and ends in 'R' */
|
|
Karsten Hopp |
9259b4 |
! if (u7_status == U7_SENT && j == 1 && tp[i] == 'R')
|
|
Karsten Hopp |
9259b4 |
{
|
|
Karsten Hopp |
9259b4 |
char *p = NULL;
|
|
Karsten Hopp |
9259b4 |
|
|
Karsten Hopp |
9259b4 |
--- 4132,4138 ----
|
|
Karsten Hopp |
9259b4 |
|
|
Karsten Hopp |
9259b4 |
#ifdef FEAT_MBYTE
|
|
Karsten Hopp |
9259b4 |
/* eat it when it has 2 arguments and ends in 'R' */
|
|
Karsten Hopp |
9259b4 |
! if (j == 1 && tp[i] == 'R')
|
|
Karsten Hopp |
9259b4 |
{
|
|
Karsten Hopp |
9259b4 |
char *p = NULL;
|
|
Karsten Hopp |
9259b4 |
|
|
Karsten Hopp |
9259b4 |
*** ../vim-7.3.862/src/version.c 2013-03-16 14:20:45.000000000 +0100
|
|
Karsten Hopp |
9259b4 |
--- src/version.c 2013-03-16 14:33:16.000000000 +0100
|
|
Karsten Hopp |
9259b4 |
***************
|
|
Karsten Hopp |
9259b4 |
*** 730,731 ****
|
|
Karsten Hopp |
9259b4 |
--- 730,733 ----
|
|
Karsten Hopp |
9259b4 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
9259b4 |
+ /**/
|
|
Karsten Hopp |
9259b4 |
+ 863,
|
|
Karsten Hopp |
9259b4 |
/**/
|
|
Karsten Hopp |
9259b4 |
|
|
Karsten Hopp |
9259b4 |
--
|
|
Karsten Hopp |
9259b4 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
9259b4 |
54. You start tilting your head sideways to smile. :-)
|
|
Karsten Hopp |
9259b4 |
|
|
Karsten Hopp |
9259b4 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
9259b4 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
9259b4 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
9259b4 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|