EasyManua.ls Logo

Intermec CK30

Intermec CK30
448 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Customizing Your ConfigurationChapter 5
189TE 2000
5250 Terminal Emulation Programmer’s Guide
Sample Auto-Login Script Files
You can use these sample script files as they are or as the starting point for
creating your own auto-login script files.
Example 1
Auto-Login With All Terminals Using the Same Account
HostName “*” #Use this to log into any host
WaitFor “login:” #Wait for the login prompt
Send “username<NEWLN>” #Send the user name
WaitFor “Password:” #Wait for the password prompt
Send “letmein<ENTER>” #Send the password
S The HostName command matches the host the user accesses.
S The WaitFor command waits for a string to be displayed by the host. WaitFor takes up to 10
strings, 20 characters long. The strings must be enclosed in quotes and separated by a comma.
S The first Send command sends a fixed user name. The second Send command sends a fixed
password.
S Angle brackets < and > can enclose uppercase mnemonics or hexadecimal values.
Example 2
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:” #Wait for login prompt
Send username #Send the user name
Send “<NEWLN>” #Send a carriage return
WaitFor “Password:” #Wait for password
prompt
Send password #Send the users password
Send “<ENTER>” #Send a carriage return
S The Input and Send commands use input variables. Input commands require a prompt string
followed by a comma and a variable name in which to store the string.
S The InputHidden command displays “*” i n place of any characters the user types. Place all Input
commands before the first HostName command.
S The Send command only accepts a single argument, so you need two Send commands to send the
user name and a carriage return.

Table of Contents

Other manuals for Intermec CK30

Related product manuals