I tried all the tips mentioned in this article:

http://stackoverflow.com/questions/5029118/bash-ctrl-to-move-cursor-between-words-strings

But non work for me...

Is there a way to work it out ?

link|improve this question

14% accept rate
Using which shell and which terminal? – grawity Sep 22 '11 at 12:04
@grawity,I'm connecting to linux from windows by ssh. – xpbug Sep 22 '11 at 12:21
That doesn't answer my question at all. Which shell (bash, sh, zsh, csh, ...) and which terminal (PuTTY, Mintty, Xterm, Konsole, Cygwin SSH, SecureCRT, ...)? – grawity Sep 22 '11 at 12:24
@grawity, I'm using xshell, bash. – xpbug Sep 22 '11 at 12:35
feedback

1 Answer

It's simple - Xshell does not send anything when you press Ctrl+arrows. And you can't configure it to send proper escape sequences, either.

It may be possible to configure Ctrl-Left and Ctrl-Right via "Keyboard Shortcuts" to send some very unlikely to type sequence, but it will cause much headache in the future.

The only proper solution is to choose a different client, such as PuTTY or SecureCRT.

link|improve this answer
So it has nothing to do with the keyboard? – xpbug Sep 22 '11 at 14:18
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.