Novaterm 9.6 User's Guide

"script compiled").

6.1.3 Executing the script

Since this is a script that must be executed after we are connected to
Eskimo North (after all, checking for the login: promt won't do
much good if we aren't connected), we want to specify this script as
the "Connect script" for Eskimo North. If you edit the dial entry for
Eskimo North from the dialing directory menu, you'll see an item for
specifying the Connect script. Select this item, and type in the
name of the compiled script, eskimo.sc.

Now, when we dial Eskimo North from the dialing directory, our new
script is executed immedialtely after the connection is established. If
all goes well, you'll see Novaterm automatically respond to each of
the prompts we identified.

6.1.4 A slight variation

In the above example, we had to dial Eskimo North ourselves from
the dialing directory to execute our script. Suppose now we want our
script to do the dialing for us. We can insert the following line at the
beginning of our script (after the .opt ansi command):

dial "Eskimo North"

The dial command searches our dialing directory for Eskimo North
and dials it. The rest of the script continues after the connection is
made.

Now, instead of putting our script in the Connect script field for
Eskimo North, we can execute the script directly. Press C= G in
Terminal Mode, and type in the name of the script, eskimo.sc. The
script will now take care of the dialing for us.

6.1.5 Starting Novaterm with the script

Suppose we use this script so often that we would like to have it
execute automatically when we start up Novaterm. Each time we load
up Novaterm, the script would automatically dial Eskimo North and
log us in, without any help from us!

To do this, select Configuration from the main menu, press the
cursor-right key, and select Startup script. Type in the
name of the script, eskimo.sc. Then, save your configuration file by
selecting Save configuration so that the script will be executed
the next time Novaterm is started.

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