Ali Tofigh
unread,Oct 30, 2012, 8:05:46 PM10/30/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to iterm2-...@googlegroups.com
Hi,
I've used iterm2 for a while (I love it!) and I'm just trying out
tmux. I get the following strange behaviour from iterm:
I have only one profile defined in iterm2. I've set things up to work
with the gnu readline library and emacs (i.e., i've configured in my
iterm2 profile the character sequences that are sent by iterm2 and
recognized by readline and emacs). But when I start tmux on a remote
server, iterm2 suddenly changes the character sequences that are being
sent. They no longer correspond to my iterm2 profile.
For example, in my iterm2 profile Ctrl-left arrow sends the sequence
^[[1;5D. In my ~/.inputrc file I have the line '"\e[1;5D":
backward-word'. If I do ctrl-v followed by ctrl-left arrow, I get
exactly the output I expect, namely "^[[1;5D". BUT after starting
tmux, ctrl-left arrow no longer works (i.e., it does not result in
backward-word). ctrl-v ctrl-left arrow shows that the character
sequence being sent is "^[OD". How come?
/Ali