7 -BIT ASCII CODE CURSOR CONTROL KEY CODES

7-BIT ASCII CODE

Octal

Octal

Code Char Code

000 NUL 040

001 SOH 041

002 STX 042

003 ETX 043

004 EOT 044

005 ENQ 045

006 ACK 046

007 BEL 047

010 BS

050

011 HT

051

012 LF

052

013 VT

053

014 FF

054

015 CR

055

016 so 056

017 Sl

057

020 DLE 060

021 DCl 061

022 DC2 062

023 DC3 063

024 DC4 064

025 NAK 065

026 SYN 066

027 ETB 067

030 CAN 070

031 EM 071

032 SUB 072

033 ESC 073

034 FS

074

035 GS 075

036 AS

076

037 us 077

Char

SP

#

$

%

& ? (apostrophe)

I I

+

, (comma)

. (period) I 0

2 3 4 5 6 7 8 9

<

>

I

Octal Code

100 101 102 103 104 105 106 107 11 0 111 112 113 114 115 116 117 120 121 122 123 124 125 126 127 130 131 132 133 134 135 136 137

Char

A B

c

D

G H

K

M N 0 p Q A

s

T

u

v

w

X y

z

I \ I

II

Octal Coda Char

140 141 142 b 143 144 d 145 146 f 147 g 150 151 152 153 154

155 m

156 157 0 160 p 161 q 162 163 164 165 166 167 w 170 171 172 173 174 175 176 177 DEL

NOTE :

The following con trol characters are generated differently from previous DIGITAL terminals.

Code NUL AS

us

VT100 CT AL - Space bar CTRL - CTRL - I

Previo us Terminal CTAL -@ CTRL - II CTRL - -

CURSOR CONTROL KEY CODES

Cursor Key (arrow)

VT52 Mode

ANSI/ Cursor Kay Mode Reset

Up Down Right Left

ESC A

ESC B

ESCC

ESC n

