Starting a Telnet Session

To start a Telnet session using the wizard

  1. Do either of the following:

    1. Use the Eclipse menu

      1. On the File menu, point to New and click Other.

The Select a wizard dialog box is displayed.

      1. Expand Telnet, select Telnet Connection, and click Next.

    1. Click the toolbar icon for a Telnet session (  ).

The New Telnet Connection dialog box is displayed.

If connections were configured using the Preferences dialog box (refer to Setting Up the Telnet Connection), a list of connections appears in the Connections box.

  1. To use an existing connection, click Configured and select a connection in the list.

Its parameters are displayed in the Host and User ID fields (refer to Field Descriptions for more information).

  1. To create a new connection, Refer Setting Up the Telnet Connection.

  2.  Click Finish.

    The Telnet session starts with the parameters set for the selected connection.

Note: When you log in manually, no system feedback (echo) occurs, so that your log-in data is hidden.

You can continue your work using standard OS 2200 or UNIX commands.

Add a Telnet Session bound to this project

  1. Select a project from the OS 2200 Explorer view.

  2. Go to OS 2200 and select Add a Telnet Session bound to this project ( ).

    A new Telnet session is created for the host of the selected project. This session is not exclusively bound to the project, and the user can input the commands directly to the session. The cursor is not automatically placed in this Telnet view; however, the user can place the cursor manually by clicking inside the view to execute the ECL commands.

    This session is an alternative to the background Telnet session that is created during the project build. The project build utilizes this session, and unlike the background session, this session would not be logged out after the build is completed. Hence, the same session is used for subsequent builds.

Note: This option is disabled if the user does not select a project.

Control the Telnet session using the command icons or shortcut menu (refer to Command Icons and Shortcut Menu Commands).

Command Icons

Icon

Command

Description

Set ECL Mapping

Enables you to create user-defined ECL Mapping for the telnet view. You can associate shortcut keys for the frequently used ECL statements. For more information, refer to Mapping ECL Commands.

Open Log

Opens the log file. All the console output is written automatically to the log file under

%appdata%\unisys\os2200\ide\logs\Telnet-<consoleviewName>.log

Due to memory constraints in Java Virtual Machine (JVM), a maximum of 10000 lines are retained in the telnet console viewer. When the count goes beyond 10000 lines, only the latest 10000 lines are retained and the rest are removed from the console view, but all the information is retained in the console log.

Kill Process and Output

Discards all backed-up output and terminates the program currently being executed; interrupts the process on the host, canceling both the process and the output. (Equivalent 2200 ECL: @@X TO)

Cancel Output

Cancels the output from the host. The @@X O command discards all backed-up output. The process will complete. (Equivalent 2200 ECL: @@X O)

Pause Output

Temporarily stops output to the console and resumes the output when the Enter key is pressed again. (Equivalent 2200 ECL: Message Wait)

Save telnet console

Saves the output of the telnet console on the local disk or wherever the user selects the path.

Shortcut Menu Commands

Right-click the Telnet window and click any of the following commands.

A duplex command line transmits each character to the host as it is typed. The character is echoed by the host and then written to the screen. The only editing allowed in duplex mode is the backspace. Duplex is the default mode for connections to a UNIX host, and it typically is used when control characters need to be sent to the host. In duplex mode, the icon of the window shows the double arrow.

Refer to Command Icons in this topic for definitions and icons of the save, kill, cancel, and pause commands.

Note: If telnet connection is established in OS 2200 perspective, it also reflects on debug perspective and vice versa.

Back to top

Field Descriptions

Host

Name of an OS 2200 or UNIX system to be used in the Telnet session. For a successful login, you must have all the standard credentials that apply to the host, such as user-id, password, and possibly account number and project information. If the credentials on a 2200 host are set up for automatic login, only the user-id and password are required.

User ID

(Information only.) This is the user-id of the person who created the account.

Port

Number of the port used for the Telnet session. Default = 23. Check with your system administrator if the port number on your system is different.

Connections

(Displayed only when a connection has already been set up.) Connections are associated with host accounts and are created from the Telnet Connection Settings window. Each host account can have any number of connections.

Back to top

Character Conversion

When you select a character set for a configured connection or during a manual Telnet login, all occurrences of the selected characters in the Telnet traffic are converted to Unicode before being displayed.

The available character sets include the Japanese character set and the 7-bit character sets that are supported by ISO-646.

Back to top