SCO-ANSI Sessions

SCO-ANSI sessions support SCO-ANSI escape sequences, which are used in UNIX environments to emulate the behavior of the console terminal of a SCO UNIX system. When you use a SCO-ANSI session, several of the default display settings are different than when you use a VT session:

  • The default number of lines per page is 25.

  • Automatic line wrap is enabled.

  • User keys are always locked. The option becomes unavailable in the user interface.On the Keyboard page, only the Bell options are available.

  • The options on the Local Edit page are unavailable.

In addition, options in the Graphics and Tektronix pages have no effect. (The Graphics and Tektronix pages are available only in VT340 sessions.) SCO-ANSI mode uses the 8-bit IBM character set instead of a DIGITAL character set. Therefore, DIGITAL VT 8-bit control functions are not available. To access control functions, the host must use the equivalent 7-bit sequences.

Asynchronous sessions interpret keystrokes as ISO Latin-1 characters and translate them to equivalent IBM characters before sending them to the host. This includes all 7-bit and 8-bit characters. This translation is performed even if you use the ALT+keypad method of generating special characters. Consequently, there are many IBM characters you cannot send from the keyboard as they have no ISO equivalents. This translation is not performed when you map strings to a key. If you need to send special IBM characters to your host, you can do so by mapping the special character to a key on your keyboard.

To create a SCO-ANSI session

  1. In the New Session wizard, in response to the question "What type of session would you like to use" choose SCO-ANSI.

  2. In the New Session wizard, also select a Connection Type and File Transfer Protocol. After making your selections, choose Finish.

  3. When your session starts, from the Options menu, choose Settings.

  4. Under Categories, choose Display.

  5. Select a User-Preferred Character Set. SCO-ANSI mode does not recognize national character sets.

    NOTE:To use the any of the Turkish or Greek character sets, you must select the Arial Terminal or Lucida for Attachmate font. To select a font, under Categories, choose Font.

  6. To map your keyboard to SCO-ANSI-equivalent keys, under Categories, choose Keyboard Maps.

  7. In the General page under Select A Keyboard Map, select SCO-ANSI (101 KEY).EKM.

ANSI Private Escape Sequences

In addition to the standard ANSI control sequences, the following ANSI-compatible extensions are supported.

Table 3-48

Extension

Description

 

CSI 1; <Pr>; <Pc> .z

Define a rectangle and draw a border around it. The upper left corner is at the cursor, the size is Pr rows by Pc columns.

 

CSI E

Newline inside the rectangle.

 

CSI 4 J

Clear inside the rectangle.

 

CSI 1 .z

Undefine the rectangle, but leave its border and contents on the screen.

 

CSI 5; <Pn>.z

Request a Product Information report from this display. The parameters Pn are optional. If all are omitted, the response includes parameters 1, 2, 3, and 4. The response is:

DCS 5.y <values> ST

Values are separated by semicolons, in the same order as requested, where:

 

Pn

Information requested

Returned Value

1

Product

Extra!

2

Model

420

3

Version

n.n.nn

4

Beta

Rn.nnn or Rnn.nnn

10

Environment

DOS/Windows

12

Remote Macros

0=false, 1=true

Extension

Description

 

CSI 4; <Pn>.z

Execute the macro file REMOTE<Pn>.EBM, where Pn is a character pair 00 to 99. This invokes a macro. You cannot turn off this feature.