Re: Meta keys issues

2011-03-26 Thread Nicholas Marriott
^[[1;;A is wrong, this is a bug, it should be 1;3A, we should only handle the meta bit as escape on input not on output try this please: Index: xterm-keys.c === RCS file: /cvsroot/tmux/tmux/xterm-keys.c,v retrieving revision 1.8 diff

Re: Meta keys issues

2011-03-25 Thread Micah Cowan
On 03/25/2011 10:49 AM, Paul Grove wrote: > 1. Ran xterm > 2. Checked my $TERM was equal to 'xterm' > 3. Checked my Ctrl-Arrow keys - they worked > 4. Ran tmux (from within xterm) > 5. Checked my $TERM was equal to 'screen' > 6. Checked my Ctrl-Arrow keys - they dont work > > Incidently, the same

Re: Meta keys issues

2011-03-25 Thread Paul Grove
Kevin, Sorry my wording has perhaps been a bit miss leading, and my very first email had an inaccuracy (due to my own confusion) which I'll try to clarify again. In plain old gnome-terminal, my TERM value is 'xterm-256color' and everything works correctly. In tmux, my TERM value is 'screen-256c

Re: Meta keys issues

2011-03-25 Thread Kevin Goodsell
On Fri, Mar 25, 2011 at 2:29 AM, Paul Grove wrote: > Kevin, > > According to the tmux man page, TERM must be set to screen. You have misunderstood. tmux is a terminal which must be identified as screen. gnome-terminal is a terminal which must also be identified by TERM, but "screen" is incorrect

Re: Meta keys issues

2011-03-25 Thread Paul Grove
Kevin, According to the tmux man page, TERM must be set to screen. I have overridden this value to screen-256color so as to get 256 colours. None the less, I have tried reverting to standard 'screen' to the same effect (less the 256 colour support). Also just to clarify, the Ctrl-Arrow and Shif

Re: Meta keys issues

2011-03-24 Thread Kevin Goodsell
On Thu, Mar 24, 2011 at 10:56 AM, Paul Grove wrote: > Hi, I hope you can help, > > my problem is that outside of tmux cat -vt followed by Alt-Up produces > ^[[1;3A where as inside tmux the same thing produces ^[[1;;A I beleive > that this is the cause of misbehavior of some of my key bindings in >