Previous PageNext Page

Chapter 10 - Managing Script Files

Overview

Creating and Editing Script Files

Providing User Access to Script Files

List of Supported Commands

Table 10-1. Toggle Values

Note: Scripting commands that change communications settings, such as SPEED and DUPLEX, may not work properly with X.29 connections.

ABORT

ALARM <tone#>

ASK [@<fkey>] [<prompt>]

ATTENTION [<key>]

AUTOLF <toggle>

AUTOWRAP <toggle>

BACKSPACEDEL/BS

BLANKEX <toggle>, or BLANKCOMPRESS <toggle>

BREAK <key>

BYE

CAPTURE <filename>

CAPTUREOFF, or CAPTURE-

CAPTURE /

CDIR [<pathname>]

CHARDELAY <toggle>

CHARSETUS/UK

CHARSIZE7/8

CLEAR

CONNECTION <connection-name>

CRLFTOCR <toggle>

CURSOR BLOCK/UNDERSCORE

CWAIT <option>

Table 10-2. Effects of CWAIT Options

DATA 7/8

DIR [filename]

DISPLAY <toggle>

DO

Table 10-3. Forms of the DO Command

DRIVE [<drive>]

DUPLEXHALF/FULL

EDIT <filename>

EMULATE <x>

EMULATE<term-type>

EPATH <pathname>

epathc:\bin\edlin.com

ERASE <filename>

FKEYS[<fkey> [<string>]]

FLOWab

FLOW-

GKERMIT <filename>

GO[Rn]

HELP [<command>]

IF <condition> <command>

ASK Do you wish to clear the screen (Y or N)?

IF Y clear

ASK Do you wish to clear the screen (Y or N)?

IF -N clear

ASK Do you wish to exit this session?

IF XEY quit

IF $ ALARM

INFILTER <toggle>

JUMP <[@]label>

LABEL askuser
ASK Enter A, B, or C:
IF -ABC RWIND
JUMP DO-@
LABEL DO-A
<commands>
LABEL DO-B
<commands>
LABEL DO-C <commands>

KERMIT <command>

Table 10-4. Supported KERMIT Commands

LABEL <label>

LFAUTO <toggle>

LINEDELAY <toggle>

LOAD <filename>

LWAIT [<option>]

Table 10-5. Options for the LWAIT Command

MAXTIMEOUT <seconds>

MESSAGE <message>

NUMBER <phone#>

OUTFILTER <toggle>

PARITY NONE/EVEN/ODD

PICTURE <filename>

PRINTER LPT1/LPT2/LPT3

PRINTER <toggle>

QUIT

RDIALS n

REPLY <string>/@<fkey>

RUN [<program-name>]

RWIND

SAVE <filename>

SBREAK

SEND <filename>

SKIP <n>

SLINE <toggle>

SPEED <nn>/ANY

Table 10-6. Speed Selection Values

STOP 1/2, or STOPBITS 1/2

SUSPEND <key>

SWITCH <key>

TELNUM <phone#>

TABEX <toggle>, or TABEXPAND <toggle>

TABS <nn,nn,...,nn>

TRACE <toggle>

TURNAROUND <key>

TYPE [#] [start-line] <filename>

UCONLY <toggle>

WAIT <condition> [<label>]

Table 10-7. Options for WAIT Command

WHEN "text" command-line

WHEN "Password:" REPLY BERT | : DO

WAIT MANUAL

XDOS

XKERMIT <filename>

XONXOF <toggle>

List of Unsupported Commands

Figure 10-1. Unsupported Commands

Sample Script File

Figure 10-2. Sample Script File

Sending Unprintable Characters

Table 10-8. Control Codes for Unprintable Characters

Previous PageTop Of PageNext Page