Sample Auto-Login Scripts - Intermec 200 Quick Reference Manual

Janus 900 mhz terminal emulation for the model 200 controller
Hide thumbs Also See for 200:
Table of Contents

Advertisement

JANUS 900 MHz Terminal Emulation for the Model 200

Sample Auto-Login Scripts

Listed below are example auto-login scripts. You can use these scripts as they
are or use them as the starting point for creating your own auto-login files.
In the first example, the HostName command in this script will match the host
the user will access. The "#" starts a comment that continues to the end of line.
The WaitFor command waits for a string to be displayed by the host. The
WaitFor command will take up to 10 strings 20 characters long. The strings
must be enclosed in quotes and separated by a comma. The Send command in
the example script sends a fixed user name and password. The angle brackets
can enclose uppercase mnemonics or hex values. The next WaitFor/Send pair
works the same as the first set.
Auto-Login Script With All Devices Using the Same Account
HostName "*"
WaitFor "login:"
Send "user_name<CR>"
WaitFor "Password:"
Send "users_password<CR>"
In the second example, the Input and Send commands use input variables.
Input commands require a prompt string followed by a comma and a variable
name to store the string in. The InputHidden command Will display "*" in
place of any characters typed by the user. All input commands must be before
the first HostName command. The Send command only accepts a single
argument so two sends are required to send the user name and a carriage
return.
Auto-Login With Different User Names and Passwords
Input "Enter user name", username # prompt for user name
InputHidden "Enter Password", password # Prompt for password
HostName "*"
WaitFor "login:"
Send username
Send "<CR>"
WaitFor "Password:"
Send password
Send "<CR>"
A-10
ControllerCODE
# Use this to log into any host
# Wait for the login prompt
# Send the user name
# Wait for the password prompt
# Send the users password
# Wait for the login prompt
# Send the user name
# Send a carriage return
# Wait for the password prompt
# Send the users password
# Send a carriage return
CODE

Advertisement

Table of Contents
loading

This manual is also suitable for:

Janus 2010Janus 2020Janus 2050

Table of Contents