/name name for task manager (default is "SDtaskn", where n is a number).
/size sets wimpslot size for task (default is size of "Next" slot).
/exit defines command to execute when task terminates
/output sets file to store output in (if no file specified, all output
goes to a buffer window).
/nooutput prevents an output window from being opened, though the data
is still buffered internally as if a window were present.
/wait forces the script to wait for the started task to finish. Otherwise,
script execution continues as soon as the task starts (the "/exit"
command, if any, being added to the event queue when the task
finishes).
/keep causes the buffer window, if any, to be kept onscreen after the
task finishes. Otherwise, the window is deleted as the task exits.
The slipdial taskwindow "slot" cannot be re-used until the window
is closed.
It is possible to combine the "/wait" and "/exit" qualifiers, but also
pointless!
taskwindow /kill=<id>
kills the given taskwindow.
taskwindow /suspend=<id>
taskwindow /resume=<id>
these commands suspend or resume a taskwindow.
dataopen <taskname> <filespec>
sends a dataopen message for the specified file to the specified task.
ipget [/delay=<n>] <string>
waits for <string>, which should mark the start of a dynamically-assigned
IP number. The rest of the number will then be captured. Example:
ipget 134.
The string:
Your IP address is 134.84.101.42.
is received. The IP number 134.84.101.42 is captured, into the script variable "ipaddress", for use by the "make" or other commands. The variables ip1, ip2,
ip3 amd ip4 are also set, to the four components of the IP address.
The /delay qualifier sets the command timeout in seconds. If not specified,
a timeout of 60 seconds is assumed.
make <source> <dest>
Makes one file from another, performing variable substitutions. For example,
to create an Autoexec file for !TCPIP. Occurances of "%variable" in the
source file are replaced by the variable value in the output file. Eg:
ip address [%ipaddress]
attach asy %port slip ax0 4096 576 %speed
route add default ax0 [%ip1.%ip2.%ip3.254] 1
becomes:
ip address [134.84.101.42]
attach asy sp_dual 1 slip ax0 4096 576 57600
route add default ax0 [134.84.101.254] 1
Specifying output file contents within scripts:
You can take lines from the script as well as from an input file. Script
lines following the "make" command which have a "+" as the first character
will be used as source lines for the output file (the + character being
stripped off). Specify an input file of "-" to use only these script lines.
If you specify both a real input file and + lines, the + lines will be used
after the input file has been processed.
Comment lines (those beginning with a "#") in the source file are not
transferred to the output file.
list /var
list /tasks
list /menus
list /script [<first> [<last>]]
list /alarms
list /files
Lists current variables, tasks, menus, script, alarms, or open userfiles