SHROOM'S VT100 SCREEN CODE CHART CURSOR MOVEMENT [nA Up, no scroll [nB Down, no scroll [nC Right n columns [nD Left n columns [nE CR and down, no scroll [nF CR and up, no scroll [nG CR [r;cH Move to row r, column c. [H Cursor Home [nI Tab [n` Moves cursor to column n. [s Save Cursor [u Restore Cursor 7 Save position and attributes 8 Restore position and attributes ERASING [K From cursor to end of line. [1K From beginning of line to cursor. [2K Entire line. [J From cursor to bottom of screen. [1J From top of screen to cursor. [2J Entire screen. [M Removes the line that the cursor is on. [nL Inserts a blank line at cursor. DISPLAY CHARACTERISTICS [{attrib};... Set multiple m attributes (listed below) [0m Reset text attributes [1m Bold/Bright [2m Dim [4m Underline [5m Blinking [7m Reverse video [8m Invisible/Hidden [3nm foreground color (0-7) [4nm background color (0-7) #3 Double height, double width (top). #4 Double height, double width (bottom). #: Double height, single width (top). #; Double height, single width (bottom). #5 Single width (default). #6 Double width. SCROLLING REGIONS [t;br define scrolling region. [r reset scrolling region. E CR and cursor down (with scroll) D Down, scroll in region. M Up, scroll in region. [?6h cursor position 0;0 is upper left of region. [?6l cursor position 0;0 is upper left of screen. (Default) TERMINAL OPERATIONS c Resets terminal. [3h Display controls mode. [4h Mode insert [4l Mode overwrite [30h Invisible screen. [30l Visible screen. [?1h Application keypad. [?1l Normal keypad. [?2l VT52 mode. [?3h 132 Columns. [?3l 80 Columns. [?4h Smooth-4 scroll. [?4l Jump scroll. [?5h Light screen. [?5l Dark screen. [?25l Cursor off. [?25h Cursor on. [7h Enable Line Wrap [7l Disable Line Wrap H Set Tab - Set tab at corrent position [g Clear Tab - Clears tab at the current position. [3g Clear All Tabs [i Dump Screen to printer [1i Dump Line to printer [5i Start printer echo [4i Stop printer echo CHARACTER SETS ( Font Set G0 - Set default font. ) Font Set G1 - Set alternate font. (B US (default). (A UK (shift 3 = pound). (0 Line graphics. (1 Other graphics. (S User defined graphics. n First half of char. set to same as second. N Same as n but for next char only. P1;n;1;5{S Starts definition of UDGs at character code n+32. \ Ends definition of UDGs. Device Query [c Query Device Code - Requests a Report Device Code response from the device [{code}0c Report Device Code - Generated by the device in response to Query Device Code request [5n Query Device Status - Requests a Report Device Status response from the device [0n Report Device OK - Generated by the device in response to a Query Device Status request; indicates that device is functioning correctly. [3n Report Device Failure - Generated by the device in response to a Query Device Status request; indicates that device is functioning improperly. [6n Query Cursor Position - Requests a Report Cursor Position response from the device [r;cR Report Cursor Position - Generated by the device in response to a Query Cursor Position request; reports current cursor position. Key Definition [{key};"{string}"p Define Key - Set Key Definition - Associates a string of text to a keyboard key. {key} indicates the key by its ASCII value in decimal.