Host Command Summary

Additional CommandsDISPLAY COLOUR

DEC VT modes:

Foreground colour

CSI = * F

 

Background colour

CSI = * G

where * is one of the following numbers:

0

Black

4

Red

8

Grey

12

Light Red

1

Blue

5

Magenta

9

Light Blue

13

Light Magenta

2

Green

6

Brown

10

Light Green

14

Yellow

3

Cyan

7

White

11

Light Cyan

15

Light White

Reflection 4 compatibility:

Foreground colour

ESC [ 3 x m

 

 

 

Foreground+bold colour

ESC [ 4 x m

 

 

 

Background colour

ESC [ 5 x m

 

 

 

Background+bold colour

ESC [ 6 x m

DISPLAY SIZE

Number of screen linesESC [ = 1 ; * p

MOUSE CURSOR

Mouse cursor style (see table below for * value)

 

ESC [ = 2 ; * p

 

 

 

 

 

 

 

 

 

 

 

 

 

0

DefaultCursor

 

4

 

 

8

 

 

 

 

 

 

(I-Beam)

 

 

 

 

 

 

 

 

 

 

1

 

 

5

 

 

9

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2

 

 

6

 

 

10

NoCursor

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3

 

 

7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOUSE REPORTING IN ALPHANUMERIC APPLICATIONS

Arm the emulator for mouse operation

ESC [ = *arg g

where *arg is of the format: bit 7 - 3

0 0 1 1 0

bit 2

when set enables motion events

bit 1

when set enables button release events

bit 0

when set enables button press events

If all bits are cleared then any outstanding arming request is cancelled. The mouse remains armed until cancelled. When any of the selected events occur, the following report format is sent to the host:

ESC [ = <Event Type> ; <Button Status> ; <Column> ; <Row> r

Where: <Event Type> is the event(s) that caused the report in the same format as the arming sequence.

C-94