1

I tried all the tips mentioned in this article:

https://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 ?

  • 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
2

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.

  • So it has nothing to do with the keyboard? – xpbug Sep 22 '11 at 14:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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