Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Expert Help On-Line Manual v1.30 - <b>vt-100</b> vt-100 full listing escape sequences http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
VT-100                   VT-100 FULL Listing Escape Sequences

   NOTE-1: Many of these codes are not supported by VT-100 Emulators
           i.e. double width and height, and programmable LED's.


 Function                           Control Sequence

 Cursor Movement Commands

 Cursor up                          ESC [ Pn A
 Cursor down                        ESC [ Pn B
 Cursor Forward                     ESC [ Pn C
 Cursor Backward                    ESC [ Pn D
 Cursor Position                    ESC [ line ; col H
                                 or ESC [ line ; col f
 Index                              ESC D
 New Line                           ESC E
 Reverse Index                      ESC M
 Save cursor and attributes         ESC 7
 Restore cursor and attributes      ESC 8

 Double Height and Width Commands

 Double height top half             ESC #3
 Double height height bottom half   ESC #4
 Single width line                  ESC #5
 Double width line                  ESC #6

 Erasing Commands

 From cursor to end of line         ESC [ K
 From start of line to cursor       ESC [ 1 K
 Entire line                        ESC [ 2 K
 From cursor to end of screen       ESC [ J
 From start of screen to cursor     ESC [ 1 J
 Entire screen                      ESC [ 2 J

 Character attribute commands

 Video attributes off               ESC [ m
 High intensity on                  ESC [ 1 m
 Underline on                       ESC [ 4 m
 Blink                              ESC [ 5 m
 Reverse video on                   ESC [ 7 m

 Character set commands

 U.K. set is G0                     ESC ( A
 U.K. set is G1                     ESC ) A
 U.S. set is G0                     ESC ) B
 U.S. set is G1                     ESC ) B
 Special graphics is G0             ESC ( C
 Special graphics is G1             ESC ) C

 Mode Setting Commands

 Set new line mode                  ESC [ 20 h
 Reset New line mode                ESC [ 20 l
 Set cursor key mode                ESC [ ? 1 h
 Reset cursor key mode              ESC [ ? 1 l
 Set VT52 mode                      ESC [ ? 2 l
 Set slow scroll                    ESC [ ? 4 h
 Reset slow scroll                  ESC [ ? 4 l
 Set reverse video                  ESC [ ? 5 h
 Reset reverse video                ESC [ ? 5 l
 Set origin mode                    ESC [ ? 6 h
 Reset origin mode                  ESC [ ? 6 l
 Set autowrap mode                  ESC [ ? 7 h
 Reset autowrap mode                ESC [ ? 7 l
 Set application keypad mode        ESC =
 Reset application keypad mode      ESC >

 Scrolling Region and Tab Stop Commands

 Define scrolling region            ESC [ top ; bottom r
 Set tab at current column          ESC H
 Clear tab at current column        ESC [ g
                                 or ESC [ 0 g
 Clear all tabs                     ESC [ 3 g

 Reporting Commands

 Cursor position request            ESC [ 6 n
 Cursor position report             ESC [ line ; col R
 Status report request              ESC [ 5 n
 Status report (terminal OK)        ESC 0 n
 DA request                         ESC [ c
                                 or ESC [ 0 c
 DA response with advanced video    ESC [ ? 1 ; 2 c
             with no options        ESC [ ? 1 ; 0 c
             with printer port      ESC [ ? 1 ; 11 c

 Logging Commands

 Print screen                       ESC [ i
 Enter auto print mode              ESC [ ? 5 i
 Exit auto print mode               ESC [ ? 4 i
 Enter printer controller mode      ESC [ 5 i
 Exit printer controller mode       ESC [ 4 i

 Programmable LED Commands

 Turn all off or one on             ESC [ Ps ; ...Ps q
                                    Ps 0 or none = all off
                                    Ps 1 turn on L1
                                    Ps 2 turn on L2
                                    Ps 3 turn on L3
                                    Ps 4 turn on L4





See Also: ANSI.SYS

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson