Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 ?

share|improve this question
    
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
add comment

1 Answer 1

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.

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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