Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > General

Reply
 
Thread Tools Display Modes
  #1  
Old 11-05-2020, 06:24 AM
slouw slouw is offline
Registered User
 
Join Date: Nov 2005
Posts: 155
Ctrl-C is broken

When I ssh to a device in this case a linux box
I ping a host and it is replying
Ctrl-c used to stop the ping but it no longer has any effect
What is the default key mapping for Ctrl-C?
I have tried various things currently it is set to Telnnet Function TN_BREAK.

Appreciate any reply
Reply With Quote
  #2  
Old 11-05-2020, 11:40 AM
cboyack cboyack is offline
VanDyke Technical Support
 
Join Date: Apr 2020
Location: Albuquerque, NM
Posts: 73
Hi slouw,

I'm sorry to hear about the issue you're experiencing.

What version of SecureCRT are you using?

What exact device are you ssh'ing to?

Is this issue occurring on every device you ssh to, or just this single device?

What exactly do you see when you press [Ctrl + C]?
__________________
Thanks,
--Cameron

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #3  
Old 11-05-2020, 03:41 PM
slouw slouw is offline
Registered User
 
Join Date: Nov 2005
Posts: 155
Hi Cameron
thx for reply
Version 8.0.3 (x64 build 1183) - Official Release - September 8, 2016
SSH to Cisco nexus/catalyst/linux devices
Same problem all devices
When I hit Ctrl-c nothing happens.
It is as if I have not hit any key.
What is the default action for Ctrl-C?
Thx
Reply With Quote
  #4  
Old 11-06-2020, 08:50 AM
cboyack cboyack is offline
VanDyke Technical Support
 
Join Date: Apr 2020
Location: Albuquerque, NM
Posts: 73
Thanks for the response slouw,

The default key mapping for Ctrl+C in SecureCRT is to literally send a Ctrl+C character (ASCII 3 decimal, AKA "ETX")

However, SecureCRT has an option that will squash any attempt to send a Ctrl+C -- treating instead a Ctrl+C keyboard combination as a standard "CUA Windows" 'Copy' command (after all, how do you normally copy text with the keyboard?). The option, Use Windows copy and paste hotkeys, is found in the Session Options / Terminal / Emulation / Mapped Keys category.

Is this item enabled for your sessions?

If so, as above, Ctrl+C will be treated as a local copy operation instead of sending the literal Ctrl+C character to the remote host.

If the above Use Windows copy and paste hotkeys option is not enabled in your sessions, what is the result of using Ctrl+Shift+6 (AKA Ctrl+^, AKA ^^) to escape from a ping operation?
__________________
Thanks,
--Cameron

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730

Last edited by cboyack; 11-06-2020 at 11:49 AM.
Reply With Quote
  #5  
Old 11-25-2020, 04:57 PM
slouw slouw is offline
Registered User
 
Join Date: Nov 2005
Posts: 155
Thank you
How would the default act of sending ASCII 3 / ETX be represented in the Key mapper?

Thanks again
Reply With Quote
  #6  
Old 11-25-2020, 05:00 PM
slouw slouw is offline
Registered User
 
Join Date: Nov 2005
Posts: 155
How should I configure the mapped key so that is it back to the default?



thanks
Attached Images
File Type: png 2020-11-26 08h48m24 SecureCRT Keymapper.png (8.7 KB, 63 views)

Last edited by cboyack; 11-28-2020 at 07:46 PM. Reason: Please see this how-to for embedding images: https://forums.vandyke.com/showthread.php?t=14212
Reply With Quote
  #7  
Old 11-28-2020, 07:44 PM
cboyack cboyack is offline
VanDyke Technical Support
 
Join Date: Apr 2020
Location: Albuquerque, NM
Posts: 73
Hi slouw,

SecureCRT's default action for Ctrl-VK_C, is to send ASCII 3, which is represented as "\003" as a send string value, like so:



Additionally, please see this post on how to properly embed images in these forums.
Attached Images
File Type: png CTRL_C_Default_Mapping.PNG (7.5 KB, 64 views)
__________________
Thanks,
--Cameron

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730

Last edited by jdev; 12-01-2020 at 02:41 PM. Reason: Clarity
Reply With Quote
  #8  
Old 12-03-2020, 02:48 PM
slouw slouw is offline
Registered User
 
Join Date: Nov 2005
Posts: 155
Fantastic thank you!!
Reply With Quote
Reply


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 -6. The time now is 04:25 PM.