View Single Post
Old 12-29-2020, 07:50 AM
bgagnon bgagnon is offline
VanDyke Technical Support
Join Date: Oct 2008
Posts: 4,574
Hi garrettwilliams,
This script is going up and grabbing the output of the 'show term'. I cannot, no matter what I've tried, just get the thing to read after show runn.
What is the script supposed to "read"? If you mean it's not reaching the ReadString() it's likely because you are already out of sync after these statements:
crt.Screen.Send("term length 0\n")
The above WaitForString() is only going to capture the echoed new line. You need a WaitForString() to know the command is complete (likely waiting for the prompt, as you have done inside the while construct).

VanDyke Software
Technical Support
(505) 332-5730
Reply With Quote