Xshell Forum

Does Xshell support Ctrl+Arrow combinations?

Last post: Saturday, January 2, 2010 6:08 AM by denny, 5 replies
REPLY
WRITE
Friday, April 17, 2009 5:12 PM by Crend King

Does Xshell support Ctrl+Arrow combinations?

I try to bind ctrl+left to move backword by word in my shell. I use zsh and xterm. When I use "cat >/dev/null" to display key codes, left is mapped to ^[[D, but nothing shows when pressing ctrl+left combination (the client sends nothings to server). Same happens to ctrl+right. I tried the same thing in PuTTY, and the combinations in it are ^[OD and ^[OC. I wonder are these combinations reserved for Xshell use or just simply not implemented? If not, will Xshell support them in the future versions? Thanks!

Program Ver. : Xshell 3.0
Monday, April 20, 2009 11:31 AM by Crend King

Re: Does Xshell support Ctrl+Arrow combinations?

Or more generally, does Xshell have plan to support freely mapping every key or key combinations to customizable strings which are sent to remote server? For example, I want to map Ctrl+Left to "C_Left", and I can bindkey "C_Left" to some function I want; or I map "Ctrl+0" to "C_Zero", because both ctrl key and 0 key are easy to press (much better than Ctrl+6). Hope the dev team can listen to this suggestion.

Thanks!
Thursday, April 23, 2009 4:45 PM by Support

Re: Does Xshell support Ctrl+Arrow combinations?

This feature is not yet supported in the currently version. However, we will add a key mapping feature in the future edition and this might work for you.

To better understand your needs, could you please tell us the following information?

1. What is your requested feature?
2. What are you trying to achieve with this feature?

Thank you for your feedback.



---
Technical Support

Thursday, April 23, 2009 6:07 PM by Crend King

Re: Does Xshell support Ctrl+Arrow combinations?

Thanks for response! Actually, the current "Function Key Emulation" does similar things that I want. I can edit the key codes for the F1-F12 keys which are sent to the server.

The restriction is, only the function keys are supported. This feature seems not cover all keys (like arrow keys, digit keys). Also, it is not clear what "S_F1" stands for at the first glance. I do not know how to write combination Shift+Ctrl+F1 as a left value (S_C_F1 maybe?).

It is good to extend this feature to full-keyboard support. It is also good to provide a GUI for editing. I know a SSH client has the requested feature: ZOC (http://www.emtec.com/zoc/), maybe you can take your time to have a look at it.
Friday, April 24, 2009 2:49 PM by Support

Re: Does Xshell Support Ctrl+Arrow Combinations?

Thank you for your feedback. We will definitely have a look at the requested feature.

Meanwhile, if you have any questions, please feel free to let us know.


---
Technical Support

Saturday, January 2, 2010 6:08 AM by denny

Re: Does Xshell support Ctrl+Arrow combinations?

I think this feature is very very important for a emacs user, we always combine multiple keys together, i like xshell only except lacking such important feature.