beautypg.com

C-26, Host command summary, Colour – HP Neoware e140 Thin Client User Manual

Page 396: Cursor

background image

C-26

Host Command Summary

Single shift G3 (VT100)

ESC O

Set G0 character set (HFT)

ESC ( <

Set G1 character set (HFT)

ESC ) <

Lock shift G2 (VT100)

ESC n

Lock shift G3 (VT100)

ESC o

COLOUR

Set foreground & background colour

ESC [ 2 ; *fg ; *bg m

*fg and *bg are integers as listed below:

Dull

Colour

Bold

0

Black

8

1

Blue

9

2

Green

10

3

Cyan

11

4

Red

12

5

Magenta

13

6

Yellow

14

7

White

15

Set inverse & foreground & background colour (* as above) ESC [ 7 ; *fg ; *bg ; m
Set normal foreground colour (* = integer as above)

ESC [ = * F

Set normal background colour (* = integer as above)

ESC [ = * G

Set reverse foreground colour (* = integer as above)

ESC [ = * H

Set reverse background colour (* = integer as above)

ESC [ = * I

Set graphic foreground colour (* = integer as above)

ESC [ = * J

Set graphic background colour (* = integer as above)

ESC [ = * K

Request current colour attribute (* = integer as above)

ESC [ = * M

CURSOR

Clear tab stop

ESC [ * g

Clear horizontal tab stop at active position 0
Vertical tab at cursor line (HFT)

1

Horizontal tabs on line (HFT)

2

All horizontal tabs

3

All vertical tabs (HFT)

4

Vertical tab stop (HFT)

ESC I

Cursor backward * tabs

ESC [ * Z

Cursor horizontal absolute

ESC [ * G

Cursor forward * tabs (HFT)

ESC [ * I

Cursor tab stop control (HFT)

ESC [ * W

Cursor down * lines (HFT)

ESC [ * E

Cursor up * lines

ESC [ * F

Horizontal tab stop

ESC H

Index cursor (move down one line)

ESC D

Reverse index cursor (move up one line)

ESC M

Move cursor to beginning of next line

ESC E

Move cursor left * columns

ESC [ * D

Move cursor down * lines

ESC [ * B

Move cursor right * columns

ESC [ * C

Move cursor to line (*l) column (*c)

ESC [ *l ; *c f