I checked if anyone had this problem before. I found one guy who complained about similar problem, but for him ctrl+left/right worked in terminal, but didn't work in emacs. Eventually he solved it by changing TERM variable in emacs. Unfortunately this doesn't work for me and I am completely lost. So, again, if anyone have an idea what might be the problem, please drop a line.
Thanks.
Alex.
On Mon, Dec 28, 2009 at 9:48 AM, Alexander Sandler
<address@hidden> wrote:
I am working with zsh over putty. Normally, I have ctrl+left and ctrl+right mapped to ^[OD and ^[OC. I bound them to backward-word and forward-word commands (which move cursor one word forward and one word backward). This works wonderfully, but somehow stops working when I start screen. From some reason, in screen both ctrl+left and left arrow key are mapped to ^[[D. Ctrl+right and right arrow key mapped to ^[[C. This is obviously wrong - it breaks the move word forward/move word backward binding. I am wondering how to overcome this problem. Any ideas? Thanks.