TeleBoss 850 2.06.280_STD User Manual
Page 156
SCRIPT RECORDS
[CLEAR]
DEVICES - Display Device Allocations
Displays a list of IO devices that are currently allocated to scripts. For example, if a script reserves IO1 for i/o activity,
it will appear in this list.
Usage
SCRIPT DEVICES
GET/PUT - Transfer Script File
Transfers a script file to or from the unit. Type the command without any arguments for usage information.
Usage
SCRIPT
action method <script file name> [host]
Available actions: GET, PUT
Available methods: X[MODEM], Y[MODEM], Z[MODEM], T[FTP]
Script file name is required (including .lua extension)
Host is required for tftp
Script file name is case-sensitive, other items are not.
DELETE - Delete a Script File
Deletes a script file, which must be specified with the .lua extension.
Usage
SCRIPT DELETE
<script file name>
EDIT - Edit a Script File
Opens a script file for editing in the VI text editor. If the script file does not exist, a new one is created. The script file
name specified must have the .lua extension.
Usage
SCRIPT EDIT
<script file name>
DIR - Display Script File Directory
Displays a list of the script files on the unit.
Usage
SCRIPT DIR
SHOW - Display Script File
Displays the contents of a script file. The script file name must be specified with the .lua extension.
Usage
SCRIPT SHOW
<script file name>
TEST - Test a Script in Interactive Mode
Opens the script in the interactive OmniLua interpreter.
Usage
SCRIPT TEST
<script name>
Uploading/Downloading/Deleting Scripts using the Setting Keys function
Scripts can be uploaded to and downloaded from the T850 using Setting Key commands. This enables settings and
scripts to be configured in one operation. MASTER-level security requirement is enforced when transferring scripts
with an SK file.
Uploading
-
Scripts can be uploaded onto the unit by doing an ‘SK set’ operation. These can be in a text file with just
scripts, or in a text file with both Setting Keys and scripts.
Downloading -
Scripts can be downloaded from the unit by doing any of the ‘SK get’ operations decribed here:
sk get script
of
sk r
Dumps all scripts
sk get
or
sk g
Dumps all Setting Keys followed by scripts. Setting Keys are wrapped with
<keys>…</keys> XML-like header and footer text.
Summary of Contents for Teleboss 850
Page 6: ......