Advanced Telnet Settings - Client Definition

Getting there

Use the settings in this dialog box to configure the string that precedes the command that launches the X client.

 

Port

The default port number is 23.

 

Use alternate login sequence

When cleared (the default), the default Telnet sequence is used for the selected host type; when selected, configure the strings for Telnet.

Note: To reset the default login sequence, clear this check box.

 

 

Commands

Specify one or more commands to use as the alternate sequence for starting the X client. This option is available only when Use alternate login sequence is selected.

 

 

Prompt

Use a regular expression to specify the sequence preceding the response. Typically this is a username and password prompt.

 

 

Response

Specify the response to send to the host when the corresponding prompt is detected. A carriage return is automatically appended to the prompt response you enter.

 

 

Optional

Clear to have Reflection X fail the login attempt if the host prompt is not displayed; select to have Reflection X skip to the next line of the script if the host does not display the specified prompt — Reflection X will send the response that corresponds to whichever prompt is recognized first.

 

 

Command prompt

Use a regular expression to specify the expected host command prompt. This is the string that is used when the Prompt column in the main panel of the X Client Definition pane lists %prompt%.

It is not necessary for a prompt string to be complete — just enter as much of the latter part of the string as you need to differentiate it from the other prompts that Reflection X will see. For example, a single colon (:) is not a good prompt because it is used as the final character in too many different prompts (such as Login: and Password:).

To specify multiple possible prompts at a particular point in the login script, separate the alternatives with a vertical bar ( | ).

 

 

Prompt timeout

This timeout controls how long to wait for a host prompt to appear when executing the login and application commands. Each time a prompt is matched the timeout is reset.

Use alternate xauth command

Select this option to configure an alternate xauth command. The xauth command affects sessions in which Network Security > User-based authorization is enabled.

Xauth command

Specify an alternate command to place an MIT cookie in the .XAuthority file in the user's home directory.

Macros are supported. For example, in the following command, %IP#% provides the IP address and display number, and %C% specifies MIT-MAGIC-COOKIE-1 authorization and provides the required hex encoded authorization data.

xauth add %IP#% %C%

This option is available only when Use alternate xauth command is selected.

 

Never close connection

Select to force the client starter to maintain the connection. When cleared (the default), the host connection closes after sending the X client command(s).

Related Topics

Client Definition - Telnet Connection Method

Regular Expression Basic Syntax