Hi,
I have a problem with waitfor not firing with a system I am dialing into.
My settings are a VT-220 terminal 8-N-1 and stripping the 8th bit.
I have tried both STRIP and RAW, and escape characters and no escape charaters in the waitfor.
Here is the prompt I am looking for with and without escape characters:
waitfor "mUN,^[[1mS^[[mAVE,^[[1mD^[[mELETE,^[[1mE^[[mXIT,^[[1mV^[[mIEW,^[[1mC^[[mOPIES,^[[1m?^[[m)^[[K"
waitfor "RUN,SAVE,DELETE,EXIT,VIEW,COPIES,?)"
Question 1)
Any suggestions?
Question 2)
Does the entire waitfor string have to match the entire string received in the buffer to fire?
For example, if the screen displays "Press any key to continue..." and you have a statement WAITFOR "Press any".
Thanks.
I have a problem with waitfor not firing with a system I am dialing into.
My settings are a VT-220 terminal 8-N-1 and stripping the 8th bit.
I have tried both STRIP and RAW, and escape characters and no escape charaters in the waitfor.
Here is the prompt I am looking for with and without escape characters:
waitfor "mUN,^[[1mS^[[mAVE,^[[1mD^[[mELETE,^[[1mE^[[mXIT,^[[1mV^[[mIEW,^[[1mC^[[mOPIES,^[[1m?^[[m)^[[K"
waitfor "RUN,SAVE,DELETE,EXIT,VIEW,COPIES,?)"
Question 1)
Any suggestions?
Question 2)
Does the entire waitfor string have to match the entire string received in the buffer to fire?
For example, if the screen displays "Press any key to continue..." and you have a statement WAITFOR "Press any".
Thanks.