Re: resize-pane keystrokes acting as select-pane

2011-03-23 Thread mbm329
Ahhh yup, that worked like a champ. set -g terminal-overrides "*:kUP5=\eOA,*:kDN5=\eOB,*:kLFT5=\eOD,*:kRIT5=\eOC" Works for up, down, left and right now. Thanks! On Wed, Mar 23, 2011 at 3:50 PM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > Sorry use " not ' in .tmux.conf or \e wo

Re: resize-pane keystrokes acting as select-pane

2011-03-23 Thread Nicholas Marriott
Note these will apply for any terminal, you may want to use TERM=putty outside tmux (if your system supports it) and change all the * to putty. On Wed, Mar 23, 2011 at 04:11:45PM -0400, mbm329 wrote: >Ahhh yup, that worked like a champ. > >set -g terminal-overrides >"*:kUP5=\eOA,*:kD

Re: resize-pane keystrokes acting as select-pane

2011-03-23 Thread Nicholas Marriott
Sorry use " not ' in .tmux.conf or \e won't be replaced: set -g terminal-overrides "*:kUP5=\eOA" On Wed, Mar 23, 2011 at 03:42:33PM -0400, mbm329 wrote: > >[mbmtest@test1�~]$ tmux ls >failed to connect to server: Connection refused >[mbmtest@test1�~]$ cat ~/.tmux.conf >set -

Re: resize-pane keystrokes acting as select-pane

2011-03-23 Thread mbm329
[mbmtest@test1 ~]$ tmux ls failed to connect to server: Connection refused [mbmtest@test1 ~]$ cat ~/.tmux.conf set -g terminal-overrides '*:kUP5=\eOA' [mbmtest@test1 ~]$ tmux ## [mbmtest@test1 ~]$ tmux info tmux 1.4, pid 13611, started Wed Mar 23 15:18:56 2011 socket path

Re: resize-pane keystrokes acting as select-pane

2011-03-23 Thread Micah Cowan
On 03/23/2011 11:43 AM, mbm329 wrote: > Thanks for the pointer. > > Using PuTTY, here's the output: > > $ cat > ^[[A > ^[OA > A How about for: "tput smkx; cat; tput rmkx"? That'd be the situation tmux would actually see them in. -- Micah J. Cowan http://micah.cowan.name/ -

Re: resize-pane keystrokes acting as select-pane

2011-03-23 Thread Nicholas Marriott
Nope it is either \e[A or \eOA. On Wed, Mar 23, 2011 at 12:27:06PM -0700, Micah Cowan wrote: > On 03/23/2011 11:50 AM, Nicholas Marriott wrote: > > These are usually the keys that are changed when the keypad is put into > > cursor mode, these are all treated as up, down, left and right by tmux. >

Re: resize-pane keystrokes acting as select-pane

2011-03-23 Thread Micah Cowan
On 03/23/2011 11:50 AM, Nicholas Marriott wrote: > These are usually the keys that are changed when the keypad is put into > cursor mode, these are all treated as up, down, left and right by tmux. > > Try eg > > set -g terminal-overrides '*:kUP5=\eOA' That should be \e[OA shouldn't it? -- Mica

Re: resize-pane keystrokes acting as select-pane

2011-03-23 Thread Nicholas Marriott
show me output of tmux info after restarting it with that in .tmux.conf On Wed, Mar 23, 2011 at 03:12:31PM -0400, mbm329 wrote: >Unfortunately, neither worked. �Any other ideas to try? >On Wed, Mar 23, 2011 at 2:50 PM, Nicholas Marriott ><[1]nicholas.marri...@gmail.com> wrote: > >

Re: resize-pane keystrokes acting as select-pane

2011-03-23 Thread mbm329
Unfortunately, neither worked. Any other ideas to try? On Wed, Mar 23, 2011 at 2:50 PM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > These are usually the keys that are changed when the keypad is put into > cursor mode, these are all treated as up, down, left and right by tmux. > >

Re: resize-pane keystrokes acting as select-pane

2011-03-23 Thread Nicholas Marriott
These are usually the keys that are changed when the keypad is put into cursor mode, these are all treated as up, down, left and right by tmux. Try eg set -g terminal-overrides '*:kUP5=\eOA' Or \e[A if that doesn't work. On Wed, Mar 23, 2011 at 02:43:36PM -0400, mbm329 wrote: >Thanks for th

Re: resize-pane keystrokes acting as select-pane

2011-03-23 Thread mbm329
Thanks for the pointer. Using PuTTY, here's the output: $ cat ^[[A ^[OA A That's cat, return, Up, return, Ctrl+Up, return. The A on a line by itself was placed there by the return after Ctrl+Up. Since you mentioned the terminal, I checked the Translation section and was using "UTF-8". I chang

Re: resize-pane keystrokes acting as select-pane

2011-03-23 Thread mbm329
Thanks for the pointer. Using PuTTY, here's the output: $ cat ^[[A ^[OA A That's cat, return, Up, return, Ctrl+Up, return. The A on a line by itself was placed there by the return after Ctrl+Up. Since you mentioned the terminal, I checked the Translation section and was using "UTF-8". I chang

Re: resize-pane keystrokes acting as select-pane

2011-03-23 Thread Nicholas Marriott
Works for me. Are you sure your terminal shows different things for C-Up and Up? (Run cat outside tmux then press them and make sure it shows different things for the two keys.) On Wed, Mar 23, 2011 at 12:45:43PM -0400, mbm329 wrote: >Hi all, > >Trying to resize-pane by 1 row or column

resize-pane keystrokes acting as select-pane

2011-03-23 Thread mbm329
Hi all, Trying to resize-pane by 1 row or column and it just does a select-pane instead. Here is the relative output from the list-keys command: Up: (repeat) select-pane -U Down: (repeat) select-pane -D Left: (repeat) select-pane -L Right: (repeat) select-pane -R M-Up: (repeat) r