admin管理员组文章数量:1400027
In PowerTerm Pro, running the VT 220-7, I have recorded a simple macro for logging into my server after connecting. All it does is send my credentials: username and password. But the problem is, it sends the password too quickly after sending the username.
Looking over the PowerTerm PSL Reference file, there is a WAIT command, but it seems overly complex for just waiting a few seconds.
This is its syntax from the reference document:
wait number for text [at row column]
wait number seconds
number: Specifies the number of seconds required to wait.
text: Specifies the text that is expected.
row column: Specifies where to expect text to appear.
I have no idea what to put for the [row column] nor the text for what "text" is expected. Any suggestions?
The script type is PSL, and looks like this:
#
#This script file was recorded automatically
#
send "username<cr>"
send "password<cr>"
本文标签:
版权声明:本文标题:How do you add a WAIT after a send command in a PSL script for VT220 using the PowerTerm Pro Emulator - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744231123a2596339.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论