Novaterm 9.6 User's Guide

START OF SCRIPT


; Novaterm 9.6 auto-login script for Eskimo North
; (comments may be inserted in the script by placing a
; semicolon before them)
output "^m"            ; force Eskimo to respond
check 1 "Your Selection ==>" ; set up four strings
check 2 "login:"
check 3 "Password:"
check 4 "Command?"
loop wait                    ; wait in terminal mode
if check 1 then output "1^m" ; respond to "Selection"
if check 2 then output "voyager^m"  ; respond with user name
if check 3 then macro 1        ; respond with password
if check 4 then end            ; exit if "Command?" found,
jump loop                      ; otherwise continue

END OF SCRIPT

6.1.2 Typing in the script

Now that we know our script line by line, we can type it in and
compile it. To do this, we'll run the Text Editor program by selecting
Text editor from Novaterm's Utility Modules menu.

If you are unfamiliar with how the text editor works, see Appendix A,
Text Editor for a description.

First, we'll type in the script just as it appears above. It's very
important that you use lowercase letters for all of the script
commands. Strings that are enclosed in quotes (such as the search
strings) may contain both upper and lowercase letters. (To save time
in typing the script, you may leave out all of the comments.)

Now, we'll save the script we just typed to a text file so we can look at
or change it later. Use the CTRL-S command, and choose a file name.
This script could be called eskimo.ss. I use the extension .ss to
denote script source files (the "ss" stands for "script source").

It's important to understand that the file you just saved is the "source
code" for the script, not the actual script that Novaterm can execute.
To convert this source code into a form that Novaterm can recognize,
we must first "compile" the script. This conversion process, or
compilation, is built into the Text Editor. To do this, press RUN/STOP
in the Text Editor (it won't break out of the program!). The Text
Editor compiles the script quickly, and asks you for a file name for the
compiled script. The compiled script could be called eskimo.sc. I
use the extension .sc to denote executable scripts (the "sc" stands for

<---- Previous    Next ---->