WikiPendium

(beta)

VT52Emulator

WikiPendium :: RecentChanges :: RecentlyCommented :: UserSettings :: You are ec2-35-173-35-159.compute-1.amazonaws.com

VT52 emulator


Sending those characters prefixed with ESC (27) character, will change the status of the screen (cursor, color, and so on...).

Escape Code Function
A 65 Move the text cursor up one line.
B 66 Move the text cursor down one line.
C 67 Move the text cursor to the left, one column.
D 68 Move the text cursor to the right, one column.
E 69 Clear the screen, move text cursor in top left corner.
H 72 Move text cursor in top left corner.
I 73 Move the text cursor up one line, scroll screen if top line.
J 74 Erase the screen, from the text cursor position, to the end of the screen.
K 75 Erase the line, from the text cursor position, to the end of the line.
L 76 Insert a line, scroll down all lines after text cursor position.
M 77 Delete a line, scroll up all lines from text cursor position.
Y 89 Move the text cursor at position X,Y. You must send X,Y position as following characters, as Y+32 then X+32 values.
b 98 Set the text colour. You must a send an extra character with the lower 4 bits being the colour to use from the palette.
c 99 Set the background colour. You must a send an extra character with the lower 4 bits being the colour to use from the palette.
d 100 Erase the screen from the top left corner till the text cursor position.
e 101 Enable the text cursor.
f 102 Disable the text cursor.
j 106 Save text cursor position.
k 107 Restore text cursor position.
l 108 Erase current line, move cursor at start of line
o 111 Erase current line, from start of line to text cursor position.
p 112 Enable inverse video.
q 113 Disable inverse video.
v 118 Enable line wrap.
w 119 Disable line wrap.

Il n'y a pas de commentaire sur cette page. [Afficher commentaires/formulaire]