Control+Arrow bindings in Putty

2012-10-26 Thread Brandon Phelps
Hello, I have recently started using tmux and am having some slight problems with using C-Up, C-Down, C-Left, and C-Right key bindings. I have added the following to my .tmux.conf: bind -n C-Left select-pane -L bind -n C-Right select-pane -R bind -n C-Up select-pane -U bind -n C-Down select-pa

Re: native xterm scrolling with mouse

2012-10-26 Thread Sergey Naumov
Yes, of course, there have to be a negation: sknaumov@sknaumov-VirtualBox:~/tmux.compile$ git diff HEAD diff --git a/input-keys.c b/input-keys.c index 2b30d4b..b39d024 100644 --- a/input-keys.c +++ b/input-keys.c @@ -223,7 +223,8 @@ input_mouse(struct window_pane *wp, struct mouse_event *m)

Re: native xterm scrolling with mouse

2012-10-26 Thread Sergey Naumov
No, I want to enter copy mode when I am in terminal with shell prompt (and it is better to have an option to scroll first then move cursor when we reached a top of history, because it resembles original mouse scrolling in terminal), but I want to use program-implemented mouse scrolling in terminal

Re: native xterm scrolling with mouse

2012-10-26 Thread Nicholas Marriott
So you want to only enter copy mode when the program has already claimed the mouse? Or am I reading this wrong? On Sun, Sep 30, 2012 at 10:05:00PM +0400, Sergey Naumov wrote: > 2012/9/25 Nicholas Marriott : > > You can tell by checking whether the program has itself enabled the > > mouse (wp->bas