[comp.sys.atari.st] VT52 codes

rmacgreg@cs.strath.ac.uk (Sorcerer) (06/15/90)

Help!  I'm looking for a list of the VT52 escape codes and cannot find one
anywhere - nobody seems to know that such a thing exists.  Can anybody out
there please send me a list or even tell me where I can find one 'cos I'm
running out of time.

Thanx all.

	The Sorcerer

                     ___
 _____              /         (rmacgreg @ uk.ac.strath.cs)
   |   |__   __    /___  ___  ___  ___ ___  ___  ___  ___
   |   |  | |__|      / /  / /  / /   /__/ /  / /__/ /  /
   |   |  | |__   ___/ /__/ /    /__ /__  /    /__  / 

            is 'Only visiting this planet.'

mostafa@ucscb.UCSC.EDU (Kamal A. Mostafa) (06/17/90)

According to my copy of "Atari ST Internals" (Abacus Software),
here are the codes for the Atari ST VT52 Emulator.  I have used
some of them, and everything worked fine.

ESC A  Cursor up            (does nothing if at top line)
    B  Cursor down
    C  Cursor right
    D  Cursor left
    E  Clear Home
    H  Cursor Home
    I  Cursor up            (scroll screen down if at top line)
    J  Clear below cursor
    K  Clear to EOL
    L  Insert line
    M  Delete line          (scroll remainder of screen up)
    Y  Position cursor      (do "ESC Y chr$(32+line) chr$(32+col)")

ESC b  Select char color    (do "ESC b 2" to set color #2)
    c  Select bkgrnd color     "
    d  Clear screen to cursor pos
    e  Enable cursor
    f  Disable cursor
    j  Save cursor pos
    k  Set cursor pos to saved pos (ESC j)
    l  Clear line
    o  Clear from start of ine
    p  Reverse video on
    q  Reverse video off
    v  Automatic overflow on  (output which would extend past eol -> new line)
    w  Automatic overflow off (                "      -> written to last col.)