ESC [ A

ESC I B

ESC[ C ESC [D

ANSI / Curso r Key Mode Set

ESCOA ESCOB ESC OC ESC 0 D

SPECIAL GRAPHICS CHARACTERS

Octal

Graphic with

Code

US or UK Set

137

140

\

141

142

143

144

d

145

146

f

147

g

150

151

152

153

154

155

m

156

157

0

160

p

161

q

162

163

164

165

166

167

w

170

171

172

173

174

175 76

Graphic with " Special Graphics" Set

Blank Di amond Checkerboard (error indicator) HT horizontal tab FF form feed

CR carriage return LF line feed

Degree symbol

? Plus/ minus

NL new line

VT vertical tab .J Lower -right co rner , Upper-right corner r- Upper-left corner L Lower-left corner

+ Crossing lines

Horizontal line - Scan 1 Horizontal line - Scan 3 Horizontal line - Scan 5 Horizonta l line - Scan 7

Horizonta l line - Scan 9 t- Left " T" -t Right " T" .1. Bottom " T" T Top " T"

Vertical Ba r ..;; Less than or equal to ~ Greater than or equal to 1r Pi ? Not equal to

? UK pound sign

Centered dot

VT100 PROGRAMMING REF ERENCE CARD

ANSI COMPATIBLE MODE CURSOR MOVEMENT COMMANDS

Cursor up Cursor down Cursor forward (righ t) Cursor backward (left) Direct cursor addressing

Index Next Line Reverse index Save cursor and attributes Restore cu rsor and attributes

ESC[ Pn A ESC [ Pn 8 ESC [ Pn C ESC[ Pn D

ESC I PI ; Pc H or

ESC [ 1'1 ; Pt f

ESC D ESCE ESCM ESC7 ESC B

LINE SIZE (DOUBLE -HEIGHT AND DOUBLE-WIDTH) COMMANDS

Change this line to double-height top half Change this line to double-height bottom half Change this line to single -width single -height Change this line to double-width single -height

ESC#3 ESC# 4 ESC# S ESC# 6

CHARACTER ATTRIBUTES ESC [ l's; l's; l's; .. .. l's m

Ps =

0 or None 1 4 5 7

All Attributes Off Bold on Underscore on Blink on Reverse video on

ERASING

From cursor to end of line From beginning of line to cursor Entire line containing cursor From curso r to end of screen From beginning of screen to cursor Entire screen

ESC [ K or ESC I 0 K ESC [I K ESC [ 2 K

ESC I J or ESC I 0 J

ESC II J ESC [2 J

j

PROG RAMM ABLE LEOs ESC I Ps;Ps;... Ps q

Ps ~

0 or None 1 2 3 4

All LEOs Off L 1 on L2 on L3 on L4 on

CH AR A CTE R SETS (G O AND G1 DESIGNAT ORS )

Character Set

United Kingd om (UK ) United States (USASC II ) Special graphics cha racters

and line drawing se t Alternate character ROM Alte rnate ch arac ter ROM

spe ci al graphics characters

GO Desi gnator ESC ( A ESC ( B ESC ( O

ESC ( I ESC ( 2

G1 Designator ESC ) A

ESC I B

ESC ) O

ESC ) I ESC ) 2

SCROLLING REGIO N ESC [ Pt; Pb r

TA B STO PS

Set tab at current column Cl ear tab at cu rrent colu mn Clear al l tabs

ESC H

ESC [ g or ESC [ 0 g

ESCI3g

MOD ES

M ode Name

Line fee d/ new line Cursor key m ode ANSIIVT52 mode Col umn mode Scrolling mode

Screen mode Origin mode W raparound Auto repeat Interla ce

Graph ic proc. option Keyp ad mode

To Set

To Reset

Mode

Sequence M ode

Sequence

New line ESC 120h Application ESC [?lh

ANSI 132 Col Sm o oth

N/ A ESC [?3h

ESC [?4h

Line feed Cur so r VT5 2 80 Col Jump

ESC [20/ ? ESC [?/ ? ESC 1?2/ ? ESC [?3 / ? ESC [?4/ ?

Reve rse Relati ve On On On

ESC [?Sh ESC [ ?6h ESC[?7h ESC [?Sh ESC[?9h

Normal Ab so l u t e Off Off Off

ESC [?5/ ? ESC [?6/ ? ESC [?7/ ? ESC [?8/ ?

ESC [?9/ ?

On

ESC I

Applicat ion ESC ~

Off Numeric

ESC2 ESC >

?The last charac ter of the escape sequence is a low ercase L (154e).

REPOR TS Cursor Position Report Invoked by Response is

ESC 16 n

ESC I 1'1; p,. R

Status Report

Invo ked by Response is

ESC [ Sn ESC [ 0 n ESC [3 n

(termina l ok) (te rmina l not ok)

W hat Are You Invo ked by Respo nse is

ESC [ c or ESC l 0 c

ESC I ?I ; Ps C

Ps ~ 0 1 2 3 4

6 7

Base VT100. no options Processor option (STP) Advanced vi deo option (AVO ) A VO and STP Graphics proce ssor option (GO) GO and STP GO and AVO GO. ST P. and AVO

Altern ately invoked by ESC Z (not re commended) . Response is the same.

R ES ET ESC c

CONFIDENCE TESTS

Fill Screen w ith ''Es ' Invo ke Testi s)

ESC # S ESC 12; Ps y

Ps ~ 1

Power -up self test (ROM chec ksum . RAM . NVR. keyboard and AVO if installed)

2 (Loop back connector require d) Data Loop Back

4 (Loop back connector required) ETA M odern Control Test

B

Repea t selected test is)

inde f i nit ely

(unti l failure or pow er off)

VT52 COMPATIBLE MODE Cursor Up Cursor Down Cursor Right Cursor Left Select Special Graph ics chara cter set

Selec t AS CII character se t Cur sor to ho m e Reve rse li ne feed Erase to end of scree n Erase to end of line

Direct curso r ad dress Ide nt if y Enter alternate keypad mode Exit al terna te keypad mode Enter ANSI mode

ESCA ESC B ESCC ESC I) ESC F

ESCG ESCH ESC I ESCJ ESC K

ESCY ic ESCZ

ESC~

ESC > ESC <

(see note 1) (se e note 2)

NOTE 1: NOTE 2 :

Lin e and colum n numbers fo r d irect curso r address are single cha rac ter codes w hose values are t he desired number plus 37 8 . Li ne and column numbers start at 1.

Response to ESC Z is ESC / Z .

AUXILIARY KEYPAD CODES

VT 52

Nu m eric

Key

M ode

0

0

1

1

2

2

3

3

4

4

5

5

6

6

7

7

8

8

9

9

. (com ma) . (pe riod) ENTER

PF1 PF2 PF3 PF4

. (com ma) . (period) Same as RETURN ESC P ESCQ ESC R ESCS

VT52 Application Mode

E Cp ESC?q ESC'! r ESC?s ESC? t ESC? u ESC?? ESC?w ESC?x ESC?y ESC?m

ESC? I ?

ESC? n ESC?M

ESCP ESCQ ESC R ESCS

ANSI Nu meric M ode

0

2 3 4 5 6 7 B 9

. (c omma) . (period) Same as RETURN ESCOP ESCOQ ESCO R ESC OS

ANSI A pplication Mode

ESCOp ESCOq ESC Or ESC OS ESCOt ESCOu ESCO? ESC Ow ESC Ox ESCOY ESC Om ESCO/ ? ESC On ESC OM

ESCOP ESCOQ ESC OR ESC OS

? The last charac ter of th e esc ape se quence is a low ercase L (154 8 ).

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download