Alexander Sandler <alexander.sand...@gmail.com> 2009-12-30 16:05: > 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 > <[1]alexander.sand...@gmail.com> 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. > Alex
For a similar problem in bash I just did this in my .inputrc: # For urxvt->screen "\eOc": forward-word "\eOd": backward-word "\eO5C": forward-word "\eO5D": backward-word Basically just add more bindings. I did something similar in .vimrc as well. Brian _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users