最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How do you add a WAIT after a send command in a PSL script for VT220 using the PowerTerm Pro Emulator - Stack Overflow

programmeradmin5浏览0评论

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>"

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论