.I 0 8 +++Date last modified: 07-Nov-1995 ANSI.SYS's Escape Sequences File. WARNING: You must press the ESC key, the [, the number wanted, .D 1 6 .I 16 1 .D 17 1 .I 36 1 .D 37 1 .I 38 6 ---------------------------------------------------------------------- Pn : Numeric Parameter - a Decimal Number that you Specify with ASCII digits. Ps : Selective Parameter - a Decimal Number that you use to select a Subfunction. You may specify More than One Sub- .D 39 6 .I 49 2 Pc : Column Parameter - a Decimal Number that you Specify with ASCII digits. .D 50 2 .I 58 1 ---------------------------------------------------------------------- .D 59 1 .I 60 2 [Pl;Pc F : Horizontal & Vertical Position (HVP). .D 61 2 .I 68 3 This sequence moves the cursor up Pn lines without changing columns. If the cursor is Already on the Top line, then it ignores the CUU sequence. .D 69 3 .I 73 3 This sequence moves the cursor down Pn lines without changing columns. If the cursor is already on the bottom line, then it ignores the CUD sequence. .D 74 3 .I 78 4 The CUF sequence moves the cursor forward Pn columns without changing lines. If the cursor is already in the far right column, then it ignores the CUF sequence. .D 79 4 .I 83 3 This escape sequence moves the cursor back Pn columns without changing lines. If the cursor is already in the far left column, then it ignores the CUB sequence. .D 84 3 .I 88 2 The console driver outputs an RCP sequence when it receives the DSR escape sequence. .D 89 3 .I 93 2 The console driver saves the current cursor position. This position can be restored with the RCP sequence. .D 94 2 .I 97 3 This sequence restores the cursor position to the value it had when the console driver received the SCP sequence. .D 98 2 .I 101 3 The ED sequence erases the screen. The cursor then goes to the home position. .D 102 3 .I 105 2 This sequences erases from the cursor to the end of the line (including cursor position). .D 106 2 .I 111 1 functions remain until the next occurrence of an SGR .D 112 1 .I 115 2 [=h The SM escape sequence changes the screen width or [=0h type to one of the following numeric parameters: .D 116 2 .I 130 1 16 : 640 x 350 color .D 131 1 .I 133 2 19 : 320 x 200 color ------------------------------------ .D 134 2 .I 138 2 except parameter 7 resets the mode that causes wrapping at the end of each line. .D 139 2 .I 143 7 'string' is either the ASCII code for a single character or a string contained in quotation marks. For example, both 65 and "A" can be used to represent an uppercase. 'code' is one or more of the following values that represent keyboard keys. Semicolons shown in this table must be entered in addition to the required semicolons .D 144 6 .I 152 1 ----------------------------------------------------------------------- .D 153 1 .I 154 1 ----------------------------------------------------------------------- .D 155 1 .I 180 1 and for the keyboard's alphabetical keys: .D 181 1 .I 184 3 ---------------------------------------------------------------------- Alone Shift- Ctrl- Alt- ---------------------------------------------------------------------- .D 185 3 .I 224 3 = 61 43 ----- ----- TAB 9 0;15 ----- ----- NULL 0;3 ----- ----- ----- .D 225 3