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 Shift-Arrow keys work correctly when the TERM=xterm* but not when set to TERM=screen* This holds true for both inside and outside of tmux. Alt-Arrow works outside of tmux when TERM=xterm, but not inside of tmux seemingly regardless of TERM Although Ctrl-Arrow and Shift-Arrow work correctly in tmux when TERM=xterm*, the screen does not refresh correctly when using this setting so cannot use this setting. This morning I just tried working from with in xterm, and unfortunately nothing changes, so I do not think it is down to the terminal emulator. Everything works correctly, up until the point I start tmux Here is a link to my tmux config: http://pastebin.com/wf4pdSeu regards, Paul Excerpts from Kevin Goodsell's message of Thu Mar 24 22:21:20 +0000 2011: > On Thu, Mar 24, 2011 at 10:56 AM, Paul Grove <paul.a.gr...@gmail.com> 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 > > Really? That's a very strange TERM setting for your terminal, and > almost certainly wrong (though I can't say that I know of a terminfo > that really correctly describes gnome-terminal). Maybe you should try > gnome-256color (making sure the terminfo entry is installed first). > > Since applications (like tmux) running in your terminal depend on TERM > to identify a terminfo entry that accurately describes your terminal, > it's important to get this right. > > -Kevin
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ 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