Ok good to hear.

You should not need -u if your LANG or LC_ALL is set to a locale with
UTF-8 in it.

Also you should not use -2 if you use TERM set to xterm-256color instead
of xterm.

But there is no harm in using the flags -2u if not.


On Tue, Mar 05, 2013 at 10:46:59AM -0500, Georgios Choudalakis wrote:
>    Hi Nicholas, sorry for the delay, I had to go yesterday.
>    Today I tried the line you sent me:*
>    tmux -uLtest -vvvvv new\; set -g utf8-mouse on\; set -g mouse-select-pane
>    on\; splitw
>    tmux didn't manage to start; it complained about the command "utf8-mouse".
>    Did you mean "mouse-utf8" instead? *I guessed so, and I did the following:
>    tmux -uLtest -vvvvv new\; set -g mouse-utf8 on\; set -g mouse-select-pane
>    on\; splitw
>    Voila! *It worked this time. *I was able to click into the upper panel,
>    even though I clicked close to the right edge and my window contained a
>    lot of columns of text.
>    I am attaching the logs FYI.
>    I was able to narrow down the thing that made your command work.
>    It was just the -u.
>    Without the -u it doesn't work for me.
>    Of course, yesterday your command contained the -u too. *So, probably what
>    changed since yesterday is that I went to my iTerm2 preferences, and I
>    unchecked and checked again the option "Enable xterm mouse reporting" and
>    quitted iTerm and started it again.
>    So, I think this issue has been resolved, for me at least. *I will alias
>    tmux to "tmux -2u" (to have also nice colors), and it seems to work now.
>    Thanks very much for your help!
> 
>    On Mon, Mar 4, 2013 at 11:10 AM, Nicholas Marriott
>    <[1]nicholas.marri...@gmail.com> wrote:
> 
>      This looks like a problem with your terminal. It is sending ^[[M ^V6
>      which is not a valid position - the ^V is ASCII 22 which is too low,
>      mouse positions without UTF-8 need to start at ASCII 33.
> 
>      Still, UTF-8 mouse mode should fix this.
> 
>      Can you try the same but this time do:
> 
>      tmux -uLtest -vvvvv new\; set -g utf8-mouse on\; set -g
>      mouse-select-pane on\; splitw
> 
>      And send me the logs again.
> 
>      Alternatively if your terminal is new enough SGR mouse mode may fix
>      this. You could try building tmux from git and see if it helps.
> 
>      On Mon, Mar 04, 2013 at 10:50:53AM -0500, Georgios Choudalakis wrote:
>      > * *Sure, I did it again, this time I clicked only once.
>      > * *Initially the lower pane was selected.
>      > * *I clicked on the right side of the screen, within the upper pane.
>      > * *Instead of moving focus to the upper pane, I heard a beep, and the
>      > * *following text appeared on the lower prompt: " 6#6" *(without the
>      quotes).
>      > * *Here are the logs.
>      > * *Thanks!
>      >
>      > * *On Mon, Mar 4, 2013 at 10:30 AM, Nicholas Marriott
>      > * *<[1][2]nicholas.marri...@gmail.com> wrote:
>      >
>      > * * *tmux is correctly seeing this as mouse input and well above 80
>      > * * *columns. Are you sure these are being forwarded to the shell in
>      the
>      > * * *pane?
>      >
>      > * * *Can you do the same, but this time only click once at the
>      right-hand
>      > * * *edge and tell me what you see appear in the pane as well as
>      sending the
>      > * * *logs?
>      >
>      > * * *On Mon, Mar 04, 2013 at 10:18:24AM -0500, Georgios Choudalakis
>      wrote:
>      > * * *> * *Done. *Here are the logs.
>      > * * *> * *Thanks!
>      > * * *>
>      > * * *> * *On Mon, Mar 4, 2013 at 10:11 AM, Nicholas Marriott
>      > * * *> * *<[1][2][3]nicholas.marri...@gmail.com> wrote:
>      > * * *>
>      > * * *> * * *Hmm. Without UTF-8, the maximum width is about 200 or so
>      IIRC,
>      > * * *with
>      > * * *> * * *UTF-8 it should be larger.
>      > * * *>
>      > * * *> * * *Please run:
>      > * * *>
>      > * * *> * * *tmux -uLtest -vvvvv new\; set -g mouse-select-pane on\;
>      splitw
>      > * * *>
>      > * * *> * * *And click a few times to reproduce the problem and then
>      exit tmux
>      > * * *and
>      > * * *> * * *send me the tmux-server*.log file from the current
>      directory.
>      > * * *>
>      > * * *> * * *On Mon, Mar 04, 2013 at 09:58:14AM -0500, Georgios
>      Choudalakis
>      > * * *wrote:
>      > * * *> * * *> * *I use the latest iTerm2 and I checked in the
>      preferences to
>      > * * *find
>      > * * *> * * *anything
>      > * * *> * * *> * *about UTF-8, and the only thing I found was
>      "Character
>      > * * *Encoding:
>      > * * *> * * *Unicode
>      > * * *> * * *> * *(UTF-8)".
>      > * * *> * * *> * *I tried turning the option mouse-utf8 off and on, but
>      that
>      > * * *didn't
>      > * * *> * * *make any
>      > * * *> * * *> * *difference.
>      > * * *> * * *> * *It does happen with uxterm too. *Actually, it seems
>      worse in
>      > * * *> * * *uxterm; the
>      > * * *> * * *> * *problem happens in a larger fraction of the window.
>      > * * *> * * *> * *It seems that what matters is not the physical width
>      of the
>      > * * *window,
>      > * * *> * * *but
>      > * * *> * * *> * *how many characters it spans horizontally. *I tried
>      this:
>      > * * **With
>      > * * *> * * *normal
>      > * * *> * * *> * *font size, I click near the right end of the window
>      and it
>      > * * *spits
>      > * * *> * * *garbage.
>      > * * *> * * *> * **Then I make the fonts bigger (Ctrl-+). *The window
>      is
>      > * * *enlarged
>      > * * *> * * *initially.
>      > * * *> * * *> * **I click on the right end of the window, and it spits
>      > * * *garbage
>      > * * *> * * *again. *BUT,
>      > * * *> * * *> * *if I shrink the window back to its previous size, so
>      as to
>      > * * *contain
>      > * * *> * * *fewer
>      > * * *> * * *> * *characters than before (since the characters now are
>      bigger
>      > * * *but the
>      > * * *> * * *window
>      > * * *> * * *> * *size is made the same as before), then I can click
>      without
>      > * * *getting
>      > * * *> * * *> * *garbage.
>      > * * *> * * *> * *The font in uxterm is much smaller than in my iterm.
>      *So,
>      > * * *that's
>      > * * *> * * *probably
>      > * * *> * * *> * *why the problem is worse in uxterm. *If, let's
>      assume, the
>      > * * *problem
>      > * * *> * * *starts
>      > * * *> * * *> * *on the 80th character, then in uxterm the 80th
>      character
>      > * * *occurs
>      > * * *> * * *sooner,
>      > * * *> * * *> * *i.e., a bigger part of my window is problematic.
>      > * * *> * * *> * *Thank you!
>      > * * *> * * *>
>      > * * *> * * *> * *On Sun, Mar 3, 2013 at 6:39 PM, Nicholas Marriott
>      > * * *> * * *> * *<[1][2][3][4]nicholas.marri...@gmail.com> wrote:
>      > * * *> * * *>
>      > * * *> * * *> * * *Are you sure your terminal supports UTF-8 mouse
>      sequences?
>      > * * *Does
>      > * * *> * * *this
>      > * * *> * * *> * * *happen in uxterm too?
>      > * * *> * * *>
>      > * * *> * * *> * * *On Thu, Feb 28, 2013 at 03:34:44PM -0500, Georgios
>      > * * *Choudalakis
>      > * * *> * * *wrote:
>      > * * *> * * *> * * *> * *Hi all,
>      > * * *> * * *> * * *> * *I have these options:
>      > * * *> * * *> * * *> * ** * * * * * * * * * * * * * * * * * * * * * *
>      > * * *> * * *> * * *> * *# scroll with my mouse in history mode. * * *
>      > * * *> * * *> * * *> * *set-window-option -g mouse-select-window on *
>      > * * *> * * *> * * *> * *set-window-option -g mouse-select-pane on * *
>      > * * *> * * *> * * *> * *set-window-option -g mouse-resize-pane on * *
>      > * * *> * * *> * * *> * *set-window-option -g mouse-utf8 on * * * * **
>      > * * *> * * *> * * *> * *set-window-option -g mode-mouse on * * * * **
>      > * * *> * * *> * * *> * *I run iTerm2 on Mac OS X 10.7.5. with a
>      24-inch
>      > * * *screen.
>      > * * *> * * *> * * *> * *The problem is that when I increase the width
>      of my
>      > * * *window
>      > * * *> * * *to span
>      > * * *> * * *> * * *most of
>      > * * *> * * *> * * *> * *my screen's width, then mouse clicks on the
>      right end
>      > * * *of the
>      > * * *> * * *window
>      > * * *> * * *> * * *are
>      > * * *> * * *> * * *> * *interpreted incorrectly. *They generate
>      garbage,
>      > * * *which looks
>      > * * *> * * *as if
>      > * * *> * * *> * * *a
>      > * * *> * * *> * * *> * *monkey was hitting the keyboard: * "@ 23 *M
>      oig
>      > * * *dfgoij
>      > * * *> * * **ds##g"*
>      > * * *> * * *> * * *> * *and other such meaningless keystrokes.
>      > * * *> * * *> * * *> * *Mouse clicks on the rest of my window work
>      fine, and
>      > * * *they
>      > * * *> * * *result in
>      > * * *> * * *> * * *pane
>      > * * *> * * *> * * *> * *selection or in pane resizing, etc. *The
>      problem only
>      > * * *occurs
>      > * * *> * * *if the
>      > * * *> * * *> * * *window
>      > * * *> * * *> * * *> * *is big enough, and I click near the right of
>      the
>      > * * *window, to
>      > * * *> * * *select
>      > * * *> * * *> * * *for
>      > * * *> * * *> * * *> * *example the rightmost pane. * The problem
>      persists
>      > * * *> * * *regardless of
>      > * * *> * * *> * * *the
>      > * * *> * * *> * * *> * *absolute position of my window, and even if I
>      move it
>      > * * *to a
>      > * * *> * * *> * * *secondary
>      > * * *> * * *> * * *> * *monitor that I have connected.
>      > * * *> * * *> * * *> * *I would greatly appreciate fixing this bug, if
>      > * * *possible.
>      > * * *> * * *> * * *> * *I already have to say I LOVE tmux, and you are
>      making
>      > * * *the
>      > * * *> * * *world a
>      > * * *> * * *> * * *better
>      > * * *> * * *> * * *> * *place. *
>      > * * *> * * *> * * *> * *Thank you!
>      > * * *> * * *>
>      > * * *> * * *> * * *>
>      > * * *> * * *> * *
>      > * * *> * *
>      > * *
>      
> ***------------------------------------------------------------------------------
>      > * * *> * * *> * * *> Everyone hates slow websites. So do we.
>      > * * *> * * *> * * *> Make your web apps faster with AppDynamics
>      > * * *> * * *> * * *> Download AppDynamics Lite for free today:
>      > * * *> * * *> * * *> [2][3][4][5]http://p.sf.net/sfu/appdyn_d2d_feb
>      > * * *> * * *>
>      > * * *> * * *> * * *> _______________________________________________
>      > * * *> * * *> * * *> tmux-users mailing list
>      > * * *> * * *> * * *> [3][4][5][6]tmux-users@lists.sourceforge.net
>      > * * *> * * *> * * *>
>      > * *
>      *[4][5][6][7]https://lists.sourceforge.net/lists/listinfo/tmux-users
>      > * * *> * * *>
>      > * * *> * * *> References
>      > * * *> * * *>
>      > * * *> * * *> * *Visible links
>      > * * *> * * *> * *1. mailto:[6][7][8]nicholas.marri...@gmail.com
>      > * * *> * * *> * *2. [7][8][9]http://p.sf.net/sfu/appdyn_d2d_feb
>      > * * *> * * *> * *3. mailto:[8][9][10]tmux-users@lists.sourceforge.net
>      > * * *> * * *> * *4.
>      > * *
>      *[9][10][11]https://lists.sourceforge.net/lists/listinfo/tmux-users
>      > * * *>
>      > * * *> References
>      > * * *>
>      > * * *> * *Visible links
>      > * * *> * *1. mailto:[11][12]nicholas.marri...@gmail.com
>      > * * *> * *2. mailto:[12][13]nicholas.marri...@gmail.com
>      > * * *> * *3. [13][14]http://p.sf.net/sfu/appdyn_d2d_feb
>      > * * *> * *4. mailto:[14][15]tmux-users@lists.sourceforge.net
>      > * * *> * *5.
>      [15][16]https://lists.sourceforge.net/lists/listinfo/tmux-users
>      > * * *> * *6. mailto:[16][17]nicholas.marri...@gmail.com
>      > * * *> * *7. [17][18]http://p.sf.net/sfu/appdyn_d2d_feb
>      > * * *> * *8. mailto:[18][19]tmux-users@lists.sourceforge.net
>      > * * *> * *9.
>      [19][20]https://lists.sourceforge.net/lists/listinfo/tmux-users
>      >
>      > References
>      >
>      > * *Visible links
>      > * *1. mailto:[21]nicholas.marri...@gmail.com
>      > * *2. mailto:[22]nicholas.marri...@gmail.com
>      > * *3. mailto:[23]nicholas.marri...@gmail.com
>      > * *4. [24]http://p.sf.net/sfu/appdyn_d2d_feb
>      > * *5. mailto:[25]tmux-users@lists.sourceforge.net
>      > * *6. [26]https://lists.sourceforge.net/lists/listinfo/tmux-users
>      > * *7. mailto:[27]nicholas.marri...@gmail.com
>      > * *8. [28]http://p.sf.net/sfu/appdyn_d2d_feb
>      > * *9. mailto:[29]tmux-users@lists.sourceforge.net
>      > * 10. [30]https://lists.sourceforge.net/lists/listinfo/tmux-users
>      > * 11. mailto:[31]nicholas.marri...@gmail.com
>      > * 12. mailto:[32]nicholas.marri...@gmail.com
>      > * 13. [33]http://p.sf.net/sfu/appdyn_d2d_feb
>      > * 14. mailto:[34]tmux-users@lists.sourceforge.net
>      > * 15. [35]https://lists.sourceforge.net/lists/listinfo/tmux-users
>      > * 16. mailto:[36]nicholas.marri...@gmail.com
>      > * 17. [37]http://p.sf.net/sfu/appdyn_d2d_feb
>      > * 18. mailto:[38]tmux-users@lists.sourceforge.net
>      > * 19. [39]https://lists.sourceforge.net/lists/listinfo/tmux-users
> 
> References
> 
>    Visible links
>    1. mailto:nicholas.marri...@gmail.com
>    2. mailto:nicholas.marri...@gmail.com
>    3. mailto:nicholas.marri...@gmail.com
>    4. mailto:nicholas.marri...@gmail.com
>    5. http://p.sf.net/sfu/appdyn_d2d_feb
>    6. mailto:tmux-users@lists.sourceforge.net
>    7. https://lists.sourceforge.net/lists/listinfo/tmux-users
>    8. mailto:nicholas.marri...@gmail.com
>    9. http://p.sf.net/sfu/appdyn_d2d_feb
>   10. mailto:tmux-users@lists.sourceforge.net
>   11. https://lists.sourceforge.net/lists/listinfo/tmux-users
>   12. mailto:nicholas.marri...@gmail.com
>   13. mailto:nicholas.marri...@gmail.com
>   14. http://p.sf.net/sfu/appdyn_d2d_feb
>   15. mailto:tmux-users@lists.sourceforge.net
>   16. https://lists.sourceforge.net/lists/listinfo/tmux-users
>   17. mailto:nicholas.marri...@gmail.com
>   18. http://p.sf.net/sfu/appdyn_d2d_feb
>   19. mailto:tmux-users@lists.sourceforge.net
>   20. https://lists.sourceforge.net/lists/listinfo/tmux-users
>   21. mailto:nicholas.marri...@gmail.com
>   22. mailto:nicholas.marri...@gmail.com
>   23. mailto:nicholas.marri...@gmail.com
>   24. http://p.sf.net/sfu/appdyn_d2d_feb
>   25. mailto:tmux-users@lists.sourceforge.net
>   26. https://lists.sourceforge.net/lists/listinfo/tmux-users
>   27. mailto:nicholas.marri...@gmail.com
>   28. http://p.sf.net/sfu/appdyn_d2d_feb
>   29. mailto:tmux-users@lists.sourceforge.net
>   30. https://lists.sourceforge.net/lists/listinfo/tmux-users
>   31. mailto:nicholas.marri...@gmail.com
>   32. mailto:nicholas.marri...@gmail.com
>   33. http://p.sf.net/sfu/appdyn_d2d_feb
>   34. mailto:tmux-users@lists.sourceforge.net
>   35. https://lists.sourceforge.net/lists/listinfo/tmux-users
>   36. mailto:nicholas.marri...@gmail.com
>   37. http://p.sf.net/sfu/appdyn_d2d_feb
>   38. mailto:tmux-users@lists.sourceforge.net
>   39. https://lists.sourceforge.net/lists/listinfo/tmux-users




------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to