<opened first window>
[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
##########################
<opened second window (info with your first suggestion \eOA)>
[mbmtest@test1 ~]$ tmux info
tmux 1.4, pid 13611, started Wed Mar 23 15:18:56 2011
socket path /tmp/tmux-500/default, debug level 0
system is Linux 2.6.18-194.26.1.el5 #1 SMP Fri Oct 29 14:21:16 EDT 2010
x86_64
configuration file is /home/mbmtest/.tmux.conf
protocol version is 6
Clients:
0: /dev/pts/35 (8, 11): 0 [80x24 xterm] [flags=0x1/0x38, references=0]
Sessions: [5/10]
0: 0: 1 windows (created Wed Mar 23 15:18:56 2011) [80x23] [flags=0x0]
0: bash [80x23] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/36 13612 14 174/178, 25830 bytes; UTF-8 0/178, 0 bytes
Terminals:
xterm [references=1, flags=0x0]:
1: acsc: (string) ``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~
0: AX: (flag) true
2: bel: (string) \007
3: blink: (string) \033[5m
4: bold: (string) \033[1m
5: civis: (string) \033[?25l
6: clear: (string) \033[H\033[2J
7: cnorm: (string) \033[?12l\033[?25h
8: colors: (number) 8
9: csr: (string) \033[%i%p1%d;%p2%dr
10: cub: (string) \033[%p1%dD
11: cub1: (string) \010
12: cud: (string) \033[%p1%dB
13: cud1: (string) \012
14: cuf: (string) \033[%p1%dC
15: cuf1: (string) \033[C
16: cup: (string) \033[%i%p1%d;%p2%dH
17: cuu: (string) \033[%p1%dA
18: cuu1: (string) \033[A
19: dch: (string) \033[%p1%dP
20: dch1: (string) \033[P
21: dim: [missing]
22: dl: (string) \033[%p1%dM
23: dl1: (string) \033[M
24: el: (string) \033[K
25: el1: (string) \033[1K
26: enacs: [missing]
27: home: (string) \033[H
28: hpa: (string) \033[%i%p1%dG
29: ich: (string) \033[%p1%d@
30: ich1: [missing]
31: il: (string) \033[%p1%dL
32: il1: (string) \033[L
33: invis: (string) \033[8m
34: is1: [missing]
35: is2: (string) \033[!p\033[?3;4l\033[4l\033>
36: is3: [missing]
37: kcbt: (string) \033[Z
38: kcub1: (string) \033OD
39: kcud1: (string) \033OB
40: kcuf1: (string) \033OC
41: kcuu1: (string) \033OA
42: kDC: (string) \033[3;2~
43: kDC3: [missing]
44: kDC4: [missing]
45: kDC5: [missing]
46: kDC6: [missing]
47: kDC7: [missing]
48: kdch1: (string) \033[3~
49: kDN: (string) \033[1;2B
50: kDN3: [missing]
51: kDN4: [missing]
52: kDN5: (string) \033[1;5B
53: kDN6: (string) \033[1;6B
54: kDN7: [missing]
55: kend: (string) \033OF
56: kEND: (string) \033[1;2F
57: kEND3: [missing]
58: kEND4: [missing]
59: kEND5: [missing]
60: kEND6: [missing]
61: kEND7: [missing]
62: kf1: (string) \033OP
63: kf10: (string) \033[21~
64: kf11: (string) \033[23~
65: kf12: (string) \033[24~
66: kf13: (string) \033O2P
67: kf14: (string) \033O2Q
68: kf15: (string) \033O2R
69: kf16: (string) \033O2S
70: kf17: (string) \033[15;2~
71: kf18: (string) \033[17;2~
72: kf19: (string) \033[18;2~
73: kf2: (string) \033OQ
74: kf20: (string) \033[19;2~
75: kf3: (string) \033OR
76: kf4: (string) \033OS
77: kf5: (string) \033[15~
78: kf6: (string) \033[17~
79: kf7: (string) \033[18~
80: kf8: (string) \033[19~
81: kf9: (string) \033[20~
82: kHOM: (string) \033[1;2H
83: kHOM3: [missing]
84: kHOM4: [missing]
85: kHOM5: [missing]
86: kHOM6: [missing]
87: kHOM7: [missing]
88: khome: (string) \033OH
89: kIC: (string) \033[2;2~
90: kIC3: [missing]
91: kIC4: [missing]
92: kIC5: [missing]
93: kIC6: [missing]
94: kIC7: [missing]
95: kich1: (string) \033[2~
96: kLFT: (string) \033[1;2D
97: kLFT3: [missing]
98: kLFT4: [missing]
99: kLFT5: (string) \033[1;5D
100: kLFT6: (string) \033[1;6D
101: kLFT7: [missing]
102: kmous: (string) \033[M
103: knp: (string) \033[6~
104: kNXT: (string) \033[6;2~
105: kNXT3: [missing]
106: kNXT4: [missing]
107: kNXT5: [missing]
108: kNXT6: [missing]
109: kNXT7: [missing]
110: kpp: (string) \033[5~
111: kPRV: (string) \033[5;2~
112: kPRV3: [missing]
113: kPRV4: [missing]
114: kPRV5: [missing]
115: kPRV6: [missing]
116: kPRV7: [missing]
117: kRIT: (string) \033[1;2C
118: kRIT3: [missing]
119: kRIT4: [missing]
120: kRIT5: (string) \033[1;5C
121: kRIT6: (string) \033[1;6C
122: kRIT7: [missing]
123: kUP: (string) \033[1;2A
124: kUP3: [missing]
125: kUP4: [missing]
126: kUP5: (string) \\eOA
127: kUP6: (string) \033[1;6A
128: kUP7: [missing]
129: op: (string) \033[39;49m
130: rev: (string) \033[7m
131: ri: (string) \033M
132: rmacs: (string) \033(B
133: rmcup: (string) \033[?1049l
134: rmir: (string) \033[4l
135: rmkx: (string) \033[?1l\033>
136: setab: (string) \033[4%p1%dm
137: setaf: (string) \033[3%p1%dm
138: sgr0: (string) \033(B\033[m
139: smacs: (string) \033(0
140: smcup: (string) \033[?1049h
141: smir: (string) \033[4h
142: smkx: (string) \033[?1h\033=
143: smso: (string) \033[7m
144: smul: (string) \033[4m
145: vpa: (string) \033[%i%p1%dd
146: xenl: (flag) true
Jobs:
[mbmtest@test1 ~]$
######################################
Then with the \e[A suggestion:
[mbmtest@test1 ~]$ tmux info
tmux 1.4, pid 25669, started Wed Mar 23 15:35:39 2011
socket path /tmp/tmux-500/default, debug level 0
system is Linux 2.6.18-194.26.1.el5 #1 SMP Fri Oct 29 14:21:16 EDT 2010
x86_64
configuration file is /home/mbmtest/.tmux.conf
protocol version is 6
Clients:
0: /dev/pts/35 (8, 11): 0 [80x24 xterm] [flags=0x1/0x38, references=0]
Sessions: [5/10]
0: 0: 1 windows (created Wed Mar 23 15:35:39 2011) [80x23] [flags=0x0]
0: bash [80x23] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/36 25670 14 12/23, 4020 bytes; UTF-8 0/23, 0 bytes
Terminals:
xterm [references=1, flags=0x0]:
1: acsc: (string) ``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~
0: AX: (flag) true
2: bel: (string) \007
3: blink: (string) \033[5m
4: bold: (string) \033[1m
5: civis: (string) \033[?25l
6: clear: (string) \033[H\033[2J
7: cnorm: (string) \033[?12l\033[?25h
8: colors: (number) 8
9: csr: (string) \033[%i%p1%d;%p2%dr
10: cub: (string) \033[%p1%dD
11: cub1: (string) \010
12: cud: (string) \033[%p1%dB
13: cud1: (string) \012
14: cuf: (string) \033[%p1%dC
15: cuf1: (string) \033[C
16: cup: (string) \033[%i%p1%d;%p2%dH
17: cuu: (string) \033[%p1%dA
18: cuu1: (string) \033[A
19: dch: (string) \033[%p1%dP
20: dch1: (string) \033[P
21: dim: [missing]
22: dl: (string) \033[%p1%dM
23: dl1: (string) \033[M
24: el: (string) \033[K
25: el1: (string) \033[1K
26: enacs: [missing]
27: home: (string) \033[H
28: hpa: (string) \033[%i%p1%dG
29: ich: (string) \033[%p1%d@
30: ich1: [missing]
31: il: (string) \033[%p1%dL
32: il1: (string) \033[L
33: invis: (string) \033[8m
34: is1: [missing]
35: is2: (string) \033[!p\033[?3;4l\033[4l\033>
36: is3: [missing]
37: kcbt: (string) \033[Z
38: kcub1: (string) \033OD
39: kcud1: (string) \033OB
40: kcuf1: (string) \033OC
41: kcuu1: (string) \033OA
42: kDC: (string) \033[3;2~
43: kDC3: [missing]
44: kDC4: [missing]
45: kDC5: [missing]
46: kDC6: [missing]
47: kDC7: [missing]
48: kdch1: (string) \033[3~
49: kDN: (string) \033[1;2B
50: kDN3: [missing]
51: kDN4: [missing]
52: kDN5: (string) \033[1;5B
53: kDN6: (string) \033[1;6B
54: kDN7: [missing]
55: kend: (string) \033OF
56: kEND: (string) \033[1;2F
57: kEND3: [missing]
58: kEND4: [missing]
59: kEND5: [missing]
60: kEND6: [missing]
61: kEND7: [missing]
62: kf1: (string) \033OP
63: kf10: (string) \033[21~
64: kf11: (string) \033[23~
65: kf12: (string) \033[24~
66: kf13: (string) \033O2P
67: kf14: (string) \033O2Q
68: kf15: (string) \033O2R
69: kf16: (string) \033O2S
70: kf17: (string) \033[15;2~
71: kf18: (string) \033[17;2~
72: kf19: (string) \033[18;2~
73: kf2: (string) \033OQ
74: kf20: (string) \033[19;2~
75: kf3: (string) \033OR
76: kf4: (string) \033OS
77: kf5: (string) \033[15~
78: kf6: (string) \033[17~
79: kf7: (string) \033[18~
80: kf8: (string) \033[19~
81: kf9: (string) \033[20~
82: kHOM: (string) \033[1;2H
83: kHOM3: [missing]
84: kHOM4: [missing]
85: kHOM5: [missing]
86: kHOM6: [missing]
87: kHOM7: [missing]
88: khome: (string) \033OH
89: kIC: (string) \033[2;2~
90: kIC3: [missing]
91: kIC4: [missing]
92: kIC5: [missing]
93: kIC6: [missing]
94: kIC7: [missing]
95: kich1: (string) \033[2~
96: kLFT: (string) \033[1;2D
97: kLFT3: [missing]
98: kLFT4: [missing]
99: kLFT5: (string) \033[1;5D
100: kLFT6: (string) \033[1;6D
101: kLFT7: [missing]
102: kmous: (string) \033[M
103: knp: (string) \033[6~
104: kNXT: (string) \033[6;2~
105: kNXT3: [missing]
106: kNXT4: [missing]
107: kNXT5: [missing]
108: kNXT6: [missing]
109: kNXT7: [missing]
110: kpp: (string) \033[5~
111: kPRV: (string) \033[5;2~
112: kPRV3: [missing]
113: kPRV4: [missing]
114: kPRV5: [missing]
115: kPRV6: [missing]
116: kPRV7: [missing]
117: kRIT: (string) \033[1;2C
118: kRIT3: [missing]
119: kRIT4: [missing]
120: kRIT5: (string) \033[1;5C
121: kRIT6: (string) \033[1;6C
122: kRIT7: [missing]
123: kUP: (string) \033[1;2A
124: kUP3: [missing]
125: kUP4: [missing]
126: kUP5: (string) \\e[A
127: kUP6: (string) \033[1;6A
128: kUP7: [missing]
129: op: (string) \033[39;49m
130: rev: (string) \033[7m
131: ri: (string) \033M
132: rmacs: (string) \033(B
133: rmcup: (string) \033[?1049l
134: rmir: (string) \033[4l
135: rmkx: (string) \033[?1l\033>
136: setab: (string) \033[4%p1%dm
137: setaf: (string) \033[3%p1%dm
138: sgr0: (string) \033(B\033[m
139: smacs: (string) \033(0
140: smcup: (string) \033[?1049h
141: smir: (string) \033[4h
142: smkx: (string) \033[?1h\033=
143: smso: (string) \033[7m
144: smul: (string) \033[4m
145: vpa: (string) \033[%i%p1%dd
146: xenl: (flag) true
Jobs:
[mbmtest@test1 ~]$
######################################
Without it set in ~/.tmux.conf, this is what the respective info looks like:
123: kUP: (string) \033[1;2A
124: kUP3: [missing]
125: kUP4: [missing]
126: kUP5: (string) \033[1;5A
127: kUP6: (string) \033[1;6A
128: kUP7: [missing]
Thanks,
Mike
On Wed, Mar 23, 2011 at 3:16 PM, Nicholas Marriott <
nicholas.marri...@gmail.com> wrote:
> 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:
> >
> > 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 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 changed it to be "ISO-8859-1:1998
> (Latin-1,
> > West
> > > Europe)". Then just tried the "Default" profile instead of the
> > profile I
> > > had for the host. All of them gave the same result with both
> the
> > cat
> > > command outside of tmux, and with attempts to resize the pane
> > within tmux.
> > > No luck so far.
> > > Thanks,
> > > Mike
> > > On Wed, Mar 23, 2011 at 12:59 PM, Nicholas Marriott
> > > <[1][2]nicholas.marri...@gmail.com> wrote:
> > >
> > > 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 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) resize-pane -U 5
> > > > M-Down: (repeat) resize-pane -D 5
> > > > M-Left: (repeat) resize-pane -L 5
> > > > M-Right: (repeat) resize-pane -R 5
> > > > C-Up: (repeat) resize-pane -U
> > > > C-Down: (repeat) resize-pane -D
> > > > C-Left: (repeat) resize-pane -L
> > > > C-Right: (repeat) resize-pane -R
> > > >
> > > > I've tried this as a user with no ~/tmux.conf file. I'm
> > running
> > > tmux v1.4
> > > > on RHEL 5.5.
> > > >
> > > > Even added the following explicitly in the ~/.tmux.conf
> > file:
> > > >
> > > > bind -r C-Up resize-pane -U
> > > > bind -r C-Down resize-pane -D
> > > > bind -r C-Left resize-pane -L
> > > > bind -r C-Right resize-pane -R
> > > >
> > > > Tried both the left Ctrl and right Ctrl keys.
> > > > Thanks,
> > > >
> > > > Mike
> > >
> > > >
> > >
> >
>
> ------------------------------------------------------------------------------
> > > > Enable your software for Intel(R) Active Management
> Technology
> > to meet
> > > the
> > > > growing manageability and security demands of your
> customers.
> > > Businesses
> > > > are taking advantage of Intel(R) vPro (TM) technology -
> will
> > your
> > > software
> > > > be a part of the solution? Download the Intel(R)
> Manageability
> > Checker
> > > > today! [2][3]http://p.sf.net/sfu/intel-dev2devmar
> > >
> > > > _______________________________________________
> > > > tmux-users mailing list
> > > > [3][4]tmux-users@lists.sourceforge.net
> > > > [4][5]
> https://lists.sourceforge.net/lists/listinfo/tmux-users
> > >
> > > References
> > >
> > > Visible links
> > > 1. mailto:[6]nicholas.marri...@gmail.com
> > > 2. [7]http://p.sf.net/sfu/intel-dev2devmar
> > > 3. mailto:[8]tmux-users@lists.sourceforge.net
> > > 4. [9]https://lists.sourceforge.net/lists/listinfo/tmux-users
> >
> > References
> >
> > Visible links
> > 1. mailto:nicholas.marri...@gmail.com
> > 2. mailto:nicholas.marri...@gmail.com
> > 3. http://p.sf.net/sfu/intel-dev2devmar
> > 4. mailto:tmux-users@lists.sourceforge.net
> > 5. https://lists.sourceforge.net/lists/listinfo/tmux-users
> > 6. mailto:nicholas.marri...@gmail.com
> > 7. http://p.sf.net/sfu/intel-dev2devmar
> > 8. mailto:tmux-users@lists.sourceforge.net
> > 9. https://lists.sourceforge.net/lists/listinfo/tmux-users
>
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users