Hayaki Saito wrote:
> By recent patch 7.3.632, SGR 1006 style mouse reporting is supported.
> But some people pointed that "set ttymouse=sgr" in .vimrc do not works well.
>
> The reason is that;
> In the terminal auto recognition process (with +termresponse), vim
> checks DA2(Device Attribute 2) response.
> Some terminal emulators report patch level numbers that is less than 277.
> So it reset ttymouse to "xterm2" automatically although ttymouse is
> set as "sgr" already.
>
> Attached patch(fix-sgrmouse-autodetection.diff) fixes it.
> If ttymouse is set as "sgr" already, ttymouse auto recognition process
> will not reset ttymouse option with it.
>
>
> In addition, "has('mouse_urxvt')" and "has('mouse_sgr')" support for
> vimscript seems to be lacked.
> The second patch(support-has_urxvt-and-has_sgr.diff) fixes it.
Thanks for the patch. I'll check it out soon.
--
Did you ever stop to think... and forget to start again?
-- Steven Wright
/// Bram Moolenaar -- [email protected] -- 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