Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Notices

Closed Thread
 
Thread Tools Rate Thread Display Modes
  #16  
Old 03-12-2013, 12:56 PM
chrismic1995 chrismic1995 is offline
Registered User
 
Join Date: Mar 2013
Posts: 10
You got it, it is working!!!! Can you explain to me what the "LF" did to fix it?


Thanks,


CM
  #17  
Old 03-12-2013, 03:00 PM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,636
Hi CM,

Great!

The difference is in what the remote echoes back to SecureCRT.

Line endings (ENTER) differ based on OS. Windows uses CRLF, Mac/Linux/Unix uses LF.

So by only "handling" CR initially (with the WaitForString), the LF was still being captured in the ReadString as part of the hostname.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
  #18  
Old 03-12-2013, 04:01 PM
chrismic1995 chrismic1995 is offline
Registered User
 
Join Date: Mar 2013
Posts: 10
Once again thanks!!!
  #19  
Old 03-12-2013, 04:34 PM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,636
Hi CM,

You are quite welcome!
__________________
Thanks,
--Brenda

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

Tags
backup , crt.screen.send , hostname , readstring , tftp

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 05:31 AM.