•  Back 
  •  Main 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The GFA-Basic Compendium
Author      : GFA Systemtechnik GmbH
Version     : GFABasic.HYP v2.98 (12/31/2023)
Subject     : Documentation/Programming
Nodes       : 899
Index Size  : 28056
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Document not found
@help       : Help
@options    : +g -i -s +z
@width      : 75
@hostname   : STRNGSRV
@hostname   : CAB     
@hostname   : HIGHWIRE
@hostname   : THING   
View Ref-FileThe Atari ST contains a VT-52 emulator which is modeled on a widely-used
terminal and by means of this, can be used for screens that do not contain
windows. The routines of this emulator can be called by the output of the
strings given in the folowing table by means of PRINT and these all start with
the ESCape code (CHR$(27)).

CHR$(27)+"A";  Cursor moves up one line (stops at the upper edge of the screen)
CHR$(27)+"B";  Cursor moves down one line (stops at the lower edge of the screen)
CHR$(27)+"C";  Cursor moves to the right (stops at the right-hand side)
CHR$(27)+"D";  Cursor moves to the left (stops at the left-hand side)
CHR$(27)+"E";  Clear screen (CLS)
CHR$(27)+"H";  Cursor moves to Home position (LOCATE 1,1)
CHR$(27)+"I";  Cursor moves up one line and scrolls at the upper edge
CHR$(27)+"J";  Erases from cursor to the end of page
CHR$(27)+"K";  Erases from cursor to the end of line
CHR$(27)+"L";  Inserts blank line at cursor position
CHR$(27)+"M";  Deletes line at cursor position (lines below scroll up)
CHR$(27)+"Y"+CHR$(y+32)+CHR$(x+32); Move cursor to x,y (LOCATE x,y)
CHR$(27)+"b"+CHR$(f); Selects f as text color
CHR$(27)+"c"+CHR$(f); Selects f as background color
CHR$(27)+"d";  Erase from top of page to cursor
CHR$(27)+"e";  Enable cursor
CHR$(27)+"f';  Disable cursor
CHR$(27)+"j";  Store cursor position
CHR$(27)+"k":  Restore cursor to position stored with ESC j
CHR$(27)+"l";  Erase line in which the cursor lies
CHR$(27)+"o";  Erase line from beginning to cursor position
CHR$(27)+"p";  Switch on reverse video
CHR$(27)+"q";  Switch off reverse video
CHR$(27)+"v";  Switch on word wrap at line end
CHR$(27)+"w";  Switch off word wrap at line end

VT-52 Escape Code Table+