I've built a very comprehensive script that will build and program Nortel PBXs.
The problem I run into occassionally is on a Transmit "^M" the screen doesn't advance properly, after the ^M is sent, the cursor goes back to the beginning of the line.
How do I script a fix for that?
Simple Example:
Script says:
Waitfor "TN "
Transmit "005 0 00 01^M"
On screen:
TN 005 0 00 01 <- occassional when ^M issued the screen will not advance and the cursor will stick on the T in TN.
The problem I run into occassionally is on a Transmit "^M" the screen doesn't advance properly, after the ^M is sent, the cursor goes back to the beginning of the line.
How do I script a fix for that?
Simple Example:
Script says:
Waitfor "TN "
Transmit "005 0 00 01^M"
On screen:
TN 005 0 00 01 <- occassional when ^M issued the screen will not advance and the cursor will stick on the T in TN.