define hotkeys [1]

define hotkeys

Monday, December 22, 2014 1:29 AM - zohar

HI, when i used raw Putty, in order to add some useful hotkeys to efficiently move my cursor, i added the following lines to "~/.inputrc"

"\eOD": backward-word
"\eOC": forward-word
"\eOH": beginning-of-line
"\eOF": end-of-line

in xshell, they doesn't work and if i press ctrl+left or ctrl+right, i get the following strings rather than my cursor moving to next/previous word ';5C' or ';5D'

can you help me define those (and other) hotkeys under xshell environment ?

thanks

Program Ver. : Xshell 5


Re: define hotkeys

Monday, January 19, 2015 6:20 PM - Support

These keys are mapped differently depending on the applications you are using. Please refer to the chart below:

Xshell xterm Putty
ctrl+left ^[[1;5D ^[[1;5D ^[OD
ctrl+right ^[[1;5C ^[[1;5C ^[OC
ctrl+up N/A ^[[1;5A ^[OA
ctrl+down N/A ^[[1;5B ^[OB

Try adding the following key maps in Xshell:

* Select 'Send String' as Action Type.

Ctrl+left => \033OD
Ctrl+right => \033OC
Ctrl+Up =. \033OA
Ctrl+Down => \033OB



---
Technical Support


Previous views: 125