Hayaki Saito wrote:

> Quite some time ago, I proposed 'ambiwidth' auto-detection. it was introduced 
> by 7.3.859.
> https://groups.google.com/d/topic/vim_dev/CuwxGqHMlUQ/discussion
> 
> As you know, this feature caused many problems, most of bug reporter said
> that vim launches with REPLACE mode.
> 
> I wrote a quick fix for this(7.3.863), but it was not proper solution.
> https://groups.google.com/d/topic/vim_dev/Mxm3Mw-2QpA/discussion
> 
> Patch 7.4.207 was also not a correct solution.
> https://groups.google.com/d/topic/vim_dev/uQgBZoPGYxg/discussion
> This additionally causes another REPLACE mode problem by another reason
> on some terminals such as dvtm/jfbterm, so they have odd glitch of reporting
> off-by-one cursor position response. I reproduced that problem on dvtm-0.8.
> 
> I think the patch set of 7.4.305, 7.4.307, 7.4.359 should be reverted.
> https://groups.google.com/d/topic/vim_dev/BQ3Kr3io1_A/discussion
> https://groups.google.com/d/topic/vim_dev/FCz4E3TOKRo/discussion
> https://groups.google.com/d/topic/vim_dev/iX6Z7cpXKBw/discussion
> They certainly resolve the problem in main case, but it cause a side effect
> which disables termresponse in case of ttym=dec/pterm.
> In addition, above patches are so complicated. I propose the following 
> solution instead of them.
> 
> https://gist.github.com/saitoha/7149d02fb524ac2c1b90#file-correct-termresponse-behavior-with-decmouse-diff-L159
> (The hunk @@ -4212,10 +4170,16 @@ in src/term.c)
> 
> The attached patch considers above matters.
> I tested it under many environment including the following terminals
> and confirmed that this patch solves above-referenced side effects.
> 
> - dvtm
> - jfbterm
> - QNX perm
> - xterm compiled with —enable-dec-locator

Thanks for looking into this again.

Did you also try running a shell command from the .vimrc file?

-- 
ARTHUR: What are you going to do. bleed on me?
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui