Xshell Forum

Does Xshell support Ctrl+Arrow combinations?

Last post: Thursday, April 12, 2012 7:46 AM by Apo2, 10 reply

 
Friday, April 17, 2009 5:12 PM - 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 - 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 - 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 - 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 - 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 - 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.
Sunday, December 19, 2010 7:36 AM - cpriest

Re: Does Xshell support Ctrl+Arrow combinations?

 
I see that xShell 4 has custom key mapping but I cannot find any documentation on it. I see the example has F1-F12 and S_F1 through S_F12, how can we map the Control-Left-Arrow using this feature?
Sunday, December 19, 2010 5:34 PM - Support

Re: Does Xshell support Ctrl+Arrow combinations?

 
To map CTRL + Left arrow keys,

1. Open the key mapping dialog box.
2. On the Categories box, press CTRL and left arrow keys together

If should displays "Ctrl + Left" on the box

3. Click the Edit button.
4. Select a function and action for the button.
5. Click OK to save.

---
Technical Support
Wednesday, March 7, 2012 6:11 AM - Tim from New York

Re: Does Xshell support Ctrl+Arrow combinations?

 
That method doesn't work.
For example, the sequence CTRL + RIGHT ARROW can be set to Menu, or Send String and so on. Let's set it to Send String, because we definitely want to send CTRL + RIGHT ARROW to the host.

Nothing get's sent.

If we want to send the sequence for CTRL + RIGHT ARROW, then it seems that XShell is still not able to do that.

Normally, it moves the cursor between words. Putty and SecureCRT and even the built-in terminal in ubuntu send those correctly.

However, since this thread is from 2009, then are we saying that it's taken over 3 years to get this recognized?
Monday, March 19, 2012 12:39 AM - Support

Re: Does Xshell support Ctrl+Arrow combinations?

 
Sending Ctrl key combination to the remote server is different from changing the key map. We are currently working on this feature now and will soon be implemented in the next few months.

Also, I see the support for Ctrl + arrow key support to traverse between words in the next milestone. This feature should be added to Xshell 4 shortly.

Thank you for using Xshell.



---
Technical Support
Thursday, April 12, 2012 7:46 AM - Apo2

Re: Does Xshell support Ctrl+Arrow combinations?

 
I‘m glad to see the official replay for this feature. This is a great feature.