iTerm2 on Mac and have customized control + ← and control + → to send hex
0x05 when pressed - which makes the cursor jump to the start and end of the line when typing or editing commands (opposed to one word at a time) - and the alt key plus an arrow makes the cursor move one word at a time.
This works fine on remote linux systems when using SSH, until I start a screen session. The control + → still works fine, but when I try to use control + ← I just get a message in the
screen status area:
No other window.
I found documentation that suggested adding these lines to
~/.screenrc would bind the keys to next and previous windows:
bindkey "^[[5D" prev bindkey "^[[5C" next
And I thought the syntax for unbinding was to use this line with no command:
bindkey "^[[5D" bindkey "^[[5C"
I've also tried it with as follows:
bindkey "^[[01" bindkey "^[[05"
None of these things seem to work.
/etc/screenrc is completely unchanged for
Ubuntu 16.04 and there is no
~/.screenrc file at the moment ( i.e. nothing non-standard interfering )
How can I unbind this or debug it further to figure out where the hangup is?