On Sun, Jan 22, 2012 at 14:31, Bram Moolenaar <Bram@moolenaar.net> wrote:
Bram, I guess you meant 1000 or 1002 instead of 1005 above. In that case you're right.
I'll push other terminal emulators towards supporting 1006. First, however, I'd like to hear Thomas explicitly confirming that ^[[< is (and will always remain) a unique prefix for extended mouse events only, and then hear an "okay" from urxvt's developer (I'll talk to him).
Once this is done, it'll be okay to add 1006 support to Vim. (In the mean time I guess 1015 support could be dropped; this would make extended mouse coords stop working in some versions of some terminals, but would probably also simplify Vim's code. But it's okay to keep 1015 too.)
thanks,
egmont
So, if we first send DECSET 1005 and then send DECSET 1006 then,
depending on the version of the terminal emulator, we keep getting the
normal mouse codes or the new SGR 1006 mouse codes. We should be able
to decode both.
Bram, I guess you meant 1000 or 1002 instead of 1005 above. In that case you're right.
I'll push other terminal emulators towards supporting 1006. First, however, I'd like to hear Thomas explicitly confirming that ^[[< is (and will always remain) a unique prefix for extended mouse events only, and then hear an "okay" from urxvt's developer (I'll talk to him).
Once this is done, it'll be okay to add 1006 support to Vim. (In the mean time I guess 1015 support could be dropped; this would make extended mouse coords stop working in some versions of some terminals, but would probably also simplify Vim's code. But it's okay to keep 1015 too.)
thanks,
egmont
Note that in ctlseqs.html in the DECSET list 1006 and 1015 are not
documented.
--
CRONE: Who sent you?
ARTHUR: The Knights Who Say GNU!
CRONE: Aaaagh! (she looks around in rear) No! We have no licenses here.
"Monty Python and the Holy editor wars" PYTHON (MONTY) SOFTWARE LTD
/// Bram Moolenaar -- Bram@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_use" 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 from the "vim_use" 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
No comments:
Post a Comment