# $Id: all-escapes.txt,v 1.32 2005/09/14 12:00:06 ben Exp $ # This file is hoped to document all the escape sequences supported by # terminals that are vaguely compliant with ECMA-48 and friends. # Changes should be submitted to # It includes everything from: # 1999-05-16 # # 1993-02-01 # 1998-09-18 # # 1999-05-16 # 1999-10-12 # # 1999-11-13 # ECMA-48 5th Ed. control functions (section 8.3, annex F) # Linux console_codes(4) # SunOS 5.7 wscons(7D) # UnixWare 7 display(7) # IRIX 6.5.5 xwsh(1G) # VT220 Reference manual (, EK-VT220-RM) # 1999-11-24 # 1999-12-01 # (wy75) # 1999-07-19 # # 1999-09-13 # 1999-04-19 # 2004-09-27 # 2004-09-27 # 1999-04-19 # 2001-05-10 # iBCS2 description in ESR's termtypes.master version 10.2.7 # Reflection Terminal Reference Manual for ADDS, ANSI, DG, VT, WYSE, and # Unisys Hosts; Version 7.0; September 1998; published by WRQ Inc. # DEC Terminals and Printers Handbook 1985 EB 26291-56 (Appendices C, E, and G) # OpenServer 5.0.6 screen(HW) # X Consortium Compound Text Encoding Version 1.1 ------------------------------------------------------------------------------- Section: *** C0 controls *** ------------------------------------------------------------------------------- Sequence: NUL (^@) Mnemonic: NUL Description: Null NUL is used for media-fill or time-fill. NUL characters may be inserted into, or removed from, a data stream without affecting the information content of that stream, but such action may affect the information layout and/or the control of equipment. Source: ECMA-48 5th Ed. 8.3.98 Status: standard ------------------------------------------------------------------------------- Sequence: SOH (^A) Mnemonic: SOH Description: Start of heading SOH is used to indicate the beginning of a heading. The use of SOH is defined in ISO 1745. Source: ECMA-48 5th Ed. 8.3.127 Status: standard Also used as a prefix for "UnixWindows" commands. Source: Status: ??? private ------------------------------------------------------------------------------- Sequence: STX (^B) Mnemonic: STX Description: Start of text STX is used to indicate the beginning of a text and the end of a heading. The use of STX is defined in ISO 1745. Source: ECMA-48 5th Ed. 8.3.146 Status: standard ------------------------------------------------------------------------------- Sequence: ETX (^C) Mnemonic: ETX Description: End of text ETX is used to indicate the end of a text. The use of ETX is defined in ISO 1745. Source: ECMA-48 5th Ed. 8.3.50 Status: standard ------------------------------------------------------------------------------- Sequence: EOT (^D) Mnemonic: EOT Description: End of transmission EOT is used to indicate the conclusion of the transmission of one or more texts. The use of EOT is defined in ISO 1745. Source: ECMA-48 5th Ed. 8.3.45 Status: standard ------------------------------------------------------------------------------- Sequence: ENQ (^E) Mnemonic: ENQ Description: Enquiry ENQ is transmitted by a sender as a request for a response from a receiver. The use of ENQ is defined in ISO 1745. Source: ECMA-48 5th Ed. 8.3.44 Status: standard ------------------------------------------------------------------------------- Sequence: ACK (^F) Mnemonic: ACK Description: Acknowledge ACK is transmitted by a receiver as an affirmative response to the sender. The use of ACK is defined in ISO 1745. Source: ECMA-48 5th Ed 8.3.1 Status: standard ------------------------------------------------------------------------------- Sequence: BEL (^G) Mnemonic: BEL Description: Bell BEL is used when there is a need to call for attention; it may control alarm or attention devices. Source: ECMA-48 5th Ed 8.3.3 Status: standard ------------------------------------------------------------------------------- Sequence: BS (^H) Mnemonic: BS Description: Back space BS causes the active data position to be moved one character position in the data component in the direction opposite to that of the implicit movement. The direction of the implicit movement depends on the parameter value of SELECT IMPLICIT MOVEMENT DIRECTION (SIMD). Source: ECMA-48 5th Ed 8.3.5 BS (0x08, ^H) backspaces one column (but not past the beginning of the line); Source: Linux console_codes(4) Status: standard ------------------------------------------------------------------------------- Sequence: HT (^I) Mnemonic: HT Description: Character tabulation HT causes the active presentation position to be moved to the following character tabulation stop in the presentation component. In addition, if that following character tabulation stop has been set by TABULATION ALIGN CENTRE (TAC), TABULATION ALIGN LEADING EDGE (TALE), TABULATION ALIGN TRAILING EDGE (TATE) or TABULATION CENTRED ON CHARACTER (TCC), HT indicates the beginning of a string of text which is to be positioned within a line according to the properties of that tabulation stop. The end of the string is indicated by the next occurrence of HT or CARRIAGE RETURN (CR) or NEXT LINE (NEL) in the data stream. Source: ECMA-48 5th Ed. 8.3.60 HT (0x09, ^I) goes to the next tab stop or to the end of the line if there is no earlier tab stop; Source: Linux console_codes(4) Status: standard ------------------------------------------------------------------------------- Sequence: LF (^J) Mnemonic: LF Description: Line feed If the DEVICE COMPONENT SELECT MODE (DCSM) is set to PRESENTATION, LF causes the active presentation position to be moved to the corresponding character position of the following line in the presentation component. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to DATA, LF causes the active data position to be moved to the corresponding character position of the following line in the data component. Source: ECMA-48 5th Ed. 8.3.74 Status: standard ------------------------------------------------------------------------------- Sequence: VT (^K) Mnemonic: VT Description: Line tabulation VT causes the active presentation position to be moved in the presentation component to the corresponding character position on the line at which the following line tabulation stop is set. Source: ECMA-48 5th Ed. 8.3.161 Status: standard ------------------------------------------------------------------------------- Sequence: VT (^K) Description: Reverse Line-feed The cursor moves up one line, remaining at the same character position on the line. If the cursor is already at the top line, nothing happens. Source: SunOS 5.7 wscons(7D) Status: Sun private; clashes with ECMA-48 VT ------------------------------------------------------------------------------- Sequence: FF (^L) Mnemonic: FF Description: Form feed FF causes the active presentation position to be moved to the corresponding character position of the line at the page home position of the next form or page in the presentation component. The page home position is established by the parameter value of SET PAGE HOME (SPH). Source: ECMA-48 5th Ed. 8.3.51 Status: standard ------------------------------------------------------------------------------- Sequence: CR (^M) Mnemonic: CR Description: Carriage return The effect of CR depends on the setting of the DEVICE COMPONENT SELECT MODE (DCSM) and on the parameter value of SELECT IMPLICIT MOVEMENT DIRECTION (SIMD). If the DEVICE COMPONENT SELECT MODE (DCSM) is set to PRESENTATION and with the parameter value of SIMD equal to 0, CR causes the active presentation position to be moved to the line home position of the same line in the presentation component. The line home position is established by the parameter value of SET LINE HOME (SLH). With a parameter value of SIMD equal to 1, CR causes the active presentation position to be moved to the line limit position of the same line in the presentation component. The line limit position is established by the parameter value of SET LINE LIMIT (SLL). If the DEVICE COMPONENT SELECT MODE (DCSM) is set to DATA and with a parameter value of SIMD equal to 0, CR causes the active data position to be moved to the line home position of the same line in the data component. The line home position is established by the parameter value of SET LINE HOME (SLH). With a parameter value of SIMD equal to 1, CR causes the active data position to be moved to the line limit position of the same line in the data component. The line limit position is established by the parameter value of SET LINE LIMIT (SLL). Source: ECMA-48 5th Ed 8.3.15 Status: standard ------------------------------------------------------------------------------- Sequence: LS1 (^N) Mnemonic: LS1 Description: Locking-shift one LS1 is used for code extension purposes. It causes the meanings of the bit combinations following it in the data stream to be changed. The use of LS1 is defined in Standard ECMA-35. NOTE LS1 is used in 8-bit environments only; in 7-bit environments SHIFT-OUT (SO) is used instead. Source: ECMA-48 8.3.76 Status: standard ------------------------------------------------------------------------------- Sequence: SO (^N) Mnemonic: SO Description: Shift-out SO is used for code extension purposes. It causes the meanings of the bit combinations following it in the data stream to be changed. The use of SO is defined in Standard ECMA-35. NOTE SO is used in 7-bit environments only; in 8-bit environments LOCKING-SHIFT ONE (LS1) is used instead. Source: ECMA-48 5th Ed. 8.3.126 Status: standard ------------------------------------------------------------------------------- Sequence: LS0 (^O) Mnemonic: LS0 Description: Locking-shift zero LS0 is used for code extension purposes. It causes the meanings of the bit combinations following it in the data stream to be changed. The use of LS0 is defined in Standard ECMA-35. NOTE LS0 is used in 8-bit environments only; in 7-bit environments SHIFT-IN (SI) is used instead. Source: ECMA-48 5th Ed. 8.3.75 Status: standard ------------------------------------------------------------------------------- Sequence: SI (^O) Mnmonic: SI Description: Shift-in SI is used for code extension purposes. It causes the meanings of the bit combinations following it in the data stream to be changed. The use of SI is defined in Standard ECMA-35. NOTE SI is used in 7-bit environments only; in 8-bit environments LOCKING-SHIFT ZERO (LS0) is used instead. Source: ECMA-35 5th Ed. 8.3.119 Status: standard ------------------------------------------------------------------------------- Sequence: DLE (^P) Mnemonic: DLE Description: Data link escape DLE is used exclusively to provide supplementary transmission control functions. The use of DLE is defined in ISO 1745. Source: ECMA-48 8.3.33 Status: standard ------------------------------------------------------------------------------- Sequence: DC1 (^Q) Mnemonic: DC1 Description: Device control one DC1 is primarily intended for turning on or starting an ancillary device. If it is not required for this purpose, it may be used to restore a device to the basic mode of operation (see also DC2 and DC3), or any other device control function not provided by other DCs. NOTE When used for data flow control, DC1 is sometimes called "X-ON". Source: ECMA-48 5th Ed 8.3.28 Status: standard ------------------------------------------------------------------------------- Sequence: DC2 (^R) Mnemonic: DC2 Description: Device control two DC2 is primarily intended for turning on or starting an ancillary device. If it is not required for this purpose, it may be used to set a device to a special mode of operation (in which case DC1 is used to restore the device to the basic mode), or for any other device control function not provided by other DCs. Source: ECMA-48 5th Ed 8.3.29 Status: standard ------------------------------------------------------------------------------- Sequence: DC3 (^S) Mnemonic: DC3 Description: Device control three DC3 is primarily intended for turning off or stopping an ancillary device. This function may be a secondary level stop, for example wait, pause, stand-by or halt (in which case DC1 is used to restore normal operation). If it is not required for this purpose, it may be used for any other device control function not provided by other DCs. NOTE When used for data flow control, DC3 is sometimes called "X-OFF". Source: ECMA-48 8.3.30 Status: standard ------------------------------------------------------------------------------- Sequence: DC4 (^T) Mnemonic: DC4 Description: Device control four DC4 is primarily intended for turning off, stopping or interrupting an ancillary device. If it is not required for this purpose, it may be used for any other device control function not provided by other DCs. Source: ECMA-48 8.3.31 Status: standard ------------------------------------------------------------------------------- Sequence: DC4 (^T) Used by the TDSMP (Terminal Device Session Management Protocol) on DEC VT4xx terminals. The protocol is patented (US 4791566 & 5165020). Commands seems to end with ST. Source: [paraphrased] Status: DEC private ------------------------------------------------------------------------------- Sequence: NAK (^U) Mnemonic: NAK Description: Negative acknowledge NAK is transmitted by a receiver as a negative response to the sender. The use of NAK is defined in ISO 1745. Source: ECMA-48 5th Ed. 8.3.84 ------------------------------------------------------------------------------- Sequence: SYN (^V) Mnemonic: SYN Description: Synchronous idle SYN is used by a synchronous transmission system in the absence of any other character (idle condition) to provide a signal from which synchronism may be achieved or retained between data terminal equipment. The use of SYN is defined in ISO 1745. Source: ECMA-48 5th Ed. 8.3.150 Status: standard Also used as an introducer for AVATAR commands Source: Status: ??? private ------------------------------------------------------------------------------- Sequence: ETB (^W) Mnemonic: ETB Description: End of transmission block ETB is used to indicate the end of a block of data where the data are divided into such blocks for transmission purposes. The use of ETB is defined in ISO 1745. Source: ECMA-48 5th Ed. 8.3.49 Status: standard ------------------------------------------------------------------------------- Sequence: CAN (^X) Mnemonic: CAN Description: Cancel CAN is used to indicate that the data preceding it in the data stream is in error. As a result, this data shall be ignored. The specific meaning of this control function shall be defined for each application and/or between sender and recipient. Source: ECMA-48 5th Ed 8.3.6 Status: standard ------------------------------------------------------------------------------- Sequence: EM (^Y) Mnemonic: EM Description: End of medium EM is used to identify the physical end of a medium, or the end of the used portion of a medium, or the end of the wanted portion of data recorded on a medium. Source: ECMA-48 5th Ed. 8.3.42 Status: standard ------------------------------------------------------------------------------- Sequence: SUB (^Z) Mnemonic: SUB Description: Substitute SUB is used in the place of a character that has been found to be invalid or in error. SUB is intended to be introduced by automatic means. Source: ECMA-48 5th Ed. 8.3.148 Status: standard ------------------------------------------------------------------------------- Sequence: ESC (^[) Mnemonic: ESC Description: Escape ESCAPE is a control character used for code extension purposes. It causes the meaning of a limited number of the bit combinations following it in a CC-data-element to be changed. These bit combinations, together with the preceding bit combination that represents the ESC character, constitute an escape sequence. Escape sequences provide the coded representations of code-identification functions and of some types of control functions. The various uses of escape sequences are specified in clause 13. Code identification functions are specified in clauses 14 and 15. Source: ECMA-35 6th Ed. 6.2.2 An escape sequence shall consist of two or more bytes. In an 8-bit code a byte shall be an 8-bit combination. In a 7-bit code a byte shall be a 7-bit combination. The first byte of an escape sequence shall be the bit combination representing the ESCAPE character and the last shall be known as the Final Byte. An escape sequence may also contain one or more bytes known as Intermediate bytes. The function represented by an escape sequence shall be determined by its Intermediate byte(s), if any, and by its Final Byte. Intermediate bytes shall be any of the 16 positions of column 02 of the code table; they are denoted by the symbol I. Final bytes shall be any of the 79 positions of columns 03 to 07 of the code table excluding position 07/15; they are denoted by the symbol F. NOTE 40 Although, in this Standard, escape sequences are specified in terms of bytes or positions in the code table, the meaning of an escape sequence is determined only by its bit combinations and it is unaffected by any meaning assigned to those bit combinations taken individually. Bit combinations in columns 00 and 01 and the bit combination 07/15 shall not be used as either Intermediate or Final bytes to construct an escape sequence. In an 8-bit code bit combinations in columns 08 to 15 also shall not be so used. NOTE 41 As these prohibited bytes may appear in an escape sequence in error, it may be necessary within an application to provide methods of identifying such a situation and of recovering from it, but this is not covered by this Standard. Source: ECMA-35 6th Ed. 13.1 [ So, in summary, that's ESC {SP-/}* {0-~} ] Status: standard ------------------------------------------------------------------------------- Section: *** nF *** Sequences: ESC {SP-/} {SP-/}* {0-~} ------------------------------------------------------------------------------- Sequence: ESC SP {0-~} Mnemonic: ACS Description: Announce code structure ------------------------------------------------------------------------------- Sequence: ESC SP 6 Mnemonic: S8C1R (also DECAC1) Description: C1 receive disabled The printer receives 7-bit data and C1 control characters (as 7-bit ESC Fe sequences). This description doesn't say what the printer does when it receives an 8-bit C1 control character in DECTC1 (S7C1R) mode. The LA100 reference says that it just truncates the 8th bit of all C1 control characters received. Ouch! Source: Paul Williams in mail <384A6F50.3349DE09@rdel.co.uk> Status: standard ------------------------------------------------------------------------------- Sequence: ESC SP 7 Mnemonic: S7C1R (also DECTC1) Description: C1 receive enabled The printer receives 8-bit data and C1 control characters (as 7-bit ESC Fe sequences or single 8-bit bytes). Source: Paul Williams in mail <384A6F50.3349DE09@rdel.co.uk> Status: standard ------------------------------------------------------------------------------- Sequence: ESC SP F Mnemonic: S7C1T Description: 7-bit C1 controls The VT220 command ESC SP F (called S7C1T in the DEC documentation) tells the terminal to transmit the 7 bit equivalents for the 8 bit C1 codes to the host, both for command responses (like the response to CSI c), and for function keys which return C1 codes. Source: Status: Standard ------------------------------------------------------------------------------- Sequence: ESC SP G Mnemonic: S8C1T Description: 8-bit C1 controls Likewise, ESC SP G (S8C1T) tells the terminal to transmit 8 bit C1 codes if the terminal has an 8 bit data path to the host. (The command has no effect if the host port is set to 7 bit mode.) Source: Status: Standard ------------------------------------------------------------------------------- Sequence: ESC ! {SP-/}* {0-~} Mnemonic: CZD Description: C0-designate ------------------------------------------------------------------------------- Sequence: ESC ! @ Description: C0-designate ECMA-6 IRV C0 set Source: ECMA-6 6th Ed. 9.2 Status: standard ------------------------------------------------------------------------------- Sequence: ESC " {SP-/}* {0-~} Mnemonic: C1D Description: C1-designate ------------------------------------------------------------------------------- Section: *** 3F: Single control functions *** Sequences: ESC # {SP-/}* {0-~} ------------------------------------------------------------------------------- Sequence: ESC # {SP-/} 0 Description: ignoring extensions is OK Part of the X11 COMPOUND_TEXT encoding, this sequence indicates that the string that follows contains extensions beyond version 1, but that ignoring those extensions is acceptable. The intermediate character is in the range 02/00 to 02/15 and indicates the version number minus one of the specification being used. Source: Compound Text Encoding Version 1.1 Status: X11 private ------------------------------------------------------------------------------- Sequence: ESC # {SP-/} 1 Description: ignoring extensions is not OK Part of the X11 COMPOUND_TEXT encoding, this sequence indicates that the string that follows contains extensions beyond version 1, and that ignoring those extensions is unacceptable and would lose mandatory information. The intermediate character is in the range 02/00 to 02/15 and indicates the version number minus one of the specification being used. Source: Compound Text Encoding Version 1.1 Status: X11 private ------------------------------------------------------------------------------- Sequence: ESC # 3 Mnemonic: DECDHL Description: Double-width, double-height line (top half) These sequences cause the line containing the cursor to become the top or bottom half of a double-height, double width line. The sequences should be used in pairs on adjacent lines with each line containing the same character string. If the line was single width single height, all characters to the right of the center of the screen will be lost. The cursor remains over the same character position, unless it would be to the right of the right margin, in which case it is moved to the right margin. Source: Status: DEC private; VT100 ------------------------------------------------------------------------------- Sequence: ESC # 4 Mnemonic: DECDHL Description: Double-width, double-height line (bottom half) These sequences cause the line containing the cursor to become the top or bottom half of a double-height, double width line. The sequences should be used in pairs on adjacent lines with each line containing the same character string. If the line was single width single height, all characters to the right of the center of the screen will be lost. The cursor remains over the same character position, unless it would be to the right of the right margin, in which case it is moved to the right margin. Source: Status: DEC private; VT100 ------------------------------------------------------------------------------- Sequence: ESC # 5 Mnemonic: DECSWL Description: Single-width, single-height line This causes the line which contains the cursor to become single-width, single-height. The cursor remains on the same character position. This is the default condition for all new lines on the screen. Source: Status: DEC private; VT100 ------------------------------------------------------------------------------- Sequence: ESC # 6 Mnemonic: DECDWL Description: Double-width, single-height line This causes the line that contains the cursor to become double-width single height. If the line was single width, all characters ro the right of the center of the screen will be lost. The cursor remains over the same character position, unless it would be to the right of the right margin, in which case it is moved to the right margin. Source: Status: DEC private; VT100 ------------------------------------------------------------------------------- Sequence: ESC # 7 Mnemonic: DECHCP Description: Hardcopy Source: Source: Status: DEC private; VT100 ------------------------------------------------------------------------------- Sequence: ESC # 8 Mnemonic: DECALN Description: Screen alignment display This command causes the VT100 to fill its screen with uppercase Es for screen focus and alignment. Source: Status: DEC private; VT100 ------------------------------------------------------------------------------- Sequence: ESC # 9 Mnemonic: DECFPP Description: Perform pending motion Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE90 Status: DEC private; LQP02 ------------------------------------------------------------------------------- Section: *** 4F: Designation of multibyte graphic character sets *** Sequences: ESC $ {SP-/} {SP-/}* {0-~} ------------------------------------------------------------------------------- Sequence: ESC $ ( {SP-/}* {0-~} Description: G0-designate multibyte 94-set ------------------------------------------------------------------------------- Sequence: ESC $ ) {SP-/}* {0-~} Description: G1-designate multibyte 94-set ------------------------------------------------------------------------------- Sequence: ESC $ * {SP-/}* {0-~} Description: G2-designate multibyte 94-set ------------------------------------------------------------------------------- Sequence: ESC $ + {SP-/}* {0-~} Description: G3-designate multibyte 94-set ------------------------------------------------------------------------------- Sequence: ESC $ - {SP-/}* {0-~} Description: G1-designate multibyte 96-set ------------------------------------------------------------------------------- Sequence: ESC $ . {SP-/}* {0-~} Description: G2-designate multibyte 96-set ------------------------------------------------------------------------------- Sequence: ESC $ / {SP-/}* {0-~} Description: G3-designate multibyte 96-set ------------------------------------------------------------------------------- Sequence: ESC % {SP-/}* {0-~} Mnemonic: DOCS Description: Designate other coding system 15.4.1 Purpose A code-identification function is provided to designate and invoke an identified coding system different from that of this Standard, not necessarily a character code. It provides a means for switching between coding systems according to this Standard and other coding systems when it is not performed at an outer level (e.g. 15.3). Each such other coding system is registered in the ISO International Register of Coded Character Sets (see annex B), together with a Final Byte (and where necessary one or more associated Intermediate bytes) to identify it. This function is also recommended for use by such other coding systems for returning to the coding system of this Standard, by the use of a reserved Final Byte which identifies it. NOTE 56 Other standards specify alternative methods for achieving an effect similar to that of DOCS, e.g. those based on the upper layers defined in ISO 7498 - Open Systems Interconnection, Basic Reference Model. 15.4.2 Specification Name: DESIGNATE OTHER CODING SYSTEM Acronym: DOCS Coded representation: ESC 02/05 F or ESC 02/05 I F DOCS shall designate and invoke an identified coding system. In the coded representation of DOCS the F byte (and any associated I bytes) shall identify the coding system. DOCS with Final Byte 04/00, without I byte, shall designate the coding system of this Standard. It is intended for use by other coding systems for returning to this coding system. It shall restore the state of the coding system to that at the time of invocation of the other coding system, that is the state established by announcer functions, and the designation and invocation state of graphic character and control character sets. Whether or not other states, e.g. the active position, are restored is outside the scope of this Standard. DOCS with I byte 02/15 shall mean that the other coding system does not use DOCS (F = 04/00), coded as specified here, to return (it may have an alternate means to return or none at all). It shall also mean that after such a return (if any) the previous state of this coding system (i.e. announcements, designations, and invocations) is undefined. DOCS with any other I byte, or with no I byte, shall mean that the other coding system uses DOCS (F = 04/00) to return. Source: ECMA-35 6th Ed. 15.4 Status: standard ------------------------------------------------------------------------------- Sequence: ESC % / {SP-/}* {0-~} Description: switch to a coding system which doesn't support DOCS Source: ECMA-35 6th Ed. 15.4.2 Status: standard ------------------------------------------------------------------------------- Sequence: ESC % / 0 length charset STX Description: switch to named variable-length encoding This is part of the X11 COMPOUND_TEXT format, and is used to escape to a character encoding not directly supported by that standard. This version is for encodings with a variable number of octets per character. "length" consists of two octets, M and L, that between them define the number of octets of data that follow to be ((M-128)*128) + (L-128). The top bits of M and L are always set. "charset" is a character set name from the X Consortium CharSet registry. STX is followed by octets encoded in that character set. "length" includes the length of the charset name and the STX. Source: Compound Text Encoding Version 1.1 Status: X11 private ------------------------------------------------------------------------------- Sequence: ESC % / 1 length charset STX Description: switch to named single-byte encoding The same as ESC % / 0, but with one octet per character. Source: Compound Text Encoding Version 1.1 Status: X11 private ------------------------------------------------------------------------------- Sequence: ESC % / 2 length charset STX Description: switch to named double-byte encoding The same as ESC % / 0, but with two octets per character. Source: Compound Text Encoding Version 1.1 Status: X11 private ------------------------------------------------------------------------------- Sequence: ESC % / 3 length charset STX Description: switch to named triple-byte encoding The same as ESC % / 0, but with three octets per character. Source: Compound Text Encoding Version 1.1 Status: X11 private ------------------------------------------------------------------------------- Sequence: ESC % / 4 length charset STX Description: switch to named quadruple-byte encoding The same as ESC % / 0, but with four octets per character. Source: Compound Text Encoding Version 1.1 Status: X11 private ------------------------------------------------------------------------------- Sequence: ESC % / {5-?} length Description: begin extended segment These sequences begin an as-yet undefined kind of extended segment in the X11 COMPOUND_TEXT encoding. The "length" is encoded as described for ESC % / 0; the rest is undefined. Source: Compound Text Encoding Version 1.1 Status: X11 private ------------------------------------------------------------------------------- Sequence: ESC % / @ Description: switch to ISO/IEC 10646:1993, UCS-2, Level 1 Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC % / A Description: switch to ISO/IEC 10646:1993, UCS-4, Level 1 Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC % / B Description: Switch to Virtual Terminal service Transparent Set Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC % / C Description: switch to ISO/IEC 10646:1993, UCS-2, Level 2 Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC % / D Description: switch to ISO/IEC 10646:1993, UCS-4, Level 2 Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC % / E Description: switch to ISO/IEC 10646:1993, UCS-2, Level 3 Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC % / F Description: switch to ISO/IEC 10646:1993, UCS-4, Level 3 Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC % / G Description: switch to UTF-8 Level 1 Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC % / H Description: switch to UTF-8 Level 2 Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC % / I Description: switch to UTF-8 Level 3 Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC % / J Description: switch to UTF-16 Level 1 Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC % / K Description: switch to UTF-16 Level 2 Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC % / L Description: switch to UTF-16 Level 3 Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC % 8 Description: switch to UTF-8 Source: Linux console_codes(4) Status: Linux private; obsolete ------------------------------------------------------------------------------- Sequence: ESC % @ Description: return to ECMA-35 coding system Source: ECMA-35 6th Ed. 15.4.2 Status: standard ------------------------------------------------------------------------------- Sequence: ESC % A Description: switch to CSA T 500-1983 Syntax of the North American Videotex/Teletex Presentation Level Protocol (NAPLPS), CSA T 500-1983 Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC % B Description: switch to UCS Transformation Format One (UTF-1) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC % C Description: switch to Data Syntax I of CCITT Rec.T.101 Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC % D Description: switch to Data Syntax II of CCITT Rec.T.101 Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC % E Description: switch to Photo-Videotex Data Syntax of CCITT Rec. T.101 Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC % F Description: switch to Audio Data Syntax of CCITT Rec. T.101 Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC % G Description: switch to UTF-8 Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC % H Description: switch to VEMMI Data Syntax of ITU-T Rec. T.107 Videotex Enhanced Man Machine Interface (VEMMI) Data Syntax of ITU-T Rec. T.107 Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC & {0-~} Mnemonic: IRR Description: Identify revised registration ------------------------------------------------------------------------------- Sequence: ESC ' {0-~} Description: Reserved for future standardisation ------------------------------------------------------------------------------- Sequence: ESC ( {SP-/}* {0-~} Mnemonic: GZD4 Description: G0-designate 94-set [ NB: All character sets listed here are valid for other G?D4 sequnces too. ] ------------------------------------------------------------------------------- Sequence: ESC ( ! @ Description: G0-designate CCITT Greek Primary character set (IANA name greek-ccitt) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( ! A Description: G0-designate Cuban character set (NC 99-10:81) (IANA name NC_NC00-10:81) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( ! B Description: G0-designate ISO 646 invariant character set (no IANA name) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( ! C Description: G0-designate Irish Gaelic character set (I.S. 433:1996) (no IANA name) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( ! D Description: G0-designate Turkmen character set (Turkmen Standard TDS 565) (no IANA name) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( ! E Description: G0-designate ANSEL character set (ANSI/NISO Z39.47) The ANSEL standard is used in bibliographic work. It addresses special characters in languages using the Latin alphabet as well as combining marks (diacritics) required for romanization and transliteration. In ANSEL, non-spacing characters precede the character that they modify. The MARC 21 Extended Latin character set (published by the Library of Congress) is synchronized with ANSEL. Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( ! F Description: G0-designate Turkmen 8-bit character set (TDS 616-2003) (no IANA name) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( " 1 Description: G0-designate Digital Symbol character set Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE47 Status: DEC private; LA210 ------------------------------------------------------------------------------- Sequence: ESC ( 0 Description: G0-designate VT100 line-drawing set Source: ??? Status: DEC private; VT100 ------------------------------------------------------------------------------- Sequence: ESC ( 1 Description: G0-designate alternate character ROM (standard) Source: ??? Status: DEC private; VT100 ------------------------------------------------------------------------------- Sequence: ESC ( 2 Description: G0-designate alternate character ROM (graphics) Source: ??? Status: DEC private; VT100 ------------------------------------------------------------------------------- Sequence: ESC ( 3 Description: G0-designate HP Roman 8, upper 128 chars Source: pcvt EscapeSequences Status: HP private? ------------------------------------------------------------------------------- Sequence: ESC ( 4 Description: G0-designate Dutch character set Source: vttest-990212 vt420.c Status: DEC private ------------------------------------------------------------------------------- Sequence: ESC ( 5 Description: G0-designate Finnish character set Source: vttest-990212 vt420.c Status: DEC private ------------------------------------------------------------------------------- Sequence: ESC ( 6 Description: G0-designate Norwegian/Danish character set Source: vttest-990212 vt420.c Status: DEC private ------------------------------------------------------------------------------- Sequence: ESC ( 7 Description: G0-designate Swedish character set Source: pcvt EscapeSequences Status: DEC private ------------------------------------------------------------------------------- Sequence: ESC ( 8 Description: G0-designate APL character set Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 Status: DEC private ------------------------------------------------------------------------------- Sequence: ESC ( 9 Description: G0-designate French Canadian character set Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 Status: DEC private ------------------------------------------------------------------------------- Sequence: ESC ( < Description: G0-designate DEC supplemental character set Source: http://vt100.net/docs/vt220-rm/chapter4.html Status: DEC private; VT200 ------------------------------------------------------------------------------- Sequence: ESC ( = Description: G0-designate Swiss character set Source: vttest-990212 vt420.c Status: DEC private ------------------------------------------------------------------------------- Sequence: ESC ( > Description: G0-designate DEC Technical character set Source: pcvt EscpaeSequences Status: DEC private ------------------------------------------------------------------------------- Sequence: ESC ( @ Description: G0-designate ISO-646 IRV This differs from ASCII in having a currency sign in place of the dollar. (IANA name ISO_646.irv:1983) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( A Description: G0-designate GB character set This is the ECMA-6 IRV (ASCII), with hash turned into sterling. (IANA name BS_4730) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( B Description: G0-designate ECMA-6 IRV (IANA name ANSI_X3.4-1968) Source: ECMA-6 6th Ed. 9.2 Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( C Description: G0-designate NATS main Finnish/Swedish character set (IANA name NATS-SEFI) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( D Description: G0-designate NATS additional Finnish/Swedish graphic set (IANA name NATS-SEFI-ADD) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( E Description: G0-designate NATS main Norwegian/Danish character set (IANA name NATS-DANO) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( F Description: G0-designate NATS additional Norwegian/Danish character set (IANA name NATS-DANO-ADD) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( G Description: G0-designate Swedish basic character set (SEN 85 02 00 Annex B) (IANA name SEN_850200_B) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( H Description: G0-designate Swedish name-writing set (SEN 85 02 00 Annex C) (IANA name SEN_85020_C) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( I Description: G0-designate Katakana character set (JIS C 6220 - 1969) (IANA name JIS_C6220-1969-jp) This character set expects to be in G1 Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( J Description: G0-designate Roman character set (JIS C 6220 - 1969) (IANA name JIS_C6220-1969-ro) This character set expects to be in G0 Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( K Description: G0-designate German character set (DIN 66003) (IANA name DIN_66003) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( K Description: G0-designate user-defined character set Source: Linux console_codes(4) Status: Linux private; clashes with ECMA-35 ------------------------------------------------------------------------------- Sequence: ESC ( L Description: G0-designate Portuguese character set (IANA name PT) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( M Description: G0-designate African character set (ISO 6438) (no IANA name) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( N Description: G0-designate basic Cyrillic character set (ISO 5427) (IANA name ISO_5427) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( O Description: G0-designate bibliographic extension character set (DIN 31624) (no IANA name) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( P Description: G0-designate bibliographic extension character set (ISO 5426:1980) (no IANA name) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( Q Description: G0-designate cyrillic bibliographic extension set (ISO 5427:1981) (IANA name ISO_5427:1981) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( Q Description: G0-designate French Canadian character set Source: vttest-990212 vt420.c Status: DEC private?; clashes with ECMA-35 ------------------------------------------------------------------------------- Sequence: ESC ( R Description: G0-designate French character set (NF Z 62-010 (1973)) (IANA name NF_Z_62-010_(1973)) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( S Description: G0-designate Greek bibliographic character set (ISO 5428:1980) (IANA name ISO_5428:1980) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( T Description: G0-designate Chinese latin character set (GB 1988 80) (IANA name GB_1988-80) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( U Description: G0-designate Latin-Greek character set (Honeywell-Bull) (IANA name Latin-greek1) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( U Description: G0-designate PC console character set Source: Linux console_codes(4) Status: Linux private; clashes with ECMA-35 ------------------------------------------------------------------------------- Sequence: ESC ( V Description: G0-designate UK Videotex/Teletext character set (IANA name BS_viewdata) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( W Description: G0-designate ISO 646 subset for INIS (IANA name INIS) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( X Description: G0-designate Greek bibliographic character set (ISO 5428) (no IANA name) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( Y Description: G0-designate Italian character set (IANA name IT) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( Z Description: G0-designate Spanish character set (IANA name ES) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( [ Description: G0-designate Greek character set (IANA name greek7-old) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( \ Description: G0-designate Latin/Greek character set (IANA name latin-greek) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( ] Description: G0-designate INIS non-standard extension character set (IANA name INIS-8) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( ^ Description: G0-designate INIS Cyrillic extension character set (IANA name INIS-cyrillic) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( _ Description: G0-designate CODAR-U Arabic character set (no IANA name) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( ` Description: G0-designate Norwegian/Danish character set (NS 4551) (IANA name NS_4551-1) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( a Description: G0-designate Norwegian character set (NS 4551 version 2) (IANA name NS_4551-2) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( b Description: G0-designate supplementary Videotex character set (IANA name videotex-suppl) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( c Description: G0-designate Videotex mosaic character set (no IANA name) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( d Description: G0-designate seccond Videotex mosaic character set (no IANA name) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( e Description: G0-designate APL character set (no IANA name) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( f Description: G0-designate French character set (NF Z 62-010 (1982)) (IANA name NF_Z_60-010) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( g Description: G0-designate Portuguese character set (IBM) (IANA name PT2) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( h Description: G0-designate Spanish character set (IBM) (IANA name ES2) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( i Description: G0-designate Hungarian character set (MSZ 7795/3) (IANA name MSZ_7795.3) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( j Description: G0-designate Greek character set (ELOT) (IANA name greek7) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( k Description: G0-designate Arabic character set (ASMO 449, ISO 9036) (IANA name ASMO_449) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( l Description: G0-designate Latin supplementary character set (ISO 6937/2) (IANA name iso-ir-90) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( m Description: G0-designate Japanese OCR-A character set (JIS C 6229-1984) (IANA name JIS_C6229-1984-a) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( n Description: G0-designate Japanese OCR-B character set (JIS C 6229-1984) (IANA name JIS_C6229-1984-b) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( o Description: G0-designate Japanese addition OCR-B set (JIS C 6229-1984) (IANA name JIS_C6229-1984-b-add) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( p Description: G0-designate Japanese hand-printed OCR set (JIS C 6229-1984) (IANA name JIS_C6229-1984-hand) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( q Description: G0-designate Japanese hand-printed OCR additional set (IANA name JIS_C6229-1984-hand-add) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( r Description: G0-designate Katakana hand-printed OCR set (JIS C 6229-1984) (IANA name JIS_C6229-1984-kana) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( s Description: G0-designate E13B character set (ISO 2033-1983) (IANA name ISO_2033-1983) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( t Description: G0-designate supplemetary Teletext character set (ANSI X3.110) (IANA name ANSI_X3.110-1983) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( u Description: G0-designate Teletext character set (CCITT T.61) (IANA name T.61-7bit) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( v Description: G0-designate Teletext supplementary character set (CCITT T.61) (IANA name T.61-8bit) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( w Description: G0-designate Canadian character set 1 (CSA Z243.4 - 1985) (IANA name CSA_Z243.4-1985-1) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( x Description: G0-designate Canadian character set 2 (CSA Z243.4 - 1985) (IANA name (CSA_Z243.4-1985-2) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( y Description: G0-designate CCITT T.101 Data Syntax I mosaic set (no IANA name) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( z Description: G0-designate Serbocroatian/Slovenian character set (JUS I.B1.002) (IANA name JUS_I.B1.002) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( { Description: G0-designate Serbocroatian Cyrillic character set (JUS I.B1.003) (IANAN name JUS_I.B1.003-serb) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( | Description: G0-designate CCITT T.101 Data Syntax III (IANA name T.101-G2) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( } Description: G0-designate Macedonian Cyrillic charcter set (JUS I.B1.004) (IANA name JUS_I.B1.003-mac) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( ~ Description: G0-designate empty character set The Final Byte 07/14 shall be reserved to identify the empty set of each type, i.e. the set that does not contain any character. If an empty set is designated the bit combinations corresponding to the code table positions of the set shall not be used, i.e. the (non-existent) characters shall not be invoked. Source: ECMA-35 6th Ed. 14.1 Status: standard ------------------------------------------------------------------------------- Sequence: ESC ( % 5 Description: G0-designate Digtal Supplemental Graphics set Source: Reflection TRM (VT) Version 7.0 Status: DEC private ------------------------------------------------------------------------------- Sequence: ESC ( % 6 Description: G0-designate Portuguese character set Source: vttest-990212 vt420.c Status: DEC private ------------------------------------------------------------------------------- Sequence: ESC ( % = Description: G0-designate Hebrew character set Source: vttest-990212 vt420.c Status: DEC private ------------------------------------------------------------------------------- Sequence: ESC ) {SP-/}* {0-~} Mnemonic: G1D4 Description: G1-designate 94-set See GZD4 for character sets ------------------------------------------------------------------------------- Sequence: ESC * {SP-/}* {0-~} Mnemonic: G2D4 Description: G2-designated 94-set See GZD4 for character sets ------------------------------------------------------------------------------- Sequence: ESC + {SP-/}* {0-~} Mnemonic: G3D4 Description: G3-designate 94-set See GZD4 for character sets ------------------------------------------------------------------------------- Sequence: ESC , {0-~} Description: reserved for future standardisation ------------------------------------------------------------------------------- Sequence: ESC - {SP-/}* {0-~} Mnemonic: G1D6 Description: G1-designate 96-set ------------------------------------------------------------------------------- Sequence: ESC - @ Description: G1-designate RH part of Latin/Cyrillic set (ECMA-113, 1st ed.) (IANA name ECMA-cyrillic) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - A Description: G1-designate RH part of Latin-1 character set (ISO 8859-1:1987) (IANA name ISO_8859-1:1987) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - B Description: G1-designate RH part of Latin-2 character set (ISO 8859-2:1987) (IANA name ISO_8859-2:1987) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - C Description: G1-designate RH part of Latin-3 character set (ISO 8859-3:1988) (IANA name ISO_8859-3:1988) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - D Description: G1-designate RH part of Latin-4 character set (ISO 8859-4:1988) (IANA name ISO_8859-4:1988) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - E Description: G1-designate Supplementary Graphic Set (CSA Z243.4-1985) (IANA name CSA_Z243.4-1985-gr) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - F Description: G1-designate RH part of Latin/Greek set (ISO 8859-7:1987) (IANA name ISO_8859-7:1987) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - G Description: G1-designate RH part of Latin/Arabic set (ISO 8859-6:1987) (IANA name ISO_8859-6:1987) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - H Description: G1-designate RH part of Latin/Hebrew set (ISO 8859-8:1988) (IANA name ISO_8859-8:1988) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - I Description: G1-designate RH part of Czechoslovak set (CSN 369103) (IANA name CSN_369103) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - J Description: G1-designate Latin supplementary set (ISO 6937-2:1983) (IANA name ISO_6937-2-add) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - K Description: G1-designate technical character set (IANA name IEC_P27-1) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - L Description: G1-designate RH part of Latin/Cyrillic set (ISO 8859-5:1988) (IANA name ISO_8859-5:1988) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - M Description: G1-designate RH part of Latin-5 character set (ISO 8859-9:1989) (IANA name ISO_8859-9:1989) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - N Description: G1-designate ISO 6937-2:1983 residual set (IANA name ISO_6937-2-add) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - O Description: G1-designate basic Cyrillic character set (GOST 19768-74) (IANA name GOST_19768-74) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - P Description: G1-designate Latin-1/2/5 supplemental set (IANA name ISO_8859-supp) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - Q Description: G1-designate basic box-drawing set (ISO/IEC 10367) (IANA name ISO_10367-box) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - R Description: G1-designate ISO/IEC 6937:1992 supplementary set Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - S Description: G1-designate CCITT Hebrew supplementary set Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - T Description: G1-designate Thai character set (TIS 620-2533 (1990)) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - U Description: G1-designate Arabic/French/German set Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - V Description: G1-designate RH part of Latin-6 character set (ISO 8859-10:1992) (IANA name ISO-8859-10) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - X Description: G1-designate Sami supplementary set (for use with Latin-6) (IANA name latin-lap) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - Y Description: G1-designate Baltic rim supplementary set Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - Z Description: G1-designate RH half of VISCII-2 (TCVN 5712:1993) (IANA name VISCII) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - [ Description: G1-designate IEC technical character set 1 (IEC P1289) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - \ Description: G1-desgnate RH part of Latin-1 Welsh variant Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - ] Description: G1-designate RH part of Latin-1 Sami variant Source: Status: standard ------------------------------------------------------------------------------- Dequence: ESC - ^ Description: G1-designate RH part of Latin/Hebrew set Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - _ Description: G1-designate RH part of Celtic set (ISO 8859-14:1998) (IANA name ISO-8859-14) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - ` Description: G1-designate Uralic supplementary Cyrillic set Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - a Description: G1-designate Volgaic supplementary Cyrillic set Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - b Description: G1-designate RH part of Latin-9 character set Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - c Description: G1-designate RH part of Latin-1 set with Euro sign Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - d Description: G1-designate RH part of Latin-4 set with Euro sign Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - e Description: G1-designate RH part of Latin-7 set with Euro sign Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - f Description: G1-designate RH part of Romanian character set (SR 14111:1998) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - g Description: G1-designate Ogham character set (IS 434:1997) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - i Description: G1-designate Sami supplementary set no 2 Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - j Description: G1-designate RH part of Latin/Greek set (ISO/IEC 8859-7:2003) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - k Description: G1-designate RH part of Latin/Hebrew set (SI1311:2002) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC - } Description: G1-designate supplementary mosaic set (CCITT T.101) Source: Status: standard ------------------------------------------------------------------------------- Sequence: ESC . {SP-/}* {0-~} Mnemonic: G2D6 Description: G2-designate 96-set See G1D6 for character sets ------------------------------------------------------------------------------- Sequence: ESC / {SP-/}* {0-~} Mnemonic: G3D6 Description: G3-designate 96-set See G1D6 for character sets ------------------------------------------------------------------------------- Section: *** Fp: private control functions *** Sequences: ESC {0-?} ------------------------------------------------------------------------------- Sequence: ESC 1 Description: Graphics proc. option on Source: Status: DEC private; VT100 ------------------------------------------------------------------------------- Sequence: ESC 1 Mnemonic: DECHTS Description: Horizontal tab set Sets horizontal tab stop at active column Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE10 Status: DEC private; DECwriter, LA100 ------------------------------------------------------------------------------- Sequence: ESC 2 Description: Graphics proc. option off Source: Status: DEC private; VT100 ------------------------------------------------------------------------------- Sequence: ESC 2 Mnemonic: DECCAHT Description: Clear all horizontal tabs Source: Status: DEC private; DECwriter ------------------------------------------------------------------------------- Sequence: ESC 3 Mnemonic: DECVTS Description: Vertical tab set Sets vertical tab stop at active line Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE11 Status: DEC private; printers ------------------------------------------------------------------------------- Sequence: ESC 4 Mnemonic: DECCAVT Description: Clear all vertical tabs Source: Status: DEC private; DECwriter ------------------------------------------------------------------------------- Sequence: ESC 5 Mnemonic: DECXMIT Description: Transmit character at cursor Source: Source: Status: DEC private ------------------------------------------------------------------------------- Sequence: ESC 6 Description: Backward index Mnemonic: DECBI /* * VT400 & up. * DECBI - Back Index * This control function moves the cursor backward one column. If the cursor * is at the left margin, then all screen data within the margin moves one * column to the right. The column that shifted past the right margin is lost. * * Format: ESC 6 * Description: * DECBI adds a new column at the left margin with no visual attributes. DECBI * is not affected by the margins. If the cursor is at the left border of the * page when the terminal received DECBI, then the terminal ignores DECBI. */ Source: vttest-990212 vt420.c Status: DEC private; VT400 ------------------------------------------------------------------------------- Sequence: ESC 7 Mnemonic: DECSC Description: Save cursor Saves in terminal memory the: cursor position graphic rendition character set shift state state of wrap flag state of origin mode state of selective erase Source: Status: DEC private; VT100 ------------------------------------------------------------------------------- Sequence: ESC 8 Mnemonic: DECRC Description: Restore Cursor Restores the states described for (DECSC) above. If none of these characteristics were saved: the cursor moves to home position, origin mode is reset, no character attributes are assigned, and the default character set mapping is established. Source: Status: DEC private; VT100 ------------------------------------------------------------------------------- Sequence: ESC 9 Mnemonic: DECFI Description: Forward index /* * VT400 & up. * * DECFI - Forward Index * This control function moves the column forward one column. If the cursor is * at the right margin, then all screen data within the margins moves one * column to the left. The column shifted past the left margin is lost. * * Format: ESC 9 * Description: * DECFI adds a new column at the right margin with no visual attributes. * DECFI is not affected by the margins. If the cursor is at the right border * of the page when the terminal receives DECFI, then the terminal ignores * DECFI. */ Source: vttest-990212 vt420.c Status: DEC private; VT400 ------------------------------------------------------------------------------- Sequence: ESC = Mnemonic: DECKPAM Description: Keypad application mode The auxiliary keypad keys will transmit control sequences. Source: Status: DEC private; VT100 ------------------------------------------------------------------------------- Sequence: ESC > Mnemonic: DECKPNM Description: Keypad numeric mode The auxiliary keypad keys will send ASCII codes corresponding to the characters engraved on their keys. Source: Status: DEC private; VT100 ------------------------------------------------------------------------------- Sequence: ESC Z Mnemonic: DECID Description: Identify terminal This sequence causes the same response as the DA sequence. This sequence will not be supported in future models. Source: Status: DEC private; VT100; clashes with ECMA-48 ------------------------------------------------------------------------------- Section: *** Fs: Standardized single control functions *** Sequences: ESC ` to ESC ~ ------------------------------------------------------------------------------- Sequence: ESC ` Mnemonic: DMI Description: Disable manual input DMI causes the manual input facilities of a device to be disabled. Source: ECMA-48 5th Ed 8.3.34 Status: standard ------------------------------------------------------------------------------- Sequence: ESC a Mnemonic: INT Description: Interrupt INT is used to indicate to the receiving device that the current process is to be interrupted and an agreed procedure is to be initiated. This control function is applicable to either direction of transmission. Source: ECMA-48 5th Ed. 8.3.68 Status: standard ------------------------------------------------------------------------------- Sequence: ESC b Mnemonic: EMI Description: Enable manual input EMI is used to enable the manual input facilities of a device. Source: ECMA-48 5th Ed. 8.3.43 Status: standard ------------------------------------------------------------------------------- Sequence: ESC c Mnemonic: RIS Description: Reset to initial state RIS causes a device to be reset to its initial state, i.e. the state it has after it is made operational. This may imply, if applicable: clear tabulation stops, remove qualified areas, reset graphic rendition, put all character positions into the erased state, move the active presentation position to the first position of the first line in the presentation component, move the active data position to the first character position of the first line in the data component, set the modes into the reset state, etc. Source: ECMA-48 5th Ed. 8.3.105 (DEC) replaces all terminal set-up parameters with NVR values or power-up default values if NVR values do not exist. Source: "VT220 Programmer Pocket Guide" EK-VT220-HR-001, page 33 Status: standard ------------------------------------------------------------------------------- Sequence: ESC d Mnemonic: CMD Description: Coding method delimiter CMD is used as the delimiter of a string of data coded according to Standard ECMA-35 and to switch to a general level of control. The use of CMD is not mandatory if the higher level protocol defines means of delimiting the string, for instance, by specifying the length of the string. Source: ECMA-48 5th Ed 8.3.11 Status: standard ------------------------------------------------------------------------------- Sequence: ESC d Description: Set colour table ESC d Only available if PCVT_SETCOLOR was defined when compiling the kernel, allows to set custom color table for more info, see pcvt_out.c ... Source: pcvt EscapeSequences Status: pcvt private; clashes with ECMA-48 CMD ------------------------------------------------------------------------------- Sequence: ESC l Mnemonic: LMA Description: Lock memory above This is an alternative way to set the scrolling region, and is not valid in backwards compatibility mode. This sequence sets the top margin to the current line, and the bottom margin extends to the last row of the screen. This has the effect of locking the rows above the current line. This sequence will move the cursor to the beginning of the new region. Source: OpenServer 5.0.6 screen(HW) Status: HP private ------------------------------------------------------------------------------- Sequence: ESC m Mnemonic: USR Description: Unlock scrolling region This sequence can be used to remove the scrolling region. The cursor is not moved from its current position. The top, bottom, left and right margins are set to cover the entire screen. Source: OpenServer 5.0.6 screen(HW) Status: HP private ------------------------------------------------------------------------------- Sequence: ESC n Mnemonic: LS2 Description: Locking-shift two LS2 is used for code extension purposes. It causes the meanings of the bit combinations following it in the data stream to be changed. The use of LS2 is defined in Standard ECMA-35. Source: ECMA-48 5th Ed. 8.3.78 Status: standard ------------------------------------------------------------------------------- Sequence: ESC o Mnemonic: LS3 Description: Locking-shift three LS3 is used for code extension purposes. It causes the meanings of the bit combinations following it in the data stream to be changed. The use of LS3 is defined in Standard ECMA-35. Source: ECMA-48 5th Ed. 8.3.80 Status: standard ------------------------------------------------------------------------------- Sequence: ESC { A Ps CR Description: Append to a file Ps is the file name Source: Status: unknown private; clashes with ECMA-48 ------------------------------------------------------------------------------- Sequence: ESC { R Ps CR Descripton: Receive a file Ps is the file name Source: Status: unknown private; clashes with ECMA-48 ------------------------------------------------------------------------------- Sequence: ESC { S Description: Save collected text Source: Status: unknown private; clashes with ECMA-48 ------------------------------------------------------------------------------- Sequence: ESC { T Ps CR Description: Transmit a file Ps is the file name Source: Status: unknown private; clashes with ECMA-48 ------------------------------------------------------------------------------- Sequence: ESC | Mnemonic: LS3R Description: Locking-shift three right LS3R is used for code extension purposes. It causes the meanings of the bit combinations following it in the data stream to be changed. The use of LS3R is defined in Standard ECMA-35. Source: ECMA-48 5th Ed. 8.3.81 Status: standard ------------------------------------------------------------------------------- Sequence: ESC } Mnemonic: LS2R Description: Locking-shift two right LS2R is used for code extension purposes. It causes the meanings of the bit combinations following it in the data stream to be changed. The use of LS2R is defined in Standard ECMA-35. Source: ECMA-48 5th Ed. 8.3.79 ------------------------------------------------------------------------------- Sequence: ESC ~ Mnemonic: LS1R Description: Locking-shift one right LS1R is used for code extension purposes. It causes the meanings of the bit combinations following it in the data stream to be changed. The use of LS1R is defined in Standard ECMA-35. Source: ECMA-48 5th Ed. 8.3.77 Status: standard ------------------------------------------------------------------------------- Section: *** C0 controls (continued) *** ------------------------------------------------------------------------------- Sequence: IS4 (^\) Mnemonic: IS4 Description: Information separator four (FS - file separator) IS4 is used to separate and qualify data logically; its specific meaning has to be defined for each application. If this control function is used in hierarchical order, it may delimit a data item called a file, see 8.2.10. Source: ECMA-48 5th Ed. 8.3.72 Status: standard ------------------------------------------------------------------------------- Sequence: IS3 (^]) Mnemonic: IS3 Description: Information separator three (GS - group separator) IS3 is used to separate and qualify data logically; its specific meaning has to be defined for each application. If this control function is used in hierarchical order, it may delimit a data item called a group, see 8.2.10. Source: ECMA-48 5th Ed. 8.3.71 Status: standard ------------------------------------------------------------------------------- Sequence: IS2 (^^) Mnemonic: IS2 Description: Information separator two (RS - record separator) IS2 is used to separate and qualify data logically; its specific meaning has to be defined for each application. If this control function is used in hierarchical order, it may delimit a data item called a record, see 8.2.10. Source: ECMA-48 5th Ed. 8.3.70 Status: standard ------------------------------------------------------------------------------- Sequence: IS1 (^_) Mnemonic: IS1 Description: Information separator one (US - unit separator) IS1 is used to separate and qualify data logically; its specific meaning has to be defined for each application. If this control function is used in hierarchical order, it may delimit a data item called a unit, see 8.2.10. Source: ECMA-48 5th Ed. 8.3.69 Status: standard ------------------------------------------------------------------------------- Sequence: DEL Mnemonic: DEL Description: Delete The character DELETE (bit combination 07/15, see ISO/IEC 646, clause 6.5), not being a control function in the strict sense, has been removed from the body of the Standard. DEL was originally used to erase or obliterate an erroneous or unwanted character in punched tape. DEL characters may be inserted into, or removed from, a CC-data-element without affecting its information content, but such action may affect the information layout and/or the control of equipment. Source: ECMA-48 5th Ed. F.8.1 Status: standard; obsolete ------------------------------------------------------------------------------- Section: *** C1 controls *** ------------------------------------------------------------------------------- Sequence: BPH or ESC B Mnemonic: BPH Description: Break permitted here BPH is used to indicate a point where a line break may occur when text is formatted. BPH may occur between two graphic characters, either or both of which may be SPACE. Source: ECMA-48 5th Ed 8.3.4 Status: standard ------------------------------------------------------------------------------- Sequence: NBH or ESC C Mnemonic: NBH Description: No break here NBH is used to indicate a point where a line break shall not occur when text is formatted. NBH may occur between two graphic characters either or both of which may be SPACE. Source: ECMA-48 5th Ed. 8.3.85 Status: standard ------------------------------------------------------------------------------- Sequence: IND or ESC D Mnemonic: IND Description: Index The control function INDEX (IND) which was coded as an element of the C1 set (08/04) and the use of which was already declared deprecated in the fourth Edition of this Standard has now been removed. Source: ECMA-48 5th Ed. F.8.2 Status: standard; obsolete ------------------------------------------------------------------------------- Sequence: NEL or ESC E Mnemonic: NEL Description: Next line The effect of NEL depends on the setting of the DEVICE COMPONENT SELECT MODE (DCSM) and on the parameter value of SELECT IMPLICIT MOVEMENT DIRECTION (SIMD). If the DEVICE COMPONENT SELECT MODE (DCSM) is set to PRESENTATION and with a parameter value of SIMD equal to 0, NEL causes the active presentation position to be moved to the line home position of the following line in the presentation component. The line home position is established by the parameter value of SET LINE HOME (SLH). With a parameter value of SIMD equal to 1, NEL causes the active presentation position to be moved to the line limit position of the following line in the presentation component. The line limit position is established by the parameter value of SET LINE LIMIT (SLL). If the DEVICE COMPONENT SELECT MODE (DCSM) is set to DATA and with a parameter value of SIMD equal to 0, NEL causes the active data position to be moved to the line home position of the following line in the data component. The line home position is established by the parameter value of SET LINE HOME (SLH). With a parameter value of SIMD equal to 1, NEL causes the active data position to be moved to the line limit position of the following line in the data component. The line limit position is established by the parameter value of SET LINE LIMIT (SLL). Source: ECMA-48 5th Ed. 8.3.86 Status: standard ------------------------------------------------------------------------------- Sequence: SSA or ESC F Mnemonic: SSA Description: Start of selected area SSA is used to indicate that the active presentation position is the first of a string of character positions in the presentation component, the contents of which are eligible to be transmitted in the form of a data stream or transferred to an auxiliary input/output device. The end of this string is indicated by END OF SELECTED AREA (ESA). The string of characters actually transmitted or transferred depends on the setting of the GUARDED AREA TRANSFER MODE (GATM) and on any guarded areas established by DEFINE AREA QUALIFICATION (DAQ), or by START OF GUARDED AREA (SPA) and END OF GUARDED AREA (EPA). NOTE The control functions for area definition (DAQ, EPA, ESA, SPA, SSA) should not be used within an SRS string or an SDS string. Source: ECMA-48 5th Ed. 8.3.138 Status: standard ------------------------------------------------------------------------------- Sequence: ESA or ESC G Mnemonic: ESA Description: End of selected area ESA is used to indicate that the active presentation position is the last of a string of character positions in the presentation component, the contents of which are eligible to be transmitted in the form of a data stream or transferred to an auxiliary input/output device. The beginning of this string is indicated by START OF SELECTED AREA (SSA). NOTE The control function for area definition (DAQ, EPA, ESA, SPA, SSA) should not be used within an SRS string or an SDS string. Source: ECMA-48 5th Ed. 8.3.47 Status: standard ------------------------------------------------------------------------------- Sequence: HTS or ESC H Mnemonic: HTS Description: Character tabulation set HTS causes a character tabulation stop to be set at the active presentation position in the presentation component. The number of lines affected depends on the setting of the TABULATION STOP MODE (TSM). Source: ECMA-48 5th Ed. 8.3.62 Status: standard ------------------------------------------------------------------------------- Sequence: HTJ or ESC I Mnemonic: HTJ Description: Character tabulation with justification HTJ causes the contents of the active field (the field in the presentation component that contains the active presentation position) to be shifted forward so that it ends at the character position preceding the following character tabulation stop. The active presentation position is moved to that following character tabulation stop. The character positions which precede the beginning of the shifted string are put into the erased state. Source: ECMA-48 5th Ed. 8.3.61 Status: standard ------------------------------------------------------------------------------- Sequence: VTS or ESC J Mnemonic: VTS Description: Line tabulation set VTS causes a line tabulation stop to be set at the active line (the line that contains the active presentation position). Source: ECMA-48 5th Ed. 8.3.162 Status: standard ------------------------------------------------------------------------------- Sequence: PLD or ESC K Mnemonic: PLD Description: Partial line forward PLD causes the active presentation position to be moved in the presentation component to the corresponding position of an imaginary line with a partial offset in the direction of the line progression. This offset should be sufficient either to image following characters as subscripts until the first following occurrence of PARTIAL LINE BACKWARD (PLU) in the data stream, or, if preceding characters were imaged as superscripts, to restore imaging of following characters to the active line (the line that contains the active presentation position). Any interactions between PLD and format effectors other than PLU are not defined by this Standard. Source: ECMA-48 5th Ed. 8.3.92 Status: standard ------------------------------------------------------------------------------- Sequence: PLU or ESC L Mnemonic: PLU Description: Partial line backward PLU causes the active presentation position to be moved in the presentation component to the corresponding position of an imaginary line with a partial offset in the direction opposite to that of the line progression. This offset should be sufficient either to image following characters as superscripts until the first following occurrence of PARTIAL LINE FORWARD (PLD) in the data stream, or, if preceding characters were imaged as subscripts, to restore imaging of following characters to the active line (the line that contains the active presentation position). Any interactions between PLU and format effectors other than PLD are not defined by this Standard. Source: ECMA-48 5th Ed. 8.3.93 Status: standard ------------------------------------------------------------------------------- Sequence: RI or ESC M Mnemonic: RI Description: Reverse line feed If the DEVICE COMPONENT SELECT MODE (DCSM) is set to PRESENTATION, RI causes the active presentation position to be moved in the presentation component to the corresponding character position of the preceding line. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to DATA, RI causes the active data position to be moved in the data component to the corresponding character position of the preceding line. Source: ECMA-48 5th Ed. 8.3.104 In earlier versions of ECMA-48, this was known as "Reverse Index". Source: Paul Williams in comp.terminals <3D19AB54.E35A3B25@uk.thalesgroup.com> Status: standard ------------------------------------------------------------------------------- Sequence: SS2 or ESC N Mnemonic: SS2 Description: Single-shift two SS2 is used for code extension purposes. It causes the meanings of the bit combinations following it in the data stream to be changed. The use of SS2 is defined in Standard ECMA-35. Source: ECMA-48 5th Ed. 8.3.141 Status: standard ------------------------------------------------------------------------------- Sequence: SS3 or ESC O Mnemonic: SS3 Description: Single-shift three SS3 is used for code extension purposes. It causes the meanings of the bit combinations following it in the data stream to be changed. The use of SS3 is defined in Standard ECMA-35. Source: ECMA-48 5th Ed. 8.3.142 Status: standard ------------------------------------------------------------------------------- Sequence: DCS or ESC P Mnemonic: DCS Description: Device control string DCS is used as the opening delimiter of a control string for device control use. The command string following may consist of bit combinations in the range 00/08 to 00/13 and 02/00 to 07/14. The control string is closed by the terminating delimiter STRING TERMINATOR (ST). The command string represents either one or more commands for the receiving device, or one or more status reports from the sending device. The purpose and the format of the command string are specified by the most recent occurrence of IDENTIFY DEVICE CONTROL STRING (IDCS), if any, or depend on the sending and/or the receiving device. Source: ECMA-48 5th Ed 8.3.27 For Digital VTxxx terminals we've extended this as follows: DCS ST The introducer sequence follows exactly the same syntax and symantics as a control sequence except that CSI is replaced by DCS. The is control string specific. Source: Status: standard Source: vttest-990712 vt420.c ------------------------------------------------------------------------------- Sequence: DCS Ps g data ST Description: LA100 graphics string Ps = 0, 1, 5 Dot spacing 7.57 mils (132 dpi) Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE12 Status: DEC private ------------------------------------------------------------------------------- Sequence: DCS Ps p Pr ST Description: ReGIS graphics DCS p or DCS 0 p Re-enter ReGIS at the point where it was last exited. Does not display commands. DCS 1 p Enter ReGIS at command level; ReGIS begins a new command. Does not display commands. DCS x+2 p, x=0 or 1 Like DCS x p, but displays commands on the screen's bottom line. [ Pr is a ReGIS string, which I'm not going to document here just yet. ] Source: Status: DEC private ------------------------------------------------------------------------------- Sequence: DCS P1 ; P2 ; P3 q Ps ST Description: Sixel graphics P1 is the macro parameter. This parameter indicates the pixel aspect ratio used by the application or terminal. The pixel aspect ratio defines the shape of the pixel dots the terminal uses to draw images. For example, a pixel that is twice as high as it is wide has an aspect ratio of 2:1. NOTE: The macro parameter is provided for compatibility with existing Digital software. New applications should set P1 to 0 and use the set raster attributes control, described later in this chapter. P1 Pixel Aspect Ratio (Vertical:Horizontal) Omitted 2:1 0 or 1 5:1 2 3:1 3 or 4 2:1 5 or 6 2:1 7,8, or 9 1:1 P2 selects how the terminal draws the background color. You can 3$ use one of three values. P2 Meaning 0 or 2 Pixel positions specified as 0 are set to the current background color. 1 Pixel positions specified as 0 remain at their current color. P3 is the horizontal grid size parameter. The horizontal grid size is the horizontal distance between two pixel dots. The VT300 ignores this parameter because the horizontal grid size is fixed at 0.0195 cm (0.0075 in). In the data section: Characters from ? to ~ encode a column of pixels one wide and six high. ? is all-zeros, ~ is all-ones and the low-order bit is at the top. ! Pn encodes a repeat count of the following character - causes the next band of sixels to start below the current one at the left margin $ causes the next band to overlay the current one, starting at the left margin. # Pn selects palette entry Pn. # Pn1 ; Pn2 ; Pn3 ; Pn4 ; Pn5 sets palette entry Pn1 to contain the colour (Pn3, Pn4, Pn5) in the colour space represented by Pn1 (1 = HLS, 2 = RGB). Anything else is ignored. Source: Status: DEC private ------------------------------------------------------------------------------- Sequence: DCS v data ST Description: Answerback message entry Data consists of up to 30 characters coded in hex. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 Status: DEC private; LA100 ------------------------------------------------------------------------------- Sequence: DCS Ps1 ; Ps2 ... x Pstr ST Description: DECtalk commands Synchronize P;11x \ Load Dictionary P0;40z name sub ESC \ Answer Phone P;60;10;[number of rings]z \ Hang Up Phone P;60;11z \ Enable Keypad P;60;20z \ Set Timeout P;60;30;[number of seconds]z \ Tone Dial P;60;40z text \ Pulse Dial P;60;41z text \ On-hook Status (response) P;70;0x \ Off-hook status (response) P;70;1z \ Timeout status (response) P;70;2z \ Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 ppG6-G9 Status: DEC private; DECtalk ------------------------------------------------------------------------------- Sequence: DCS 0 ; Ps2 ; Ps3 y FntRcrd ; CommentRecord ST Mnemonic: DECLFF Description: Load font file Ps2 Meaning 0 Print summary sheet 1 Don't print summary sheet Ps3 Meaning 0 Delete all fonts 1 Replace fonts with same ID FntRcrd = data for font set ComentRecord = user supplied text Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE109 Status: DEC private; LA100, LN03 ------------------------------------------------------------------------------- Sequence: DCS Pfn ; Pcn ; Pe ; Pcms ; Pw ; Pt ; Pcmh ; Pcss { Dscs Sxbp1 ; Sxbp2 ; ... ST Mnemonic: DECDLD Description: Down-line load DRCS characters Pfn;Pcn;Pe;Pcms;Pw;Pt are parameter characters, separated by semicolons, that define parameters described in Table 4-9. Valid values for Pcms, Pw, and Pt are: Pcms = 0, 2, 3 or 4; Pw = 0, 1 or 2; and Pt = 0 or 1. Invalid combinations are ignored. A font loaded for 80 columns can be used in 132 columns and a font loaded for 132 columns can be used in 80 columns. { (7/11) is the final character that signals the end of the parameter characters and specifies a DECDLD function. Dscs defines the character set "name" for the soft font, and is used in the SCS (select character set) escape sequence. Sxbp1;Sxbp2;...;Sxbpn are sixel bit patterns (1 to 94 patterns) for characters separated by semicolons. Each sixel bit pattern has the form: S...S/S...S where the first S...S represents the upper columns (sixels) of the DRCS character, the slash (2/5) advances the sixel pattern to the lower columns of the DRCS character, and the second S...S represents the lower columns (sixels) of the DRCS (see Figure 4-6). ST (9/12) is the string terminator. It is an 8-bit control character that you can also express as ESC \ (1/11 5/12) when coding for a 7-bit environment. Table 4-9 DECDLD Parameter Characters Parameter Name Description Pfn Font Number Specifies DRCS font buffer to be loaded. The VT220 has only one DRCS font buffer. This parameter has two valid values: 0 and 1. Pcn Starting Character Number Selects starting character in DRCS font buffer to be loaded. For example: Parameter value 1 specifies a column 2/row 1 character, parameter 94 specifies a column 7/row 14 character (Table 2-1 in Chapter 2). Pe Erase Control Selects which characters are erased before loading according to: 0 = erase all characters in this DRCS set 1 = erase only the characters that are being reloaded 2 = erase all characters in all DRCS sets (this font buffer number and other font buffer numbers) Pcms Character Matrix Size Defines the expected limit of the character matrix size according to: 0 = Device default (7 x 10) 1 = (not used) 2 = 5 x 10 3 = 6 x 10 4 = 7 x 10 5 = 5 x Pcmh 6 = 6 x Pcmh 7 = 7 x Pcmh 8 = 8 x Pcmh 9 = 9 x Pcmh 10 = 10 x Pcmh Pw Width Attribute Specifies the width attribute according to: 0 = Device default (80 Columns) 1 = 80 column 2 = 132 column Pt Text/ Full-Cell Allows software to treat the font as a text font or a full-cell font according to: 0 = Device default (text) 1 = Text 2 = Full-Cell (not used) Full-Cell fonts can individually address all pixels in a cell, while text fonts, in general, may not be able to address all pixels individually. Pcmh Character Matrix Height Sets the character matrix size in conjuction with Pcms. The maximum is device-dependent. Pcss Character-set size 0 = 94 characters 1 = 96 characters [ The sixels have MSB at the bottom and an offset of 077 octal applied ] Source: Status: DEC private; VT200 ------------------------------------------------------------------------------- Sequence: DCS 2000 ; Pterm ; Ptag { Ps ST Mnemonic: WRQCMD Description: Invoke a reflection command Source: Reflection TRM (VT) Version 7.0 Status: WRQ private ------------------------------------------------------------------------------- Sequence: DCS ... | ... ST Mnemonic: DECUDK Description: User-defined keys Source: Paul Williams in mail <3844F164.F2242F18@rdel.co.uk> Status: DEC private ------------------------------------------------------------------------------- Sequence: DCS Ps1 ; Ps2 } IDstring ST Mnemonic: DECATFF Description: Assign to font file Ps1 Meaning 1 Assign by font (default) 2 Assign by font family Ps2 = font number for use with SGR IDstring = name associated with font number Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE108 Status: DEC private; LA100, LN03 ------------------------------------------------------------------------------- Sequence: DCS Ps ! q ... ST Description: Enter GIDIS mode Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE126 Status: DEC private; LCP01 ------------------------------------------------------------------------------- Sequence: DCS Ps ~ IDstring ST Mnemonic: DECDTFF Description: Delete type family or font file Ps1 Meaning 0 IDstring is type family 1 IDstring is font IDstring = 7 letter family name or 16 letter font ID Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE108 Status: DEC private; LN03 ------------------------------------------------------------------------------- Sequence: DCS Pn ! u Ps ST Mnemonic: DECAUPSS Description: Assign user-preferred supplemental set Pn = 0 for 94-character, 1 for 96-character (?) Ps = character set specifier as passed to GZD4 and co. (?) Source: Reflection TRM (VT) Version 7.0 Status: DEC private ------------------------------------------------------------------------------- Sequence: DCS Pn1 ; Pn2 ; Pn3 ! z Ps ST Mnemonic: DECDMAC You can define macros that are interpreted as normal input when emulating the VT420 terminal. Any macro definitions that do not fit into the memory allotted are ignored. An RIS or DECSR clears all macro definitions. A soft reset (DECSTR) has no effect. Pn1: Macro ID number (0-63). If you give a macro an ID number that already exists, the old macro definition is deleted and the new one is used. If exceeds 63, Reflection ignores this control function. Everything but the Csi 5i and Csi 4i control functions are passed to the printer. Pn2: Determine how a new macro definition is treated: If Pn2 is 0 or omitted, an old macro with the same macro ID number is deleted. If Pn2 is 1, DECDMAC deletes all current macro definitions before defining this macro. If is a number that is not 0 or 1, the macro is ignored. Pn3: Select the encoding format for the text of the macro definition: If Pn3 is 0 or omitted, ASCII text is used in the macro. If Pn3 is 1, hex pairs are used (each pair of characters in the macro is the hex value for a single ASCII character. If Pn3 is a number that is not 0 or 1, the macro is ignored. The string of text and control functions to be performed when the macro is invoked. If hex pairs are used, you can also use a repeat introducer (!) in Ps. The repeat introducer lets you repeat any hex pair in the definition string any number of times. Source: Reflection TRM (VT) Version 7.0 Status: DEC private ------------------------------------------------------------------------------- Sequence: DCS ... ! | ... ST Mnemonic: DECRPTUI Description: Report Terminal Unit Information (to Host) Source: Paul Williams in mail <3844F164.F2242F18@rdel.co.uk> Status: DEC private ------------------------------------------------------------------------------- Sequence: DCS Pn ! ~ Ps ST Mnemonic: DECCKSR Description: Checksum response This is sent by the terminal in response to DECRQCRA or DSR ? 63. Ps is a four-digit hexadecimal checksum. Pn is the identifier given in the checksum request. Source: Reflection TRM (VT) Version 7.0 Status: DEC private; VT400 ------------------------------------------------------------------------------- Sequence: DCS ... " { ... ST Mnemonic: DECFSR Description: Font Status Report Source: Paul Williams in mail <3844F164.F2242F18@rdel.co.uk> Status: DEC private ------------------------------------------------------------------------------- Sequence: DCS 1 $ p Ps ST Mnemonic: DECRSTS Description: Restore terminal state Sets terminal state. Ps should be a string returned by DECTSR. Source: Reflection TRM (VT) Version 7.0 Status: DEC private; VT300 ------------------------------------------------------------------------------- Sequence: DCS 2 $ p Ps ST Mnemonic: DECRSTS Description: Restore color table Sets the color table. Ps is as specified under DECCTR. Source: Reflection TRM (VT) Version 7.0 Status: DEC private; VT300 ------------------------------------------------------------------------------- Sequence: DCS $ q Ps ST Mnemonic: DECRQSS Description: Control function settings request This sequence is sent by the host to request the terminal to report the setting of a control function. The control function in question is specified by Ps, which is the intermediate (if any) and final bytes of the function's control sequence. The following values of Ps are supported: m => SGR r => DECSTBM $ | => DECSCPP $ } => DECSASD $ ~ => DECSSDT " p => DECSCL " q => DECSCA The terminal responds with DECRPSS. Only one control function may be queried at a time. Source: Reflection TRM (VT) Version 7.0 Status: DEC private ------------------------------------------------------------------------------- Sequence: DCS Pn $ r Ps ST Mnemonic: DECRPSS Description: Control function settings response This sequence is returned by the terminal in response to DECRQSS. Pn is 0 if the request was invalid (e.g. for a function that can't be reported) or 1 if it was successful. Ps is the complete control sequence (minus the leading CSI) necessary to set the state of the requested control function. Source: Reflection TRM (VT) Version 7.0 Status: DEC private ------------------------------------------------------------------------------- Sequence: DCS 1 $ s Ps ST Mnemonic: DECTSR Description: Terminal state report This is sent in response to a DECRQTSR, and contains an opaque representation of the terminal's state. Source: Reflection TRM (VT) Version 7.0 Status: DEC private; VT300 ------------------------------------------------------------------------------- Sequence: DCS 2 $ s Ps ST Mnemonic: DECCTR Description: Color table report This is sent by the terminal in response to DECRQTSR. Ps contains the terminal's colour table. The palette entries are separated by slashes, and each one containe (semicolon-separated): Color ??? Colour space (1 => HLS, 2 => RGB) Components (H;L;S or R;G;B) Source: Reflection TRM (VT) Version 7.0 Status: DEC private ------------------------------------------------------------------------------- Sequence: DCS Ps $ t Ps ST Mnemonic: DECRSPS Description: Restore presentation state Ps is 1 to restore cursor information and 2 to restore tab stops. Ps is in the format returned by DECCIR or DECTABSR respectively. Source: Reflection TRM (VT) Version 7.0 Status: DEC private ------------------------------------------------------------------------------- Sequence: DCS 1 $ u Pr ; Pc ; Pp ; Srend ; Satt ; Sflag ; Pgl ; Pgr ; Scss ; Sdesig ST Mnemonic: DECCIR Description: Cursor information report See DECRQPSR for request. * Response DCS 1 $ u Pr; Pc; Pp; Srend; Satt; Sflag; Pgl; Pgr; Scss; Sdesig ST * where Pr is cursor row (counted from origin as 1,1) * Pc is cursor column * Pp is 1, video page, a constant for VT320s * Srend = 40h + 8 (rev video on) + 4 (blinking on) * + 2 (underline on) + 1 (bold on) * Satt = 40h + 1 (selective erase on) * Sflag = 40h + 8 (autowrap pending) + 4 (SS3 pending) * + 2 (SS2 pending) + 1 (Origin mode on) * Pgl = char set in GL (0 = G0, 1 = G1, 2 = G2, 3 = G3) * Pgr = char set in GR (same as for Pgl) * Scss = 40h + 8 (G3 is 96 char) + 4 (G2 is 96 char) * + 2 (G1 is 96 char) + 1 (G0 is 96 char) * Sdesig is string of character idents for sets G0...G3, with * no separators between set idents. * If NRCs are active the set idents (all 94 byte types) are: * British A Italian Y * Dutch 4 Norwegian/Danish ' (hex 60) or E or 6 * Finnish 5 or C Portuguese %6 or g or L * French R or f Spanish Z * French Canadian 9 or Q Swedish 7 or H * German K Swiss = * Hebrew %= * (MS Kermit uses any choice when there are multiple) */ Source: vttest-990712 vt420.c Status: DEC private ------------------------------------------------------------------------------- Sequence: DCS 2 $ u Ps ST Mnemonic: DECTABSR Description: Tab stop report Sent by the terminal is response to a DECRQPSR. Ps is a slash-separated list of tab stops. Source: Reflection TRM (VT) Version 7.0 Status: DEC private ------------------------------------------------------------------------------- Sequence: DCS Pc $ w Ky1 / Std1 / Stu1 ; ... ; Kyn / Stnd / Stnu ST Mnemonic: DECLKD (also DECLBD) Description: Locator key definition Pc - Clear parameter 0 (or omitted) Clear all LKDs before loading new values. All button definition strings are empty (not the default). 1 Clear old definition only for keys that are redefined. Kyn / Stnd / Stnu - Key selection code n, slash delimeter, and string parameter n for down and up key transitions. Kyn is a single ASCII digit, and Std/Stu is a series of ASCII hex pairs. If Std or Stu is omitted, the corresponding button string will be empty. Key definition strings are delimited with a semicolon (";"). Source: Status: DEC private; VT340? ------------------------------------------------------------------------------- Sequence: DCS Pn . y Ps ST Description: xwsh device control Device control string. Ps is a single ansi string (character codes in the range of octal 040 to 0176 inclusive). The following defines what the string is used for. 1 Set the window title. 3 Set the icon title. 4 Set the text color by string. See the -C command for a description of how the string will be interpreted. 5 Set the page color by string. 6 Set the selection text color by string. 7 Set the selection page color by string. 8 Set the cursor text color by string. 9 Set the cursor page color by string. 10 Set the half intensity color by string. 11 Set the bold intensity color by string. 101 Bind the string to the key named by Pn+1. The key numbers are the same as the numbers defined in . The string can contain C style backslashed characters to get control characters into the string. When the key is pressed the value will be sent to the process that xwsh is managing. This capability is turned off by default for security. Turn it on with the "-bindkey2dcs" command line option or with the "bindKey2DCS" resource. 103 Bind the string to the key named by Pn+1. The key numbers are the same as the numbers defined in . When the key is pressed the value will be used to invoke a function internal to xwsh. This capability is turned off by default for security. Turn it on with the "-bindkey2dcs" command line option or with the "bindKey2DCS" resource. Source: IRIX 6.5.5 xwsh(1G) Status: SGI private ------------------------------------------------------------------------------- Sequence: PU1 or ESC Q Mnemonic: PU1 Description: Private use one PU1 is reserved for a function without standardized meaning for private use as required, subject to the prior agreement between the sender and the recipient of the data. Source: ECMA-48 5th Ed. 8.3.100 Status: standard ------------------------------------------------------------------------------- Sequence: PU2 or ESC R Mnemonic: PU2 Description: Private use two PU2 is reserved for a function without standardized meaning for private use as required, subject to the prior agreement between the sender and the recipient of the data. Source: ECMA-48 5th Ed. 8.3.101 Status: standard ------------------------------------------------------------------------------- Sequence: STS or ESC S Mnemonic: STS Description: Set transmit state STS is used to establish the transmit state in the receiving device. In this state the transmission of data from the device is possible. The actual initiation of transmission of data is performed by a data communication or input/output interface control procedure which is outside the scope of this Standard. The transmit state is established either by STS appearing in the received data stream or by the operation of an appropriate key on a keyboard. Source: ECMA-48 5th Ed. 8.3.145 Status: standard ------------------------------------------------------------------------------- Sequence: CCH or ESC T Mnemonic: CCH Description: Cancel character CCH is used to indicate that both the preceding graphic character in the data stream, (represented by one or more bit combinations) including SPACE, and the control function CCH itself are to be ignored for further interpretation of the data stream. If the character preceding CCH in the data stream is a control function (represented by one or more bit combinations), the effect of CCH is not defined by this Standard. Source: ECMA-48 5th Ed 8.3.8 Status: standard ------------------------------------------------------------------------------- Sequence: MW or ESC U Mnemonic: MW Description: Message waiting MW is used to set a message waiting indicator in the receiving device. An appropriate acknowledgement to the receipt of MW may be given by using DEVICE STATUS REPORT (DSR). Source: ECMA-48 5th Ed. 8.3.83 Status: standard ------------------------------------------------------------------------------- Sequence: SPA or ESC V Mnemonic: SPA Description: Start of guarded area SPA is used to indicate that the active presentation position is the first of a string of character positions in the presentation component, the contents of which are protected against manual alteration, are guarded against transmission or transfer, depending on the setting of the GUARDED AREA TRANSFER MODE (GATM) and may be protected against erasure, depending on the setting of the ERASURE MODE (ERM). The end of this string is indicated by END OF GUARDED AREA (EPA). NOTE The control functions for area definition (DAQ, EPA, ESA, SPA, SSA) should not be used within an SRS string or an SDS string. Source: ECMA-48 5th Ed. 8.3.129 Status: standard ------------------------------------------------------------------------------- Sequence: EPA or ESC W Mnemonic: EPA Description: End of guarded area EPA is used to indicate that the active presentation position is the last of a string of character positions in the presentation component, the contents of which are protected against manual alteration, are guarded against transmission or transfer, depending on the setting of the GUARDED AREA TRANSFER MODE (GATM), and may be protected against erasure, depending on the setting of the ERASURE MODE (ERM). The beginning of this string is indicated by START OF GUARDED AREA (SPA). NOTE The control functions for area definition (DAQ, EPA, ESA, SPA, SSA) should not be used within an SRS string or an SDS string. Source: ECMA-48 5th Ed. 8.3.46 Status: standard ------------------------------------------------------------------------------- Sequence: SOS or ESC X Mnemonic: SOS Description: Start of string SOS is used as the opening delimiter of a control string. The character string following may consist of any bit combination, except those representing SOS or STRING TERMINATOR (ST). The control string is closed by the terminating delimiter STRING TERMINATOR (ST). The interpretation of the character string depends on the application. Source: ECMA-48 5th Ed. 8.3.128 Status: standard ------------------------------------------------------------------------------- Sequence: SCI or ESC Z Mnemonic: SCI Description: Single character introducer SCI and the bit combination following it are used to represent a control function or a graphic character. The bit combination following SCI must be from 00/08 to 00/13 or 02/00 to 07/14. The use of SCI is reserved for future standardization. Source: ECMA-48 5th Ed. 8.3.109 Status: standard ------------------------------------------------------------------------------- Sequence: CSI or ESC [ Mnemonic: CSI Description: Control sequence introducer CSI is used as the first character of a control sequence. Source: ECMA-48 5th Ed 8.3.16 Status: standard ------------------------------------------------------------------------------- Sequence: CSI Pn @ Mnemonic: ICH Description: Insert character Parameter default value: Pn = 1 If the DEVICE COMPONENT SELECT MODE (DCSM) is set to PRESENTATION, ICH is used to prepare the insertion of n characters, by putting into the erased state the active presentation position and, depending on the setting of the CHARACTER EDITING MODE (HEM), the n-1 preceding or following character positions in the presentation component, where n equals the value of Pn. The previous contents of the active presentation position and an adjacent string of character positions are shifted away from the active presentation position. The contents of n character positions at the other end of the shifted part are removed. The active presentation position is moved to the line home position in the active line. The line home position is established by the parameter value of SET LINE HOME (SLH). The extent of the shifted part is established by SELECT EDITING EXTENT (SEE). The effect of ICH on the start or end of a selected area, the start or end of a qualified area, or a tabulation stop in the shifted part, is not defined by this Standard. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to DATA, ICH is used to prepare the insertion of n characters, by putting into the erased state the active data position and, depending on the setting of the CHARACTER EDITING MODE (HEM), the n-1 preceding or following character positions in the data component, where n equals the value of Pn. The previous contents of the active data position and an adjacent string of character positions are shifted away from the active data position. The contents of n character positions at the other end of the shifted part are removed. The active data position is moved to the line home position in the active line. The line home position is established by the parameter value of SET LINE HOME (SLH). Source: ECMA-48 5th Ed. 8.3.64 Status: standard ------------------------------------------------------------------------------- Sequence: CSI Pn A Mnemonic: CUU Description: Cursor up Parameter default value: Pn = 1 CUU causes the active presentation position to be moved upwards in the presentation component by n line positions if the character path is horizontal, or by n character positions if the character path is vertical, where n equals the value of Pn. Source: ECMA-48 5th Ed 8.3.22 Status: standard ------------------------------------------------------------------------------- Sequence: CSI = Pc A Mnemonic: SBC Description: set border color Set the overscan (border) to the color specified. 0 => black 8 => grey 1 => blue 9 => light blue 2 => green 10 => light green 3 => cyan 11 => light cyan 4 => red 12 => light red 5 => magenta 13 => light magenta 6 => brown 14 => yellow 7 => white 15 => light white Source: OpenServer 5.0.6 screen(HW) Status: SCO private ------------------------------------------------------------------------------- Sequence: CSI Pn B Mnemonic: CUD Description: Cursor down Parameter default value: Pn = 1 CUD causes the active presentation position to be moved downwards in the presentation component by n line positions if the character path is horizontal, or by n character positions if the character path is vertical, where n equals the value of Pn. Source: ECMA-48 5th Ed 8.3.19 Status: standard ------------------------------------------------------------------------------- Sequence: CSI = Pn1 ; Pn2 B Mnemonic: SBP Description: Set bell parameters Sets bell parameters (where Pn1 is the pitch in Hz and Pn2 is the duration in milliseconds) Source: UnixWare 7 display(7) Set the frequency (Pn1) and duration (Pn2) of the audible bell. The frequency is in units of 840.3 nanoseconds, and the duration is in units of 100 milliseconds. Source: OpenServer 5.0.6 screen(HW) Status: iBCS2 private ------------------------------------------------------------------------------- Sequence: CSI Pn C Mnemonic: CUF Description: Cursor right Parameter default value: Pn = 1 CUF causes the active presentation position to be moved rightwards in the presentation component by n character positions if the character path is horizontal, or by n line positions if the character path is vertical, where n equals the value of Pn. Source: ECMA-48 5th Ed 8.3.20 Status: standard ------------------------------