home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.3 / 7.3.863 < prev    next >
Encoding:
Internet Message Format  |  2013-03-15  |  3.0 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.3.863
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.3.863 (after 7.3.859)
  11. Problem:    Problem with 'ambiwidth' detection for ANSI terminal.
  12. Solution:   Work around not recognizing a term response. (Hayaki Saito)
  13. Files:        src/term.c
  14.  
  15.  
  16. *** ../vim-7.3.862/src/term.c    2013-03-13 19:29:24.000000000 +0100
  17. --- src/term.c    2013-03-16 14:29:00.000000000 +0100
  18. ***************
  19. *** 3926,3933 ****
  20.        * Check at several positions in typebuf.tb_buf[], to catch something like
  21.        * "x<Up>" that can be mapped. Stop at max_offset, because characters
  22.        * after that cannot be used for mapping, and with @r commands
  23. !      * typebuf.tb_buf[]
  24. !      * can become very long.
  25.        * This is used often, KEEP IT FAST!
  26.        */
  27.       for (offset = 0; offset < max_offset; ++offset)
  28. --- 3926,3932 ----
  29.        * Check at several positions in typebuf.tb_buf[], to catch something like
  30.        * "x<Up>" that can be mapped. Stop at max_offset, because characters
  31.        * after that cannot be used for mapping, and with @r commands
  32. !      * typebuf.tb_buf[] can become very long.
  33.        * This is used often, KEEP IT FAST!
  34.        */
  35.       for (offset = 0; offset < max_offset; ++offset)
  36. ***************
  37. *** 4098,4104 ****
  38.   #ifdef FEAT_TERMRESPONSE
  39.       if (key_name[0] == NUL
  40.           /* URXVT mouse uses <ESC>[#;#;#M, but we are matching <ESC>[ */
  41. !         || key_name[0] == KS_URXVT_MOUSE)
  42.       {
  43.           /* Check for some responses from terminal start with "<Esc>[" or
  44.            * CSI.
  45. --- 4097,4107 ----
  46.   #ifdef FEAT_TERMRESPONSE
  47.       if (key_name[0] == NUL
  48.           /* URXVT mouse uses <ESC>[#;#;#M, but we are matching <ESC>[ */
  49. !         || key_name[0] == KS_URXVT_MOUSE
  50. ! # ifdef FEAT_MBYTE
  51. !         || u7_status == U7_SENT
  52. ! # endif
  53. !             )
  54.       {
  55.           /* Check for some responses from terminal start with "<Esc>[" or
  56.            * CSI.
  57. ***************
  58. *** 4129,4135 ****
  59.   
  60.   #ifdef FEAT_MBYTE
  61.           /* eat it when it has 2 arguments and ends in 'R' */
  62. !         if (u7_status == U7_SENT && j == 1 && tp[i] == 'R')
  63.           {
  64.               char *p = NULL;
  65.   
  66. --- 4132,4138 ----
  67.   
  68.   #ifdef FEAT_MBYTE
  69.           /* eat it when it has 2 arguments and ends in 'R' */
  70. !         if (j == 1 && tp[i] == 'R')
  71.           {
  72.               char *p = NULL;
  73.   
  74. *** ../vim-7.3.862/src/version.c    2013-03-16 14:20:45.000000000 +0100
  75. --- src/version.c    2013-03-16 14:33:16.000000000 +0100
  76. ***************
  77. *** 730,731 ****
  78. --- 730,733 ----
  79.   {   /* Add new patch number below this line */
  80. + /**/
  81. +     863,
  82.   /**/
  83.  
  84. -- 
  85. hundred-and-one symptoms of being an internet addict:
  86. 54. You start tilting your head sideways to smile. :-)
  87.  
  88.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  89. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  90. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  91.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  92.