On Mon, Mar 30, 2015 at 04:45:50PM -0400, Michael Fiano 
<[email protected]> wrote:
> Scenario 1: vim inside of tmux inside of xterm
> Works as expected.
> Scenario 2: vim inside of xterm
> Works as expected.
> Scenario 3: vim inside of urxvt (no tmux) (with ttymouse=urxvt)
> Works as expected.
> Scenario 4: vim inside of urxvt (no tmux) (with ttymouse=sgr)
> ***does not work correctly***

Actually works as expected, as sgr mode is not supported.

> Scenario 5: vim inside of tmux inside of urxvt (with ttymouse=sgr)
> ***does not work correctly***
> Scenario 6: vim inside of tmux inside of urxvt (with ttymouse=urxvt)
> ***does not work correctly***

It seems the common factor here is tmux - everything works as expected
without it, which isn't so surprising, as urxvt doesn't know that tmux is
running inside it instead of vim.

And indeed, I strace'ed tmux, and it tmux simply eats the control
sequences (vim outputs \33[?1015h, but tmux never passes it to urxvt, so
urxvt works in xterm mode, which is also enabled by vim).

So this is almost certainly missing support in tmux, as both urxvt and vim
behave correctly. I don't know enough about to tmux to say whether this
should be working, or whether it can be somehow enabled or not.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      [email protected]
      -=====/_/_//_/\_,_/ /_/\_\

_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode

Reply via email to