Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Notices

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-11-2007, 11:47 AM
deckard deckard is offline
Registered User
 
Join Date: Oct 2007
Posts: 3
Problem sending Ctrl-c break

I'm unable to get secure CRT 5.0.3 to accept a Ctrl-c break on a remote SSH Linux session.
The keymap editor tells me 'Ctrl+C' is \003 or Ctrl-VK_C but I can't get either of those to work.

crt.Screen.Send "\003"
crt.screen.SendSpecial "Ctrl-VK_C"

CRT won't even accept the last one, saying it's invalid.
I just can't figure it out, stumped.

A workaround would be acceptable too if anyone has a suggestion. I have a script that SSH's to many Linux boxes to reboot them. Works fine except that in the event one of the attempts hangs I need to cancel out and go on to the next one as otherwise the script can take forever to complete.
Reply With Quote
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 03:21 AM.