Hi garrettwilliams,
Quote:
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:
Code:
crt.Screen.Send("term length 0\n")
crt.Screen.WaitForString("\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).