Re: Tmux mode-mouse issue

2013-03-26 Thread Junchen Gu
prefix ] works.. this means that everything was fine with my tmux configuration and it's just that I kept using command k to paste selections... Thanks so much for your patients and help! On Tue, Mar 26, 2013 at 5:56 PM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > On Tue, Mar 26,

Re: Tmux mode-mouse issue

2013-03-26 Thread Junchen Gu
OK. How do I know if my selection was copied to the tmux clipboard? How do you paste the copied stuff? I tried command+V and the pasting didn't work.. Am I not doing it in the right way? Yeah, the description in my last email also happen when I start tmux normally. On Tue, Mar 26, 2013 at 12:44 P

Re: Tmux mode-mouse issue

2013-03-26 Thread Nicholas Marriott
That's what's supposed to happen :-). When you released the mouse it copied it to the tmux clipboard. Doesn't that happen when you start tmux normally? On Tue, Mar 26, 2013 at 12:40:32PM -0500, Junchen Gu wrote: >What happened was, I clicked left button on my mouse to select abcedf, >the

Re: Tmux mode-mouse issue

2013-03-26 Thread Nicholas Marriott
Hmm. This is weird. tmux is definitely getting the drag events. So nothing on screen at all changes when you drag? On Tue, Mar 26, 2013 at 12:26:02PM -0500, Junchen Gu wrote: >Sure. Here you go.* > >On Tue, Mar 26, 2013 at 12:23 PM, Nicholas Marriott ><[1]nicholas.marri...@gmail.com

Re: Tmux mode-mouse issue

