^[[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 -u -p -r1.8 xterm-keys.c
--- xterm-keys.c 3 Jan 2011 23:32:04 -0000 1.8
+++ xterm-keys.c 26 Mar 2011 18:57:52 -0000
@@ -174,8 +174,6 @@ xterm_keys_lookup(int key)
modifiers += 2;
if (key & KEYC_CTRL)
modifiers += 4;
- if (key & KEYC_ESCAPE)
- modifiers += 8;
/*
* If the key has no modifiers, return NULL and let it fall through to
On Thu, Mar 24, 2011 at 05:56:32PM +0000, 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
> things like Vim and my email client.
>
> inside tmux:
> echo $TERM
> screen-256color
>
> outside tmux:
> echo $TERM
> screen-256color
>
> I am using gnome-terminal, bash, tmux
>
> I have this problem with Alt and all the arrow keys, ctrl and shift seem
> to work fine.
>
> Is there anything I can do to fix this problem?
>
> Regards,
> Paul
> ------------------------------------------------------------------------------
> 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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-users