PASSPORT Knowledge Base
Configuration

Date Published: August 15, 2008

Title

VI Editor Commands Not Working Correctly

Product

PASSPORT PC to Host, PASSPORT Web to Host

Emulation Types

VT

Issue

With a VT100 session configured, when editing a file using the standard Unix VI editor some commands do not work as expected. For example, the 'K' command will only scroll backward a line at a time until the top of the screen is reached. This should allow you to scroll indefinitely until the top of the file is reached.

Solution

Problems experienced while using the Unix VI editor with a VT100 session can be resolved by re-configuring the session to use VT220 rather than VT100. Follow the steps below to configure PASSPORT:

For PASSPORT PC to Host:

  1. Start a PASSPORT VT100 session.
  2. Choose the Communication®Disconnect menu command.
  3. Choose the Communication®Setup menu command.
  4. For PASSPORT version 2007, select VT420 7-bit or VT420 8-bit for the emulation type:

  5. For versions prior to PASSPORT 2007, select VT220 7-bit or VT220 8-bit for the emulation type.
  6. Click the Connect button.

For PASSPORT Web to Host Client:

The instructions are the same as those for PASSPORT PC to Host.

For PASSPORT Web to Host Administrator:

  1. Start the Web to Host Administrator application.
  2. Open the VT100 session profile under VT Display->Sessions.
  3. For PASSPORT version 2007, select VT420 for the emulation type:

  4. For versions prior to PASSPORT 2007, select VT220 for the emulation type.
  5. Choose 7-bit or 8-bit for the Control Code.
  6. Click OK to save or Connect to test.

More Information

Keywords

VT, function keys, VT100, VI editor, Unix