2013-03-26 Thread Nicholas Marriott
Would you mind attaching the server log please? If you include them in the mail itself then the control codes in the mouse sequences are lost :-(. On Tue, Mar 26, 2013 at 12:18:53PM -0500, Junchen Gu wrote: >Here are the log files: >1. tmux-client-16248.log >got 3 from server >2.*

Re: Tmux mode-mouse issue

2013-03-26 Thread Junchen Gu
Here are the log files: 1. tmux-client-16248.log got 3 from server 2. tmux-server-16250.log server started, pid 16250 socket path /tmp//tmux-20074/test new client 8 got 14 from client 8 got 14 from client 8 got 14 from client 8 got 14 from client 8 got 14 from client 8 got 14 from client 8 got 14

Re: Tmux mode-mouse issue

2013-03-25 Thread Nicholas Marriott
Try this please from a shell outside tmux: tmux -Ltest -vvv new -d 'echo abcdef; sleep 1000' tmux -Ltest set -g mode-mouse on tmux -Ltest attach Then try to select the abcdef with the mouse, then press ^C so tmux exits, then email me all the logs from the current directory (tmux-*.log). On Mon,

Re: Tmux mode-mouse issue

2013-03-25 Thread Junchen Gu
No, it doesn't work either.. On Mon, Mar 25, 2013 at 12:21 PM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > Hmm. Does it work if you just turn on mode-mouse not the other options? > > > On Mon, Mar 25, 2013 at 12:09:03PM -0500, Junchen Gu wrote: > >OK. Just tried xterm and mouse

Re: Tmux mode-mouse issue

2013-03-25 Thread Junchen Gu
OK. Just tried xterm and mouse scrolling works there but selection, copy aren't working. Maybe it's my configuration that's not working? BTW, I'm using tmux on our server. Maybe this makes things different? On Mon, Mar 25, 2013 at 11:57 AM, Junchen Gu wrote: > I see. I can try xterm and see if

Re: Tmux mode-mouse issue

2013-03-25 Thread Nicholas Marriott
Hmm. Does it work if you just turn on mode-mouse not the other options? On Mon, Mar 25, 2013 at 12:09:03PM -0500, Junchen Gu wrote: >OK. Just tried xterm and mouse scrolling works there but selection, copy >aren't working. Maybe it's my configuration that's not working? >BTW, I'm usin

Re: Tmux mode-mouse issue

2013-03-25 Thread Junchen Gu
I see. I can try xterm and see if works there. I'm using tmux 1.7. On Mon, Mar 25, 2013 at 11:50 AM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > xterm is the standard terminal and I know it works there, so if it works > for you with xterm then you have configured things correctly a

Re: Tmux mode-mouse issue

2013-03-25 Thread Nicholas Marriott
xterm is the standard terminal and I know it works there, so if it works for you with xterm then you have configured things correctly and it's a problem in iTerm2 and Terminal.app. Also what version of tmux are you using? On Mon, Mar 25, 2013 at 11:41:16AM -0500, Junchen Gu wrote: >Hi, Nicho

Re: Tmux mode-mouse issue

2013-03-25 Thread Junchen Gu
Hi, Nicholas, I've never used xterm so I'm not sure if it works there. Why? Yeah, the mouse-select-pane works. The mouse-select-window also works. On Mon, Mar 25, 2013 at 11:38 AM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > Hi > > Does it work in xterm? > > Also does mouse-select-

Re: Tmux mode-mouse issue

2013-03-25 Thread Nicholas Marriott
Hi Does it work in xterm? Also does mouse-select-pane work? That is, if you split the window can you change pane by clicking. On Mon, Mar 25, 2013 at 11:31:36AM -0500, Junchen Gu wrote: >Dear developers, >I recently started to use tmux and thanks for making this useful tool! >I enco

Tmux mode-mouse issue

2013-03-25 Thread Junchen Gu
Dear developers, I recently started to use tmux and thanks for making this useful tool! I encountered some problem with mode-mouse settings. I use iTerm2 and this is my .tmux.conf setting for mode-mouse: set -g prefix C-q # Toggle mouse on with ^q m bind m \ set -g mode-mouse on \;\ set -g mouse-

Re: Mouse issue

2011-06-04 Thread Nicholas Marriott
tmux doesn't support \033[?1001s, adding that may be enough if not then ncurses needs to tell tmux it is using the mouse like ncmpcpp is doing, are you sure it isn't sending \033[?1000h? (run one of the applications in script, or use tmux logging to see) On Fri, Jun 03, 2011 at 04:08:04PM +0200,

Re: Mouse issue

2011-06-03 Thread marcel partap
> haven't got time to look into this really, but it is on the pile in my > inbox so if nobody else does I'll get to it after this week Ok i have wasted couple of hours investigating this and conclusion is as follows. If any mouse-interactivity feature (f.e. mouse-select-pane) is turned on (and, i

Re: Mouse issue

2011-05-23 Thread Nicholas Marriott
haven't got time to look into this really, but it is on the pile in my inbox so if nobody else does I'll get to it after this week On Mon, May 23, 2011 at 08:05:52PM +0200, marcel partap wrote: > Salut :) > umm... while you have merged my patch for window scrolling (thaanx :D), the > issue with

Re: Mouse issue

2011-05-23 Thread marcel partap
Salut :) umm... while you have merged my patch for window scrolling (thaanx :D), the issue with wheel events being not correctly passed when either mouse-select-window or mouse-select-pane is turned on persists. Can you reproduce that? > 1) open less with text +1 page, scroll mouse. > 2) toggle

Re: Mouse issue

2011-04-29 Thread marcel partap
> I don't follow, what is the problem? If you turn on mouse-select-pane it > eats the scroll wheel button events? no, it seems to alter them. ncmpcpp reacts on wheel events, less not. > I think it would be better for scroll wheel to select panes not > windows. The patch only enables mouse wheel wi

Re: Mouse issue

2011-04-29 Thread Nicholas Marriott
Hi I don't follow, what is the problem? If you turn on mouse-select-pane it eats the scroll wheel button events? I think it would be better for scroll wheel to select panes not windows. Maybe it is about time we had mouse-button-1-command options etc... On Thu, Apr 28, 2011 at 05:33:41PM +0200,

Mouse issue

2011-04-28 Thread marcel partap
Hi Nicholas et al., seeing that the previous issue (excessive redraws) seems to be solved (have not tested but patch seems clear), i want to bring up another minor issue. Mouse scroll wheel events are only correctly passed if mouse-select-* is off.. while ncmpcpp can handle mouse wheel input reg