You can use one or more of the commands shown in the following table in a dialog script.
|
Command |
Description |
|---|---|
|
BREAK |
Sends the halt sequence or a break signal to the console. |
|
HALT |
Sends the halt sequence or a break signal to the console. |
|
RATE |
Sets the period of time in seconds between which the dialog should pause before executing the next SEND command. |
|
SEND |
Sends a specified string to the console. |
|
SPEED |
Sets the time, in milliseconds, that the dialog is to pause before sending the next character. |
|
UNLOCK |
Disconnects a user currently connected to the system the dialog procedure is running on. |
|
WAIT |
Stalls for a timeout number of seconds, or until the quoted string occurs on the console line. If a WAIT times out without the string being seen, the dialog procedure exits. |
The following qualifiers let DIALOG work correctly on some systems. By default, the string transmitted by a SEND command is terminated by a carriage Enter/new line pair.
Specifies that the string transmitted by a SEND command should not be terminated by a carriage Enter (CR).
Specifies that the string transmitted by a SEND command should not be terminated by a new line (LF) character.
See the appendix Sample DIALOG File for an example of dialog procedure.
|
Copyright © 2010 CA.
All rights reserved.
|
|