Setting the Telnet Terminal Type for UNIX Hosts

  • 7021472
  • 30-Mar-2000
  • 27-Apr-2018

Environment

Reflection Desktop (including Pro, or for UNIX and OpenVMS) 16.1
Reflection Desktop (including Pro, or for UNIX and OpenVMS) 16.0
Reflection 2014
Reflection for UNIX and OpenVMS 2014
Reflection for UNIX and OpenVMS 2011
Reflection Standard Suite 2011
Reflection for HP version 14.x
Reflection for UNIX and OpenVMS version 14.x
Reflection for ReGIS Graphics version 14.x

Situation

You may need to set the Telnet terminal type when:
  • You are making a Telnet connection to a UNIX host.
  • The host application does not display properly and function keys do not work as expected.
  • You are using WYSE or SCO-ANSI emulation, or connecting to UNIX using Reflection for HP.

Resolution

Background

A UNIX host computer may use a different terminal type for connecting than Reflection uses for emulation. If you are having trouble running a UNIX host application with a Telnet connection, it is possible that the Telnet negotiation between Reflection and the host is incorrect. Since by default the Telnet terminal type is not linked to the emulation terminal type, each needs to be configured independently.

Two Terminal Types in Reflection: Telnet and Emulation

Reflection has two settings for terminal type: the Telnet terminal type, and the emulation terminal type.

Telnet Terminal Type

When Reflection makes a Telnet connection to a host computer, the Telnet protocol negotiates a terminal type with the host. UNIX hosts typically use this value to set the $TERM value of the terminal environment, but a default file such as .profile or .login can override the negotiated $TERM value. The Telnet terminal type can be configured in Reflection Desktop 16, Reflection 2014, or Reflection 2011 from Document Settings > Host Connection > Configure Connection Settings > More Settings > General tab, and in Reflection from the Connection Setup dialog box > More Settings > General tab.

Emulation Terminal Type

Reflection uses this value, configured in Reflection Desktop 16, Reflection 2014, or Reflection 2011 from Document Settings > Terminal Configuration > Select Terminal Type, and in Reflection from the Setup menu, to identify the type of terminal Reflection will emulate. The default is VT500-7. Note: Since VT500 emulation includes VT200, VT300 and VT400, you receive these levels when the emulation terminal type is set to VT500-7 or VT500-8.

Configuring the Correct Telnet Terminal Type

Follow the steps below to configure the Telnet terminal type for your host.

In Reflection Desktop 16, Reflection 2014, or Reflection 2011:

  1. If you are currently connected, disconnect your session.
  2. In the quick access toolbar, click the Document Settings icon.
  3. Under Host Connection, click Configure Connection Settings. Verify that Telnet is the Network Connection Type selected, and then click More Settings.
  4. On the General tab, in the Terminal type field, enter the Telnet terminal type for your host by selecting from the drop-down menu or typing in the correct terminal type for your UNIX or OpenVMS host computer. Click OK twice.
  5. Click Connect to make a Telnet connection to your host.
  6. Verify that the host applications are working correctly. To verify the term setting on a UNIX host, issue the set or echo $TERM command.
    • If the host applications work correctly, continue with step 7.
    • If the host applications still do not function correctly, disconnect the session. Repeat steps 2 through 6 above, using a different Telnet terminal type in step 4.
  1. In the quick access toolbar, click the Save button and save your current session document, entering a unique file name, such as the name of the host computer. Click Save.

In Reflection 14.x:

  1. If you are currently connected, disconnect by clicking the Disconnect icon on the toolbar. (Or click Connection > Disconnect.)
  2. Click Connection > Connection Setup.
  3. Select Network in the Connect Using group box and click TELNET.
  4. Click More Settings.
  5. Your next action depends on the product:
    • For Reflection for UNIX and OpenVMS and Reflection for ReGIS Graphics, in the Terminal Type field (found on the General tab), enter the Telnet terminal type for your host by selecting from the drop-down menu or typing in the correct terminal type for your UNIX or OpenVMS host computer.
    • For Reflection for HP (on the General tab), select the "Use emulation terminal ID" check box. Accept the remaining default values.

Click OK.

  1. Click Connect to make a Telnet connection to your host.
  2. Verify that the host applications are working correctly. To verify the term setting on a UNIX host, issue the set or echo $TERM command.
    • If the host applications work correctly, continue with step 8.
    • If the host applications still do not function correctly, disconnect the session. Repeat steps 2 through 7 above, using a different Telnet terminal type in step 5.
  1. Save the Telnet terminal type to your Reflection settings file:
    1. Click File > Save As to open the Save Settings dialog box.
    2. Enter a name for your settings file. You can give the settings file a unique name, such as the name of the host computer.
    3. Click Save.

Additional Information

Legacy KB ID

This document was originally published as Attachmate Technical Note 1156.