VanDyke Software Forums

Go Back   VanDyke Software Forums > Secure Shell
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 03-21-2012, 05:17 PM
cherny cherny is offline
Registered User
 
Join Date: Mar 2012
Posts: 3
mapping meta-b in secureCRT

Hi, I would like to map the key combination of Meta-b to the key combination ctrl-left_arrow. How do I do this?

Thanks
Reply With Quote
  #2  
Old 03-22-2012, 06:21 AM
rtb rtb is offline
VanDyke Technical Support
 
Join Date: Aug 2008
Posts: 3,265
Hi cherny,

Thanks for the question. You can map keys in SecureCRT using the following steps:
  1. Press the Map a Key... button in the Terminal / Emulation / Mapped Keys category of the Session Options Dialog.
  2. Press the key/key combination to map.
  3. In the Action section of the Map Selected Key Dialog, select Send String from the Function dropdown menu.
  4. To the right of the dropdown menu, you can enter the string to send to the remote[/B].
If you want to map the key globally, you can use the same steps when editing the Default Session Settings.... This option is located in the General / Default Session category of the Global Options dialog.

Does this help you accomplish your goal?
__________________
--Todd

VanDyke Software
Technical Support
support@vandyke.com
505-332-5730
Reply With Quote
  #3  
Old 03-22-2012, 06:46 AM
cherny cherny is offline
Registered User
 
Join Date: Mar 2012
Posts: 3
The specific issue I don't know is how to map this specific key combination: meta-b and meta-f. What are the strings for those? I don't know their octal codes or string representation.

Thanks
Reply With Quote
  #4  
Old 03-22-2012, 06:50 AM
cherny cherny is offline
Registered User
 
Join Date: Mar 2012
Posts: 3
nevermind, just figured it out: the string i was looking for was \eb
Reply With Quote
  #5  
Old 03-22-2012, 07:06 AM
rtb rtb is offline
VanDyke Technical Support
 
Join Date: Aug 2008
Posts: 3,265
Hi cherny,

Thanks for the updates. I am glad to hear that you found the string you needed and posted it. I didn't know the string you would need to use.

I could suggest, for future use, that if you are using the key combination from another application, and have access to a shell like bash, you could issue the command "cat -v" and press enter.

This would put the shell in a state to allow you to press the key combination to see what is being sent to the remote.
__________________
--Todd

VanDyke Software
Technical Support
support@vandyke.com
505-332-5730
Reply With Quote
Reply

Tags
key map, meta, octal code


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:31 PM.


copyright 1995-2014 VanDyke Software, Inc.