Difference between revisions of "CodeChart:ANSI/ESC/CSI"
< CodeChart:ANSI | ESC
m (remove sortable) |
|||
| (37 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
[[:Special:PrefixIndex/{{FULLPAGENAME}}/|Subpages of {{SUBPAGENAME}}]] | [[:Special:PrefixIndex/{{FULLPAGENAME}}/|Subpages of {{SUBPAGENAME}}]] | ||
| − | {| | + | {| |
| − | + | | valign="top" align="right" | | |
| − | + | {{CodeChart | |
| − | + | | title=Received | |
| + | | at=#ICH | ||
| + | | a=#CUU | ||
| + | | b=#CUD | ||
| + | | c=#CUF | ||
| + | | d=#CUB | ||
| + | | e=#CNL | ||
| + | | f=#CPL | ||
| + | | g=#CHA | ||
| + | | h=#CUP | ||
| + | | i=#CHT | ||
| + | | j=#ED | ||
| + | | k=#EL | ||
| + | | l=#IL | ||
| + | | m=#DL | ||
| + | | n=#EF | ||
| + | | o=#EA | ||
| + | | p=#DCH | ||
| + | | q=#SEE | ||
| + | | r=#DSR | ||
| + | | s=#SU | ||
| + | | t=#SD | ||
| + | | u=#NP | ||
| + | | v=#PP | ||
| + | | w=#CTC | ||
| + | | x=#ECH | ||
| + | | y=#CVT | ||
| + | | z=#CBT | ||
| + | |||
| + | | lowera=#HPR | ||
| + | | lowerb=#REP | ||
| + | | lowerc=#DA | ||
| + | | lowerd=#VPA | ||
| + | | lowere=#VPR | ||
| + | | lowerf=#HVP | ||
| + | | lowerg=#TBC | ||
| + | | lowerh=#SM | ||
| + | | loweri=#MC | ||
| + | | lowerj=#HPB | ||
| + | | lowerk=#VPB | ||
| + | | lowerl=#RM | ||
| + | | lowerm=#SGR | ||
| + | | lowern=#DSR | ||
| + | | lowero=#DAQ | ||
| + | |||
| + | | sp=/SP | ||
| + | | at=#ICH | ||
| + | | backquote=#HPA | ||
| + | | openbracket=#SRS | ||
| + | | backslash=#PTX | ||
| + | | closebracket=#SDS | ||
| + | | caret=#SIMD | ||
| + | }} | ||
| + | | style="width: 2ex;" | | ||
| + | | valign="top" | | ||
| + | {{CodeChart | ||
| + | | title=Transmitted | ||
| + | | r=#CPR | ||
| + | | lowerc=#DA-response | ||
| + | | lowern=#DSR-response | ||
| + | }} | ||
|- | |- | ||
| − | + | | valign="top" | | |
| − | | | + | {| class="wikitable" |
| − | | | + | |+ ESC CSI Sequences |
| − | + | {{CodeDescriptionHeaderA}} | |
| − | | | + | {{CodeDescriptionRowA|@|ICH|ICH|Insert Character|''Pn1''<nowiki>=</nowiki>1}} |
| − | | | + | {{CodeDescriptionRowA|A|CUU|CUU|Cursor Up|''Pn1''<nowiki>=</nowiki>1}} |
| − | + | {{CodeDescriptionRowA|B|CUD|CUD|Cursor Down|''Pn1''<nowiki>=</nowiki>1}} | |
| − | | | + | {{CodeDescriptionRowA|C|CUF|CUF|Cursor Forward|''Pn1''<nowiki>=</nowiki>1}} |
| − | | | + | {{CodeDescriptionRowA|D|CUB|CUB|Cursor Back|''Pn1''<nowiki>=</nowiki>1}} |
| − | + | {{CodeDescriptionRowA|E|CNL|CNL|Cursor Next Line|''Pn1''<nowiki>=</nowiki>1}} | |
| − | | | + | {{CodeDescriptionRowA|F|CPL|CPL|Cursor Previous Line|''Pn1''<nowiki>=</nowiki>1}} |
| − | | | + | {{CodeDescriptionRowA|G|CHA|CHA|Cursor Horizontal Absolute|''Pn1''<nowiki>=</nowiki>1}} |
| − | + | {{CodeDescriptionRowA|H|CUP|CUP|Cursor Position|''line''<nowiki>=</nowiki>1 <code>;</code> ''col''<nowiki>=</nowiki>1}} | |
| − | | | + | {{CodeDescriptionRowA|I|CHT|CHT|Cursor Horizontal Tab|''Pn1''<nowiki>=</nowiki>1}} |
| − | | | + | {{CodeDescriptionRowA|J|ED|ED|Erase Display|[[#ed-parameters|''Ps1'']]<nowiki>=</nowiki>0}} |
| − | + | {{CodeDescriptionRowA|K|EL|EL|Erase Line|[[#el-parameters|''Ps1'']]<nowiki>=</nowiki>0}} | |
| − | | | + | {{CodeDescriptionRowA|L|IL|IL|Insert Line|''Pn1''<nowiki>=</nowiki>1}} |
| − | | | + | {{CodeDescriptionRowA|M|DL|DL|Delete Line|''Pn1''<nowiki>=</nowiki>1}} |
| − | + | {{CodeDescriptionRowA|N|EF|EF|Erase Field|[[#ef-parameters|''Ps1'']]<nowiki>=</nowiki>0}} | |
| − | | | + | {{CodeDescriptionRowA|O|EA|EA|Erase Area|[[#ea-parameters|''Ps1'']]<nowiki>=</nowiki>0}} |
| − | | | + | {{CodeDescriptionRowA|P|DCH|DCH|Delete Character|''Pn1''<nowiki>=</nowiki>1}} |
| − | + | {{CodeDescriptionRowA|Q|SEE|SEE|Select Editing Extent|''Ps1''<nowiki>=</nowiki>0}} | |
| − | | | + | {{CodeDescriptionRowA|S|SU|SU|Scroll Up|''Pn1''<nowiki>=</nowiki>1}} |
| − | | | + | {{CodeDescriptionRowA|T|SD|SD|Scroll Down|''Pn1''<nowiki>=</nowiki>1}} |
| − | + | {{CodeDescriptionRowA|U|NP|NP|Next Page|''Pn1''<nowiki>=</nowiki>1}} | |
| − | | | + | {{CodeDescriptionRowA|V|PP|PP|Previous Page|''Pn1''<nowiki>=</nowiki>1}} |
| − | | | + | {{CodeDescriptionRowA|W|CTC|CTC|Cursor Tabulation Control|[[#ctc-parameters|''Ps1'']]<nowiki>=</nowiki>0 <code>;</code> ...}} |
| − | + | {{CodeDescriptionRowA|X|ECH|ECH|Erase Character|''Pn1''<nowiki>=</nowiki>1}} | |
| − | | | + | {{CodeDescriptionRowA|Y|CVT|CVT|Cursor Vertical Tab|''Pn1''<nowiki>=</nowiki>1}} |
| − | | | + | {{CodeDescriptionRowA|Z|CBT|CBT|Cursor Backward Tab|''Pn1''<nowiki>=</nowiki>1}} |
| − | + | {{CodeDescriptionRowA|`|HPA|HPA|Horizontal Position Absolute|''Pn1''<nowiki>=</nowiki>1}} | |
| − | | | + | {{CodeDescriptionRowA|a|HPR|HPR|Horizontal Position Right|''Pn1''<nowiki>=</nowiki>1}} |
| − | |- | + | {{CodeDescriptionRowA|b|REP|REP|Repeat|''Pn1''<nowiki>=</nowiki>1}} |
| − | + | {{CodeDescriptionRowA|c|DA|DA|Device Attributes|<code>0</code>}} | |
| − | | | + | {{CodeDescriptionRowA|d|VPA|VPA|Vertical Position Absolute|''Pn1''<nowiki>=</nowiki>1}} |
| − | | | + | {{CodeDescriptionRowA|e|VPR|VPR|Vertical Position Right|''Pn1''<nowiki>=</nowiki>1}} |
| − | + | {{CodeDescriptionRowA|f|HVP|HVP|Horizontal Vertical Position|''Pn1''<nowiki>=</nowiki>1 <code>;</code> ''Pn2''<nowiki>=</nowiki>2}} | |
| − | | | + | {{CodeDescriptionRowA|g|TBC|TBC|Tabulation Clear|''Ps1''<nowiki>=</nowiki>0}} |
| − | |- | + | {{CodeDescriptionRowA|h|SM|SM|Set Mode|''Ps1'' <code>;</code> ...}} |
| − | + | {{CodeDescriptionRowA|i|MC|MC|Media Copy|[[#mc-parameter|''Ps1'']]<nowiki>=</nowiki>0}} | |
| − | | | + | {{CodeDescriptionRowA|j|HPB|HPB|Horizontal Position Backward|''Pn1''<nowiki>=</nowiki>1}} |
| − | |- | + | {{CodeDescriptionRowA|k|VPB|VPB|Vertical Position Backward|''Pn1''<nowiki>=</nowiki>1}} |
| − | + | {{CodeDescriptionRowA|l|RM|RM|Reset Mode|''Ps1'' <code>;</code> ...}} | |
| − | | | + | {{CodeDescriptionRowA|m|SGR|SGR|Select Graphic Rendition|''Ps1''<nowiki>=</nowiki>0}} |
| − | |- | + | {{CodeDescriptionRowA|n|DSR|DSR|Device Status Report|[[#dsr-request-parameters|''Ps1'']]<nowiki>=</nowiki>0}} |
| − | + | {{CodeDescriptionRowA|o|DAQ|DAQ|Define Area Qualifications|[[#daq-parameters|''Ps1'']]<nowiki>=</nowiki>0 <code>;</code> ...}} | |
| − | | | + | {{CodeDescriptionRowA|[|SRS|SRS|Start Reversed String|''Ps1''<nowiki>=</nowiki>0}} |
| + | {{CodeDescriptionRowA|\|PTX|PTX|Parallel Texts|''Ps1''<nowiki>=</nowiki>0}} | ||
| + | {{CodeDescriptionRowA|]|SDS|SDS|Start Directed String|''Ps1''<nowiki>=</nowiki>0}} | ||
| + | {{CodeDescriptionRowA|^|SIMD|SIMD|Select Implicit Movement Direction|''Ps1''<nowiki>=</nowiki>0}} | ||
| + | |} | ||
| + | |||
| + | {| class="wikitable" | ||
| + | |+ id="ctc-parameters" | CTC Parameters | ||
| + | {{ValueDescriptionHeader}} | ||
| + | {{ValueDescriptionRow|0|Set horizontal tab stop}} | ||
| + | {{ValueDescriptionRow|1|Set vertical tab stop}} | ||
| + | {{ValueDescriptionRow|2|Clear horizontal tab stop}} | ||
| + | {{ValueDescriptionRow|3|Clear vertical tab stop}} | ||
| + | {{ValueDescriptionRow|4|Clear all horizontal tab stops on the current line}} | ||
| + | {{ValueDescriptionRow|5|Clear all horizontal tab stops}} | ||
| + | {{ValueDescriptionRow|6|Clear all tab stops}} | ||
| + | |} | ||
| + | |||
| + | {| class="wikitable" | ||
| + | |+ id="daq-parameters" | DAQ Parameters | ||
| + | {{ValueDescriptionHeader}} | ||
| + | {{ValueDescriptionRow|0|Unprotected and unguarded}} | ||
| + | {{ValueDescriptionRow|1|Protected and guarded}} | ||
| + | {{ValueDescriptionRow|2|Graphic character input}} | ||
| + | {{ValueDescriptionRow|3|Numeric input}} | ||
| + | {{ValueDescriptionRow|4|Alphabetic input}} | ||
| + | {{ValueDescriptionRow|5|Right-justified input}} | ||
| + | {{ValueDescriptionRow|6|Fill with zeros}} | ||
| + | {{ValueDescriptionRow|7|Set a tab stop}} | ||
| + | {{ValueDescriptionRow|8|Protected and unguarded}} | ||
| + | {{ValueDescriptionRow|9|Fill with spaces}} | ||
| + | {{ValueDescriptionRow|10|Left-justified input}} | ||
| + | {{ValueDescriptionRow|11|Reverse order of character positions within field}} | ||
| + | |} | ||
| + | |||
| + | {| class="wikitable" | ||
| + | |+ id="dsr-response-parameters" | DSR Parameters | ||
| + | {{ValueDescriptionHeader}} | ||
| + | {{ValueDescriptionRow|5|A DSR is requested}} | ||
| + | {{ValueDescriptionRow|6|A cursor position report (CPR) is requested}} | ||
| + | |} | ||
| + | |||
| + | {| class="wikitable" | ||
| + | |+ id="ea-parameters" | EA Parameters | ||
| + | {{ValueDescriptionHeader}} | ||
| + | {{ValueDescriptionRow|0|Erase from cursor to end of area}} | ||
| + | {{ValueDescriptionRow|1|Erase from start of area to cursor}} | ||
| + | {{ValueDescriptionRow|2|Erase entire area}} | ||
| + | |} | ||
| + | |||
| + | {| class="wikitable" | ||
| + | |+ id="ed-parameters" | ED Parameters | ||
| + | {{ValueDescriptionHeader}} | ||
| + | {{ValueDescriptionRow|0|Erase from cursor to end of display}} | ||
| + | {{ValueDescriptionRow|1|Erase from start of display to cursor}} | ||
| + | {{ValueDescriptionRow|2|Erase entire display}} | ||
| + | |} | ||
| + | |||
| + | {| class="wikitable" | ||
| + | |+ id="ef-parameters" | EF Parameters | ||
| + | {{ValueDescriptionHeader}} | ||
| + | {{ValueDescriptionRow|0|Erase from cursor to end of field}} | ||
| + | {{ValueDescriptionRow|1|Erase from start of field to cursor}} | ||
| + | {{ValueDescriptionRow|2|Erase entire field}} | ||
| + | |} | ||
| + | |||
| + | {| class="wikitable" | ||
| + | |+ id="el-parameters" | EL Parameters | ||
| + | {{ValueDescriptionHeader}} | ||
| + | {{ValueDescriptionRow|0|Erase from cursor to end of line}} | ||
| + | {{ValueDescriptionRow|1|Erase from start of line to cursor}} | ||
| + | {{ValueDescriptionRow|2|Erase entire line}} | ||
|} | |} | ||
| + | {| class="wikitable" | ||
| + | |+ id="mc-parameter" | MC Parameters | ||
| + | {{ValueDescriptionHeader}} | ||
| + | {{ValueDescriptionRow|0|Start transfer to primary auxiliary device}} | ||
| + | {{ValueDescriptionRow|1|Start transfer from a primary auxiliary device}} | ||
| + | {{ValueDescriptionRow|2|Start transfer to a secondary auxiliary device}} | ||
| + | {{ValueDescriptionRow|3|Start transfer from a secondary auxiliary device}} | ||
| + | {{ValueDescriptionRow|4|Stop relay to a primary auxiliary device}} | ||
| + | {{ValueDescriptionRow|5|Start relay to a primary auxiliary device}} | ||
| + | {{ValueDescriptionRow|6|Stop relay to a secondary auxiliary device}} | ||
| + | {{ValueDescriptionRow|7|Start relay to a secondary auxiliary device}} | ||
| + | |} | ||
| + | | | ||
| + | | valign="top" | | ||
| + | {| class="wikitable" | ||
| + | |+ ESC CSI Sequences | ||
| + | {{CodeDescriptionHeaderA}} | ||
| + | {{CodeDescriptionRowA|R|CPR|CPR|Cursor Position Report|''line'' <code>;</code> ''col''}} | ||
| + | {{CodeDescriptionRowA|c|DA-response|DA|Device Attributes|''Ps1''}} | ||
| + | {{CodeDescriptionRowA|n|DSR-response|DSR|Device Status Report|[[#dsr-response-parameters|''Ps1'']]<nowiki>=</nowiki>0}} | ||
| + | |} | ||
| − | == | + | {| class="wikitable" |
| + | |+ id="dsr-response-parameters" | DSR Parameters | ||
| + | {{ValueDescriptionHeader}} | ||
| + | {{ValueDescriptionRow|0|Ready, no malfunction detected}} | ||
| + | {{ValueDescriptionRow|1|Busy, another DSR must be requested later}} | ||
| + | {{ValueDescriptionRow|2|Busy, another DSR will be sent later}} | ||
| + | {{ValueDescriptionRow|3|Some malfunction detected, another DSR must be requested later}} | ||
| + | {{ValueDescriptionRow|4|Some malfunction detected, another DSR will be sent later}} | ||
| + | |} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
|} | |} | ||
Latest revision as of 03:21, 17 February 2013
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|