Using ctrl-arrow keys with PuTTY and screen
Posted
by
kbosak
on Server Fault
See other posts from Server Fault
or by kbosak
Published on 2010-04-07T14:36:00Z
Indexed on
2012/09/26
15:40 UTC
Read the original article
Hit count: 341
I searched and couldn't find a solution for this anywhere. I'm using PuTTY from Windows to connect to various servers where I run bash and screen. It seems bash works fine with ctrl-arrow keys to jump word-to-word on the command line but within screen it's not working. Not in screen, ctrl-left sends "^[OC and ctrl-right is "^[OD". Within screen I instead get "^[[C" and "^[[D", which appears to be the codes for just the left/right arrow keys. Is there any way to get screen to recognize ctrl-arrow keys when using PuTTY? (FYI, I don't remember having this problem when using gnu-terminal in linux instead of PuTTY).
UPDATE: It appears PuTTY is the problem as it is not sending the escape codes that are necessary for this to work. I'm giving up for now and using Cygwin+mintty.
© Server Fault or respective owner