Telnet login

If one or more of the parameters below is specified, Glink will try to login to the host. If the login string or the password is not specified, the login parameters will be asked for at connect time.

Please note if a connect macro is defined it will be ignored.

Wait for login prompt
Instructs Glink to wait for the login prompt string before sending the login string, this may for example be login. Please note that the string is case sensitive.

If no string is specified, Glink will wait for the first string received from host.

Login with
Specify the login string. If not specified, the login string will be asked for at connect time.

Wait for password prompt
Instructs Glink to wait for the password prompt string before sending the password, this may for example be Password. Please note that the string is case sensitive.

If no string is specified, Glink will wait for the next string received from host.

Password
Specify the password. If not specified, the password will be asked for at connect time. If a password is not needed, supply a * to avoid that the password is asked for at connect time.

Note
An Enter is performed after both the Login string the password. If the parameter includes a function string at the end, the default Enter function will be ignored. In some cases a Tab is needed after the Login string. The syntax for the Tab function is ^"f58"

The example shows how to do a auto-login to an AS/400 host using VT emulation

     Wait for login prompt:     1998
     Login with:                MyName^"f58"
     Wait for password prompt:  [
     Password:                  MyPassword
where [ is part of an invisible cursor control sequence

Wait for command prompt
Instructs Glink to wait for the command prompt string before sending the command string.

If no string is specified, Glink will wait for the first string received from host after login.

Do command
Specify a command to run after login (optionally).