home *** CD-ROM | disk | FTP | other *** search
/ synchro.net / synchro.net.tar / synchro.net / main / TEXT / all-esc.txt < prev    next >
Encoding:
Text File  |  2003-03-05  |  341.7 KB  |  9,330 lines

  1. # $Id: all-escapes.txt,v 1.25 2003/01/15 16:00:23 ben Exp $
  2.  
  3. # This file is hoped to document all the escape sequences supported by
  4. # terminals that are vaguely compliant with ECMA-48 and friends.
  5.  
  6. # Changes should be submitted to <bjh21@cam.ac.uk>
  7.  
  8. # It includes everything from:
  9. # <URL:http://www.cs.utk.edu/~shuford/terminal/dec_vt220_codes.txt> 1999-05-16
  10. # <URL:http://www.cs.utk.edu/~shuford/terminal/vt100_reference_card.txt>
  11. #                                    1993-02-01
  12. # <URL:http://www.cs.utk.edu/~shuford/terminal/vt100_codes_news.txt>1998-09-18
  13. # <URL:http://www.cs.utk.edu/~shuford/terminal/ansi_dec_controls_news.txt>
  14. #                                    1999-05-16
  15. # <URL:http://www.cs.utk.edu/~shuford/terminal/xterm_controls.txt>  1999-10-12
  16. # <URL:http://www.cs.utk.edu/~shuford/terminal/color_control_news.txt>
  17. #                                                                   1999-11-13
  18. # ECMA-48 5th Ed. control functions (section 8.3, annex F)
  19. # Linux console_codes(4)
  20. # SunOS 5.7 wscons(7D)
  21. # UnixWare 7 display(7)
  22. # IRIX 6.5.5 xwsh(1G)
  23. # VT220 Reference manual (<URL:http://vt100.net/docs/vt220-rm/>, EK-VT220-RM)
  24. # <URL:http://vt100.net/ctrlseq_dec.html>                           1999-11-24
  25. # <URL:http://vt100.net/ctrlfunc_dec.html>                          1999-12-01
  26. # <URL:http://www.wyse.com/service/support/kbase/SEQwt.asp?Q=9> (wy75)
  27. #                                                                   1999-07-19
  28. # <URL:ftp://ftp.cs.cmu.edu/afs/cs/user/ralf/pub/rbcom346.zip#TERM-EMU.DOC>
  29. #                                                                   1999-09-13
  30. # <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-1.htm>                1999-04-19
  31. # <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-2.htm>                2001-05-10
  32. # <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>                  1999-04-19
  33. # <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-2.htm>                  1999-04-19
  34. # <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>            2002-01-24
  35. # iBCS2 description in ESR's termtypes.master version 10.2.7
  36. # Reflection Terminal Reference Manual for ADDS, ANSI, DG, VT, WYSE, and
  37. #       Unisys Hosts; Version 7.0; September 1998; published by WRQ Inc.
  38. # DEC Terminals and Printers Handbook 1985 EB 26291-56 (Appendices C, E, and G)
  39.  
  40. -------------------------------------------------------------------------------
  41. Section: *** C0 controls ***
  42. -------------------------------------------------------------------------------
  43. Sequence: NUL (^@)
  44. Mnemonic: NUL
  45. Description: Null
  46.  
  47. NUL is used for media-fill or time-fill. NUL characters may be
  48. inserted into, or removed from, a data stream without affecting the
  49. information content of that stream, but such action may affect the
  50. information layout and/or the control of equipment.
  51.  
  52. Source: ECMA-48 5th Ed. 8.3.98
  53. Status: standard
  54. -------------------------------------------------------------------------------
  55. Sequence: SOH (^A)
  56. Mnemonic: SOH
  57. Description: Start of heading
  58.  
  59. SOH is used to indicate the beginning of a heading.
  60.  
  61. The use of SOH is defined in ISO 1745.
  62.  
  63. Source: ECMA-48 5th Ed. 8.3.127
  64. Status: standard
  65.  
  66. Also used as a prefix for "UnixWindows" commands.
  67.  
  68. Source: <URL:ftp://ftp.cs.cmu.edu/afs/cs/user/ralf/pub/rbcom346.zip>
  69. Status: ??? private
  70. -------------------------------------------------------------------------------
  71. Sequence: STX (^B)
  72. Mnemonic: STX
  73. Description: Start of text
  74.  
  75. STX is used to indicate the beginning of a text and the end of a
  76. heading.
  77.  
  78. The use of STX is defined in ISO 1745.
  79.  
  80. Source: ECMA-48 5th Ed. 8.3.146
  81. Status: standard
  82. -------------------------------------------------------------------------------
  83. Sequence: ETX (^C)
  84. Mnemonic: ETX
  85. Description: End of text
  86.  
  87. ETX is used to indicate the end of a text.
  88.  
  89. The use of ETX is defined in ISO 1745.
  90.  
  91. Source: ECMA-48 5th Ed. 8.3.50
  92. Status: standard
  93. -------------------------------------------------------------------------------
  94. Sequence: EOT (^D)
  95. Mnemonic: EOT
  96. Description: End of transmission
  97.  
  98. EOT is used to indicate the conclusion of the transmission of one or
  99. more texts.
  100.  
  101. The use of EOT is defined in ISO 1745.
  102.  
  103. Source: ECMA-48 5th Ed. 8.3.45
  104. Status: standard
  105. -------------------------------------------------------------------------------
  106. Sequence: ENQ (^E)
  107. Mnemonic: ENQ
  108. Description: Enquiry
  109.  
  110. ENQ is transmitted by a sender as a request for a response from a
  111. receiver.
  112.  
  113. The use of ENQ is defined in ISO 1745.
  114.  
  115. Source: ECMA-48 5th Ed. 8.3.44
  116. Status: standard
  117. -------------------------------------------------------------------------------
  118. Sequence: ACK (^F)
  119. Mnemonic: ACK
  120. Description: Acknowledge
  121.  
  122. ACK is transmitted by a receiver as an affirmative response to the sender.
  123.  
  124. The use of ACK is defined in ISO 1745.
  125.  
  126. Source: ECMA-48 5th Ed 8.3.1
  127. Status: standard
  128. -------------------------------------------------------------------------------
  129. Sequence: BEL (^G)
  130. Mnemonic: BEL
  131. Description: Bell
  132.  
  133. BEL is used when there is a need to call for attention; it may control
  134. alarm or attention devices.
  135.  
  136. Source: ECMA-48 5th Ed 8.3.3
  137. Status: standard
  138. -------------------------------------------------------------------------------
  139. Sequence: BS (^H)
  140. Mnemonic: BS
  141. Description: Back space
  142.  
  143. BS causes the active data position to be moved one character position
  144. in the data component in the direction opposite to that of the
  145. implicit movement.  The direction of the implicit movement depends on
  146. the parameter value of SELECT IMPLICIT MOVEMENT DIRECTION (SIMD).
  147.  
  148. Source: ECMA-48 5th Ed 8.3.5
  149.  
  150.        BS  (0x08,  ^H)  backspaces  one  column (but not past the
  151.               beginning of the line);
  152.  
  153. Source: Linux console_codes(4)
  154. Status: standard
  155. -------------------------------------------------------------------------------
  156. Sequence: HT (^I)
  157. Mnemonic: HT
  158. Description: Character tabulation
  159.  
  160. HT causes the active presentation position to be moved to the
  161. following character tabulation stop in the presentation component.
  162.  
  163. In addition, if that following character tabulation stop has been set
  164. by TABULATION ALIGN CENTRE (TAC), TABULATION ALIGN LEADING EDGE
  165. (TALE), TABULATION ALIGN TRAILING EDGE (TATE) or TABULATION CENTRED ON
  166. CHARACTER (TCC), HT indicates the beginning of a string of text which
  167. is to be positioned within a line according to the properties of that
  168. tabulation stop.  The end of the string is indicated by the next
  169. occurrence of HT or CARRIAGE RETURN (CR) or NEXT LINE (NEL) in the
  170. data stream.
  171.  
  172. Source: ECMA-48 5th Ed. 8.3.60
  173.  
  174.        HT (0x09, ^I) goes to the next tab stop or to the  end  of
  175.               the line if there is no earlier tab stop;
  176. Source: Linux console_codes(4)
  177. Status: standard
  178. -------------------------------------------------------------------------------
  179. Sequence: LF (^J)
  180. Mnemonic: LF
  181. Description: Line feed
  182.  
  183. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to PRESENTATION, LF
  184. causes the active presentation position to be moved to the
  185. corresponding character position of the following line in the
  186. presentation component.
  187.  
  188. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to DATA, LF causes
  189. the active data position to be moved to the corresponding character
  190. position of the following line in the data component.
  191.  
  192. Source: ECMA-48 5th Ed. 8.3.74
  193. Status: standard
  194. -------------------------------------------------------------------------------
  195. Sequence: VT (^K)
  196. Mnemonic: VT
  197. Description: Line tabulation
  198.  
  199. VT causes the active presentation position to be moved in the
  200. presentation component to the corresponding character position on the
  201. line at which the following line tabulation stop is set.
  202.  
  203. Source: ECMA-48 5th Ed. 8.3.161
  204. Status: standard
  205. -------------------------------------------------------------------------------
  206. Sequence: VT (^K)
  207. Description: Reverse Line-feed
  208.  
  209. The cursor moves up one line, remaining at the same character position
  210. on the line.  If the cursor is already at the top line, nothing
  211. happens.
  212.  
  213. Source: SunOS 5.7 wscons(7D)
  214. Status: Sun private; clashes with ECMA-48 VT
  215. -------------------------------------------------------------------------------
  216. Sequence: FF (^L)
  217. Mnemonic: FF
  218. Description: Form feed
  219.  
  220. FF causes the active presentation position to be moved to the
  221. corresponding character position of the line at the page home position
  222. of the next form or page in the presentation component. The page home
  223. position is established by the parameter value of SET PAGE HOME (SPH).
  224.  
  225. Source: ECMA-48 5th Ed. 8.3.51
  226. Status: standard
  227. -------------------------------------------------------------------------------
  228. Sequence: CR (^M)
  229. Mnemonic: CR
  230. Description: Carriage return
  231.  
  232. The effect of CR depends on the setting of the DEVICE COMPONENT SELECT
  233. MODE (DCSM) and on the parameter value of SELECT IMPLICIT MOVEMENT
  234. DIRECTION (SIMD).
  235.  
  236. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to PRESENTATION and
  237. with the parameter value of SIMD equal to 0, CR causes the active
  238. presentation position to be moved to the line home position of the
  239. same line in the presentation component. The line home position is
  240. established by the parameter value of SET LINE HOME (SLH).
  241.  
  242. With a parameter value of SIMD equal to 1, CR causes the active
  243. presentation position to be moved to the line limit position of the
  244. same line in the presentation component. The line limit position is
  245. established by the parameter value of SET LINE LIMIT (SLL).
  246.  
  247. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to DATA and with a
  248. parameter value of SIMD equal to 0, CR causes the active data position
  249. to be moved to the line home position of the same line in the data
  250. component. The line home position is established by the parameter
  251. value of SET LINE HOME (SLH).
  252.  
  253. With a parameter value of SIMD equal to 1, CR causes the active data
  254. position to be moved to the line limit position of the same line in
  255. the data component. The line limit position is established by the
  256. parameter value of SET LINE LIMIT (SLL).
  257.  
  258. Source: ECMA-48 5th Ed 8.3.15
  259. Status: standard
  260. -------------------------------------------------------------------------------
  261. Sequence: LS1 (^N)
  262. Mnemonic: LS1
  263. Description: Locking-shift one
  264.  
  265. LS1 is used for code extension purposes. It causes the meanings of the
  266. bit combinations following it in the data stream to be changed.
  267.  
  268. The use of LS1 is defined in Standard ECMA-35.
  269.  
  270. NOTE
  271. LS1 is used in 8-bit environments only; in 7-bit environments
  272. SHIFT-OUT (SO) is used instead.
  273.  
  274. Source: ECMA-48 8.3.76
  275. Status: standard
  276. -------------------------------------------------------------------------------
  277. Sequence: SO (^N)
  278. Mnemonic: SO
  279. Description: Shift-out
  280.  
  281. SO is used for code extension purposes. It causes the meanings of the
  282. bit combinations following it in the data stream to be changed.
  283.  
  284. The use of SO is defined in Standard ECMA-35.
  285.  
  286. NOTE
  287. SO is used in 7-bit environments only; in 8-bit environments
  288. LOCKING-SHIFT ONE (LS1) is used instead.
  289.  
  290. Source: ECMA-48 5th Ed. 8.3.126
  291. Status: standard
  292. -------------------------------------------------------------------------------
  293. Sequence: LS0 (^O)
  294. Mnemonic: LS0
  295. Description: Locking-shift zero
  296.  
  297. LS0 is used for code extension purposes. It causes the meanings of the
  298. bit combinations following it in the data stream to be changed.
  299.  
  300. The use of LS0 is defined in Standard ECMA-35.
  301.  
  302. NOTE
  303. LS0 is used in 8-bit environments only; in 7-bit environments SHIFT-IN
  304. (SI) is used instead.
  305.  
  306. Source: ECMA-48 5th Ed. 8.3.75
  307. Status: standard
  308. -------------------------------------------------------------------------------
  309. Sequence: SI (^O)
  310. Mnmonic: SI
  311. Description: Shift-in
  312.  
  313. SI is used for code extension purposes. It causes the meanings of the
  314. bit combinations following it in the data stream to be changed.
  315.  
  316. The use of SI is defined in Standard ECMA-35.
  317.  
  318. NOTE
  319. SI is used in 7-bit environments only; in 8-bit environments
  320. LOCKING-SHIFT ZERO (LS0) is used instead.
  321.  
  322. Source: ECMA-35 5th Ed. 8.3.119
  323. Status: standard
  324. -------------------------------------------------------------------------------
  325. Sequence: DLE (^P)
  326. Mnemonic: DLE
  327. Description: Data link escape
  328.  
  329. DLE is used exclusively to provide supplementary transmission control
  330. functions.
  331.  
  332. The use of DLE is defined in ISO 1745.
  333.  
  334. Source: ECMA-48 8.3.33
  335. Status: standard
  336. -------------------------------------------------------------------------------
  337. Sequence: DC1 (^Q)
  338. Mnemonic: DC1
  339. Description: Device control one
  340.  
  341. DC1 is primarily intended for turning on or starting an ancillary
  342. device. If it is not required for this purpose, it may be used to
  343. restore a device to the basic mode of operation (see also DC2 and
  344. DC3), or any other device control function not provided by other DCs.
  345.  
  346. NOTE
  347. When used for data flow control, DC1 is sometimes called "X-ON".
  348.  
  349. Source: ECMA-48 5th Ed 8.3.28
  350. Status: standard
  351. -------------------------------------------------------------------------------
  352. Sequence: DC2 (^R)
  353. Mnemonic: DC2
  354. Description: Device control two
  355.  
  356. DC2 is primarily intended for turning on or starting an ancillary
  357. device. If it is not required for this purpose, it may be used to set
  358. a device to a special mode of operation (in which case DC1 is used to
  359. restore the device to the basic mode), or for any other device control
  360. function not provided by other DCs.
  361.  
  362. Source: ECMA-48 5th Ed 8.3.29
  363. Status: standard
  364. -------------------------------------------------------------------------------
  365. Sequence: DC3 (^S)
  366. Mnemonic: DC3
  367. Description: Device control three
  368.  
  369. DC3 is primarily intended for turning off or stopping an ancillary
  370. device. This function may be a secondary level stop, for example wait,
  371. pause, stand-by or halt (in which case DC1 is used to restore normal
  372. operation). If it is not required for this purpose, it may be used for
  373. any other device control function not provided by other DCs.
  374.  
  375. NOTE
  376. When used for data flow control, DC3 is sometimes called "X-OFF".
  377.  
  378. Source: ECMA-48 8.3.30
  379. Status: standard
  380. -------------------------------------------------------------------------------
  381. Sequence: DC4 (^T)
  382. Mnemonic: DC4
  383. Description: Device control four
  384.  
  385. DC4 is primarily intended for turning off, stopping or interrupting an
  386. ancillary device. If it is not required for this purpose, it may be
  387. used for any other device control function not provided by other DCs.
  388.  
  389. Source: ECMA-48 8.3.31
  390. Status: standard
  391. -------------------------------------------------------------------------------
  392. Sequence: DC4 (^T)
  393.  
  394. Used by the TDSMP (Terminal Device Session Management Protocol) on DEC
  395. VT4xx terminals.  The protocol is patented (US 4791566 & 5165020).
  396. Commands seems to end with ST.
  397.  
  398. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/dec_vt220_codes.txt>
  399.  [paraphrased]
  400. Status: DEC private
  401. -------------------------------------------------------------------------------
  402. Sequence: NAK (^U)
  403. Mnemonic: NAK
  404. Description: Negative acknowledge
  405.  
  406. NAK is transmitted by a receiver as a negative response to the sender.
  407.  
  408. The use of NAK is defined in ISO 1745.
  409.  
  410. Source: ECMA-48 5th Ed. 8.3.84
  411. -------------------------------------------------------------------------------
  412. Sequence: SYN (^V)
  413. Mnemonic: SYN
  414. Description: Synchronous idle
  415.  
  416. SYN is used by a synchronous transmission system in the absence of any
  417. other character (idle condition) to provide a signal from which
  418. synchronism may be achieved or retained between data terminal
  419. equipment.
  420.  
  421. The use of SYN is defined in ISO 1745.
  422.  
  423. Source: ECMA-48 5th Ed. 8.3.150
  424. Status: standard
  425.  
  426. Also used as an introducer for AVATAR commands
  427.  
  428. Source: <URL:ftp://ftp.cs.cmu.edu/afs/cs/user/ralf/pub/rbcom346.zip>
  429. Status: ??? private
  430. -------------------------------------------------------------------------------
  431. Sequence: ETB (^W)
  432. Mnemonic: ETB
  433. Description: End of transmission block
  434.  
  435. ETB is used to indicate the end of a block of data where the data are
  436. divided into such blocks for transmission purposes.
  437.  
  438. The use of ETB is defined in ISO 1745.
  439.  
  440. Source: ECMA-48 5th Ed. 8.3.49
  441. Status: standard
  442. -------------------------------------------------------------------------------
  443. Sequence: CAN (^X)
  444. Mnemonic: CAN
  445. Description: Cancel
  446.  
  447. CAN is used to indicate that the data preceding it in the data stream
  448. is in error. As a result, this data shall be ignored. The specific
  449. meaning of this control function shall be defined for each application
  450. and/or between sender and recipient.
  451.  
  452. Source: ECMA-48 5th Ed 8.3.6
  453. Status: standard
  454. -------------------------------------------------------------------------------
  455. Sequence: EM (^Y)
  456. Mnemonic: EM
  457. Description: End of medium
  458.  
  459. EM is used to identify the physical end of a medium, or the end of the
  460. used portion of a medium, or the end of the wanted portion of data
  461. recorded on a medium.
  462.  
  463. Source: ECMA-48 5th Ed. 8.3.42
  464. Status: standard
  465. -------------------------------------------------------------------------------
  466. Sequence: SUB (^Z)
  467. Mnemonic: SUB
  468. Description: Substitute
  469.  
  470. SUB is used in the place of a character that has been found to be
  471. invalid or in error. SUB is intended to be introduced by automatic
  472. means.
  473.  
  474. Source: ECMA-48 5th Ed. 8.3.148
  475. Status: standard
  476. -------------------------------------------------------------------------------
  477. Sequence: ESC (^[)
  478. Mnemonic: ESC
  479. Description: Escape
  480.  
  481. ESCAPE is a control character used for code extension purposes. It
  482. causes the meaning of a limited number of the bit combinations
  483. following it in a CC-data-element to be changed. These bit
  484. combinations, together with the preceding bit combination that
  485. represents the ESC character, constitute an escape sequence.
  486.  
  487. Escape sequences provide the coded representations of
  488. code-identification functions and of some types of control
  489. functions. The various uses of escape sequences are specified in
  490. clause 13. Code identification functions are specified in clauses 14
  491. and 15.
  492.  
  493. Source: ECMA-35 6th Ed. 6.2.2
  494.  
  495. An escape sequence shall consist of two or more bytes. In an 8-bit
  496. code a byte shall be an 8-bit combination. In a 7-bit code a byte
  497. shall be a 7-bit combination.
  498.  
  499. The first byte of an escape sequence shall be the bit combination
  500. representing the ESCAPE character and the last shall be known as the
  501. Final Byte. An escape sequence may also contain one or more bytes
  502. known as Intermediate bytes.
  503.  
  504. The function represented by an escape sequence shall be determined by
  505. its Intermediate byte(s), if any, and by its Final Byte.
  506.  
  507. Intermediate bytes shall be any of the 16 positions of column 02 of
  508. the code table; they are denoted by the symbol I.
  509.  
  510. Final bytes shall be any of the 79 positions of columns 03 to 07 of
  511. the code table excluding position 07/15; they are denoted by the
  512. symbol F.
  513.  
  514. NOTE 40
  515. Although, in this Standard, escape sequences are specified in terms of
  516. bytes or positions in the code table, the meaning of an escape
  517. sequence is determined only by its bit combinations and it is
  518. unaffected by any meaning assigned to those bit combinations taken
  519. individually.
  520.  
  521. Bit combinations in columns 00 and 01 and the bit combination 07/15
  522. shall not be used as either Intermediate or Final bytes to construct
  523. an escape sequence. In an 8-bit code bit combinations in columns 08 to
  524. 15 also shall not be so used.
  525.  
  526. NOTE 41
  527. As these prohibited bytes may appear in an escape sequence in error,
  528. it may be necessary within an application to provide methods of
  529. identifying such a situation and of recovering from it, but this is
  530. not covered by this Standard.
  531.  
  532. Source: ECMA-35 6th Ed. 13.1
  533.  
  534. [ So, in summary, that's ESC {SP-/}* {0-~} ]
  535.  
  536. Status: standard
  537. -------------------------------------------------------------------------------
  538. Section: *** nF ***
  539. Sequences: ESC {SP-/} {SP-/}* {0-~}
  540. -------------------------------------------------------------------------------
  541. Sequence: ESC SP {0-~}
  542. Mnemonic: ACS
  543. Description: Announce code structure
  544. -------------------------------------------------------------------------------
  545. Sequence: ESC SP 6
  546. Mnemonic: S8C1R (also DECAC1)
  547. Description: C1 receive disabled
  548.  
  549. The printer receives 7-bit data and  C1 control characters (as 7-bit ESC
  550. Fe sequences).
  551.  
  552. This description doesn't say what the printer does when it receives an
  553. 8-bit C1 control character in DECTC1 (S7C1R) mode. The LA100 reference
  554. says that it just truncates the 8th bit of all C1 control characters
  555. received. Ouch!
  556.  
  557. Source: Paul Williams <paul@celigne.co.uk> in mail
  558.     <384A6F50.3349DE09@rdel.co.uk>
  559. Status: standard
  560. -------------------------------------------------------------------------------
  561. Sequence: ESC SP 7
  562. Mnemonic: S7C1R (also DECTC1)
  563. Description: C1 receive enabled
  564.  
  565. The printer receives 8-bit data and C1 control characters (as 7-bit ESC
  566. Fe sequences or single 8-bit bytes).
  567.  
  568. Source: Paul Williams <paul@celigne.co.uk> in mail
  569.     <384A6F50.3349DE09@rdel.co.uk>
  570. Status: standard
  571. -------------------------------------------------------------------------------
  572. Sequence: ESC SP F
  573. Mnemonic: S7C1T
  574. Description: 7-bit C1 controls
  575.  
  576. The VT220 command ESC SP F (called S7C1T in the DEC documentation) tells
  577. the terminal to transmit the 7 bit equivalents for the 8 bit C1 codes to
  578. the host, both for command responses (like the response to CSI c), and
  579. for function keys which return C1 codes.
  580.  
  581. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/dec_terminals_news.txt>
  582. Status: Standard
  583. -------------------------------------------------------------------------------
  584. Sequence: ESC SP G
  585. Mnemonic: S8C1T
  586. Description: 8-bit C1 controls
  587.  
  588. Likewise, ESC SP G (S8C1T) tells the terminal to transmit 8 bit C1 codes
  589. if the terminal has an 8 bit data path to the host.  (The command has no
  590. effect if the host port is set to 7 bit mode.)
  591.  
  592. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/dec_terminals_news.txt>
  593. Status: Standard
  594. -------------------------------------------------------------------------------
  595. Sequence: ESC ! {SP-/}* {0-~}
  596. Mnemonic: CZD
  597. Description: C0-designate
  598. -------------------------------------------------------------------------------
  599. Sequence: ESC ! @
  600. Description: C0-designate ECMA-6 IRV C0 set
  601.  
  602. Source: ECMA-6 6th Ed. 9.2
  603. Status: standard
  604. -------------------------------------------------------------------------------
  605. Sequence: ESC " {SP-/}* {0-~}
  606. Mnemonic: C1D
  607. Description: C1-designate
  608. -------------------------------------------------------------------------------
  609. Section: *** 3F: Single control functions ***
  610. Sequences: ESC # {SP-/}* {0-~}
  611. -------------------------------------------------------------------------------
  612. Sequence: ESC # 3
  613. Mnemonic: DECDHL
  614. Description: Double-width, double-height line (top half)
  615.  
  616.         These sequences cause the line containing the cursor to become the top
  617.         or bottom half of a double-height, double width line.  The sequences
  618.         should be used in pairs on adjacent lines with each line containing the
  619.         same character string.  If the line was single width single height, all
  620.         characters to the right of the center of the screen will be lost.  The
  621.         cursor remains over the same character position, unless it would be to
  622.         the right of the right margin, in which case it is moved to the right
  623.         margin.
  624.  
  625. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/vt100_codes_news.txt>
  626. Status: DEC private; VT100
  627. -------------------------------------------------------------------------------
  628. Sequence: ESC # 4
  629. Mnemonic: DECDHL
  630. Description: Double-width, double-height line (bottom half)
  631.  
  632.         These sequences cause the line containing the cursor to become the top
  633.         or bottom half of a double-height, double width line.  The sequences
  634.         should be used in pairs on adjacent lines with each line containing the
  635.         same character string.  If the line was single width single height, all
  636.         characters to the right of the center of the screen will be lost.  The
  637.         cursor remains over the same character position, unless it would be to
  638.         the right of the right margin, in which case it is moved to the right
  639.         margin.
  640.  
  641. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/vt100_codes_news.txt>
  642. Status: DEC private; VT100
  643. -------------------------------------------------------------------------------
  644. Sequence: ESC # 5
  645. Mnemonic: DECSWL
  646. Description: Single-width, single-height line
  647.  
  648.         This causes the line which contains the cursor to become single-width,
  649.         single-height.  The cursor remains on the same character position.
  650.         This is the default condition for all new lines on the screen.
  651.  
  652. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/vt100_codes_news.txt>
  653. Status: DEC private; VT100
  654. -------------------------------------------------------------------------------
  655. Sequence: ESC # 6
  656. Mnemonic: DECDWL
  657. Description: Double-width, single-height line
  658.  
  659.         This causes the line that contains the cursor to become double-width
  660.         single height.  If the line was single width, all characters ro the
  661.         right of the center of the screen will be lost.  The cursor remains
  662.         over the same character position, unless it would be to the right of
  663.         the right margin, in which case it is moved to the right margin.
  664.  
  665. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/vt100_codes_news.txt>
  666. Status: DEC private; VT100
  667. -------------------------------------------------------------------------------
  668. Sequence: ESC # 7
  669. Mnemonic: DECHCP
  670. Description: Hardcopy
  671.  
  672. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/vt100_reference_card.txt>
  673. Source: <URL:http://vt100.net/ctrlfunc_dec.html>
  674. Status: DEC private; VT100
  675. -------------------------------------------------------------------------------
  676. Sequence: ESC # 8
  677. Mnemonic: DECALN
  678. Description: Screen alignment display
  679.  
  680.         This command causes the VT100 to fill its screen with uppercase Es for
  681.         screen focus and alignment.
  682.  
  683. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/vt100_codes_news.txt>
  684. Status: DEC private; VT100
  685. -------------------------------------------------------------------------------
  686. Sequence: ESC # 9
  687. Mnemonic: DECFPP
  688. Description: Perform pending motion
  689.  
  690. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE90
  691. Status: DEC private; LQP02
  692. -------------------------------------------------------------------------------
  693. Section: *** 4F: Designation of multibyte graphic character sets ***
  694. Sequences: ESC $ {SP-/} {SP-/}* {0-~}
  695. -------------------------------------------------------------------------------
  696. Sequence: ESC $ ( {SP-/}* {0-~}
  697. Description: G0-designate multibyte 94-set
  698. -------------------------------------------------------------------------------
  699. Sequence: ESC $ ) {SP-/}* {0-~}
  700. Description: G1-designate multibyte 94-set
  701. -------------------------------------------------------------------------------
  702. Sequence: ESC $ * {SP-/}* {0-~}
  703. Description: G2-designate multibyte 94-set
  704. -------------------------------------------------------------------------------
  705. Sequence: ESC $ + {SP-/}* {0-~}
  706. Description: G3-designate multibyte 94-set
  707. -------------------------------------------------------------------------------
  708. Sequence: ESC $ - {SP-/}* {0-~}
  709. Description: G1-designate multibyte 96-set
  710. -------------------------------------------------------------------------------
  711. Sequence: ESC $ . {SP-/}* {0-~}
  712. Description: G2-designate multibyte 96-set
  713. -------------------------------------------------------------------------------
  714. Sequence: ESC $ / {SP-/}* {0-~}
  715. Description: G3-designate multibyte 96-set
  716. -------------------------------------------------------------------------------
  717. Sequence: ESC % {SP-/}* {0-~}
  718. Mnemonic: DOCS
  719. Description: Designate other coding system
  720.  
  721. 15.4.1 Purpose
  722.  
  723. A code-identification function is provided to designate and invoke an
  724. identified coding system different from that of this Standard, not
  725. necessarily a character code. It provides a means for switching
  726. between coding systems according to this Standard and other coding
  727. systems when it is not performed at an outer level (e.g. 15.3).
  728.  
  729. Each such other coding system is registered in the ISO International
  730. Register of Coded Character Sets (see annex B), together with a Final
  731. Byte (and where necessary one or more associated Intermediate bytes)
  732. to identify it.
  733.  
  734. This function is also recommended for use by such other coding systems
  735. for returning to the coding system of this Standard, by the use of a
  736. reserved Final Byte which identifies it.
  737.  
  738. NOTE 56
  739. Other standards specify alternative methods for achieving an effect
  740. similar to that of DOCS, e.g. those based on the upper layers defined
  741. in ISO 7498 - Open Systems Interconnection, Basic Reference Model.
  742.  
  743. 15.4.2 Specification
  744.  
  745. Name: DESIGNATE OTHER CODING SYSTEM Acronym: DOCS
  746. Coded representation: ESC 02/05 F or ESC 02/05 I F
  747.  
  748. DOCS shall designate and invoke an identified coding system. In the
  749. coded representation of DOCS the F byte (and any associated I bytes)
  750. shall identify the coding system.
  751.  
  752. DOCS with Final Byte 04/00, without I byte, shall designate the coding
  753. system of this Standard. It is intended for use by other coding
  754. systems for returning to this coding system. It shall restore the
  755. state of the coding system to that at the time of invocation of the
  756. other coding system, that is the state established by announcer
  757. functions, and the designation and invocation state of graphic
  758. character and control character sets. Whether or not other states,
  759. e.g. the active position, are restored is outside the scope of this
  760. Standard.
  761.  
  762. DOCS with I byte 02/15 shall mean that the other coding system does
  763. not use DOCS (F = 04/00), coded as specified here, to return (it may
  764. have an alternate means to return or none at all). It shall also mean
  765. that after such a return (if any) the previous state of this coding
  766. system (i.e. announcements, designations, and invocations) is
  767. undefined.
  768.  
  769. DOCS with any other I byte, or with no I byte, shall mean that the
  770. other coding system uses DOCS (F = 04/00) to return.
  771.  
  772. Source: ECMA-35 6th Ed. 15.4
  773. Status: standard
  774. -------------------------------------------------------------------------------
  775. Sequence: ESC % / {SP-/}* {0-~}
  776. Description: switch to a coding system which doesn't support DOCS
  777.  
  778. Source: ECMA-35 6th Ed. 15.4.2
  779. Status: standard
  780. -------------------------------------------------------------------------------
  781. Sequence: ESC % / @
  782. Description: switch to ISO/IEC 10646:1993, UCS-2, Level 1
  783.  
  784. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-2.htm>
  785. Status: standard
  786. -------------------------------------------------------------------------------
  787. Sequence: ESC % / A
  788. Description: switch to ISO/IEC 10646:1993, UCS-4, Level 1
  789.  
  790. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-2.htm>
  791. Status: standard
  792. -------------------------------------------------------------------------------
  793. Sequence: ESC % / B
  794. Description: Switch to Virtual Terminal service Transparent Set
  795.  
  796. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-2.htm>
  797. Status: standard
  798. -------------------------------------------------------------------------------
  799. Sequence: ESC % / C
  800. Description: switch to ISO/IEC 10646:1993, UCS-2, Level 2
  801.  
  802. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-2.htm>
  803. Status: standard
  804. -------------------------------------------------------------------------------
  805. Sequence: ESC % / D
  806. Description: switch to ISO/IEC 10646:1993, UCS-4, Level 2
  807.  
  808. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-2.htm>
  809. Status: standard
  810. -------------------------------------------------------------------------------
  811. Sequence: ESC % / E
  812. Description: switch to ISO/IEC 10646:1993, UCS-2, Level 3
  813.  
  814. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-2.htm>
  815. Status: standard
  816. -------------------------------------------------------------------------------
  817. Sequence: ESC % / F
  818. Description: switch to ISO/IEC 10646:1993, UCS-4, Level 3
  819.  
  820. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-2.htm>
  821. Status: standard
  822. -------------------------------------------------------------------------------
  823. Sequence: ESC % / G
  824. Description: switch to UTF-8 Level 1
  825.  
  826. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-2.htm>
  827. Status: standard
  828. -------------------------------------------------------------------------------
  829. Sequence: ESC % / H
  830. Description: switch to UTF-8 Level 2
  831.  
  832. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-2.htm>
  833. Status: standard
  834. -------------------------------------------------------------------------------
  835. Sequence: ESC % / I
  836. Description: switch to UTF-8 Level 3
  837.  
  838. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-2.htm>
  839. Status: standard
  840. -------------------------------------------------------------------------------
  841. Sequence: ESC % / J
  842. Description: switch to UTF-16 Level 1
  843.  
  844. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-2.htm>
  845. Status: standard
  846. -------------------------------------------------------------------------------
  847. Sequence: ESC % / K
  848. Description: switch to UTF-16 Level 2
  849.  
  850. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-2.htm>
  851. Status: standard
  852. -------------------------------------------------------------------------------
  853. Sequence: ESC % / L
  854. Description: switch to UTF-16 Level 3
  855.  
  856. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-2.htm>
  857. Status: standard
  858. -------------------------------------------------------------------------------
  859. Sequence: ESC % 8
  860. Description: switch to UTF-8
  861.  
  862. Source: Linux console_codes(4)
  863. Status: Linux private; obsolete
  864. -------------------------------------------------------------------------------
  865. Sequence: ESC % @
  866. Description: return to ECMA-35 coding system
  867.  
  868. Source: ECMA-35 6th Ed. 15.4.2
  869. Status: standard
  870. -------------------------------------------------------------------------------
  871. Sequence: ESC % A
  872. Description: switch to CSA T 500-1983
  873.  
  874. Syntax of the North American Videotex/Teletex Presentation Level
  875. Protocol (NAPLPS), CSA T 500-1983
  876.  
  877. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-1.htm>
  878. Status: standard
  879. -------------------------------------------------------------------------------
  880. Sequence: ESC % B
  881. Description: switch to UCS Transformation Format One (UTF-1)
  882.  
  883. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-1.htm>
  884. Status: standard
  885. -------------------------------------------------------------------------------
  886. Sequence: ESC % C
  887. Description: switch to Data Syntax I of CCITT Rec.T.101 
  888.  
  889. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-1.htm>
  890. Status: standard
  891. -------------------------------------------------------------------------------
  892. Sequence: ESC % D
  893. Description: switch to Data Syntax II of CCITT Rec.T.101
  894.  
  895. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-1.htm>
  896. Status: standard
  897. -------------------------------------------------------------------------------
  898. Sequence: ESC % E
  899. Description: switch to Photo-Videotex Data Syntax of CCITT Rec. T.101
  900.  
  901. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-1.htm>
  902. Status: standard
  903. -------------------------------------------------------------------------------
  904. Sequence: ESC % F
  905. Description: switch to Audio Data Syntax of CCITT Rec. T.101
  906.  
  907. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-1.htm>
  908. Status: standard
  909. -------------------------------------------------------------------------------
  910. Sequence: ESC % G
  911. Description: switch to UTF-8
  912.  
  913. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-1.htm>
  914. Status: standard
  915. -------------------------------------------------------------------------------
  916. Sequence: ESC % H
  917. Description: switch to VEMMI Data Syntax of ITU-T Rec. T.107
  918.  
  919. Videotex Enhanced Man Machine Interface (VEMMI) Data Syntax of ITU-T
  920. Rec. T.107
  921.  
  922. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-1.htm>
  923. Status: standard
  924. -------------------------------------------------------------------------------
  925. Sequence: ESC & {0-~}
  926. Mnemonic: IRR
  927. Description: Identify revised registration
  928. -------------------------------------------------------------------------------
  929. Sequence: ESC ' {0-~}
  930. Description: Reserved for future standardisation
  931. -------------------------------------------------------------------------------
  932. Sequence: ESC ( {SP-/}* {0-~}
  933. Mnemonic: GZD4
  934. Description: G0-designate 94-set
  935.  
  936. [ NB: All character sets listed here are valid for other G?D4 sequnces too. ]
  937. -------------------------------------------------------------------------------
  938. Sequence: ESC ( ! @
  939. Description: G0-designate CCITT Greek Primary character set
  940.  
  941. (IANA name greek-ccitt)
  942.  
  943. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-2.htm>
  944. Status: standard
  945. -------------------------------------------------------------------------------
  946. Sequence: ESC ( ! A
  947. Description: G0-designate Cuban character set (NC 99-10:81)
  948.  
  949. (IANA name NC_NC00-10:81)
  950.  
  951. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-2.htm>
  952. Status: standard
  953. -------------------------------------------------------------------------------
  954. Sequence: ESC ( ! B
  955. Description: G0-designate ISO 646 invariant character set
  956.  
  957. (no IANA name)
  958.  
  959. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-2.htm>
  960. Status: standard
  961. -------------------------------------------------------------------------------
  962. Sequence: ESC ( " 1
  963. Description: G0-designate Digital Symbol character set
  964.  
  965. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE47
  966. Status: DEC private; LA210
  967. -------------------------------------------------------------------------------
  968. Sequence: ESC ( 0
  969. Description: G0-designate VT100 line-drawing set
  970.  
  971. Source: ???
  972. Status: DEC private; VT100
  973. -------------------------------------------------------------------------------
  974. Sequence: ESC ( 1
  975. Description: G0-designate alternate character ROM (standard)
  976.  
  977. Source: ???
  978. Status: DEC private; VT100
  979. -------------------------------------------------------------------------------
  980. Sequence: ESC ( 2
  981. Description: G0-designate alternate character ROM (graphics)
  982.  
  983. Source: ???
  984. Status: DEC private; VT100
  985. -------------------------------------------------------------------------------
  986. Sequence: ESC ( 3
  987. Description: G0-designate HP Roman 8, upper 128 chars
  988.  
  989. Source: pcvt EscapeSequences
  990. Status: HP private?
  991. -------------------------------------------------------------------------------
  992. Sequence: ESC ( 4
  993. Description: G0-designate Dutch character set
  994.  
  995. Source: vttest-990212 vt420.c
  996. Status: DEC private
  997. -------------------------------------------------------------------------------
  998. Sequence: ESC ( 5
  999. Description: G0-designate Finnish character set
  1000.  
  1001. Source: vttest-990212 vt420.c
  1002. Status: DEC private
  1003. -------------------------------------------------------------------------------
  1004. Sequence: ESC ( 6
  1005. Description: G0-designate Norwegian/Danish character set
  1006.  
  1007. Source: vttest-990212 vt420.c
  1008. Status: DEC private
  1009. -------------------------------------------------------------------------------
  1010. Sequence: ESC ( 7
  1011. Description: G0-designate Swedish character set
  1012.  
  1013. Source: pcvt EscapeSequences
  1014. Status: DEC private
  1015. -------------------------------------------------------------------------------
  1016. Sequence: ESC ( 8
  1017. Description: G0-designate APL character set
  1018.  
  1019. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56
  1020. Status: DEC private
  1021. -------------------------------------------------------------------------------
  1022. Sequence: ESC ( 9
  1023. Description: G0-designate French Canadian character set
  1024.  
  1025. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56
  1026. Status: DEC private
  1027. -------------------------------------------------------------------------------
  1028. Sequence: ESC ( <
  1029. Description: G0-designate DEC supplemental character set
  1030.  
  1031. Source: http://vt100.net/docs/vt220-rm/chapter4.html
  1032. Status: DEC private; VT200
  1033. -------------------------------------------------------------------------------
  1034. Sequence: ESC ( =
  1035. Description: G0-designate Swiss character set
  1036.  
  1037. Source: vttest-990212 vt420.c
  1038. Status: DEC private
  1039. -------------------------------------------------------------------------------
  1040. Sequence: ESC ( >
  1041. Description: G0-designate DEC Technical character set
  1042.  
  1043. Source: pcvt EscpaeSequences
  1044. Status: DEC private
  1045. -------------------------------------------------------------------------------
  1046. Sequence: ESC ( @
  1047. Description: G0-designate ISO-646 IRV
  1048.  
  1049. This differs from ASCII in having a currency sign in place of the dollar.
  1050. (IANA name ISO_646.irv:1983)
  1051.  
  1052. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1053. Status: standard
  1054. -------------------------------------------------------------------------------
  1055. Sequence: ESC ( A
  1056. Description: G0-designate GB character set
  1057.  
  1058. This is the ECMA-6 IRV (ASCII), with hash turned into sterling.
  1059. (IANA name BS_4730)
  1060.  
  1061. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1062. Status: standard
  1063. -------------------------------------------------------------------------------
  1064. Sequence: ESC ( B
  1065. Description: G0-designate ECMA-6 IRV
  1066.  
  1067. (IANA name ANSI_X3.4-1968)
  1068.  
  1069. Source: ECMA-6 6th Ed. 9.2
  1070. Status: standard
  1071. -------------------------------------------------------------------------------
  1072. Sequence: ESC ( C
  1073. Description: G0-designate NATS main Finnish/Swedish character set
  1074.  
  1075. (IANA name NATS-SEFI)
  1076.  
  1077. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1078. Status: standard
  1079. -------------------------------------------------------------------------------
  1080. Sequence: ESC ( D
  1081. Description: G0-designate NATS additional Finnish/Swedish graphic set 
  1082.  
  1083. (IANA name NATS-SEFI-ADD)
  1084.  
  1085. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1086. Status: standard
  1087. -------------------------------------------------------------------------------
  1088. Sequence: ESC ( E
  1089. Description: G0-designate NATS main Norwegian/Danish character set
  1090.  
  1091. (IANA name NATS-DANO)
  1092.  
  1093. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1094. Status: standard
  1095. -------------------------------------------------------------------------------
  1096. Sequence: ESC ( F
  1097. Description: G0-designate NATS additional Norwegian/Danish character set
  1098.  
  1099. (IANA name NATS-DANO-ADD)
  1100.  
  1101. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1102. Status: standard
  1103. -------------------------------------------------------------------------------
  1104. Sequence: ESC ( G
  1105. Description: G0-designate Swedish basic character set (SEN 85 02 00 Annex B)
  1106.  
  1107. (IANA name SEN_850200_B)
  1108.  
  1109. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1110. Status: standard
  1111. -------------------------------------------------------------------------------
  1112. Sequence: ESC ( H
  1113. Description: G0-designate Swedish name-writing set (SEN 85 02 00 Annex C)
  1114.  
  1115. (IANA name SEN_85020_C)
  1116.  
  1117. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1118. Status: standard
  1119. -------------------------------------------------------------------------------
  1120. Sequence: ESC ( I
  1121. Description: G0-designate Katakana character set (JIS C 6220 - 1969)
  1122.  
  1123. (IANA name JIS_C6220-1969-jp)
  1124. This character set expects to be in G1
  1125.  
  1126. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1127. Status: standard
  1128. -------------------------------------------------------------------------------
  1129. Sequence: ESC ( J
  1130. Description: G0-designate Roman character set (JIS C 6220 - 1969)
  1131.  
  1132. (IANA name JIS_C6220-1969-ro)
  1133. This character set expects to be in G0
  1134.  
  1135. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1136. Status: standard
  1137. -------------------------------------------------------------------------------
  1138. Sequence: ESC ( K
  1139. Description: G0-designate German character set (DIN 66003)
  1140.  
  1141. (IANA name DIN_66003)
  1142.  
  1143. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1144. Status: standard
  1145. -------------------------------------------------------------------------------
  1146. Sequence: ESC ( K
  1147. Description: G0-designate user-defined character set
  1148.  
  1149. Source: Linux console_codes(4)
  1150. Status: Linux private; clashes with ECMA-35
  1151. -------------------------------------------------------------------------------
  1152. Sequence: ESC ( L
  1153. Description: G0-designate Portuguese character set
  1154.  
  1155. (IANA name PT)
  1156.  
  1157. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1158. Status: standard
  1159. -------------------------------------------------------------------------------
  1160. Sequence: ESC ( M
  1161. Description: G0-designate African character set (ISO 6438)
  1162.  
  1163. (no IANA name)
  1164.  
  1165. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1166. Status: standard
  1167. -------------------------------------------------------------------------------
  1168. Sequence: ESC ( N
  1169. Description: G0-designate basic Cyrillic character set (ISO 5427)
  1170.  
  1171. (IANA name ISO_5427)
  1172.  
  1173. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1174. Status: standard
  1175. -------------------------------------------------------------------------------
  1176. Sequence: ESC ( O
  1177. Description: G0-designate bibliographic extension character set (DIN 31624)
  1178.  
  1179. (no IANA name)
  1180.  
  1181. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1182. Status: standard
  1183. -------------------------------------------------------------------------------
  1184. Sequence: ESC ( P
  1185. Description: G0-designate bibliographic extension character set (ISO 5426:1980)
  1186.  
  1187. (no IANA name)
  1188.  
  1189. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1190. Status: standard
  1191. -------------------------------------------------------------------------------
  1192. Sequence: ESC ( Q
  1193. Description: G0-designate cyrillic bibliographic extension set (ISO 5427:1981)
  1194.  
  1195. (IANA name ISO_5427:1981)
  1196.  
  1197. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1198. Status: standard
  1199. -------------------------------------------------------------------------------
  1200. Sequence: ESC ( Q
  1201. Description: G0-designate French Canadian character set
  1202.  
  1203. Source: vttest-990212 vt420.c
  1204. Status: DEC private?; clashes with ECMA-35
  1205. -------------------------------------------------------------------------------
  1206. Sequence: ESC ( R
  1207. Description: G0-designate French character set (NF Z 62-010 (1973))
  1208.  
  1209. (IANA name NF_Z_62-010_(1973))
  1210.  
  1211. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1212. Status: standard
  1213. -------------------------------------------------------------------------------
  1214. Sequence: ESC ( S
  1215. Description: G0-designate Greek bibliographic character set (ISO 5428:1980)
  1216.  
  1217. (IANA name ISO_5428:1980)
  1218.  
  1219. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1220. Status: standard
  1221. -------------------------------------------------------------------------------
  1222. Sequence: ESC ( T
  1223. Description: G0-designate Chinese latin character set (GB 1988 80)
  1224.  
  1225. (IANA name GB_1988-80)
  1226.  
  1227. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1228. Status: standard
  1229. -------------------------------------------------------------------------------
  1230. Sequence: ESC ( U
  1231. Description: G0-designate Latin-Greek character set (Honeywell-Bull)
  1232.  
  1233. (IANA name Latin-greek1)
  1234.  
  1235. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1236. Status: standard
  1237. -------------------------------------------------------------------------------
  1238. Sequence: ESC ( U
  1239. Description: G0-designate PC console character set
  1240.  
  1241. Source: Linux console_codes(4)
  1242. Status: Linux private; clashes with ECMA-35
  1243. -------------------------------------------------------------------------------
  1244. Sequence: ESC ( V
  1245. Description: G0-designate UK Videotex/Teletext character set
  1246.  
  1247. (IANA name BS_viewdata)
  1248.  
  1249. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1250. Status: standard
  1251. -------------------------------------------------------------------------------
  1252. Sequence: ESC ( W
  1253. Description: G0-designate ISO 646 subset for INIS
  1254.  
  1255. (IANA name INIS)
  1256.  
  1257. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1258. Status: standard
  1259. -------------------------------------------------------------------------------
  1260. Sequence: ESC ( X
  1261. Description: G0-designate Greek bibliographic character set (ISO 5428)
  1262.  
  1263. (no IANA name)
  1264.  
  1265. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1266. Status: standard
  1267. -------------------------------------------------------------------------------
  1268. Sequence: ESC ( Y
  1269. Description: G0-designate Italian character set
  1270.  
  1271. (IANA name IT)
  1272.  
  1273. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1274. Status: standard
  1275. -------------------------------------------------------------------------------
  1276. Sequence: ESC ( Z
  1277. Description: G0-designate Spanish character set
  1278.  
  1279. (IANA name ES)
  1280.  
  1281. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1282. Status: standard
  1283. -------------------------------------------------------------------------------
  1284. Sequence: ESC ( [
  1285. Description: G0-designate Greek character set
  1286.  
  1287. (IANA name greek7-old)
  1288.  
  1289. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1290. Status: standard
  1291. -------------------------------------------------------------------------------
  1292. Sequence: ESC ( \
  1293. Description: G0-designate Latin/Greek character set
  1294.  
  1295. (IANA name latin-greek)
  1296.  
  1297. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1298. Status: standard
  1299. -------------------------------------------------------------------------------
  1300. Sequence: ESC ( ]
  1301. Description: G0-designate INIS non-standard extension character set
  1302.  
  1303. (IANA name INIS-8)
  1304.  
  1305. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1306. Status: standard
  1307. -------------------------------------------------------------------------------
  1308. Sequence: ESC ( ^
  1309. Description: G0-designate INIS Cyrillic extension character set
  1310.  
  1311. (IANA name INIS-cyrillic)
  1312.  
  1313. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1314. Status: standard
  1315. -------------------------------------------------------------------------------
  1316. Sequence: ESC ( _
  1317. Description: G0-designate CODAR-U Arabic character set
  1318.  
  1319. (no IANA name)
  1320.  
  1321. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1322. Status: standard
  1323. -------------------------------------------------------------------------------
  1324. Sequence: ESC ( `
  1325. Description: G0-designate Norwegian/Danish character set (NS 4551)
  1326.  
  1327. (IANA name NS_4551-1)
  1328.  
  1329. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1330. Status: standard
  1331. -------------------------------------------------------------------------------
  1332. Sequence: ESC ( a
  1333. Description: G0-designate Norwegian character set (NS 4551 version 2)
  1334.  
  1335. (IANA name NS_4551-2)
  1336.  
  1337. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1338. Status: standard
  1339. -------------------------------------------------------------------------------
  1340. Sequence: ESC ( b
  1341. Description: G0-designate supplementary Videotex character set
  1342.  
  1343. (IANA name videotex-suppl)
  1344.  
  1345. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1346. Status: standard
  1347. -------------------------------------------------------------------------------
  1348. Sequence: ESC ( c
  1349. Description: G0-designate Videotex mosaic character set
  1350.  
  1351. (no IANA name)
  1352.  
  1353. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1354. Status: standard
  1355. -------------------------------------------------------------------------------
  1356. Sequence: ESC ( d
  1357. Description: G0-designate seccond Videotex mosaic character set
  1358.  
  1359. (no IANA name)
  1360.  
  1361. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1362. Status: standard
  1363. -------------------------------------------------------------------------------
  1364. Sequence: ESC ( e
  1365. Description: G0-designate APL character set
  1366.  
  1367. (no IANA name)
  1368.  
  1369. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1370. Status: standard
  1371. -------------------------------------------------------------------------------
  1372. Sequence: ESC ( f
  1373. Description: G0-designate French character set (NF Z 62-010 (1982))
  1374.  
  1375. (IANA name NF_Z_60-010)
  1376.  
  1377. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1378. Status: standard
  1379. -------------------------------------------------------------------------------
  1380. Sequence: ESC ( g
  1381. Description: G0-designate Portuguese character set (IBM)
  1382.  
  1383. (IANA name PT2)
  1384.  
  1385. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1386. Status: standard
  1387. -------------------------------------------------------------------------------
  1388. Sequence: ESC ( h
  1389. Description: G0-designate Spanish character set (IBM)
  1390.  
  1391. (IANA name ES2)
  1392.  
  1393. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1394. Status: standard
  1395. -------------------------------------------------------------------------------
  1396. Sequence: ESC ( i
  1397. Description: G0-designate Hungarian character set (MSZ 7795/3)
  1398.  
  1399. (IANA name MSZ_7795.3)
  1400.  
  1401. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1402. Status: standard
  1403. -------------------------------------------------------------------------------
  1404. Sequence: ESC ( j
  1405. Description: G0-designate Greek character set (ELOT)
  1406.  
  1407. (IANA name greek7)
  1408.  
  1409. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1410. Status: standard
  1411. -------------------------------------------------------------------------------
  1412. Sequence: ESC ( k
  1413. Description: G0-designate Arabic character set (ASMO 449, ISO 9036)
  1414.  
  1415. (IANA name ASMO_449)
  1416.  
  1417. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1418. Status: standard
  1419. -------------------------------------------------------------------------------
  1420. Sequence: ESC ( l
  1421. Description: G0-designate Latin supplementary character set (ISO 6937/2)
  1422.  
  1423. (IANA name iso-ir-90)
  1424.  
  1425. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1426. Status: standard
  1427. -------------------------------------------------------------------------------
  1428. Sequence: ESC ( m
  1429. Description: G0-designate Japanese OCR-A character set (JIS C 6229-1984)
  1430.  
  1431. (IANA name JIS_C6229-1984-a)
  1432.  
  1433. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1434. Status: standard
  1435. -------------------------------------------------------------------------------
  1436. Sequence: ESC ( n
  1437. Description: G0-designate Japanese OCR-B character set (JIS C 6229-1984)
  1438.  
  1439. (IANA name JIS_C6229-1984-b)
  1440.  
  1441. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1442. Status: standard
  1443. -------------------------------------------------------------------------------
  1444. Sequence: ESC ( o
  1445. Description: G0-designate Japanese addition OCR-B set (JIS C 6229-1984)
  1446.  
  1447. (IANA name JIS_C6229-1984-b-add)
  1448.  
  1449. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1450. Status: standard
  1451. -------------------------------------------------------------------------------
  1452. Sequence: ESC ( p
  1453. Description: G0-designate Japanese hand-printed OCR set (JIS C 6229-1984)
  1454.  
  1455. (IANA name JIS_C6229-1984-hand)
  1456.  
  1457. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1458. Status: standard
  1459. -------------------------------------------------------------------------------
  1460. Sequence: ESC ( q
  1461. Description: G0-designate Japanese hand-printed OCR additional set
  1462.  
  1463. (IANA name JIS_C6229-1984-hand-add)
  1464.  
  1465. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1466. Status: standard
  1467. -------------------------------------------------------------------------------
  1468. Sequence: ESC ( r
  1469. Description: G0-designate Katakana hand-printed OCR set (JIS C 6229-1984)
  1470.  
  1471. (IANA name JIS_C6229-1984-kana)
  1472.  
  1473. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1474. Status: standard
  1475. -------------------------------------------------------------------------------
  1476. Sequence: ESC ( s
  1477. Description: G0-designate E13B character set (ISO 2033-1983)
  1478.  
  1479. (IANA name ISO_2033-1983)
  1480.  
  1481. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1482. Status: standard
  1483. -------------------------------------------------------------------------------
  1484. Sequence: ESC ( t
  1485. Description: G0-designate supplemetary Teletext character set (ANSI X3.110)
  1486.  
  1487. (IANA name ANSI_X3.110-1983)
  1488.  
  1489. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1490. Status: standard
  1491. -------------------------------------------------------------------------------
  1492. Sequence: ESC ( u
  1493. Description: G0-designate Teletext character set (CCITT T.61)
  1494.  
  1495. (IANA name T.61-7bit)
  1496.  
  1497. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1498. Status: standard
  1499. -------------------------------------------------------------------------------
  1500. Sequence: ESC ( v
  1501. Description: G0-designate Teletext supplementary character set (CCITT T.61)
  1502.  
  1503. (IANA name T.61-8bit)
  1504.  
  1505. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1506. Status: standard
  1507. -------------------------------------------------------------------------------
  1508. Sequence: ESC ( w
  1509. Description: G0-designate Canadian character set 1 (CSA Z243.4 - 1985)
  1510.  
  1511. (IANA name CSA_Z243.4-1985-1)
  1512.  
  1513. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1514. Status: standard
  1515. -------------------------------------------------------------------------------
  1516. Sequence: ESC ( x
  1517. Description: G0-designate Canadian character set 2 (CSA Z243.4 - 1985)
  1518.  
  1519. (IANA name (CSA_Z243.4-1985-2)
  1520.  
  1521. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1522. Status: standard
  1523. -------------------------------------------------------------------------------
  1524. Sequence: ESC ( y
  1525. Description: G0-designate CCITT T.101 Data Syntax I mosaic set
  1526.  
  1527. (no IANA name)
  1528.  
  1529. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1530. Status: standard
  1531. -------------------------------------------------------------------------------
  1532. Sequence: ESC ( z
  1533. Description: G0-designate Serbocroatian/Slovenian character set (JUS I.B1.002)
  1534.  
  1535. (IANA name JUS_I.B1.002)
  1536.  
  1537. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1538. Status: standard
  1539. -------------------------------------------------------------------------------
  1540. Sequence: ESC ( {
  1541. Description: G0-designate Serbocroatian Cyrillic character set (JUS I.B1.003)
  1542.  
  1543. (IANAN name JUS_I.B1.003-serb)
  1544.  
  1545. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1546. Status: standard
  1547. -------------------------------------------------------------------------------
  1548. Sequence: ESC ( |
  1549. Description: G0-designate CCITT T.101 Data Syntax III
  1550.  
  1551. (IANA name T.101-G2)
  1552.  
  1553. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1554. Status: standard
  1555. -------------------------------------------------------------------------------
  1556. Sequence: ESC ( }
  1557. Description: G0-designate Macedonian Cyrillic charcter set (JUS I.B1.004)
  1558.  
  1559. (IANA name JUS_I.B1.003-mac)
  1560.  
  1561. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm>
  1562. Status: standard
  1563. -------------------------------------------------------------------------------
  1564. Sequence: ESC ( ~
  1565. Description: G0-designate empty character set
  1566.  
  1567. The Final Byte 07/14 shall be reserved to identify the empty set of
  1568. each type, i.e. the set that does not contain any character. If an
  1569. empty set is designated the bit combinations corresponding to the code
  1570. table positions of the set shall not be used, i.e. the (non-existent)
  1571. characters shall not be invoked.
  1572.  
  1573. Source: ECMA-35 6th Ed. 14.1
  1574. Status: standard
  1575. -------------------------------------------------------------------------------
  1576. Sequence: ESC ( % 5
  1577. Description: G0-designate Digtal Supplemental Graphics set
  1578.  
  1579. Source: Reflection TRM (VT) Version 7.0
  1580. Status: DEC private
  1581. -------------------------------------------------------------------------------
  1582. Sequence: ESC ( % 6
  1583. Description: G0-designate Portuguese character set
  1584.  
  1585. Source: vttest-990212 vt420.c
  1586. Status: DEC private
  1587. -------------------------------------------------------------------------------
  1588. Sequence: ESC ( % =
  1589. Description: G0-designate Hebrew character set
  1590.  
  1591. Source: vttest-990212 vt420.c
  1592. Status: DEC private
  1593. -------------------------------------------------------------------------------
  1594. Sequence: ESC ) {SP-/}* {0-~}
  1595. Mnemonic: G1D4
  1596. Description: G1-designate 94-set
  1597.  
  1598. See GZD4 for character sets
  1599. -------------------------------------------------------------------------------
  1600. Sequence: ESC * {SP-/}* {0-~}
  1601. Mnemonic: G2D4
  1602. Description: G2-designated 94-set
  1603.  
  1604. See GZD4 for character sets
  1605. -------------------------------------------------------------------------------
  1606. Sequence: ESC + {SP-/}* {0-~}
  1607. Mnemonic: G3D4
  1608. Description: G3-designate 94-set
  1609.  
  1610. See GZD4 for character sets
  1611. -------------------------------------------------------------------------------
  1612. Sequence: ESC , {0-~}
  1613. Description: reserved for future standardisation
  1614. -------------------------------------------------------------------------------
  1615. Sequence: ESC - {SP-/}* {0-~}
  1616. Mnemonic: G1D6
  1617. Description: G1-designate 96-set
  1618. -------------------------------------------------------------------------------
  1619. Sequence: ESC - @
  1620. Description: G1-designate RH part of Latin/Cyrillic set (ECMA-113, 1st ed.)
  1621.  
  1622. (IANA name ECMA-cyrillic)
  1623.  
  1624. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1625. Status: standard
  1626. -------------------------------------------------------------------------------
  1627. Sequence: ESC - A
  1628. Description: G1-designate RH part of Latin-1 character set (ISO 8859-1:1987)
  1629.  
  1630. (IANA name ISO_8859-1:1987)
  1631.  
  1632. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1633. Status: standard
  1634. -------------------------------------------------------------------------------
  1635. Sequence: ESC - B
  1636. Description: G1-designate RH part of Latin-2 character set (ISO 8859-2:1987)
  1637.  
  1638. (IANA name ISO_8859-2:1987)
  1639.  
  1640. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1641. Status: standard
  1642. -------------------------------------------------------------------------------
  1643. Sequence: ESC - C
  1644. Description: G1-designate RH part of Latin-3 character set (ISO 8859-3:1988)
  1645.  
  1646. (IANA name ISO_8859-3:1988)
  1647.  
  1648. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1649. Status: standard
  1650. -------------------------------------------------------------------------------
  1651. Sequence: ESC - D
  1652. Description: G1-designate RH part of Latin-4 character set (ISO 8859-4:1988)
  1653.  
  1654. (IANA name ISO_8859-4:1988)
  1655.  
  1656. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1657. Status: standard
  1658. -------------------------------------------------------------------------------
  1659. Sequence: ESC - E
  1660. Description: G1-designate Supplementary Graphic Set (CSA Z243.4-1985)
  1661.  
  1662. (IANA name CSA_Z243.4-1985-gr)
  1663.  
  1664. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1665. Status: standard
  1666. -------------------------------------------------------------------------------
  1667. Sequence: ESC - F
  1668. Description: G1-designate RH part of Latin/Greek set (ISO 8859-7:1987)
  1669.  
  1670. (IANA name ISO_8859-7:1987)
  1671.  
  1672. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1673. Status: standard
  1674. -------------------------------------------------------------------------------
  1675. Sequence: ESC - G
  1676. Description: G1-designate RH part of Latin/Arabic set (ISO 8859-6:1987)
  1677.  
  1678. (IANA name ISO_8859-6:1987)
  1679.  
  1680. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1681. Status: standard
  1682. -------------------------------------------------------------------------------
  1683. Sequence: ESC - H
  1684. Description: G1-designate RH part of Latin/Hebrew set (ISO 8859-8:1988)
  1685.  
  1686. (IANA name ISO_8859-8:1988)
  1687.  
  1688. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1689. Status: standard
  1690. -------------------------------------------------------------------------------
  1691. Sequence: ESC - I
  1692. Description: G1-designate RH part of Czechoslovak set (CSN 369103)
  1693.  
  1694. (IANA name CSN_369103)
  1695.  
  1696. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1697. Status: standard
  1698. -------------------------------------------------------------------------------
  1699. Sequence: ESC - J
  1700. Description: G1-designate Latin supplementary set (ISO 6937-2:1983)
  1701.  
  1702. (IANA name ISO_6937-2-add)
  1703.  
  1704. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1705. Status: standard
  1706. -------------------------------------------------------------------------------
  1707. Sequence: ESC - K
  1708. Description: G1-designate technical character set
  1709.  
  1710. (IANA name IEC_P27-1)
  1711.  
  1712. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1713. Status: standard
  1714. -------------------------------------------------------------------------------
  1715. Sequence: ESC - L
  1716. Description: G1-designate RH part of Latin/Cyrillic set (ISO 8859-5:1988)
  1717.  
  1718. (IANA name ISO_8859-5:1988)
  1719.  
  1720. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1721. Status: standard
  1722. -------------------------------------------------------------------------------
  1723. Sequence: ESC - M
  1724. Description: G1-designate RH part of Latin-5 character set (ISO 8859-9:1989)
  1725.  
  1726. (IANA name ISO_8859-9:1989)
  1727.  
  1728. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1729. Status: standard
  1730. -------------------------------------------------------------------------------
  1731. Sequence: ESC - N
  1732. Description: G1-designate ISO 6937-2:1983 residual set
  1733.  
  1734. (IANA name ISO_6937-2-add)
  1735.  
  1736. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1737. Status: standard
  1738. -------------------------------------------------------------------------------
  1739. Sequence: ESC - O
  1740. Description: G1-designate basic Cyrillic character set (GOST 19768-74)
  1741.  
  1742. (IANA name GOST_19768-74)
  1743.  
  1744. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1745. Status: standard
  1746. -------------------------------------------------------------------------------
  1747. Sequence: ESC - P
  1748. Description: G1-designate Latin-1/2/5 supplemental set
  1749.  
  1750. (IANA name ISO_8859-supp)
  1751.  
  1752. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1753. Status: standard
  1754. -------------------------------------------------------------------------------
  1755. Sequence: ESC - Q
  1756. Description: G1-designate basic box-drawing set (ISO/IEC 10367)
  1757.  
  1758. (IANA name ISO_10367-box)
  1759.  
  1760. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1761. Status: standard
  1762. -------------------------------------------------------------------------------
  1763. Sequence: ESC - R
  1764. Description: G1-designate ISO/IEC 6937:1992 supplementary set
  1765.  
  1766. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1767. Status: standard
  1768. -------------------------------------------------------------------------------
  1769. Sequence: ESC - S
  1770. Description: G1-designate CCITT Hebrew supplementary set
  1771.  
  1772. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1773. Status: standard
  1774. -------------------------------------------------------------------------------
  1775. Sequence: ESC - T
  1776. Description: G1-designate Thai character set (TIS 620-2533 (1990))
  1777.  
  1778. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1779. Status: standard
  1780. -------------------------------------------------------------------------------
  1781. Sequence: ESC - U
  1782. Description: G1-designate Arabic/French/German set
  1783.  
  1784. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1785. Status: standard
  1786. -------------------------------------------------------------------------------
  1787. Sequence: ESC - V
  1788. Description: G1-designate RH part of Latin-6 character set (ISO 8859-10:1992)
  1789.  
  1790. (IANA name ISO-8859-10)
  1791.  
  1792. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1793. Status: standard
  1794. -------------------------------------------------------------------------------
  1795. Sequence: ESC - X
  1796. Description: G1-designate Sami supplementary set (for use with Latin-6)
  1797.  
  1798. (IANA name latin-lap)
  1799.  
  1800. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1801. Status: standard
  1802. -------------------------------------------------------------------------------
  1803. Sequence: ESC - Y
  1804. Description: G1-designate Baltic rim supplementary set
  1805.  
  1806. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1807. Status: standard
  1808. -------------------------------------------------------------------------------
  1809. Sequence: ESC - Z
  1810. Description: G1-designate RH half of VISCII-2 (TCVN 5712:1993)
  1811.  
  1812. (IANA name VISCII)
  1813.  
  1814. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1815. Status: standard
  1816. -------------------------------------------------------------------------------
  1817. Sequence: ESC - [
  1818. Description: G1-designate IEC technical character set 1 (IEC P1289)
  1819.  
  1820. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1821. Status: standard
  1822. -------------------------------------------------------------------------------
  1823. Sequence: ESC - \
  1824. Description: G1-desgnate RH part of Latin-1 Welsh variant
  1825.  
  1826. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1827. Status: standard
  1828. -------------------------------------------------------------------------------
  1829. Sequence: ESC - ]
  1830. Description: G1-designate RH part of Latin-1 Sami variant
  1831.  
  1832. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1833. Status: standard
  1834. -------------------------------------------------------------------------------
  1835. Dequence: ESC - ^
  1836. Description: G1-designate RH part of Latin/Hebrew set
  1837.  
  1838. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1839. Status: standard
  1840. -------------------------------------------------------------------------------
  1841. Sequence: ESC - _
  1842. Description: G1-designate RH part of Celtic set (ISO 8859-14:1998)
  1843.  
  1844. (IANA name ISO-8859-14)
  1845.  
  1846. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1847. Status: standard
  1848. -------------------------------------------------------------------------------
  1849. Sequence: ESC - `
  1850. Description: G1-designate Uralic supplementary Cyrillic set
  1851.  
  1852. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1853. Status: standard
  1854. -------------------------------------------------------------------------------
  1855. Sequence: ESC - a
  1856. Description: G1-designate Volgaic supplementary Cyrillic set
  1857.  
  1858. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1859. Status: standard
  1860. -------------------------------------------------------------------------------
  1861. Sequence: ESC - b
  1862. Description: G1-designate RH part of Latin-9 character set
  1863.  
  1864. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1865. Status: standard
  1866. -------------------------------------------------------------------------------
  1867. Sequence: ESC - c
  1868. Description: G1-designate RH part of Latin-1 set with Euro sign
  1869.  
  1870. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1871. Status: standard
  1872. -------------------------------------------------------------------------------
  1873. Sequence: ESC - d
  1874. Description: G1-designate RH part of Latin-4 set with Euro sign
  1875.  
  1876. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1877. Status: standard
  1878. -------------------------------------------------------------------------------
  1879. Sequence: ESC - e
  1880. Description: G1-designate RH part of Latin-7 set with Euro sign
  1881.  
  1882. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1883. Status: standard
  1884. -------------------------------------------------------------------------------
  1885. Sequence: ESC - f
  1886. Description: G1-designate RH part of Romanian character set (SR 14111:1998)
  1887.  
  1888. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1889. Status: standard
  1890. -------------------------------------------------------------------------------
  1891. Sequence: ESC - g
  1892. Description: G1-designate Ogham character set (IS 434:1997)
  1893.  
  1894. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1895. Status: standard
  1896. -------------------------------------------------------------------------------
  1897. Sequence: ESC - i
  1898. Description: G1-designate Sami supplementary set no 2
  1899.  
  1900. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1901. Status: standard
  1902. -------------------------------------------------------------------------------
  1903. Sequence: ESC - }
  1904. Description: G1-designate supplementary mosaic set (CCITT T.101)
  1905.  
  1906. Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm>
  1907. Status: standard
  1908. -------------------------------------------------------------------------------
  1909. Sequence: ESC . {SP-/}* {0-~}
  1910. Mnemonic: G2D6
  1911. Description: G2-designate 96-set
  1912.  
  1913. See G1D6 for character sets
  1914. -------------------------------------------------------------------------------
  1915. Sequence: ESC / {SP-/}* {0-~}
  1916. Mnemonic: G3D6
  1917. Description: G3-designate 96-set
  1918.  
  1919. See G1D6 for character sets
  1920. -------------------------------------------------------------------------------
  1921. Section: *** Fp: private control functions ***
  1922. Sequences: ESC {0-?}
  1923. -------------------------------------------------------------------------------
  1924. Sequence: ESC 1
  1925. Description: Graphics proc. option on
  1926.  
  1927. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/vt100_reference_card.txt>
  1928. Status: DEC private; VT100
  1929. -------------------------------------------------------------------------------
  1930. Sequence: ESC 1
  1931. Mnemonic: DECHTS
  1932. Description: Horizontal tab set
  1933.  
  1934. Sets horizontal tab stop at active column
  1935.  
  1936. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE10
  1937. Status: DEC private; DECwriter, LA100
  1938. -------------------------------------------------------------------------------
  1939. Sequence: ESC 2
  1940. Description: Graphics proc. option off
  1941.  
  1942. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/vt100_reference_card.txt>
  1943. Status: DEC private; VT100
  1944. -------------------------------------------------------------------------------
  1945. Sequence: ESC 2
  1946. Mnemonic: DECCAHT
  1947. Description: Clear all horizontal tabs
  1948.  
  1949. Source: <URL:http://vt100.net/ctrlfunc_dec.html>
  1950. Status: DEC private; DECwriter
  1951. -------------------------------------------------------------------------------
  1952. Sequence: ESC 3
  1953. Mnemonic: DECVTS
  1954. Description: Vertical tab set
  1955.  
  1956. Sets vertical tab stop at active line
  1957.  
  1958. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE11
  1959. Status: DEC private; printers
  1960. -------------------------------------------------------------------------------
  1961. Sequence: ESC 4
  1962. Mnemonic: DECCAVT
  1963. Description: Clear all vertical tabs
  1964.  
  1965. Source: <URL:http://vt100.net/ctrlfunc_dec.html>
  1966. Status: DEC private; DECwriter
  1967. -------------------------------------------------------------------------------
  1968. Sequence: ESC 5
  1969. Mnemonic: DECXMIT
  1970. Description: Transmit character at cursor
  1971.  
  1972. Source: <URL:http://www.wyse.com/service/support/kbase/SEQwt.asp?Q=9>
  1973. Source: <URL:http://vt100.net/ctrlfunc_dec.html>
  1974. Status: DEC private
  1975. -------------------------------------------------------------------------------
  1976. Sequence: ESC 6
  1977. Description: Backward index
  1978. Mnemonic: DECBI
  1979.  
  1980. /*
  1981.  * VT400 & up.
  1982.  * DECBI - Back Index
  1983.  * This control function moves the cursor backward one column.  If the cursor
  1984.  * is at the left margin, then all screen data within the margin moves one
  1985.  * column to the right.  The column that shifted past the right margin is lost.
  1986.  * 
  1987.  * Format:  ESC 6
  1988.  * Description:
  1989.  * DECBI adds a new column at the left margin with no visual attributes.  DECBI
  1990.  * is not affected by the margins.  If the cursor is at the left border of the
  1991.  * page when the terminal received DECBI, then the terminal ignores DECBI.
  1992.  */
  1993.  
  1994. Source: vttest-990212 vt420.c
  1995. Status: DEC private; VT400
  1996. -------------------------------------------------------------------------------
  1997. Sequence: ESC 7
  1998. Mnemonic: DECSC
  1999. Description: Save cursor
  2000.  
  2001. Saves in terminal memory the:
  2002.         cursor position 
  2003.         graphic rendition 
  2004.         character set shift state 
  2005.         state of wrap flag 
  2006.         state of origin mode 
  2007.         state of selective erase 
  2008.  
  2009. Source: <URL:http://vt100.net/docs/vt220-rm/chapter4.html>
  2010. Status: DEC private; VT100
  2011. -------------------------------------------------------------------------------
  2012. Sequence: ESC 8
  2013. Mnemonic: DECRC
  2014. Description: Restore Cursor
  2015.  
  2016. Restores the states described for (DECSC) above. If none of these
  2017. characteristics were saved: the cursor moves to home position, origin
  2018. mode is reset, no character attributes are assigned, and the default
  2019. character set mapping is established.
  2020.  
  2021. Source: <URL:http://vt100.net/docs/vt220-rm/chapter4.html>
  2022. Status: DEC private; VT100
  2023. -------------------------------------------------------------------------------
  2024. Sequence: ESC 9
  2025. Mnemonic: DECFI
  2026. Description: Forward index
  2027.  
  2028. /*
  2029.  * VT400 & up.
  2030.  *
  2031.  * DECFI - Forward Index
  2032.  * This control function moves the column forward one column.  If the cursor is
  2033.  * at the right margin, then all screen data within the margins moves one
  2034.  * column to the left.  The column shifted past the left margin is lost.
  2035.  * 
  2036.  * Format: ESC 9
  2037.  * Description:
  2038.  * DECFI adds a new column at the right margin with no visual attributes. 
  2039.  * DECFI is not affected by the margins.  If the cursor is at the right border
  2040.  * of the page when the terminal receives DECFI, then the terminal ignores
  2041.  * DECFI.
  2042.  */
  2043.  
  2044. Source: vttest-990212 vt420.c
  2045. Status: DEC private; VT400
  2046. -------------------------------------------------------------------------------
  2047. Sequence: ESC =
  2048. Mnemonic: DECKPAM
  2049. Description: Keypad application mode
  2050.  
  2051.         The auxiliary keypad keys will transmit control sequences.
  2052.  
  2053. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/vt100_codes_news.txt>
  2054. Status: DEC private; VT100
  2055. -------------------------------------------------------------------------------
  2056. Sequence: ESC >
  2057. Mnemonic: DECKPNM
  2058. Description: Keypad numeric mode
  2059.  
  2060.         The auxiliary keypad keys will send ASCII codes corresponding to the
  2061.         characters engraved on their keys.
  2062.  
  2063. Source: <URL: http://www.cs.utk.edu/~shuford/terminal/vt100_codes_news.txt>
  2064. Status: DEC private; VT100
  2065. -------------------------------------------------------------------------------
  2066. Sequence: ESC Z
  2067. Mnemonic: DECID
  2068. Description: Identify terminal
  2069.  
  2070.         This sequence causes the same response as the DA sequence.  This
  2071.         sequence will not be supported in future models.
  2072.  
  2073. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/vt100_codes_news.txt>
  2074. Status: DEC private; VT100; clashes with ECMA-48
  2075. -------------------------------------------------------------------------------
  2076. Section: *** Fs: Standardized single control functions ***
  2077. Sequences: ESC ` to ESC ~
  2078. -------------------------------------------------------------------------------
  2079. Sequence: ESC `
  2080. Mnemonic: DMI
  2081. Description: Disable manual input
  2082.  
  2083. DMI causes the manual input facilities of a device to be disabled.
  2084.  
  2085. Source: ECMA-48 5th Ed 8.3.34
  2086. Status: standard
  2087. -------------------------------------------------------------------------------
  2088. Sequence: ESC a
  2089. Mnemonic: INT
  2090. Description: Interrupt
  2091.  
  2092. INT is used to indicate to the receiving device that the current
  2093. process is to be interrupted and an agreed procedure is to be
  2094. initiated. This control function is applicable to either direction of
  2095. transmission.
  2096.  
  2097. Source: ECMA-48 5th Ed. 8.3.68
  2098. Status: standard
  2099. -------------------------------------------------------------------------------
  2100. Sequence: ESC b
  2101. Mnemonic: EMI
  2102. Description: Enable manual input
  2103.  
  2104. EMI is used to enable the manual input facilities of a device.
  2105.  
  2106. Source: ECMA-48 5th Ed. 8.3.43
  2107. Status: standard
  2108. -------------------------------------------------------------------------------
  2109. Sequence: ESC c
  2110. Mnemonic: RIS
  2111. Description: Reset to initial state
  2112.  
  2113. RIS causes a device to be reset to its initial state, i.e. the state
  2114. it has after it is made operational. This may imply, if applicable:
  2115. clear tabulation stops, remove qualified areas, reset graphic
  2116. rendition, put all character positions into the erased state, move the
  2117. active presentation position to the first position of the first line
  2118. in the presentation component, move the active data position to the
  2119. first character position of the first line in the data component, set
  2120. the modes into the reset state, etc.
  2121.  
  2122. Source: ECMA-48 5th Ed. 8.3.105
  2123.  
  2124.         (DEC) replaces all terminal set-up parameters with NVR values or
  2125.     power-up default values if NVR values do not exist.
  2126.  
  2127. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/dec_vt220_codes.txt>
  2128.     "VT220 Programmer Pocket Guide" EK-VT220-HR-001, page 33
  2129. Status: standard
  2130. -------------------------------------------------------------------------------
  2131. Sequence: ESC d
  2132. Mnemonic: CMD
  2133. Description: Coding method delimiter
  2134.  
  2135. CMD is used as the delimiter of a string of data coded according to
  2136. Standard ECMA-35 and to switch to a general level of control.
  2137.  
  2138. The use of CMD is not mandatory if the higher level protocol defines
  2139. means of delimiting the string, for instance, by specifying the length
  2140. of the string.
  2141.  
  2142. Source: ECMA-48 5th Ed 8.3.11
  2143. Status: standard
  2144. -------------------------------------------------------------------------------
  2145. Sequence: ESC d
  2146. Description: Set colour table
  2147.  
  2148.         ESC d           Only available if PCVT_SETCOLOR was defined when
  2149.                         compiling the kernel, allows to set custom color table
  2150.                         for more info, see pcvt_out.c ...
  2151.  
  2152. Source: pcvt EscapeSequences
  2153. Status: pcvt private; clashes with ECMA-48 CMD
  2154. -------------------------------------------------------------------------------
  2155. Sequence: ESC l
  2156. Description: Memory lock
  2157.  
  2158. ESC l          Memory Lock (per HP terminals).  Locks memory above the
  2159.                cursor.
  2160.  
  2161. Source: XFree86: xc/doc/specs/xterm/ctlseqs.ms,v 3.8.2.3
  2162. Status: HP private
  2163. -------------------------------------------------------------------------------
  2164. Sequence: ESC m
  2165. Description: Memory unlock
  2166.  
  2167. ESC m          Memory Unlock (per HP terminals)
  2168.  
  2169. See also ESC l
  2170.  
  2171. Source: XFree86: xc/doc/specs/xterm/ctlseqs.ms,v 3.8.2.3
  2172. Status: HP private
  2173. -------------------------------------------------------------------------------
  2174. Sequence: ESC n
  2175. Mnemonic: LS2
  2176. Description: Locking-shift two
  2177.  
  2178. LS2 is used for code extension purposes. It causes the meanings of the
  2179. bit combinations following it in the data stream to be changed.
  2180.  
  2181. The use of LS2 is defined in Standard ECMA-35.
  2182.  
  2183. Source: ECMA-48 5th Ed. 8.3.78
  2184. Status: standard
  2185. -------------------------------------------------------------------------------
  2186. Sequence: ESC o
  2187. Mnemonic: LS3
  2188. Description: Locking-shift three
  2189.  
  2190. LS3 is used for code extension purposes. It causes the meanings of the
  2191. bit combinations following it in the data stream to be changed.
  2192.  
  2193. The use of LS3 is defined in Standard ECMA-35.
  2194.  
  2195. Source: ECMA-48 5th Ed. 8.3.80
  2196. Status: standard
  2197. -------------------------------------------------------------------------------
  2198. Sequence: ESC { A Ps CR
  2199. Description: Append to a file
  2200.  
  2201. Ps is the file name
  2202.  
  2203. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/villanova-vt100-esc-codes.txt>
  2204. Status: unknown private; clashes with ECMA-48
  2205. -------------------------------------------------------------------------------
  2206. Sequence: ESC { R Ps CR
  2207. Descripton: Receive a file
  2208.  
  2209. Ps is the file name
  2210.  
  2211. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/villanova-vt100-esc-codes.txt>
  2212. Status: unknown private; clashes with ECMA-48
  2213. -------------------------------------------------------------------------------
  2214. Sequence: ESC { S
  2215. Description: Save collected text
  2216.  
  2217. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/villanova-vt100-esc-codes.txt>
  2218. Status: unknown private; clashes with ECMA-48
  2219. -------------------------------------------------------------------------------
  2220. Sequence: ESC { T Ps CR
  2221. Description: Transmit a file
  2222.  
  2223. Ps is the file name
  2224.  
  2225. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/villanova-vt100-esc-codes.txt>
  2226. Status: unknown private; clashes with ECMA-48 
  2227. -------------------------------------------------------------------------------
  2228. Sequence: ESC |
  2229. Mnemonic: LS3R
  2230. Description: Locking-shift three right
  2231.  
  2232. LS3R is used for code extension purposes. It causes the meanings of
  2233. the bit combinations following it in the data stream to be changed.
  2234.  
  2235. The use of LS3R is defined in Standard ECMA-35.
  2236.  
  2237. Source: ECMA-48 5th Ed. 8.3.81
  2238. Status: standard
  2239. -------------------------------------------------------------------------------
  2240. Sequence: ESC }
  2241. Mnemonic: LS2R
  2242. Description: Locking-shift two right
  2243.  
  2244. LS2R is used for code extension purposes. It causes the meanings of
  2245. the bit combinations following it in the data stream to be changed.
  2246.  
  2247. The use of LS2R is defined in Standard ECMA-35.
  2248.  
  2249. Source: ECMA-48 5th Ed. 8.3.79
  2250. -------------------------------------------------------------------------------
  2251. Sequence: ESC ~
  2252. Mnemonic: LS1R
  2253. Description: Locking-shift one right
  2254.  
  2255. LS1R is used for code extension purposes. It causes the meanings of
  2256. the bit combinations following it in the data stream to be changed.
  2257.  
  2258. The use of LS1R is defined in Standard ECMA-35.
  2259.  
  2260. Source: ECMA-48 5th Ed. 8.3.77
  2261. Status: standard
  2262. -------------------------------------------------------------------------------
  2263. Section: *** C0 controls (continued) ***
  2264. -------------------------------------------------------------------------------
  2265. Sequence: IS4 (^\)
  2266. Mnemonic: IS4
  2267. Description: Information separator four (FS - file separator)
  2268.  
  2269. IS4 is used to separate and qualify data logically; its specific
  2270. meaning has to be defined for each application. If this control
  2271. function is used in hierarchical order, it may delimit a data item
  2272. called a file, see 8.2.10.
  2273.  
  2274. Source: ECMA-48 5th Ed. 8.3.72
  2275. Status: standard
  2276. -------------------------------------------------------------------------------
  2277. Sequence: IS3 (^])
  2278. Mnemonic: IS3
  2279. Description: Information separator three (GS - group separator)
  2280.  
  2281. IS3 is used to separate and qualify data logically; its specific
  2282. meaning has to be defined for each application. If this control
  2283. function is used in hierarchical order, it may delimit a data item
  2284. called a group, see 8.2.10.
  2285.  
  2286. Source: ECMA-48 5th Ed. 8.3.71
  2287. Status: standard
  2288. -------------------------------------------------------------------------------
  2289. Sequence: IS2 (^^)
  2290. Mnemonic: IS2
  2291. Description: Information separator two (RS - record separator)
  2292.  
  2293. IS2 is used to separate and qualify data logically; its specific
  2294. meaning has to be defined for each application. If this control
  2295. function is used in hierarchical order, it may delimit a data item
  2296. called a record, see 8.2.10.
  2297.  
  2298. Source: ECMA-48 5th Ed. 8.3.70
  2299. Status: standard
  2300. -------------------------------------------------------------------------------
  2301. Sequence: IS1 (^_)
  2302. Mnemonic: IS1
  2303. Description: Information separator one (US - unit separator)
  2304.  
  2305. IS1 is used to separate and qualify data logically; its specific
  2306. meaning has to be defined for each application. If this control
  2307. function is used in hierarchical order, it may delimit a data item
  2308. called a unit, see 8.2.10.
  2309.  
  2310. Source: ECMA-48 5th Ed. 8.3.69
  2311. Status: standard
  2312. -------------------------------------------------------------------------------
  2313. Sequence: DEL
  2314. Mnemonic: DEL
  2315. Description: Delete
  2316.  
  2317. The character DELETE (bit combination 07/15, see ISO/IEC 646, clause
  2318. 6.5), not being a control function in the strict sense, has been
  2319. removed from the body of the Standard.
  2320.  
  2321. DEL was originally used to erase or obliterate an erroneous or
  2322. unwanted character in punched tape. DEL characters may be inserted
  2323. into, or removed from, a CC-data-element without affecting its
  2324. information content, but such action may affect the information layout
  2325. and/or the control of equipment.
  2326.  
  2327. Source: ECMA-48 5th Ed. F.8.1
  2328. Status: standard; obsolete
  2329. -------------------------------------------------------------------------------
  2330. Section: *** C1 controls ***
  2331. -------------------------------------------------------------------------------
  2332. Sequence: BPH or ESC B
  2333. Mnemonic: BPH
  2334. Description: Break permitted here
  2335.  
  2336. BPH is used to indicate a point where a line break may occur when text
  2337. is formatted. BPH may occur between two graphic characters, either or
  2338. both of which may be SPACE.
  2339.  
  2340. Source: ECMA-48 5th Ed 8.3.4
  2341. Status: standard
  2342. -------------------------------------------------------------------------------
  2343. Sequence: NBH or ESC C
  2344. Mnemonic: NBH
  2345. Description: No break here
  2346.  
  2347. NBH is used to indicate a point where a line break shall not occur
  2348. when text is formatted. NBH may occur between two graphic characters
  2349. either or both of which may be SPACE.
  2350.  
  2351. Source: ECMA-48 5th Ed. 8.3.85
  2352. Status: standard
  2353. -------------------------------------------------------------------------------
  2354. Sequence: IND or ESC D
  2355. Mnemonic: IND
  2356. Description: Index
  2357.  
  2358. The control function INDEX (IND) which was coded as an element of the
  2359. C1 set (08/04) and the use of which was already declared deprecated in
  2360. the fourth Edition of this Standard has now been removed.
  2361.  
  2362. Source: ECMA-48 5th Ed. F.8.2
  2363. Status: standard; obsolete
  2364. -------------------------------------------------------------------------------
  2365. Sequence: NEL or ESC E
  2366. Mnemonic: NEL
  2367. Description: Next line
  2368.  
  2369. The effect of NEL depends on the setting of the DEVICE COMPONENT
  2370. SELECT MODE (DCSM) and on the parameter value of SELECT IMPLICIT
  2371. MOVEMENT DIRECTION (SIMD).
  2372.  
  2373. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to PRESENTATION and
  2374. with a parameter value of SIMD equal to 0, NEL causes the active
  2375. presentation position to be moved to the line home position of the
  2376. following line in the presentation component. The line home position
  2377. is established by the parameter value of SET LINE HOME (SLH).
  2378.  
  2379. With a parameter value of SIMD equal to 1, NEL causes the active
  2380. presentation position to be moved to the line limit position of the
  2381. following line in the presentation component. The line limit position
  2382. is established by the parameter value of SET LINE LIMIT (SLL).
  2383.  
  2384. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to DATA and with a
  2385. parameter value of SIMD equal to 0, NEL causes the active data
  2386. position to be moved to the line home position of the following line
  2387. in the data component. The line home position is established by the
  2388. parameter value of SET LINE HOME (SLH).
  2389.  
  2390. With a parameter value of SIMD equal to 1, NEL causes the active data
  2391. position to be moved to the line limit position of the following line
  2392. in the data component. The line limit position is established by the
  2393. parameter value of SET LINE LIMIT (SLL).
  2394.  
  2395. Source: ECMA-48 5th Ed. 8.3.86
  2396. Status: standard
  2397. -------------------------------------------------------------------------------
  2398. Sequence: SSA or ESC F
  2399. Mnemonic: SSA
  2400. Description: Start of selected area
  2401.  
  2402. SSA is used to indicate that the active presentation position is the
  2403. first of a string of character positions in the presentation
  2404. component, the contents of which are eligible to be transmitted in the
  2405. form of a data stream or transferred to an auxiliary input/output
  2406. device.
  2407.  
  2408. The end of this string is indicated by END OF SELECTED AREA (ESA). The
  2409. string of characters actually transmitted or transferred depends on
  2410. the setting of the GUARDED AREA TRANSFER MODE (GATM) and on any
  2411. guarded areas established by DEFINE AREA QUALIFICATION (DAQ), or by
  2412. START OF GUARDED AREA (SPA) and END OF GUARDED AREA (EPA).
  2413.  
  2414. NOTE
  2415. The control functions for area definition (DAQ, EPA, ESA, SPA, SSA)
  2416. should not be used within an SRS string or an SDS string.
  2417.  
  2418. Source: ECMA-48 5th Ed. 8.3.138
  2419. Status: standard
  2420. -------------------------------------------------------------------------------
  2421. Sequence: ESA or ESC G
  2422. Mnemonic: ESA
  2423. Description: End of selected area
  2424.  
  2425. ESA is used to indicate that the active presentation position is the
  2426. last of a string of character positions in the presentation component,
  2427. the contents of which are eligible to be transmitted in the form of a
  2428. data stream or transferred to an auxiliary input/output device. The
  2429. beginning of this string is indicated by START OF SELECTED AREA (SSA).
  2430.  
  2431. NOTE
  2432. The control function for area definition (DAQ, EPA, ESA, SPA, SSA)
  2433. should not be used within an SRS string or an SDS string.
  2434.  
  2435. Source: ECMA-48 5th Ed. 8.3.47
  2436. Status: standard
  2437. -------------------------------------------------------------------------------
  2438. Sequence: HTS or ESC H
  2439. Mnemonic: HTS
  2440. Description: Character tabulation set
  2441.  
  2442. HTS causes a character tabulation stop to be set at the active
  2443. presentation position in the presentation component.
  2444.  
  2445. The number of lines affected depends on the setting of the TABULATION
  2446. STOP MODE (TSM).
  2447.  
  2448. Source: ECMA-48 5th Ed. 8.3.62
  2449. Status: standard
  2450. -------------------------------------------------------------------------------
  2451. Sequence: HTJ or ESC I
  2452. Mnemonic: HTJ
  2453. Description: Character tabulation with justification
  2454.  
  2455. HTJ causes the contents of the active field (the field in the
  2456. presentation component that contains the active presentation position)
  2457. to be shifted forward so that it ends at the character position
  2458. preceding the following character tabulation stop. The active
  2459. presentation position is moved to that following character tabulation
  2460. stop. The character positions which precede the beginning of the
  2461. shifted string are put into the erased state.
  2462.  
  2463. Source: ECMA-48 5th Ed. 8.3.61
  2464. Status: standard
  2465. -------------------------------------------------------------------------------
  2466. Sequence: VTS or ESC J
  2467. Mnemonic: VTS
  2468. Description: Line tabulation set
  2469.  
  2470. VTS causes a line tabulation stop to be set at the active line (the
  2471. line that contains the active presentation position).
  2472.  
  2473. Source: ECMA-48 5th Ed. 8.3.162
  2474. Status: standard
  2475. -------------------------------------------------------------------------------
  2476. Sequence: PLD or ESC K
  2477. Mnemonic: PLD
  2478. Description: Partial line forward
  2479.  
  2480. PLD causes the active presentation position to be moved in the
  2481. presentation component to the corresponding position of an imaginary
  2482. line with a partial offset in the direction of the line progression.
  2483. This offset should be sufficient either to image following characters
  2484. as subscripts until the first following occurrence of PARTIAL LINE
  2485. BACKWARD (PLU) in the data stream, or, if preceding characters were
  2486. imaged as superscripts, to restore imaging of following characters to
  2487. the active line (the line that contains the active presentation
  2488. position).
  2489.  
  2490. Any interactions between PLD and format effectors other than PLU are
  2491. not defined by this Standard.
  2492.  
  2493. Source: ECMA-48 5th Ed. 8.3.92
  2494. Status: standard
  2495. -------------------------------------------------------------------------------
  2496. Sequence: PLU or ESC L
  2497. Mnemonic: PLU
  2498. Description: Partial line backward
  2499.  
  2500. PLU causes the active presentation position to be moved in the
  2501. presentation component to the corresponding position of an imaginary
  2502. line with a partial offset in the direction opposite to that of the
  2503. line progression. This offset should be sufficient either to image
  2504. following characters as superscripts until the first following
  2505. occurrence of PARTIAL LINE FORWARD (PLD) in the data stream, or, if
  2506. preceding characters were imaged as subscripts, to restore imaging of
  2507. following characters to the active line (the line that contains the
  2508. active presentation position).
  2509.  
  2510. Any interactions between PLU and format effectors other than PLD are
  2511. not defined by this Standard.
  2512.  
  2513. Source: ECMA-48 5th Ed. 8.3.93
  2514. Status: standard
  2515. -------------------------------------------------------------------------------
  2516. Sequence: RI or ESC M
  2517. Mnemonic: RI
  2518. Description: Reverse line feed
  2519.  
  2520. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to PRESENTATION, RI
  2521. causes the active presentation position to be moved in the
  2522. presentation component to the corresponding character position of the
  2523. preceding line.
  2524.  
  2525. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to DATA, RI causes
  2526. the active data position to be moved in the data component to the
  2527. corresponding character position of the preceding line.
  2528.  
  2529. Source: ECMA-48 5th Ed. 8.3.104
  2530.  
  2531. In earlier versions of ECMA-48, this was known as "Reverse Index".
  2532.  
  2533. Source: Paul Williams <flo@uk.thalesgroup.com> in comp.terminals
  2534.     <3D19AB54.E35A3B25@uk.thalesgroup.com>
  2535. Status: standard
  2536. -------------------------------------------------------------------------------
  2537. Sequence: SS2 or ESC N
  2538. Mnemonic: SS2
  2539. Description: Single-shift two
  2540.  
  2541. SS2 is used for code extension purposes. It causes the meanings of the
  2542. bit combinations following it in the data stream to be changed.
  2543.  
  2544. The use of SS2 is defined in Standard ECMA-35.
  2545.  
  2546. Source: ECMA-48 5th Ed. 8.3.141
  2547. Status: standard
  2548. -------------------------------------------------------------------------------
  2549. Sequence: SS3 or ESC O
  2550. Mnemonic: SS3
  2551. Description: Single-shift three
  2552.  
  2553. SS3 is used for code extension purposes. It causes the meanings of the
  2554. bit combinations following it in the data stream to be changed.
  2555.  
  2556. The use of SS3 is defined in Standard ECMA-35.
  2557.  
  2558. Source: ECMA-48 5th Ed. 8.3.142
  2559. Status: standard
  2560. -------------------------------------------------------------------------------
  2561. Sequence: DCS or ESC P
  2562. Mnemonic: DCS
  2563. Description: Device control string
  2564.  
  2565. DCS is used as the opening delimiter of a control string for device
  2566. control use. The command string following may consist of bit
  2567. combinations in the range 00/08 to 00/13 and 02/00 to 07/14. The
  2568. control string is closed by the terminating delimiter STRING
  2569. TERMINATOR (ST).
  2570.  
  2571. The command string represents either one or more commands for the
  2572. receiving device, or one or more status reports from the sending
  2573. device. The purpose and the format of the command string are specified
  2574. by the most recent occurrence of IDENTIFY DEVICE CONTROL STRING
  2575. (IDCS), if any, or depend on the sending and/or the receiving device.
  2576.  
  2577. Source: ECMA-48 5th Ed 8.3.27
  2578.  
  2579. For Digital VTxxx terminals we've extended this as follows:
  2580.  
  2581. DCS <introducer-sequence> <string-data> ST
  2582.  
  2583. The introducer sequence follows exactly the same syntax and
  2584. symantics as a control sequence except that CSI is replaced by DCS.
  2585. The <string-data> is control string specific.
  2586.  
  2587. Source:
  2588.  <URL:http://www.cs.utk.edu/~shuford/terminal/ansi_dec_controls_news.txt>
  2589. Status: standard
  2590. Source: vttest-990712 vt420.c
  2591. -------------------------------------------------------------------------------
  2592. Sequence: DCS Ps g data ST
  2593. Description: LA100 graphics string
  2594.  
  2595. Ps =
  2596. 0, 1, 5        Dot spacing 7.57 mils (132 dpi)
  2597.  
  2598. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE12
  2599. Status: DEC private
  2600. -------------------------------------------------------------------------------
  2601. Sequence: DCS Ps p Pr ST
  2602. Description: ReGIS graphics
  2603.  
  2604.         DCS p or DCS 0 p
  2605.                 Re-enter ReGIS at the point where it was last exited.  Does
  2606.                 not display commands.
  2607.  
  2608.         DCS 1 p
  2609.                 Enter ReGIS at command level; ReGIS begins a new command.
  2610.                 Does not display commands.
  2611.  
  2612.         DCS x+2 p, x=0 or 1
  2613.                 Like DCS x p, but displays commands on the screen's bottom
  2614.                 line.
  2615.  
  2616. [ Pr is a ReGIS string, which I'm not going to document here just yet. ]
  2617.  
  2618. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/dec_regis_news.txt>
  2619. Status: DEC private
  2620. -------------------------------------------------------------------------------
  2621. Sequence: DCS P1 ; P2 ; P3 q Ps ST
  2622. Description: Sixel graphics
  2623.  
  2624.           P1  is  the  macro  parameter. This parameter indicates the pixel
  2625.           aspect ratio used by the  application  or  terminal.    The pixel
  2626.           aspect ratio  defines the  shape of  the pixel  dots the terminal
  2627.           uses to draw images.  For example, a pixel that is twice  as high
  2628.           as it is wide has an aspect ratio of 2:1.
  2629.  
  2630.           NOTE:  The  macro  parameter  is  provided for compatibility with
  2631.           existing Digital software.  New applications  should set  P1 to 0
  2632.           and  use  the  set  raster attributes control, described later in
  2633.           this chapter.
  2634.  
  2635.                P1          Pixel Aspect Ratio
  2636.                            (Vertical:Horizontal)
  2637.  
  2638.                Omitted     2:1
  2639.                0 or 1      5:1
  2640.                2           3:1
  2641.                3 or 4      2:1
  2642.                5 or 6      2:1
  2643.                7,8, or 9   1:1
  2644.  
  2645.           P2 selects how the terminal draws the background color.   You can 3$
  2646.           use one of three values.
  2647.  
  2648.                P2          Meaning
  2649.  
  2650.                0 or 2      Pixel positions  specified as  0 are  set to the
  2651.                            current background color.
  2652.  
  2653.                1           Pixel positions specified as  0 remain  at their
  2654.                            current color.
  2655.  
  2656.           P3 is  the horizontal  grid size  parameter.  The horizontal grid
  2657.           size is the horizontal distance  between  two  pixel  dots.   The
  2658.           VT300 ignores  this parameter because the horizontal grid size is
  2659.           fixed at 0.0195 cm (0.0075 in).
  2660.  
  2661. In the data section:
  2662.  
  2663. Characters from ? to ~ encode a column of pixels one wide and six
  2664. high.  ? is all-zeros, ~ is all-ones and the low-order bit is at the
  2665. top.
  2666.  
  2667. ! Pn encodes a repeat count of the following character
  2668. - causes the next band of sixels to start below the current one at the left
  2669.   margin
  2670. $ causes the next band to overlay the current one, starting at the left margin.
  2671. # Pn selects palette entry Pn.
  2672. # Pn1 ; Pn2 ; Pn3 ; Pn4 ; Pn5 sets palette entry Pn1 to contain the colour
  2673.   (Pn3, Pn4, Pn5) in the colour space represented by Pn1 (1 = HLS, 2 = RGB).
  2674. Anything else is ignored.
  2675.  
  2676. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/all_about_sixels.txt>
  2677. Status: DEC private
  2678. -------------------------------------------------------------------------------
  2679. Sequence: DCS v data ST
  2680. Description: Answerback message entry
  2681.  
  2682. Data consists of up to 30 characters coded in hex.
  2683.  
  2684. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56
  2685. Status: DEC private; LA100
  2686. -------------------------------------------------------------------------------
  2687. Sequence: DCS Ps1 ; Ps2 ... x Pstr ST
  2688. Description: DECtalk commands
  2689.  
  2690. Synchronize            <ESC> P;11x <ESC> \
  2691. Load Dictionary            <ESC> P0;40z name sub ESC \
  2692. Answer Phone            <ESC> P;60;10;[number of rings]z <ESC> \
  2693. Hang Up Phone            <ESC> P;60;11z <ESC> \
  2694. Enable Keypad            <ESC> P;60;20z <ESC> \
  2695. Set Timeout            <ESC> P;60;30;[number of seconds]z <ESC> \
  2696. Tone Dial            <ESC> P;60;40z text <ESC> \
  2697. Pulse Dial            <ESC> P;60;41z text <ESC> \
  2698. On-hook Status (response)    <ESC> P;70;0x <ESC> \
  2699. Off-hook status (response)    <ESC> P;70;1z <ESC> \
  2700. Timeout status (response)    <ESC> P;70;2z <ESC> \
  2701.  
  2702. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 ppG6-G9
  2703. Status: DEC private; DECtalk
  2704. -------------------------------------------------------------------------------
  2705. Sequence: DCS 0 ; Ps2 ; Ps3 y FntRcrd ; CommentRecord ST
  2706. Mnemonic: DECLFF
  2707. Description: Load font file
  2708.  
  2709. Ps2  Meaning
  2710. 0    Print summary sheet
  2711. 1    Don't print summary sheet
  2712.  
  2713. Ps3  Meaning
  2714. 0    Delete all fonts
  2715. 1    Replace fonts with same ID
  2716.  
  2717. FntRcrd = data for font set
  2718.  
  2719. ComentRecord = user supplied text
  2720.  
  2721. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE109
  2722. Status: DEC private; LA100, LN03
  2723. -------------------------------------------------------------------------------
  2724. Sequence: DCS Pfn ; Pcn ; Pe ; Pcms ; Pw ; Pt ; Pcmh ; Pcss {
  2725.         Dscs Sxbp1 ; Sxbp2 ; ... ST
  2726. Mnemonic: DECDLD
  2727. Description: Down-line load DRCS characters
  2728.  
  2729. Pfn;Pcn;Pe;Pcms;Pw;Pt are parameter characters, separated by
  2730. semicolons, that define parameters described in Table 4-9. Valid
  2731. values for Pcms, Pw, and Pt are: Pcms = 0, 2, 3 or 4; Pw = 0, 1 or 2;
  2732. and Pt = 0 or 1. Invalid combinations are ignored. A font loaded for
  2733. 80 columns can be used in 132 columns and a font loaded for 132
  2734. columns can be used in 80 columns.
  2735.  
  2736. { (7/11) is the final character that signals the end of the parameter
  2737. characters and specifies a DECDLD function.
  2738.  
  2739. Dscs defines the character set "name" for the soft font, and is used
  2740. in the SCS (select character set) escape sequence.
  2741.  
  2742. Sxbp1;Sxbp2;...;Sxbpn are sixel bit patterns (1 to 94 patterns) for
  2743. characters separated by semicolons.  Each sixel bit pattern has the
  2744. form:
  2745.  
  2746.     S...S/S...S
  2747.  
  2748. where the first S...S represents the upper columns (sixels) of the
  2749. DRCS character, the slash (2/5) advances the sixel pattern to the
  2750. lower columns of the DRCS character, and the second S...S represents
  2751. the lower columns (sixels) of the DRCS (see Figure 4-6).
  2752.  
  2753. ST (9/12) is the string terminator. It is an 8-bit control character
  2754. that you can also express as ESC \ (1/11 5/12) when coding for a 7-bit
  2755. environment.
  2756.  
  2757. Table 4-9 DECDLD Parameter Characters
  2758.  
  2759. Parameter  Name            Description
  2760.  Pfn       Font Number     Specifies DRCS font buffer to be loaded. The
  2761.                            VT220 has only one DRCS font
  2762.                            buffer. This parameter has two valid
  2763.                            values: 0 and 1.
  2764.  
  2765.  Pcn       Starting
  2766.            Character
  2767.            Number
  2768.  
  2769.                            Selects starting character in DRCS font
  2770.                            buffer to be loaded. For example:
  2771.                            Parameter value 1 specifies a column 2/row
  2772.                            1 character, parameter 94 specifies
  2773.                            a column 7/row 14 character (Table 2-1 in
  2774.                            Chapter 2).
  2775.  
  2776.  Pe       Erase Control    Selects which characters are erased before
  2777.                            loading according to:
  2778.  
  2779.                             0 =  erase all characters in this DRCS set
  2780.                             1 =  erase only the characters that are being
  2781.                                  reloaded
  2782.                             2 =  erase all characters in all DRCS sets
  2783.                                  (this font buffer number and
  2784.                                  other font buffer numbers)
  2785.  
  2786.  Pcms     Character Matrix
  2787.             Size            Defines the expected limit of the character
  2788.                             matrix size according to:
  2789.  
  2790.                             0 = Device default (7 x 10)
  2791.                             1 = (not used)
  2792.                             2 = 5 x 10
  2793.                             3 = 6 x 10
  2794.                             4 = 7 x 10
  2795.                 5 = 5 x Pcmh
  2796.                             6 = 6 x Pcmh
  2797.                             7 = 7 x Pcmh
  2798.                             8 = 8 x Pcmh
  2799.                             9 = 9 x Pcmh
  2800.                             10 = 10 x Pcmh
  2801.  
  2802.  Pw       Width Attribute   Specifies the width attribute according to:
  2803.  
  2804.                            0 = Device default (80 Columns)
  2805.                            1 = 80 column
  2806.                            2 = 132 column
  2807.  
  2808.  Pt       Text/ Full-Cell  Allows software to treat the font as a text
  2809.                            font or a full-cell font according to:
  2810.  
  2811.                            0 = Device default (text)
  2812.                            1 = Text
  2813.                            2 = Full-Cell (not used)
  2814.  
  2815.                            Full-Cell fonts can individually address
  2816.                            all pixels in a cell, while text fonts, in
  2817.                            general, may not be able to address all
  2818.                            pixels individually.
  2819.  
  2820.  Pcmh     Character Matrix Height
  2821.                            Sets the character matrix size in conjuction
  2822.                            with Pcms.  The maximum is device-dependent.
  2823.  
  2824.  Pcss     Character-set size
  2825.                    0 = 94 characters  1 = 96 characters
  2826.  
  2827. [ The sixels have MSB at the bottom and an offset of 077 octal applied ]
  2828.  
  2829. Source: <URL:http://vt100.net/docs/vt220-rm/chapter4.html>
  2830. Status: DEC private; VT200
  2831. -------------------------------------------------------------------------------
  2832. Sequence: DCS 2000 ; Pterm ; Ptag { Ps ST
  2833. Mnemonic: WRQCMD
  2834. Description: Invoke a reflection command
  2835.  
  2836. Source: Reflection TRM (VT) Version 7.0
  2837. Status: WRQ private
  2838. -------------------------------------------------------------------------------
  2839. Sequence: DCS ... | ... ST
  2840. Mnemonic: DECUDK
  2841. Description: User-defined keys
  2842.  
  2843. Source: Paul Williams <paul@celigne.co.uk> in mail
  2844.     <3844F164.F2242F18@rdel.co.uk>
  2845. Status: DEC private
  2846. -------------------------------------------------------------------------------
  2847. Sequence: DCS Ps1 ; Ps2 } IDstring ST
  2848. Mnemonic: DECATFF
  2849. Description: Assign to font file
  2850.  
  2851. Ps1  Meaning
  2852. 1    Assign by font (default)
  2853. 2    Assign by font family
  2854.  
  2855. Ps2 = font number for use with SGR
  2856.  
  2857. IDstring = name associated with font number
  2858.  
  2859. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE108
  2860. Status: DEC private; LA100, LN03
  2861. -------------------------------------------------------------------------------
  2862. Sequence: DCS Ps ! q ... ST
  2863. Description: Enter GIDIS mode
  2864.  
  2865. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE126
  2866. Status: DEC private; LCP01
  2867. -------------------------------------------------------------------------------
  2868. Sequence: DCS Ps ~ IDstring ST
  2869. Mnemonic: DECDTFF
  2870. Description: Delete type family or font file
  2871.  
  2872. Ps1  Meaning
  2873. 0    IDstring is type family
  2874. 1    IDstring is font
  2875.  
  2876. IDstring = 7 letter family name or 16 letter font ID
  2877.  
  2878. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE108
  2879. Status: DEC private; LN03
  2880. -------------------------------------------------------------------------------
  2881. Sequence: DCS Pn ! u Ps ST
  2882. Mnemonic: DECAUPSS
  2883. Description: Assign user-preferred supplemental set
  2884.  
  2885. Pn = 0 for 94-character, 1 for 96-character (?)
  2886. Ps = character set specifier as passed to GZD4 and co. (?)
  2887.  
  2888. Source: Reflection TRM (VT) Version 7.0
  2889. Status: DEC private
  2890. -------------------------------------------------------------------------------
  2891. Sequence: DCS Pn1 ; Pn2 ; Pn3 ! z Ps ST
  2892. Mnemonic: DECDMAC
  2893.  
  2894. You can define macros that are interpreted as normal input when
  2895. emulating the VT420 terminal.  Any macro definitions that do not fit
  2896. into the memory allotted are ignored. An RIS or DECSR clears all macro
  2897. definitions. A soft reset (DECSTR) has no effect.
  2898.  
  2899. Pn1: Macro ID number (0-63). If you give a macro an ID number that
  2900. already exists, the old macro definition is deleted and the new one is
  2901. used. If <n1> exceeds 63, Reflection ignores this control
  2902. function. Everything but the Csi 5i and Csi 4i control functions are
  2903. passed to the printer.
  2904.  
  2905. Pn2: Determine how a new macro definition is treated: If Pn2 is 0 or
  2906. omitted, an old macro with the same macro ID number is deleted. If
  2907. Pn2 is 1, DECDMAC deletes all current macro definitions before
  2908. defining this macro. If <n2> is a number that is not 0 or 1, the macro
  2909. is ignored.
  2910.  
  2911. Pn3: Select the encoding format for the text of the macro definition:
  2912. If Pn3 is 0 or omitted, ASCII text is used in the macro. If Pn3 is
  2913. 1, hex pairs are used (each pair of characters in the macro is the hex
  2914. value for a single ASCII character. If Pn3 is a number that is not 0
  2915. or 1, the macro is ignored. The string of text and control functions
  2916. to be performed when the macro is invoked. If hex pairs are used, you
  2917. can also use a repeat introducer (!) in Ps. The repeat introducer
  2918. lets you repeat any hex pair in the definition string any number of
  2919. times.
  2920.  
  2921. Source: Reflection TRM (VT) Version 7.0
  2922. Status: DEC private
  2923. -------------------------------------------------------------------------------
  2924. Sequence: DCS ... ! | ... ST
  2925. Mnemonic: DECRPTUI
  2926. Description: Report Terminal Unit Information
  2927.  
  2928. (to Host)
  2929.  
  2930. Source: Paul Williams <paul@celigne.co.uk> in mail
  2931.     <3844F164.F2242F18@rdel.co.uk>
  2932. Status: DEC private
  2933. -------------------------------------------------------------------------------
  2934. Sequence: DCS Pn ! ~ Ps ST
  2935. Mnemonic: DECCKSR
  2936. Description: Checksum response
  2937.  
  2938. This is sent by the terminal in response to DECRQCRA or DSR ? 63.  Ps
  2939. is a four-digit hexadecimal checksum.  Pn is the identifier given in
  2940. the checksum request.
  2941.  
  2942. Source: Reflection TRM (VT) Version 7.0
  2943. Status: DEC private; VT400
  2944. -------------------------------------------------------------------------------
  2945. Sequence: DCS ... " { ... ST
  2946. Mnemonic: DECFSR
  2947. Description: Font Status Report
  2948.  
  2949. Source: Paul Williams <paul@celigne.co.uk> in mail
  2950.     <3844F164.F2242F18@rdel.co.uk>
  2951. Status: DEC private
  2952. -------------------------------------------------------------------------------
  2953. Sequence: DCS 1 $ p Ps ST
  2954. Mnemonic: DECRSTS
  2955. Description: Restore terminal state
  2956.  
  2957. Sets terminal state.  Ps should be a string returned by DECTSR.
  2958.  
  2959. Source: Reflection TRM (VT) Version 7.0
  2960. Status: DEC private; VT300
  2961. -------------------------------------------------------------------------------
  2962. Sequence: DCS 2 $ p Ps ST
  2963. Mnemonic: DECRSTS
  2964. Description: Restore color table
  2965.  
  2966. Sets the color table.  Ps is as specified under DECCTR.
  2967.  
  2968. Source: Reflection TRM (VT) Version 7.0
  2969. Status: DEC private; VT300
  2970. -------------------------------------------------------------------------------
  2971. Sequence: DCS $ q Ps ST
  2972. Mnemonic: DECRQSS
  2973. Description: Control function settings request
  2974.  
  2975. This sequence is sent by the host to request the terminal to report
  2976. the setting of a control function.  The control function in question
  2977. is specified by Ps, which is the intermediate (if any) and final bytes
  2978. of the function's control sequence.  The following values of Ps are
  2979. supported:
  2980.  
  2981. m    =>  SGR
  2982. r    =>  DECSTBM
  2983. $ |  =>  DECSCPP
  2984. $ }  =>  DECSASD
  2985. $ ~  =>  DECSSDT
  2986. " p  =>  DECSCL
  2987. " q  =>  DECSCA
  2988.  
  2989. The terminal responds with DECRPSS.  Only one control function may be
  2990. queried at a time.
  2991.  
  2992. Source: Reflection TRM (VT) Version 7.0
  2993. Status: DEC private
  2994. -------------------------------------------------------------------------------
  2995. Sequence: DCS Pn $ r Ps ST
  2996. Mnemonic: DECRPSS
  2997. Description: Control function settings response
  2998.  
  2999. This sequence is returned by the terminal in response to DECRQSS.
  3000.  
  3001. Pn is 0 if the request was invalid (e.g. for a function that can't be
  3002. reported) or 1 if it was successful.
  3003.  
  3004. Ps is the complete control sequence (minus the leading CSI) necessary
  3005. to set the state of the requested control function.
  3006.  
  3007. Source: Reflection TRM (VT) Version 7.0
  3008. Status: DEC private
  3009. -------------------------------------------------------------------------------
  3010. Sequence: DCS 1 $ s Ps ST
  3011. Mnemonic: DECTSR
  3012. Description: Terminal state report
  3013.  
  3014. This is sent in response to a DECRQTSR, and contains an opaque
  3015. representation of the terminal's state.
  3016.  
  3017. Source: Reflection TRM (VT) Version 7.0
  3018. Status: DEC private; VT300
  3019. -------------------------------------------------------------------------------
  3020. Sequence: DCS 2 $ s Ps ST
  3021. Mnemonic: DECCTR
  3022. Description: Color table report
  3023.  
  3024. This is sent by the terminal in response to DECRQTSR.  Ps contains the
  3025. terminal's colour table.  The palette entries are separated by slashes, and
  3026. each one containe (semicolon-separated):
  3027.  
  3028. Color ???
  3029. Colour space (1 => HLS, 2 => RGB)
  3030. Components (H;L;S or R;G;B)
  3031.  
  3032. Source: Reflection TRM (VT) Version 7.0
  3033. Status: DEC private
  3034. -------------------------------------------------------------------------------
  3035. Sequence: DCS Ps $ t Ps ST
  3036. Mnemonic: DECRSPS
  3037. Description: Restore presentation state
  3038.  
  3039. Ps is 1 to restore cursor information and 2 to restore tab stops.  Ps is
  3040. in the format returned by DECCIR or DECTABSR respectively.
  3041.  
  3042. Source: Reflection TRM (VT) Version 7.0
  3043. Status: DEC private
  3044. -------------------------------------------------------------------------------
  3045. Sequence: DCS 1 $ u Pr ; Pc ; Pp ; Srend ; Satt ; Sflag ; Pgl ; Pgr ; Scss ;
  3046.         Sdesig ST
  3047. Mnemonic: DECCIR
  3048. Description: Cursor information report
  3049.  
  3050. See DECRQPSR for request.
  3051.  
  3052.  * Response DCS 1 $ u Pr; Pc; Pp; Srend; Satt; Sflag; Pgl; Pgr; Scss; Sdesig ST
  3053.  *        where   Pr is cursor row (counted from origin as 1,1)
  3054.  *                Pc is cursor column
  3055.  *                Pp is 1, video page, a constant for VT320s
  3056.  *                Srend = 40h + 8 (rev video on) + 4 (blinking on)
  3057.  *                                 + 2 (underline on) + 1 (bold on)
  3058.  *                Satt = 40h + 1  (selective erase on)
  3059.  *                Sflag = 40h + 8 (autowrap pending) + 4 (SS3 pending)
  3060.  *                                + 2 (SS2 pending) + 1 (Origin mode on)
  3061.  *                Pgl = char set in GL (0 = G0, 1 = G1, 2 = G2, 3 = G3)
  3062.  *                Pgr = char set in GR (same as for Pgl)
  3063.  *                Scss = 40h + 8 (G3 is 96 char) + 4 (G2 is 96 char)
  3064.  *                                + 2 (G1 is 96 char) + 1 (G0 is 96 char)
  3065.  *                Sdesig is string of character idents for sets G0...G3, with
  3066.  *                                no separators between set idents.
  3067.  *                If NRCs are active the set idents (all 94 byte types) are:
  3068.  *                British         A       Italian         Y
  3069.  *                Dutch           4       Norwegian/Danish ' (hex 60) or E or 6
  3070.  *                Finnish         5 or C  Portuguese      %6 or g or L
  3071.  *                French          R or f  Spanish         Z
  3072.  *                French Canadian 9 or Q  Swedish         7 or H
  3073.  *                German          K       Swiss           =
  3074.  *                Hebrew          %=
  3075.  *                (MS Kermit uses any choice when there are multiple)
  3076.  */
  3077.  
  3078. Source: vttest-990712 vt420.c
  3079. Status: DEC private
  3080. -------------------------------------------------------------------------------
  3081. Sequence: DCS 2 $ u Ps ST
  3082. Mnemonic: DECTABSR
  3083. Description: Tab stop report
  3084.  
  3085. Sent by the terminal is response to a DECRQPSR.
  3086.  
  3087. Ps is a slash-separated list of tab stops.
  3088.  
  3089. Source: Reflection TRM (VT) Version 7.0
  3090. Status: DEC private
  3091. -------------------------------------------------------------------------------
  3092. Sequence: DCS Pc $ w Ky1 / Std1 / Stu1 ; ... ; Kyn / Stnd / Stnu ST
  3093. Mnemonic: DECLKD (also DECLBD)
  3094. Description: Locator key definition
  3095.  
  3096. Pc - Clear parameter 
  3097.  
  3098. 0 (or omitted) Clear all LKDs before loading new values. All button
  3099.   definition strings are empty (not the default).
  3100. 1 Clear old definition only for keys that are redefined.
  3101.  
  3102. Kyn / Stnd / Stnu - Key selection code n, slash delimeter, and string
  3103. parameter n for down and up key transitions.
  3104.  
  3105. Kyn is a single ASCII digit, and Std/Stu is a series of ASCII hex
  3106. pairs. If Std or Stu is omitted, the corresponding button string will
  3107. be empty. Key definition strings are delimited with a semicolon (";").
  3108.  
  3109. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/dec_vt_mouse.html>
  3110. Status: DEC private; VT340?
  3111. -------------------------------------------------------------------------------
  3112. Sequence: DCS Pn . y Ps ST
  3113. Description: xwsh device control
  3114.  
  3115. Device control string. Ps is a single ansi string (character codes in
  3116. the range of octal 040 to 0176 inclusive). The following defines what
  3117. the string is used for.
  3118.  
  3119. 1   Set the window title. 
  3120. 3   Set the icon title. 
  3121. 4   Set the text color by string. See the -C command for a description
  3122.     of how the string will be interpreted.
  3123. 5   Set the page color by string. 
  3124. 6   Set the selection text color by string. 
  3125. 7   Set the selection page color by string. 
  3126. 8   Set the cursor text color by string. 
  3127. 9   Set the cursor page color by string. 
  3128. 10  Set the half intensity color by string. 
  3129. 11  Set the bold intensity color by string. 
  3130. 101 Bind the string to the key named by Pn+1. The key numbers are the
  3131.     same as the numbers defined in <device.h>. The string can contain
  3132.     C style backslashed characters to get control characters into the
  3133.     string. When the key is pressed the value will be sent to the
  3134.     process that xwsh is managing. This capability is turned off by
  3135.     default for security. Turn it on with the "-bindkey2dcs" command
  3136.     line option or with the "bindKey2DCS" resource.
  3137. 103 Bind the string to the key named by Pn+1. The key numbers are the
  3138.     same as the numbers defined in <device.h>. When the key is pressed
  3139.     the value will be used to invoke a function internal to xwsh. This
  3140.     capability is turned off by default for security. Turn it on with
  3141.     the "-bindkey2dcs" command line option or with the "bindKey2DCS"
  3142.     resource.
  3143.  
  3144. Source: IRIX 6.5.5 xwsh(1G)
  3145. Status: SGI private
  3146. -------------------------------------------------------------------------------
  3147. Sequence: PU1 or ESC Q
  3148. Mnemonic: PU1
  3149. Description: Private use one
  3150.  
  3151. PU1 is reserved for a function without standardized meaning for
  3152. private use as required, subject to the prior agreement between the
  3153. sender and the recipient of the data.
  3154.  
  3155. Source: ECMA-48 5th Ed. 8.3.100
  3156. Status: standard
  3157. -------------------------------------------------------------------------------
  3158. Sequence: PU2 or ESC R
  3159. Mnemonic: PU2
  3160. Description: Private use two
  3161.  
  3162. PU2 is reserved for a function without standardized meaning for
  3163. private use as required, subject to the prior agreement between the
  3164. sender and the recipient of the data.
  3165.  
  3166. Source: ECMA-48 5th Ed. 8.3.101
  3167. Status: standard
  3168. -------------------------------------------------------------------------------
  3169. Sequence: STS or ESC S
  3170. Mnemonic: STS
  3171. Description: Set transmit state
  3172.  
  3173. STS is used to establish the transmit state in the receiving
  3174. device. In this state the transmission of data from the device is
  3175. possible.
  3176.  
  3177. The actual initiation of transmission of data is performed by a data
  3178. communication or input/output interface control procedure which is
  3179. outside the scope of this Standard.
  3180.  
  3181. The transmit state is established either by STS appearing in the
  3182. received data stream or by the operation of an appropriate key on a
  3183. keyboard.
  3184.  
  3185. Source: ECMA-48 5th Ed. 8.3.145
  3186. Status: standard
  3187. -------------------------------------------------------------------------------
  3188. Sequence: CCH or ESC T
  3189. Mnemonic: CCH
  3190. Description: Cancel character
  3191.  
  3192. CCH is used to indicate that both the preceding graphic character in
  3193. the data stream, (represented by one or more bit combinations)
  3194. including SPACE, and the control function CCH itself are to be ignored
  3195. for further interpretation of the data stream.
  3196.  
  3197. If the character preceding CCH in the data stream is a control
  3198. function (represented by one or more bit combinations), the effect of
  3199. CCH is not defined by this Standard.
  3200.  
  3201. Source: ECMA-48 5th Ed 8.3.8
  3202. Status: standard
  3203. -------------------------------------------------------------------------------
  3204. Sequence: MW or ESC U
  3205. Mnemonic: MW
  3206. Description: Message waiting
  3207.  
  3208. MW is used to set a message waiting indicator in the receiving
  3209. device. An appropriate acknowledgement to the receipt of MW may be
  3210. given by using DEVICE STATUS REPORT (DSR).
  3211.  
  3212. Source: ECMA-48 5th Ed. 8.3.83
  3213. Status: standard
  3214. -------------------------------------------------------------------------------
  3215. Sequence: SPA or ESC V
  3216. Mnemonic: SPA
  3217. Description: Start of guarded area
  3218.  
  3219. SPA is used to indicate that the active presentation position is the
  3220. first of a string of character positions in the presentation
  3221. component, the contents of which are protected against manual
  3222. alteration, are guarded against transmission or transfer, depending on
  3223. the setting of the GUARDED AREA TRANSFER MODE (GATM) and may be
  3224. protected against erasure, depending on the setting of the ERASURE
  3225. MODE (ERM). The end of this string is indicated by END OF GUARDED AREA
  3226. (EPA).
  3227.  
  3228. NOTE
  3229. The control functions for area definition (DAQ, EPA, ESA, SPA, SSA)
  3230. should not be used within an SRS string or an SDS string.
  3231.  
  3232. Source: ECMA-48 5th Ed. 8.3.129
  3233. Status: standard
  3234. -------------------------------------------------------------------------------
  3235. Sequence: EPA or ESC W
  3236. Mnemonic: EPA
  3237. Description: End of guarded area
  3238.  
  3239. EPA is used to indicate that the active presentation position is the
  3240. last of a string of character positions in the presentation component,
  3241. the contents of which are protected against manual alteration, are
  3242. guarded against transmission or transfer, depending on the setting of
  3243. the GUARDED AREA TRANSFER MODE (GATM), and may be protected against
  3244. erasure, depending on the setting of the ERASURE MODE (ERM). The
  3245. beginning of this string is indicated by START OF GUARDED AREA (SPA).
  3246.  
  3247. NOTE
  3248. The control functions for area definition (DAQ, EPA, ESA, SPA, SSA)
  3249. should not be used within an SRS string or an SDS string.
  3250.  
  3251. Source: ECMA-48 5th Ed. 8.3.46
  3252. Status: standard
  3253. -------------------------------------------------------------------------------
  3254. Sequence: SOS or ESC X
  3255. Mnemonic: SOS
  3256. Description: Start of string
  3257.  
  3258. SOS is used as the opening delimiter of a control string. The
  3259. character string following may consist of any bit combination, except
  3260. those representing SOS or STRING TERMINATOR (ST). The control string
  3261. is closed by the terminating delimiter STRING TERMINATOR (ST). The
  3262. interpretation of the character string depends on the application.
  3263.  
  3264. Source: ECMA-48 5th Ed. 8.3.128
  3265. Status: standard
  3266. -------------------------------------------------------------------------------
  3267. Sequence: SCI or ESC Z
  3268. Mnemonic: SCI
  3269. Description: Single character introducer
  3270.  
  3271. SCI and the bit combination following it are used to represent a
  3272. control function or a graphic character.  The bit combination
  3273. following SCI must be from 00/08 to 00/13 or 02/00 to 07/14. The use
  3274. of SCI is reserved for future standardization.
  3275.  
  3276. Source: ECMA-48 5th Ed. 8.3.109
  3277. Status: standard
  3278. -------------------------------------------------------------------------------
  3279. Sequence: CSI or ESC [
  3280. Mnemonic: CSI
  3281. Description: Control sequence introducer
  3282.  
  3283. CSI is used as the first character of a control sequence.
  3284.  
  3285. Source: ECMA-48 5th Ed 8.3.16
  3286. Status: standard
  3287. -------------------------------------------------------------------------------
  3288. Sequence: CSI Pn @
  3289. Mnemonic: ICH
  3290. Description: Insert character
  3291.  
  3292. Parameter default value: Pn = 1
  3293.  
  3294. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to PRESENTATION, ICH
  3295. is used to prepare the insertion of n characters, by putting into the
  3296. erased state the active presentation position and, depending on the
  3297. setting of the CHARACTER EDITING MODE (HEM), the n-1 preceding or
  3298. following character positions in the presentation component, where n
  3299. equals the value of Pn. The previous contents of the active
  3300. presentation position and an adjacent string of character positions
  3301. are shifted away from the active presentation position. The contents
  3302. of n character positions at the other end of the shifted part are
  3303. removed. The active presentation position is moved to the line home
  3304. position in the active line. The line home position is established by
  3305. the parameter value of SET LINE HOME (SLH).
  3306.  
  3307. The extent of the shifted part is established by SELECT EDITING EXTENT
  3308. (SEE).
  3309.  
  3310. The effect of ICH on the start or end of a selected area, the start or
  3311. end of a qualified area, or a tabulation stop in the shifted part, is
  3312. not defined by this Standard.
  3313.  
  3314. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to DATA, ICH is used
  3315. to prepare the insertion of n characters, by putting into the erased
  3316. state the active data position and, depending on the setting of the
  3317. CHARACTER EDITING MODE (HEM), the n-1 preceding or following character
  3318. positions in the data component, where n equals the value of Pn. The
  3319. previous contents of the active data position and an adjacent string
  3320. of character positions are shifted away from the active data
  3321. position. The contents of n character positions at the other end of
  3322. the shifted part are removed. The active data position is moved to the
  3323. line home position in the active line. The line home position is
  3324. established by the parameter value of SET LINE HOME (SLH).
  3325.  
  3326. Source: ECMA-48 5th Ed. 8.3.64
  3327. Status: standard
  3328. -------------------------------------------------------------------------------
  3329. Sequence: CSI Pn A
  3330. Mnemonic: CUU
  3331. Description: Cursor up
  3332.  
  3333. Parameter default value: Pn = 1
  3334.  
  3335. CUU causes the active presentation position to be moved upwards in the
  3336. presentation component by n line positions if the character path is
  3337. horizontal, or by n character positions if the character path is
  3338. vertical, where n equals the value of Pn.
  3339.  
  3340. Source: ECMA-48 5th Ed 8.3.22
  3341. Status: standard
  3342. -------------------------------------------------------------------------------
  3343. Sequence: CSI = Pc A
  3344. Description: set overscan color
  3345.  
  3346. Source: termtypes.master 10.2.7
  3347. Status: iBCS2 private
  3348. -------------------------------------------------------------------------------
  3349. Sequence: CSI Pn B
  3350. Mnemonic: CUD
  3351. Description: Cursor down
  3352.  
  3353. Parameter default value: Pn = 1
  3354.  
  3355. CUD causes the active presentation position to be moved downwards in
  3356. the presentation component by n line positions if the character path
  3357. is horizontal, or by n character positions if the character path is
  3358. vertical, where n equals the value of Pn.
  3359.  
  3360. Source: ECMA-48 5th Ed 8.3.19
  3361. Status: standard
  3362. -------------------------------------------------------------------------------
  3363. Sequence: CSI = Pn1 ; Pn2 B
  3364. Description: Set bell parameters
  3365.  
  3366. Sets bell parameters (where Pn1 is the pitch in Hz and Pn2 is the
  3367. duration in milliseconds)
  3368.  
  3369. Source: UnixWare 7 display(7)
  3370. Status: iBCS2 private
  3371. -------------------------------------------------------------------------------
  3372. Sequence: CSI Pn C
  3373. Mnemonic: CUF
  3374. Description: Cursor right
  3375.  
  3376. Parameter default value: Pn = 1
  3377.  
  3378. CUF causes the active presentation position to be moved rightwards in
  3379. the presentation component by n character positions if the character
  3380. path is horizontal, or by n line positions if the character path is
  3381. vertical, where n equals the value of Pn.
  3382.  
  3383. Source: ECMA-48 5th Ed 8.3.20
  3384. Status: standard
  3385. -------------------------------------------------------------------------------
  3386. Sequence: CSI = Pn1 ; Pn2 C
  3387. Description: Set cursor parameters
  3388.  
  3389. Sets cursor parameters (where Pn1 is the starting and Pn2 is the
  3390. ending scanlines of the cursor).
  3391.  
  3392. Source: UnixWare 7 display(7)
  3393. Status: iBCS2 private
  3394. -------------------------------------------------------------------------------
  3395. Sequence: CSI Pn D
  3396. Mnemonic: CUB
  3397. Description: Cursor left
  3398.  
  3399. Parameter default value: Pn = 1
  3400.  
  3401. CUB causes the active presentation position to be moved leftwards in
  3402. the presentation component by n character positions if the character
  3403. path is horizontal, or by n line positions if the character path is
  3404. vertical, where n equals the value of Pn.
  3405.  
  3406. Source: ECMA-48 5th Ed 8.3.18
  3407. Status: standard
  3408. -------------------------------------------------------------------------------
  3409. Sequence: CSI = Ps D
  3410. Description: Enable/disable intensity of background color
  3411.  
  3412. Enables/disables intensity of background color (where Ps is 0 for
  3413. enable and 1 for disable).
  3414.  
  3415. Source: UnixWare 7 display(7)
  3416. Status: iBCS2 private
  3417. -------------------------------------------------------------------------------
  3418. Sequence: CSI Pn E
  3419. Mnemonic: CNL
  3420. Description: Cursor next line
  3421.  
  3422. Parameter default value: Pn = 1
  3423.  
  3424. CNL causes the active presentation position to be moved to the first
  3425. character position of the n-th following line in the presentation
  3426. component, where n equals the value of Pn.
  3427.  
  3428. Source: ECMA-48 5th Ed 8.3.12
  3429. Status: standard
  3430. -------------------------------------------------------------------------------
  3431. Sequence: CSI = Ps E
  3432. Description: Set/clear blink vs. bold background
  3433.  
  3434. Sets/clears blink versus bold background (where Ps is 0 for set and 1
  3435. for clear).
  3436.  
  3437. Source: UnixWare 7 display(7)
  3438. Status: iBCS2 private
  3439. -------------------------------------------------------------------------------
  3440. Sequence: CSI Pn F
  3441. Mnemonic: CPL
  3442. Description: Cursor preceding line
  3443.  
  3444. Parameter default value: Pn = 1
  3445.  
  3446. CPL causes the active presentation position to be moved to the first
  3447. character position of the n-th preceding line in the presentation
  3448. component, where n equals the value of Pn.
  3449.  
  3450. Source: ECMA-48 5th Ed 8.3.13
  3451. Status: standard
  3452. -------------------------------------------------------------------------------
  3453. Sequence: CSI = Pc F
  3454. Description: set normal foreground color
  3455.  
  3456. Sets normal foreground color according to Pc:
  3457.  
  3458. 0      black
  3459. 1      red
  3460. 2      green
  3461. 3      brown
  3462. 4      blue
  3463. 5      magenta
  3464. 6      cyan
  3465. 7      white
  3466. 8      grey
  3467. 9      light blue
  3468. 10     light green
  3469. 11     light cyan
  3470. 12     light red
  3471. 13     light magenta
  3472. 14     yellow
  3473. 15     light white
  3474.  
  3475. Source: UnixWare 7 display(7)
  3476.  
  3477. Csi =<n>F Set the default normal foreground color to <n>.
  3478. This sequence also sets the current color to <n>. 
  3479.  
  3480. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/color_control_news.txt>
  3481. Status: iBCS2 private
  3482. -------------------------------------------------------------------------------
  3483. Sequence: CSI Pn G
  3484. Mnemonic: CHA
  3485. Description: Cursor character absolute
  3486.  
  3487. Parameter default value: Pn = 1
  3488.  
  3489. CHA causes the active presentation position to be moved to character
  3490. position n in the active line in the presentation component, where n
  3491. equals the value of Pn.
  3492.  
  3493. Source: ECMA-48 5th Ed 8.5.9
  3494. Status: standard
  3495. -------------------------------------------------------------------------------
  3496. Sequence: CSI = Pc G
  3497. Description: set normal background color
  3498.  
  3499. Sets normal background color according to Pc:
  3500.  
  3501. 0      black
  3502. 1      red
  3503. 2      green
  3504. 3      brown
  3505. 4      blue
  3506. 5      magenta
  3507. 6      cyan
  3508. 7      white
  3509. 8      grey
  3510. 9      light blue
  3511. 10     light green
  3512. 11     light cyan
  3513. 12     light red
  3514. 13     light magenta
  3515. 14     yellow
  3516. 15     light white
  3517.  
  3518. Source: UnixWare 7 display(7)
  3519.  
  3520. Csi  =<n>G  Set  the  default  normal  background  color  to  <n>.
  3521. This  sequence  also  sets  the  current  color  to  <n>.
  3522.  
  3523. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/color_control_news.txt>
  3524. Status: iBCS2 private
  3525. -------------------------------------------------------------------------------
  3526. Sequence: CSI Pn1 ; Pn2 H
  3527. Mnemonic: CUP
  3528. Description: Cursor position
  3529.  
  3530. Parameter default values: Pn1 = 1; Pn2 = 1
  3531.  
  3532. CUP causes the active presentation position to be moved in the
  3533. presentation component to the n-th line position according to the line
  3534. progression and to the m-th character position according to the
  3535. character path, where n equals the value of Pn1 and m equals the value
  3536. of Pn2.
  3537.  
  3538. Source: ECMA-48 5th Ed 8.3.21
  3539. Status: standard
  3540. -------------------------------------------------------------------------------
  3541. Sequence: CSI = Pc H
  3542. Description: set reverse foreground color
  3543.  
  3544. Sets reverse foreground color according to Pc:
  3545.  
  3546. 0      black
  3547. 1      red
  3548. 2      green
  3549. 3      brown
  3550. 4      blue
  3551. 5      magenta
  3552. 6      cyan
  3553. 7      white
  3554. 8      grey
  3555. 9      light blue
  3556. 10     light green
  3557. 11     light cyan
  3558. 12     light red
  3559. 13     light magenta
  3560. 14     yellow
  3561. 15     light white
  3562.  
  3563. Source: UnixWare 7 display(7)
  3564. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/color_control_news.txt>
  3565. Status: iBCS2 private
  3566. -------------------------------------------------------------------------------
  3567. Sequence: CSI Pn I
  3568. Mnemonic: CHT
  3569. Description: Cursor forward tabulation
  3570.  
  3571. Parameter default value: Pn = 1
  3572.  
  3573. CHT causes the active presentation position to be moved to the
  3574. character position corresponding to the n-th following character
  3575. tabulation stop in the presentation component, according to the
  3576. character path, where n equals the value of Pn.
  3577.  
  3578. Source: ECMA-48 5th Ed 8.5.10
  3579. Status: standard
  3580. -------------------------------------------------------------------------------
  3581. Sequence: CSI = Pc I
  3582. Description: set reverse background color
  3583.  
  3584. Sets reverse background color according to Pc:
  3585.  
  3586. 0      black
  3587. 1      red
  3588. 2      green
  3589. 3      brown
  3590. 4      blue
  3591. 5      magenta
  3592. 6      cyan
  3593. 7      white
  3594. 8      grey
  3595. 9      light blue
  3596. 10     light green
  3597. 11     light cyan
  3598. 12     light red
  3599. 13     light magenta
  3600. 14     yellow
  3601. 15     light white
  3602.  
  3603. Source: UnixWare 7 display(7)
  3604. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/color_control_news.txt>
  3605. Status: iBCS2 private
  3606. -------------------------------------------------------------------------------
  3607. Sequence: CSI = ? I
  3608. Description: Screen saver off
  3609.  
  3610. Source: jaltman@watsun.cc.columbia.edu (Jeffrey Altman) in comp.terminals
  3611.     <7t2fe1$gj0$1@newsmaster.cc.columbia.edu>
  3612. Status: BA80 private
  3613. -------------------------------------------------------------------------------
  3614. Sequence: CSI Ps J
  3615. Mnemonic: ED
  3616. Description: Erase in page
  3617.  
  3618. Parameter default value: Ps = 0
  3619.  
  3620. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to PRESENTATION, ED
  3621. causes some or all character positions of the active page (the page
  3622. which contains the active presentation position in the presentation
  3623. component) to be put into the erased state, depending on the parameter
  3624. values:
  3625.  
  3626. 0 the active presentation position and the character positions up to
  3627.   the end of the page are put into the erased state
  3628.  
  3629. 1 the character positions from the beginning of the page up to and
  3630.   including the active presentation position are put into the erased
  3631.   state
  3632.  
  3633. 2 all character positions of the page are put into the erased state
  3634.  
  3635. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to DATA, ED causes
  3636. some or all character positions of the active page (the page which
  3637. contains the active data position in the data component) to be put
  3638. into the erased state, depending on the parameter values:
  3639.  
  3640. 0 the active data position and the character positions up to the end
  3641.   of the page are put into the erased state
  3642.  
  3643. 1 the character positions from the beginning of the page up to and
  3644.   including the active data position are put into the erased state
  3645.  
  3646. 2 all character positions of the page are put into the erased state
  3647.  
  3648. Whether the character positions of protected areas are put into the
  3649. erased state, or the character positions of unprotected areas only,
  3650. depends on the setting of the ERASURE MODE (ERM).
  3651.  
  3652. Source: ECMA-48 5th Ed. 8.3.39
  3653. Status: standard
  3654. -------------------------------------------------------------------------------
  3655. Sequence: CSI = Pc J
  3656. Description: Set graphic foreground color
  3657.  
  3658. Sets graphic foreground color according to Pc:
  3659.  
  3660. 0      black
  3661. 1      red
  3662. 2      green
  3663. 3      brown
  3664. 4      blue
  3665. 5      magenta
  3666. 6      cyan
  3667. 7      white
  3668. 8      grey
  3669. 9      light blue
  3670. 10     light green
  3671. 11     light cyan
  3672. 12     light red
  3673. 13     light magenta
  3674. 14     yellow
  3675. 15     light white
  3676.  
  3677. Source: UnixWare 7 display(7)
  3678. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/color_control_news.txt>
  3679. Status: iBCS2 private
  3680. -------------------------------------------------------------------------------
  3681. Sequence: CSI ? Ps J
  3682. Mnemonic: DECSED
  3683. Description: Selective erase in display
  3684.  
  3685. Parameter default value: Ps = 0
  3686.  
  3687. Depending on the value of Ps:
  3688.  
  3689. 0 Erases all "erasable" characters (DECSCA) from and including the
  3690.   cursor to the end of the screen. Does not affect video line attributes
  3691.   or video character attributes (SGR).
  3692.  
  3693. 1 Erases all "erasable" characters (DECSCA) from the beginning of the
  3694.   screen to and including the cursor.  Does not affect video line
  3695.   attributes or video character attributes (SGR).
  3696.  
  3697. 2 Erases all "erasable" characters (DECSCA) in the entire display. Does
  3698.   not affect video character attributes or video line attributes (SGR).
  3699.  
  3700. Source: <URL:http://vt100.net/docs/vt220-rm/chapter4.html>
  3701. Status: DEC private; VT200
  3702. -------------------------------------------------------------------------------
  3703. Sequence: CSI ? = J
  3704. Description: Screen saver on
  3705.  
  3706. Source: jaltman@watsun.cc.columbia.edu (Jeffrey Altman) in comp.terminals
  3707.     <7t2fe1$gj0$1@newsmaster.cc.columbia.edu>
  3708. Status: BA80 private
  3709. -------------------------------------------------------------------------------
  3710. Sequence: CSI Ps K
  3711. Mnemonic: EL
  3712. Description: Erase in line
  3713.  
  3714. Parameter default value: Ps = 0
  3715.  
  3716. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to PRESENTATION, EL
  3717. causes some or all character positions of the active line (the line
  3718. which contains the active presentation position in the presentation
  3719. component) to be put into the erased state, depending on the parameter
  3720. values:
  3721.  
  3722. 0 the active presentation position and the character positions up to
  3723.   the end of the line are put into the erased state
  3724.  
  3725. 1 the character positions from the beginning of the line up to and
  3726.   including the active presentation position are put into the erased
  3727.   state
  3728.  
  3729. 2 all character positions of the line are put into the erased state
  3730.  
  3731. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to DATA, EL causes
  3732. some or all character positions of the active line (the line which
  3733. contains the active data position in the data component) to be put
  3734. into the erased state, depending on the parameter values:
  3735.  
  3736. 0 the active data position and the character positions up to the end
  3737.   of the line are put into the erased state
  3738.  
  3739. 1 the character positions from the beginning of the line up to and
  3740.   including the active data position are put into the erased state
  3741.  
  3742. 2 all character positions of the line are put into the erased state
  3743.  
  3744. Whether the character positions of protected areas are put into the
  3745. erased state, or the character positions of unprotected areas only,
  3746. depends on the setting of the ERASURE MODE (ERM).
  3747.  
  3748. Source: ECMA-48 5th Ed. 8.3.41
  3749. Status: standard
  3750. -------------------------------------------------------------------------------
  3751. Sequence: CSI = Pc K
  3752. Description: set graphic foreground color
  3753.  
  3754. Sets graphic background color according to Pc:
  3755.  
  3756. 0      black
  3757. 1      red
  3758. 2      green
  3759. 3      brown
  3760. 4      blue
  3761. 5      magenta
  3762. 6      cyan
  3763. 7      white
  3764. 8      grey
  3765. 9      light blue
  3766. 10     light green
  3767. 11     light cyan
  3768. 12     light red
  3769. 13     light magenta
  3770. 14     yellow
  3771. 15     light white
  3772.  
  3773. Source: UnixWare 7 display(7)
  3774. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/color_control_news.txt>
  3775. Status: iBCS2 private
  3776. -------------------------------------------------------------------------------
  3777. Sequence: CSI ? Ps K
  3778. Mnemonic: DECSEL
  3779. Description: Selective erase in line
  3780.  
  3781. Parameter default value: Ps = 0
  3782.  
  3783. Depending on the value of Ps:
  3784.  
  3785. 0 Erases all "erasable" characters (DECSCA) from the cursor to the end
  3786.   of the line. Does not affect video line attributes or video character
  3787.   attributes (SGR).
  3788.  
  3789. 1 Erases all "erasable" characters (DECSCA) from the beginning of the
  3790.   line to and including the cursor position. Does not affect video line
  3791.   attributes or video character attributes.
  3792.  
  3793. 2 Erases all "erasable" characters (DECSCA) on the line. Does not
  3794.   affect video line attributes or video character attributes.
  3795.  
  3796. Source: <URL:http://vt100.net/docs/vt220-rm/chapter4.html>
  3797. Status: DEC private; VT200
  3798. -------------------------------------------------------------------------------
  3799. Sequence: CSI Pn L
  3800. Mnemonic: IL
  3801. Description: Insert line
  3802.  
  3803. Parameter default value: Pn = 1
  3804.  
  3805. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to PRESENTATION, IL
  3806. is used to prepare the insertion of n lines, by putting into the
  3807. erased state in the presentation component the active line (the line
  3808. that contains the active presentation position) and, depending on the
  3809. setting of the LINE EDITING MODE (VEM), the n-1 preceding or following
  3810. lines, where n equals the value of Pn. The previous contents of the
  3811. active line and of adjacent lines are shifted away from the active
  3812. line. The contents of n lines at the other end of the shifted part are
  3813. removed. The active presentation position is moved to the line home
  3814. position in the active line. The line home position is established by
  3815. the parameter value of SET LINE HOME (SLH).
  3816.  
  3817. The extent of the shifted part is established by SELECT EDITING EXTENT
  3818. (SEE).
  3819.  
  3820. Any occurrences of the start or end of a selected area, the start or
  3821. end of a qualified area, or a tabulation stop in the shifted part, are
  3822. also shifted.
  3823.  
  3824. If the TABULATION STOP MODE (TSM) is set to SINGLE, character
  3825. tabulation stops are cleared in the lines that are put into the erased
  3826. state.
  3827.  
  3828. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to DATA, IL is used
  3829. to prepare the insertion of n lines, by putting into the erased state
  3830. in the data component the active line (the line that contains the
  3831. active data position) and, depending on the setting of the LINE
  3832. EDITING MODE (VEM), the n-1 preceding or following lines, where n
  3833. equals the value of Pn. The previous contents of the active line and
  3834. of adjacent lines are shifted away from the active line. The contents
  3835. of n lines at the other end of the shifted part are removed. The
  3836. active data position is moved to the line home position in the active
  3837. line. The line home position is established by the parameter value of
  3838. SET LINE HOME (SLH).
  3839.  
  3840. Source: ECMA-48 5th Ed. 8.3.67
  3841. Status: standard
  3842. -------------------------------------------------------------------------------
  3843. Sequence: CSI = Ps L
  3844. Description: Set fill mode
  3845.  
  3846. This controls whether erased areas of the screen are filled with the
  3847. current background colour, or with the default one.
  3848.  
  3849.     Ps = 0, use current color
  3850.     Ps = 1, use default color
  3851.  
  3852. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/color_control_news.txt>
  3853. Status: SCO(?) private
  3854. -------------------------------------------------------------------------------
  3855. Sequence: CSI Pn M
  3856. Mnemonic: DL
  3857. Description: Delete line
  3858.  
  3859. Parameter default value: Pn = 1
  3860.  
  3861. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to PRESENTATION, DL
  3862. causes the contents of the active line (the line that contains the
  3863. active presentation position) and, depending on the setting of the
  3864. LINE EDITING MODE (VEM), the contents of the n-1 preceding or
  3865. following lines to be removed from the presentation component, where n
  3866. equals the value of Pn. The resulting gap is closed by shifting the
  3867. contents of a number of adjacent lines towards the active line. At the
  3868. other end of the shifted part, n lines are put into the erased state.
  3869.  
  3870. The active presentation position is moved to the line home position in
  3871. the active line. The line home position is established by the
  3872. parameter value of SET LINE HOME (SLH). If the TABULATION STOP MODE
  3873. (TSM) is set to SINGLE, character tabulation stops are cleared in the
  3874. lines that are put into the erased state.
  3875.  
  3876. The extent of the shifted part is established by SELECT EDITING EXTENT (SEE).
  3877.  
  3878. Any occurrences of the start or end of a selected area, the start or
  3879. end of a qualified area, or a tabulation stop in the shifted part, are
  3880. also shifted.
  3881.  
  3882. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to DATA, DL causes
  3883. the contents of the active line (the line that contains the active
  3884. data position) and, depending on the setting of the LINE EDITING MODE
  3885. (VEM), the contents of the n-1 preceding or following lines to be
  3886. removed from the data component, where n equals the value of Pn. The
  3887. resulting gap is closed by shifting the contents of a number of
  3888. adjacent lines towards the active line. At the other end of the
  3889. shifted part, n lines are put into the erased state. The active data
  3890. position is moved to the line home position in the active line. The
  3891. line home position is established by the parameter value of SET LINE
  3892. HOME (SLH).
  3893.  
  3894. Source: ECMA-48 5th Ed 8.3.32
  3895. Status: standard
  3896. -------------------------------------------------------------------------------
  3897. Sequence: CSI Ps N
  3898. Mnemonic: EF
  3899. Description: Erase in field
  3900.  
  3901. Parameter default value: Ps = 0
  3902.  
  3903. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to PRESENTATION, EF
  3904. causes some or all character positions of the active field (the field
  3905. which contains the active presentation position in the presentation
  3906. component) to be put into the erased state, depending on the parameter
  3907. values:
  3908.  
  3909. 0 the active presentation position and the character positions up to
  3910.   the end of the field are put into the erased state
  3911.  
  3912. 1 the character positions from the beginning of the field up to and
  3913.   including the active presentation position are put into the erased
  3914.   state
  3915.  
  3916. 2 all character positions of the field are put into the erased state
  3917.  
  3918. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to DATA, EF causes
  3919. some or all character positions of the active field (the field which
  3920. contains the active data position in the data component) to be put
  3921. into the erased state, depending on the parameter values:
  3922.  
  3923. 0 the active data position and the character positions up to the end
  3924.   of the field are put into the erased state
  3925.  
  3926. 1 the character positions from the beginning of the field up to and
  3927.   including the active data position are put into the erased state
  3928.  
  3929. 2 all character positions of the field are put into the erased state
  3930.  
  3931. Whether the character positions of protected areas are put into the
  3932. erased state, or the character positions of unprotected areas only,
  3933. depends on the setting of the ERASURE MODE (ERM).
  3934.  
  3935. Source: ECMA-48 5th Ed. 8.3.40
  3936. Status: standard
  3937. -------------------------------------------------------------------------------
  3938. Sequence: CSI Ps O
  3939. Mnemonic: EA
  3940. Description Erase in area
  3941.  
  3942. Parameter default value: Ps = 0
  3943.  
  3944. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to PRESENTATION, EA
  3945. causes some or all character positions in the active qualified area
  3946. (the qualified area in the presentation component which contains the
  3947. active presentation position) to be put into the erased state,
  3948. depending on the parameter values:
  3949.  
  3950. 0 the active presentation position and the character positions up to
  3951.   the end of the qualified area are put into the erased state
  3952.  
  3953. 1 the character positions from the beginning of the qualified area up
  3954.   to and including the active presentation position are put into the
  3955.   erased state
  3956.  
  3957. 2 all character positions of the qualified area are put into the
  3958.   erased state
  3959.  
  3960. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to DATA, EA causes
  3961. some or all character positions in the active qualified area (the
  3962. qualified area in the data component which contains the active data
  3963. position) to be put into the erased state, depending on the parameter
  3964. values:
  3965.  
  3966. 0 the active data position and the character positions up to the end
  3967.   of the qualified area are put into the erased state
  3968.  
  3969. 1 the character positions from the beginning of the qualified area up
  3970.   to and including the active data position are put into the erased
  3971.   state
  3972.  
  3973. 2 all character positions of the qualified area are put into the
  3974.   erased state
  3975.  
  3976. Whether the character positions of protected areas are put into the
  3977. erased state, or the character positions of unprotected areas only,
  3978. depends on the setting of the ERASURE MODE (ERM).
  3979.  
  3980. Source: ECMA-48 5th Ed. 8.3.37
  3981. Status: standard
  3982. -------------------------------------------------------------------------------
  3983. Sequence: CSI Pn P
  3984. Mnemonic: DCH
  3985. Description: Delete character
  3986.  
  3987. Parameter default value: Pn = 1
  3988.  
  3989. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to PRESENTATION, DCH
  3990. causes the contents of the active presentation position and, depending
  3991. on the setting of the CHARACTER EDITING MODE (HEM), the contents of
  3992. the n-1 preceding or following character positions to be removed from
  3993. the presentation component, where n equals the value of Pn. The
  3994. resulting gap is closed by shifting the contents of the adjacent
  3995. character positions towards the active presentation position. At the
  3996. other end of the shifted part, n character positions are put into the
  3997. erased state.
  3998.  
  3999. The extent of the shifted part is established by SELECT EDITING EXTENT (SEE).
  4000.  
  4001. The effect of DCH on the start or end of a selected area, the start or
  4002. end of a qualified area, or a tabulation stop in the shifted part is
  4003. not defined by this Standard.
  4004.  
  4005. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to DATA, DCH causes
  4006. the contents of the active data position and, depending on the setting
  4007. of the CHARACTER EDITING MODE (HEM), the contents of the n-1 preceding
  4008. or following character positions to be removed from the data
  4009. component, where n equals the value of Pn. The resulting gap is closed
  4010. by shifting the contents of the adjacent character positions towards
  4011. the active data position. At the other end of the shifted part, n
  4012. character positions are put into the erased state.
  4013.  
  4014. Source: ECMA-48 5th Ed 8.3.26
  4015. Status: standard
  4016. -------------------------------------------------------------------------------
  4017. Sequence: CSI Ps Q
  4018. Mnemonic: SEE
  4019. Description: Select editing extent
  4020.  
  4021. Parameter default value: Ps = 0
  4022.  
  4023. SEE is used to establish the editing extent for subsequent character
  4024. or line insertion or deletion. The established extent remains in
  4025. effect until the next occurrence of SEE in the data stream. The
  4026. editing extent depends on the parameter value:
  4027.  
  4028. 0 the shifted part is limited to the active page in the presentation
  4029. component
  4030.  
  4031. 1 the shifted part is limited to the active line in the presentation
  4032. component
  4033.  
  4034. 2 the shifted part is limited to the active field in the presentation
  4035. component
  4036.  
  4037. 3 the shifted part is limited to the active qualified area
  4038.  
  4039. 4 the shifted part consists of the relevant part of the entire
  4040. presentation component.
  4041.  
  4042. Source: ECMA-48 5th Ed. 8.3.115
  4043. Status: standard
  4044. -------------------------------------------------------------------------------
  4045. Sequence: CSI Pn1 ; Pn2 R
  4046. Mnemonic: CPR
  4047. Description: Active position report
  4048.  
  4049. Parameter default values: Pn1 = 1; Pn2 = 1
  4050.  
  4051. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to PRESENTATION, CPR
  4052. is used to report the active presentation position of the sending
  4053. device as residing in the presentation component at the n-th line
  4054. position according to the line progression and at the m-th character
  4055. position according to the character path, where n equals the value of
  4056. Pn1 and m equals the value of Pn2.
  4057.  
  4058. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to DATA, CPR is used
  4059. to report the active data position of the sending device as residing
  4060. in the data component at the n-th line position according to the line
  4061. progression and at the m-th character position according to the
  4062. character progression, where n equals the value of Pn1 and m equals
  4063. the value of Pn2.
  4064.  
  4065. CPR may be solicited by a DEVICE STATUS REPORT (DSR) or be sent
  4066. unsolicited.
  4067.  
  4068. Source: ECMA-48 5th Ed 8.3.14
  4069. Status: standard
  4070. -------------------------------------------------------------------------------
  4071. Sequence: CSI Pn S
  4072. Mnemonic: SU
  4073. Description: Scroll up
  4074.  
  4075. Parameter default value: Pn = 1
  4076.  
  4077. SU causes the data in the presentation component to be moved by n line
  4078. positions if the line orientation is horizontal, or by n character
  4079. positions if the line orientation is vertical, such that the data
  4080. appear to move up; where n equals the value of Pn.
  4081.  
  4082. The active presentation position is not affected by this control
  4083. function.
  4084.  
  4085. Source: ECMA-48 5th Ed. 8.3.147
  4086. Status: standard
  4087. -------------------------------------------------------------------------------
  4088. Sequence: CSI Pn T
  4089. Mnemonic: SD
  4090. Description: Scroll down
  4091.  
  4092. Parameter default value: Pn = 1
  4093.  
  4094. SD causes the data in the presentation component to be moved by n line
  4095. positions if the line orientation is horizontal, or by n character
  4096. positions if the line orientation is vertical, such that the data
  4097. appear to move down; where n equals the value of Pn.
  4098.  
  4099. The active presentation position is not affected by this control
  4100. function.
  4101.  
  4102. Source: ECMA-48 5th Ed. 8.3.113
  4103.  
  4104. [ NB: that paragraph of the standard erroneously claims SD is CSI Pn ^. ]
  4105.  
  4106. Status: standard
  4107. -------------------------------------------------------------------------------
  4108. Sequence: CSI Pn1 ; Pn2 ; Pn3 ; Pn4 ; Pn5 T
  4109. Description: Initiate hilite mouse tracking
  4110.  
  4111. Source: XFree86: xc/doc/specs/xterm/ctlseqs.ms,v 3.29 1999/09/27 06:29:05
  4112. Status: xterm private; clashes with ECMA-48
  4113. -------------------------------------------------------------------------------
  4114. Sequence: CSI Pn U
  4115. Mnemonic: NP
  4116. Description: Next page
  4117.  
  4118. Parameter default value: Pn = 1
  4119.  
  4120. NP causes the n-th following page in the presentation component to be
  4121. displayed, where n equals the value of Pn.
  4122.  
  4123. The effect of this control function on the active presentation
  4124. position is not defined by this Standard.
  4125.  
  4126. Source: ECMA-48 5th Ed. 8.3.87
  4127. Status: standard
  4128. -------------------------------------------------------------------------------
  4129. Sequence: CSI Pn V
  4130. Mnemonic: PP
  4131. Description: Preceding page
  4132.  
  4133. Parameter default value: Pn = 1
  4134.  
  4135. PP causes the n-th preceding page in the presentation component to be
  4136. displayed, where n equals the value of Pn. The effect of this control
  4137. function on the active presentation position is not defined by this
  4138. Standard.
  4139.  
  4140. Source: ECMA-48 5th Ed. 8.3.95
  4141. Status: standard
  4142. -------------------------------------------------------------------------------
  4143. Sequence: CSI Ps ... W
  4144. Mnemonic: CTC
  4145. Description: Cursor tabulation control
  4146.  
  4147. Parameter default value: Ps = 0
  4148.  
  4149. CTC causes one or more tabulation stops to be set or cleared in the
  4150. presentation component, depending on the parameter values:
  4151.  
  4152. 0 a character tabulation stop is set at the active presentation position
  4153. 1 a line tabulation stop is set at the active line (the line that
  4154.   contains the active presentation position)
  4155. 2 the character tabulation stop at the active presentation position is
  4156.   cleared
  4157. 3 the line tabulation stop at the active line is cleared
  4158. 4 all character tabulation stops in the active line are cleared
  4159. 5 all character tabulation stops are cleared
  4160. 6 all line tabulation stops are cleared
  4161.  
  4162. In the case of parameter values 0, 2 or 4 the number of lines affected
  4163. depends on the setting of the TABULATION STOP MODE (TSM).
  4164.  
  4165. Source: ECMA-48 5th Ed 8.3.17
  4166. Status: standard
  4167. -------------------------------------------------------------------------------
  4168. Sequence: CSI Pn X
  4169. Mnemonic: ECH
  4170. Description: Erase character
  4171.  
  4172. Parameter default value: Pn = 1
  4173.  
  4174. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to PRESENTATION, ECH
  4175. causes the active presentation position and the n-1 following
  4176. character positions in the presentation component to be put into the
  4177. erased state, where n equals the value of Pn.
  4178.  
  4179. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to DATA, ECH causes
  4180. the active data position and the n-1 following character positions in
  4181. the data component to be put into the erased state, where n equals the
  4182. value of Pn.
  4183.  
  4184. Whether the character positions of protected areas are put into the
  4185. erased state, or the character positions of unprotected areas only,
  4186. depends on the setting of the ERASURE MODE (ERM).
  4187.  
  4188. Source: ECMA-48 5th Ed. 8.3.38
  4189. Status: standard
  4190. -------------------------------------------------------------------------------
  4191. Sequence: CSI Pn Y
  4192. Mnemonic: CVT
  4193. Description: Cursor line tabulation
  4194.  
  4195. Parameter default value: Pn = 1
  4196.  
  4197. CVT causes the active presentation position to be moved to the
  4198. corresponding character position of the line corresponding to the n-th
  4199. following line tabulation stop in the presentation component, where n
  4200. equals the value of Pn.
  4201.  
  4202. Source: ECMA-48 8.3.23
  4203. Status: standard
  4204. -------------------------------------------------------------------------------
  4205. Sequence: CSI Pn Z
  4206. Mnemonic: CBT
  4207. Description: Cursor backward tabulation
  4208.  
  4209. Parameter default value: Pn = 1
  4210.  
  4211. CBT causes the active presentation position to be moved to the
  4212. character position corresponding to the n-th preceding character
  4213. tabulation stop in the presentation component, according to the
  4214. character path, where n equals the value of Pn.
  4215.  
  4216. Source: ECMA-48 5th Ed 8.3.7
  4217. Status: standard
  4218. -------------------------------------------------------------------------------
  4219. Sequence: CSI Ps [
  4220. Mnemonic: SRS
  4221. Description: Start reversed string
  4222.  
  4223. Parameter default value: Ps = 0
  4224.  
  4225. SRS is used to establish in the data component the beginning and the
  4226. end of a string of characters as well as the direction of the
  4227. string. This direction is opposite to that currently established. The
  4228. indicated string follows the preceding text. The established character
  4229. progression is not affected.
  4230.  
  4231. The beginning of a reversed string is indicated by SRS with a
  4232. parameter value of 1. A reversed string may contain one or more nested
  4233. strings. These nested strings may be reversed strings the beginnings
  4234. of which are indicated by SRS with a parameter value of 1, or directed
  4235. strings the beginnings of which are indicated by START DIRECTED STRING
  4236. (SDS) with a parameter value not equal to 0. Every beginning of such a
  4237. string invokes the next deeper level of nesting.
  4238.  
  4239. This Standard does not define the location of the active data position
  4240. within any such nested string.
  4241.  
  4242. The end of a reversed string is indicated by SRS with a parameter
  4243. value of 0. Every end of such a string re-establishes the next higher
  4244. level of nesting (the one in effect prior to the string just
  4245. ended). The direction is re-established to that in effect prior to the
  4246. string just ended. The active data position is moved to the character
  4247. position following the characters of the string just ended.
  4248.  
  4249. The parameter values are:
  4250.  
  4251. 0 end of a reversed string; re-establish the previous direction
  4252. 1 beginning of a reversed string; reverse the direction.
  4253.  
  4254. NOTE 1
  4255. The effect of receiving a CVT, HT, SCP, SPD or VT control function
  4256. within an SRS string is not defined by this Standard.
  4257.  
  4258. NOTE 2
  4259. The control functions for area definition (DAQ, EPA, ESA, SPA, SSA)
  4260. should not be used within an SRS string.
  4261.  
  4262. Source: ECMA-48 5th Ed. 8.3.137
  4263. Status: standard
  4264. -------------------------------------------------------------------------------
  4265. Sequence: CSI [
  4266. Description: Ignore next character
  4267.  
  4268. However, after CSI [ (or ESC [ [) a single character is read and this
  4269. entire sequence is ignored. (The idea is to ignore an echoed function
  4270. key.)
  4271.  
  4272. Source: Linux console_codes(4)
  4273. Status: Linux private; clashes with ECMA-48 SRS
  4274. -------------------------------------------------------------------------------
  4275. Sequence: CSI Ps \
  4276. Mnemonic: PTX
  4277. Description: Parallel texts
  4278.  
  4279. Parameter default value: Ps = 0
  4280.  
  4281. PTX is used to delimit strings of graphic characters that are
  4282. communicated one after another in the data stream but that are
  4283. intended to be presented in parallel with one another, usually in
  4284. adjacent lines.
  4285.  
  4286. The parameter values are
  4287.  
  4288. 0 end of parallel texts
  4289. 1 beginning of a string of principal parallel text
  4290. 2 beginning of a string of supplementary parallel text
  4291. 3 beginning of a string of supplementary Japanese phonetic annotation
  4292. 4 beginning of a string of supplementary Chinese phonetic annotation
  4293. 5 end of a string of supplementary phonetic annotations
  4294.  
  4295. PTX with a parameter value of 1 indicates the beginning of the string
  4296. of principal text intended to be presented in parallel with one or
  4297. more strings of supplementary text.  PTX with a parameter value of 2,
  4298. 3 or 4 indicates the beginning of a string of supplementary text that
  4299. is intended to be presented in parallel with either a string of
  4300. principal text or the immediately preceding string of supplementary
  4301. text, if any; at the same time it indicates the end of the preceding
  4302. string of principal text or of the immediately preceding string of
  4303. supplementary text, if any. The end of a string of supplementary text
  4304. is indicated by a subsequent occurrence of PTX with a parameter value
  4305. other than 1.
  4306.  
  4307. PTX with a parameter value of 0 indicates the end of the strings of
  4308. text intended to be presented in parallel with one another.
  4309.  
  4310. NOTE
  4311.  
  4312. PTX does not explicitly specify the relative placement of the strings
  4313. of principal and supplementary parallel texts, or the relative sizes
  4314. of graphic characters in the strings of parallel text. A string of
  4315. supplementary text is normally presented in a line adjacent to the
  4316. line containing the string of principal text, or adjacent to the line
  4317. containing the immediately preceding string of supplementary text, if
  4318. any. The first graphic character of the string of principal text and
  4319. the first graphic character of a string of supplementary text are
  4320. normally presented in the same position of their respective lines.
  4321. However, a string of supplementary text longer (when presented) than
  4322. the associated string of principal text may be centred on that
  4323. string. In the case of long strings of text, such as paragraphs in
  4324. different languages, the strings may be presented in successive lines
  4325. in parallel columns, with their beginnings aligned with one another
  4326. and the shorter of the paragraphs followed by an appropriate amount of
  4327. "white space".
  4328.  
  4329. Japanese phonetic annotation typically consists of a few half-size or
  4330. smaller Kana characters which indicate the pronunciation or
  4331. interpretation of one or more Kanji characters and are presented above
  4332. those Kanji characters if the character path is horizontal, or to the
  4333. right of them if the character path is vertical.
  4334.  
  4335. Chinese phonetic annotation typically consists of a few Pinyin
  4336. characters which indicate the pronunciation of one or more Hanzi
  4337. characters and are presented above those Hanzi characters.
  4338. Alternatively, the Pinyin characters may be presented in the same line
  4339. as the Hanzi characters and following the respective Hanzi
  4340. characters. The Pinyin characters will then be presented within
  4341. enclosing pairs of parentheses.
  4342.  
  4343. Source: ECMA-48 5th Ed. 8.3.99
  4344. Status: standard
  4345. -------------------------------------------------------------------------------
  4346. Sequence: CSI Ps ]
  4347. Mnemonic: SDS
  4348. Description: Start directed string
  4349.  
  4350. Parameter default value: Ps = 0
  4351.  
  4352. SDS is used to establish in the data component the beginning and the
  4353. end of a string of characters as well as the direction of the
  4354. string. This direction may be different from that currently
  4355. established. The indicated string follows the preceding text. The
  4356. established character progression is not affected.
  4357.  
  4358. The beginning of a directed string is indicated by SDS with a
  4359. parameter value not equal to 0. A directed string may contain one or
  4360. more nested strings. These nested strings may be directed strings the
  4361. beginnings of which are indicated by SDS with a parameter value not
  4362. equal to 0, or reversed strings the beginnings of which are indicated
  4363. by START REVERSED STRING (SRS) with a parameter value of 1.  Every
  4364. beginning of such a string invokes the next deeper level of nesting.
  4365.  
  4366. This Standard does not define the location of the active data position
  4367. within any such nested string.
  4368.  
  4369. The end of a directed string is indicated by SDS with a parameter
  4370. value of 0. Every end of such a string re-establishes the next higher
  4371. level of nesting (the one in effect prior to the string just
  4372. ended). The direction is re-established to that in effect prior to the
  4373. string just ended. The active data position is moved to the character
  4374. position following the characters of the string just ended.
  4375.  
  4376. The parameter values are:
  4377. 0 end of a directed string; re-establish the previous direction
  4378. 1 start of a directed string; establish the direction left-to-right
  4379. 2 start of a directed string; establish the direction right-to-left
  4380.  
  4381. NOTE 1
  4382. The effect of receiving a CVT, HT, SCP, SPD or VT control function
  4383. within an SDS string is not defined by this Standard.
  4384.  
  4385. NOTE 2
  4386. The control functions for area definition (DAQ, EPA, ESA, SPA, SSA)
  4387. should not be used within an SDS string.
  4388.  
  4389. Source: ECMA-48 5th Ed. 8.3.114
  4390. Status: standard
  4391. -------------------------------------------------------------------------------
  4392. Sequence: CSI Ps ; Pn ... ]
  4393. Description: Linux private sequences
  4394.  
  4395.        ESC [ 1 ; n ]       Set color n as the underline color
  4396.        ESC [ 2 ; n ]       Set color n as the dim color
  4397.        ESC [ 8 ]           Make the current color pair the default attributes.
  4398.        ESC [ 9 ; n ]       Set screen blank timeout to n minutes.
  4399.        ESC [ 10 ; n ]      Set bell frequency in Hz.
  4400.        ESC [ 11 ; n ]      Set bell duration in msec.
  4401.        ESC [ 12 ; n ]      Bring specified console to the front.
  4402.        ESC [ 13 ]          Unblank the screen.
  4403.        ESC [ 14 ; n ]      Set the VESA powerdown interval in minutes.
  4404.  
  4405. Source: Linux console_codes(4)
  4406. Status: Linux private; clashes with ECMA-48 SDS
  4407. -------------------------------------------------------------------------------
  4408. Sequence: CSI Ps ^
  4409. Mnemonic: SIMD
  4410. Description: Select implicit movement direction
  4411.  
  4412. Parameter default value: Ps = 0
  4413.  
  4414. SIMD is used to select the direction of implicit movement of the data
  4415. position relative to the character progression. The direction selected
  4416. remains in effect until the next occurrence of SIMD.
  4417.  
  4418. The parameter values are:
  4419.  
  4420. 0 the direction of implicit movement is the same as that of the
  4421.   character progression
  4422.  
  4423. 1 the direction of implicit movement is opposite to that of the
  4424.   character progression.
  4425.  
  4426. Source: ECMA-48 5th Ed. 8.3.120
  4427. Status: standard
  4428. -------------------------------------------------------------------------------
  4429. Sequence: CSI Pn `
  4430. Mnemonic: HPA
  4431. Description: Character position absolute
  4432.  
  4433. Parameter default value: Pn = 1
  4434.  
  4435. HPA causes the active data position to be moved to character position
  4436. n in the active line (the line in the data component that contains the
  4437. active data position), where n equals the value of Pn.
  4438.  
  4439. Source: ECMA-48 5th Ed. 8.3.57
  4440. Status: standard
  4441. -------------------------------------------------------------------------------
  4442. Sequence: CSI Pn a
  4443. Mnemonic: HPR
  4444. Description: Character position forward
  4445.  
  4446. Parameter default value: Pn = 1
  4447.  
  4448. HPR causes the active data position to be moved by n character
  4449. positions in the data component in the direction of the character
  4450. progression, where n equals the value of Pn.
  4451.  
  4452. Source: ECMA-48 5th Ed. 8.3.59
  4453. Status: standard
  4454. -------------------------------------------------------------------------------
  4455. Sequence: CSI Pn b
  4456. Mnemonic: REP
  4457. Description: Repeat
  4458.  
  4459. Parameter default value: Pn = 1
  4460.  
  4461. REP is used to indicate that the preceding character in the data
  4462. stream, if it is a graphic character (represented by one or more bit
  4463. combinations) including SPACE, is to be repeated n times, where n
  4464. equals the value of Pn. If the character preceding REP is a control
  4465. function or part of a control function, the effect of REP is not
  4466. defined by this Standard.
  4467.  
  4468. Source: ECMA-48 5th Ed. 8.3.103
  4469. Status: standard
  4470. -------------------------------------------------------------------------------
  4471. Sequence: CSI Ps c
  4472. Mnemonic: DA
  4473. Description: Device attributes
  4474.  
  4475. Parameter default value: Ps = 0
  4476.  
  4477. With a parameter value not equal to 0, DA is used to identify the
  4478. device which sends the DA. The parameter value is a device type
  4479. identification code according to a register which is to be
  4480. established. If the parameter value is 0, DA is used to request an
  4481. identifying DA from a device.
  4482.  
  4483. Source: ECMA-48 5th Ed 8.3.24
  4484. Status: standard
  4485. -------------------------------------------------------------------------------
  4486. Sequence: CSI ? 10 c
  4487. Description: Request DPS configuration
  4488.  
  4489. Requests that the terminal sends current DPS (Dot Pattern Set)
  4490. configuration.
  4491.  
  4492. For the LA100, response is, for each installed DPS (in descending order):
  4493.  
  4494. ESC [ Ps1 ; Ps2
  4495.  
  4496. Ps1  Location
  4497. 010  DPS 1
  4498. 011  DPS 2
  4499. 012  DPS 3
  4500. 013  DPS 4
  4501. 014  DPS 5
  4502.  
  4503. [ These are the same numbers as are used to select the DPSes in SGR --bjh ]
  4504.  
  4505. Ps2  ROM ID
  4506. 001  US/UK Gothic 10 High Density Primary
  4507. 002  International Gothic 10 High Density Overlay
  4508. 003  US/UK Gothic 12 High Density Primary
  4509. 004  International Gothic 12 High Density Overlay
  4510. 005  US/UK Courier 10 High Density Primary
  4511. 006  International Courier 10 High Density Overlay
  4512. 007  US/UK Courier 12 High Density Primary
  4513. 008  International Courier 12 High Density Overlay
  4514. 009  US/UK Orator 10 High Density Primary
  4515.  
  4516. For the LA210, the response is:
  4517.  
  4518. ESC [ Ps1 ; Ps2 ; Ps3 ; Ps4 ; Ps5 SP D
  4519.  
  4520. Ps1 is as for the LA100
  4521.  
  4522. Ps2      Meaning
  4523. 1--64    Draft and letter standard DPS
  4524. 64--128  Draft and memo standard DPS
  4525. 129--192 Draft and letter custom DPS
  4526. 192--200 Draft and memo special DPS
  4527.  
  4528. Odd-numbered standard DPSes contain US and UK character sets.
  4529. Even-numbered ones also contain many others.
  4530.  
  4531. Ps3  Type style
  4532. 0    none
  4533. 1    Gothic
  4534. 5    Courier
  4535. 9    Orator
  4536.  
  4537. Ps4  Density
  4538. 0    12/6 cpi
  4539. 8    10/5 cpi
  4540.  
  4541. Ps5  Matrix
  4542. 0    Letter (33x18)
  4543. 1    Memo (33x9)
  4544.  
  4545. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 ppE6,E48-E50
  4546. Status: DEC private; LA100, LA210
  4547. -------------------------------------------------------------------------------
  4548. Sequence: CSI ? Ps1 ; Ps2 ; ... ; Psn c
  4549. Mnemonic: DS
  4550. Description: Device attributes (DEC)
  4551.  
  4552. This is a response from the terminal to DA.
  4553. Ps1 specifies the operating level of the terminal.  This determines
  4554. the meaning of the other Pses (if any).
  4555.  
  4556. Ps1 == 1    VT100; Ps2 is a bitmask:
  4557.         1  => STP (processor option)
  4558.         2  => AVO (advanced video option)
  4559.         4  => GPO (graphics processor option)
  4560.         8  => PP???
  4561.  
  4562. Ps1 == 2    VT102
  4563.  
  4564. Ps1 == 4    VT132; Ps2 same as VT100
  4565.  
  4566. Ps1 == 5    VK100 (GIGI)
  4567.  
  4568. Ps1 == 6    VT102 (again?)
  4569.  
  4570. Ps1 == 7    VT131
  4571.  
  4572. Ps1 == 10    Letterprinter
  4573.         Ps2 absent => LA100 microcode version 1 (7-bit)
  4574.         Ps2 == 2   => LA100 microcode version 2 (8-bit)
  4575.         PS2 == 3   => LA210 microcode version 2 (8-bit)
  4576.  
  4577. Ps1 == 12    VT125; Ps2 same as VT100; Graphics firmware version in Ps3
  4578.  
  4579. Ps1 == 13    LQP02
  4580.  
  4581. Ps1 == 15, Ps2 == 1
  4582.         LA12 (DECwriter Correspondent)
  4583.  
  4584. Ps1 == 17    LA50
  4585.  
  4586. Ps1 == 19    DECtalk
  4587.  
  4588. Ps1 == 61    Operating level 1 (emulated VT100)
  4589. Ps1 == 62    Operating level 2 (VT200)
  4590. Ps1 == 63    Operating level 3 (VT300)
  4591. Ps1 == 64    Operating level 4 (VT400)
  4592. Ps1 == 65    Operating level 5 (VT500)
  4593.  
  4594.     for 61--62, the other Ps are a list of features:
  4595.  
  4596.                 Ps      meaning
  4597.                 1       132 columns
  4598.                 2       Printer port
  4599.                 3       ReGIS graphics
  4600.                 4       Sixel graphics
  4601.                 6       Selective erase
  4602.                 7       Soft character set (DRCS)
  4603.                 8       User-defined keys
  4604.                 9       National replacement character sets
  4605.                 10      Text ruling vector
  4606.                 11      25th status line
  4607.                 12      Serbo-croatian (SCS)
  4608.                 13      Local editing mode
  4609.                 14      8-bit architecture
  4610.                 15      Technical character set
  4611.                 16      Locator device port (ReGIS)
  4612.                 17      Terminal state reports
  4613.                 18      Windowing capability
  4614.                 19      Dual sessions
  4615.                 21      Horizontal scrolling
  4616.                 22      Colour
  4617.                 23      Greek
  4618.                 24      Turkish
  4619.                 29      ANSI text locator
  4620.                 39      Page memory extension
  4621.                 42      ISO Latin-2
  4622.                 44      PC Term
  4623.                 45      Soft key mapping
  4624.                 46      ASCII terminal emulation (Wyse, TVI etc)
  4625.  
  4626. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/msvibm_vt.txt>
  4627. Source: vttest-990712 reports.c
  4628. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56
  4629.     ppC31,E11,E19,E50,E84,E90,G6
  4630. Status: DEC private
  4631. -------------------------------------------------------------------------------
  4632. Sequence: CSI > 0 c
  4633. Mnemonic: DA
  4634. Description: Device attributes (secondary request)
  4635.  
  4636. Parameter default value: 0
  4637.  
  4638. Requests secondary attributes from the terminal (model, firmware
  4639. version, options).
  4640.  
  4641. Source: <URL:http://vt100.net/docs/vt220-rm/chapter4.html>
  4642. Status: DEC private; VT220
  4643. -------------------------------------------------------------------------------
  4644. Sequence: CSI > 0 ; Pv ; Po c
  4645. Mnemonic: DA
  4646. Description: Device attributes (secondary response; xterm/VT100)
  4647.  
  4648. xterm returns this to indicate that it's a VT100 even though a real
  4649. VT100 wouldn't.
  4650.  
  4651. Source: XFree86: xc/doc/specs/xterm/ctlseqs.ms,v 3.29 1999/09/27 06:29:05
  4652. Status: xterm private
  4653. -------------------------------------------------------------------------------
  4654. Sequence: CSI > 1 ; Pv ; Po c Mnemonic: DA Description: Device
  4655. attributes (secondary response, VT220)
  4656.  
  4657. "I am a VT220 (identification code of 1), my firmware version is _____
  4658. (Pv), and I have Po options installed."
  4659.  
  4660. Source: <URL:http://vt100.net/docs/vt220-rm/chapter4.html>
  4661. Status: DEC private; VT220
  4662. -------------------------------------------------------------------------------
  4663. Sequence: CSI Pn d
  4664. Mnemonic: VPA
  4665. Description: Line position absolute
  4666.  
  4667. Parameter default value: Pn = 1
  4668.  
  4669. VPA causes the active data position to be moved to line position n in
  4670. the data component in a direction parallel to the line progression,
  4671. where n equals the value of Pn.
  4672.  
  4673. Source: ECMA-48 5th Ed. 8.3.158
  4674. Status: standard
  4675. -------------------------------------------------------------------------------
  4676. Sequence: CSI Pn e
  4677. Mnemonic: VPR
  4678. Description: Line position forward
  4679.  
  4680. Parameter default value: Pn = 1
  4681.  
  4682. VPR causes the active data position to be moved by n line positions in
  4683. the data component in a direction parallel to the line progression,
  4684. where n equals the value of Pn.
  4685.  
  4686. Source: ECMA-48 5th Ed. 8.3.160
  4687. Status: standard
  4688. -------------------------------------------------------------------------------
  4689. Sequence: CSI Pn1 ; Pn2 f
  4690. Mnemonic: HVP
  4691. Description: Character and line position
  4692.  
  4693. Parameter default values: Pn1 = 1; Pn2 = 1
  4694.  
  4695. HVP causes the active data position to be moved in the data component
  4696. to the n-th line position according to the line progression and to the
  4697. m-th character position according to the character progression, where
  4698. n equals the value of Pn1 and m equals the value of Pn2.
  4699.  
  4700. Source: ECMA-48 5th Ed. 8.3.63
  4701. Status: standard
  4702. -------------------------------------------------------------------------------
  4703. Sequence: CSI Ps g
  4704. Mnemonic: TBC
  4705. Description: Tabulation clear
  4706.  
  4707. Parameter default value: Ps = 0
  4708.  
  4709. TBC causes one or more tabulation stops in the presentation component
  4710. to be cleared, depending on the parameter value:
  4711.  
  4712. 0 the character tabulation stop at the active presentation position is
  4713.   cleared
  4714. 1 the line tabulation stop at the active line is cleared
  4715. 2 all character tabulation stops in the active line are cleared
  4716. 3 all character tabulation stops are cleared
  4717. 4 all line tabulation stops are cleared
  4718. 5 all tabulation stops are cleared
  4719.  
  4720. In the case of parameter value 0 or 2 the number of lines affected
  4721. depends on the setting of the TABULATION STOP MODE (TSM)
  4722.  
  4723. Source: ECMA-48 5th Ed. 8.3.154
  4724. Status: standard
  4725.  
  4726. If the first parameter has a value of 100 then tab stops are reset to
  4727. the default state (one every 8 columns).
  4728.  
  4729. Source: IRIX 6.5.5 xwsh(1G)
  4730. Status: SGI private; clashes with ECMA-48
  4731. -------------------------------------------------------------------------------
  4732. Sequence: CSI = Pn g
  4733. Description: display charcter from alternate graphics character set
  4734.  
  4735. Displays graphic character Pn.
  4736.  
  4737. Source: UnixWare 7 display(7)
  4738. Status: iBCS2 private
  4739. -------------------------------------------------------------------------------
  4740. Sequence: CSI > Pn g
  4741. Description: Re-set tabs
  4742.  
  4743. Clear all horizontal tab stops, then set tabs every Pn positions (i.e.
  4744. Esc-[->-5-g sets tabs every five columns)
  4745.  
  4746. Source: <URL:ftp://ftp.cs.cmu.edu/afs/cs/user/ralf/pub/rbcom346.zip>
  4747. Status: RBComm? private
  4748. -------------------------------------------------------------------------------
  4749. Sequence: CSI Ps ... h
  4750. Mnemonic: SM
  4751. Description: Set mode
  4752.  
  4753. No parameter default value.
  4754.  
  4755. SM causes the modes of the receiving device to be set as specified by
  4756. the parameter values.
  4757.  
  4758. NOTE
  4759. Private modes may be implemented using private parameters, see 5.4.1
  4760. and 7.4.
  4761.  
  4762. Source: ECMA-48 5th Ed. 8.2.125
  4763.  
  4764. [ NB: See "Mode:" entries for individual modes ]
  4765.  
  4766. Status: standard
  4767. -------------------------------------------------------------------------------
  4768. Sequence: CSI Ps i
  4769. Mnemonic: MC
  4770. Description: Media copy
  4771.  
  4772. Parameter default value: Ps = 0
  4773.  
  4774. MC is used either to initiate a transfer of data from or to an
  4775. auxiliary input/output device or to enable or disable the relay of the
  4776. received data stream to an auxiliary input/output device, depending on
  4777. the parameter value:
  4778.  
  4779. 0 initiate transfer to a primary auxiliary device
  4780. 1 initiate transfer from a primary auxiliary device
  4781. 2 initiate transfer to a secondary auxiliary device
  4782. 3 initiate transfer from a secondary auxiliary device
  4783. 4 stop relay to a primary auxiliary device
  4784. 5 start relay to a primary auxiliary device
  4785. 6 stop relay to a secondary auxiliary device
  4786. 7 start relay to a secondary auxiliary device
  4787.  
  4788. This control function may not be used to switch on or off an auxiliary
  4789. device.
  4790.  
  4791. Source: ECMA-48 5th Ed 8.3.82
  4792.  
  4793. Locator Controller Mode allows the host to communicate directly with
  4794. the locator device without terminal intervention (similar to printer
  4795. controller mode). When locator controller mode is set, all data
  4796. received at the host port is transferred directly to the locator port
  4797. without interpretation by the display terminal. The only exceptions
  4798. are the communications control characters XON/XOFF (if enabled), and
  4799. the control sequence to disabled locator controller mode. All
  4800. characters received at locator port are transferred to the host port
  4801. without interpretation. The host assumes full responsibility for the
  4802. locator device.
  4803.  
  4804. Locator controller mode is desirable for two reasons: 
  4805.  
  4806. 1. It allows the host to explicitly initialize or configure locator
  4807.    devices. A foriegn locator device might not wake up in DEC format
  4808.    for example.
  4809.  
  4810. 2. It allows the locator port to be used for other auxilliary input
  4811.    devices. A bar code reader could be interfaced to the locator port
  4812.    for example, allowing the terminal to support a bar code reader
  4813.    without pre-empting the printer port.
  4814.  
  4815. Turn off locator controller mode (MC) CSI 6 i 
  4816.  
  4817. Turn on locator controller mode (MC) CSI 7 i 
  4818.  
  4819. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/dec_vt_mouse.html>
  4820. Status: standard; DEC modifications
  4821. -------------------------------------------------------------------------------
  4822. Sequence: CSI ? Ps i
  4823.  
  4824.       ?0 Select auxiliary port for ReGIS hardcopy output.
  4825.  
  4826.       ?1 copy the cursor line to
  4827.       the auxilary(printer)Port
  4828.    
  4829.       ?2 Select computer port for ReGIS hardcopy output.
  4830.  
  4831.       ?3 copy the cursor line to
  4832.       the modem(host) Port
  4833.  
  4834.       ?4 diaable the copy passthru
  4835.       print mode
  4836.       
  4837.       ?5 enable the copy passthru
  4838.       print mode
  4839.  
  4840. Source: <URL:http://www.wyse.com/service/support/kbase/SEQwt.asp?Q=9>
  4841. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pC31
  4842. Status: Wyse/DEC private
  4843. -------------------------------------------------------------------------------
  4844. Sequence: CSI Pn j
  4845. Mnemonic: HPB
  4846. Description: Character position backward
  4847.  
  4848. Parameter default value: Pn = 1
  4849.  
  4850. HPB causes the active data position to be moved by n character
  4851. positions in the data component in the direction opposite to that of
  4852. the character progression, where n equals the value of Pn.
  4853.  
  4854. Source: ECMA-48 5th Ed. 8.3.58
  4855. Status: standard
  4856. -------------------------------------------------------------------------------
  4857. Sequence: CSI Pn k
  4858. Mnemonic: VPB
  4859. Description: Line position backward
  4860.  
  4861. Parameter default value: Pn = 1
  4862.  
  4863. VPB causes the active data position to be moved by n line positions in
  4864. the data component in a direction opposite to that of the line
  4865. progression, where n equals the value of Pn.
  4866.  
  4867. Source: ECMA-48 5th Ed. 8.3.159
  4868. Status: standard
  4869. -------------------------------------------------------------------------------
  4870. Sequence: CSI Pn k
  4871. Description: disable (n=0) or enable (n=1) keyclick
  4872.  
  4873. Source: termtypes.master 10.2.7
  4874. Status: iBCS2 private; clashes with ECMA-48 HPB
  4875. -------------------------------------------------------------------------------
  4876. Sequence: CSI Ps ... l
  4877. Mnemonic: RM
  4878. Description: Reset mode
  4879.  
  4880. No parameter default value.
  4881.  
  4882. RM causes the modes of the receiving device to be reset as specified
  4883. by the parameter values.
  4884.  
  4885. NOTE
  4886. Private modes may be implemented using private parameters, see 5.4.1
  4887. and 7.4.
  4888.  
  4889. Source: ECMA-48 5th Ed. 8.3.106
  4890.  
  4891. [ see "Mode:" entries for individual modes ]
  4892.  
  4893. Status: standard
  4894. -------------------------------------------------------------------------------
  4895. Sequence: CSI = ? l
  4896. Description: Insert line up
  4897.  
  4898. Source: jaltman@watsun.cc.columbia.edu (Jeffrey Altman) in comp.terminals
  4899.     <7t2fe1$gj0$1@newsmaster.cc.columbia.edu>
  4900. Status: ? private
  4901. -------------------------------------------------------------------------------
  4902. Sequence: CSI Ps ... m
  4903. Mnemonic: SGR
  4904. Description: Select graphic rendition
  4905.  
  4906. Parameter default value: Ps = 0
  4907.  
  4908. SGR is used to establish one or more graphic rendition aspects for
  4909. subsequent text. The established aspects remain in effect until the
  4910. next occurrence of SGR in the data stream, depending on the setting of
  4911. the GRAPHIC RENDITION COMBINATION MODE (GRCM). Each graphic rendition
  4912. aspect is specified by a parameter value:
  4913.  
  4914. [ In the following list, items are marked with their source on the right.
  4915.   Items with no marking are ECMA-48 standard ones. ]
  4916.  
  4917. 0   default rendition (implementation-defined), cancels the effect of
  4918.     any preceding occurrence of SGR in the data stream regardless of the
  4919.     setting of the GRAPHIC RENDITION COMBINATION MODE (GRCM)
  4920. 1   bold or increased intensity
  4921. 2   faint, decreased intensity or second colour
  4922. 3   italicized
  4923. 4   singly underlined
  4924. 5   slowly blinking (less then 150 per minute)
  4925. 6   rapidly blinking (150 per minute or more)
  4926. 6   VGA only: if blink (5) is on, turn blink off and background color to
  4927.     its light equivalent (that is, brown to yellow)                     [iBCS2]
  4928. 7   negative image
  4929. 8   concealed characters
  4930. 9   crossed-out (characters still legible but marked as to be deleted)
  4931. 10  primary (default) font
  4932. 10  reset selected mapping, display control flag, and toggle meta flag. [iBCS2]
  4933. 11  first alternative font
  4934. 11  select null mapping, set display control flag, reset toggle meta
  4935.     flag.                                                               [iBCS2]
  4936. 12  second alternative font
  4937. 12  select null mapping, set display control flag, set toggle meta
  4938.     flag. (The toggle meta flag causes the high bit of a byte to be
  4939.     toggled before the mapping table translation is done.)              [Linux]
  4940. 13  third alternative font
  4941. 14  fourth alternative font
  4942. 15  fifth alternative font
  4943. 16  sixth alternative font
  4944. 17  seventh alternative font
  4945. 18  eighth alternative font
  4946. 19  ninth alternative font
  4947. 20  Fraktur (Gothic)
  4948. 21  doubly underlined
  4949. 21  set normal intensity                                                [Linux]
  4950. 22  normal colour or normal intensity (neither bold nor faint)
  4951. 23  not italicized, not fraktur
  4952. 24  not underlined (neither singly nor doubly)
  4953. 25  steady (not blinking)
  4954. 26  (reserved for proportional spacing as specified in CCITT
  4955.     Recommendation T.61)
  4956. 27  positive image
  4957. 28  revealed characters
  4958. 29  not crossed out
  4959. 30  black display
  4960. 31  red display
  4961. 32  green display
  4962. 33  yellow display
  4963. 34  blue display
  4964. 35  magenta display
  4965. 36  cyan display
  4966. 37  white display
  4967. 38  (reserved for future standardization; intended for setting
  4968.     character foreground colour as specified in ISO 8613-6 [CCITT
  4969.     Recommendation T.416])
  4970. 38  set underscore on, set default foreground color                     [Linux]
  4971. 38  If next two parameters are 5 and Ps, set background color to Ps     [xterm]
  4972. 38  enables underline option; white foreground with white underscore    [iBCS2]
  4973. 39  default display colour (implementation-defined)
  4974. 39  disables underline option                                           [iBCS2]
  4975. 40  black background
  4976. 41  red background
  4977. 42  green background
  4978. 43  yellow background
  4979. 44  blue background
  4980. 45  magenta background
  4981. 46  cyan background
  4982. 47  white background
  4983. 48  (reserved for future standardization; intended for setting
  4984.     character background colour as specified in ISO 8613-6 [CCITT
  4985.     Recommendation T.416])
  4986. 48  If next two parameters are 5 and Ps, set foreground color to Ps     [xterm]
  4987. 49  default background colour (implementation-defined)
  4988. 50  (reserved for cancelling the effect of the rendering aspect
  4989.     established by parameter value 26)
  4990. 51  framed
  4991. 52  encircled
  4992. 53  overlined
  4993. 54  not framed, not encircled
  4994. 55  not overlined
  4995. 56  (reserved for future standardization)
  4996. 57  (reserved for future standardization)
  4997. 58  (reserved for future standardization)
  4998. 59  (reserved for future standardization)
  4999. 60  ideogram underline or right side line
  5000. 61  ideogram double underline or double line on the right side
  5001. 62  ideogram overline or left side line
  5002. 63  ideogram double overline or double line on the left side
  5003. 64  ideogram stress marking
  5004. 65  cancels the effect of the rendition aspects established by
  5005.     parameter values 60 to 64
  5006. 90  Set foreground color to (bright) Black                            [aixterm]
  5007. 91  Set foreground color to (bright) Red                              [aixterm]
  5008. 92  Set foreground color to (bright) Green                            [aixterm]
  5009. 93  Set foreground color to (bright) Yellow                           [aixterm]
  5010. 94  Set foreground color to (bright) Blue                             [aixterm]
  5011. 95  Set foreground color to (bright) Magenta                          [aixterm]
  5012. 96  Set foreground color to (bright) Cyan                             [aixterm]
  5013. 97  Set foreground color to (bright) White                            [aixterm]
  5014. 100 Set foreground and background color to default                       [rxvt]
  5015. 100 Set background color to (bright) Black                            [aixterm]
  5016. 101 Set background color to (bright) Red                              [aixterm]
  5017. 102 Set background color to (bright) Green                            [aixterm]
  5018. 103 Set background color to (bright) Yellow                           [aixterm]
  5019. 104 Set background color to (bright) Blue                             [aixterm]
  5020. 105 Set background color to (bright) Magenta                          [aixterm]
  5021. 106 Set background color to (bright) Cyan                             [aixterm]
  5022. 107 Set background color to (bright) White                            [aixterm]
  5023.  
  5024. DEC private SGRs:
  5025. ?1  Set secondary overprint mode                    [LQP02]
  5026. ?2  Enable shadow print                            [LQP02]
  5027.  
  5028. NOTE
  5029. The usable combinations of parameter values are determined by the
  5030. implementation.
  5031.  
  5032. Source: ECMA-48 5th Ed. 8.3.118
  5033. Source: Linux console_codes(4)
  5034. Source: termtypes.master 10.2.7
  5035. Source: XFree86: xc/doc/specs/xterm/ctlseqs.ms,v 3.29 1999/09/27 06:29:05
  5036. Source: UnixWare 7 display(7)
  5037. Status: standard; Linux, iBCS2, aixterm extensions
  5038. -------------------------------------------------------------------------------
  5039. Sequence: CSI ? = m
  5040. Description: Delete line down
  5041.  
  5042. Source: jaltman@watsun.cc.columbia.edu (Jeffrey Altman) in comp.terminals
  5043.     <7t2fe1$gj0$1@newsmaster.cc.columbia.edu>
  5044. Status: ? private
  5045. -------------------------------------------------------------------------------
  5046. Sequence: CSI Ps n
  5047. Mnemonic: DSR
  5048. Description: Device status report
  5049.  
  5050. Parameter default value: Ps = 0
  5051.  
  5052. DSR is used either to report the status of the sending device or to
  5053. request a status report from the receiving device, depending on the
  5054. parameter values:
  5055.  
  5056. 0 ready, no malfunction detected
  5057. 1 busy, another DSR must be requested later
  5058. 2 busy, another DSR will be sent later
  5059. 3 some malfunction detected, another DSR must be requested later
  5060. 4 some malfunction detected, another DSR will be sent later
  5061. 5 a DSR is requested
  5062. 6 a report of the active presentation position or of the active data
  5063.   position in the form of ACTIVE POSITION REPORT (CPR) is requested
  5064.  
  5065. DSR with parameter value 0, 1, 2, 3 or 4 may be sent either
  5066. unsolicited or as a response to a request such as a DSR with a
  5067. parameter value 5 or MESSAGE WAITING (MW).
  5068.  
  5069. Source: ECMA-48 5th Ed 8.3.35
  5070. Status: standard
  5071.  
  5072. 100-107 
  5073.  
  5074. Report the rgb value (#rrggbb) for a given color using a DCS Pn .y Ps
  5075. ST escape sequence (see DCS below for the values that xwsh will use
  5076. for Pn). DSR parameter 100 maps to the text color, 101 to the page
  5077. color, 102 the selection text color, 103 to the selection page color,
  5078. 104 to the cursor text color, 105 to the cursor page color, 106 to the
  5079. half intensity color and 107 to the bold color.
  5080.  
  5081. Source: IRIX 6.5.5 xwsh(1G)
  5082. Status: SGI private; clashes with ECMA-48
  5083. -------------------------------------------------------------------------------
  5084. Sequence: CSI ? Pn n
  5085. Mnemonic: DSR
  5086. Description: Device status report
  5087.  
  5088.  Request  CSI ? 1 n        [LA50] disable all unsolicited status reports.
  5089.  Request  CSI ? 2 n             [LA50] enable unsolicited brief reports and
  5090.                 send an extended one.
  5091.  Request  CSI ? 3 n        [LA50] enable unsolicited extended reports and
  5092.                 send one.
  5093.  Response CSI ? 20 n        malfunction detected [also LCP01]
  5094.      then CSI ? Ps ... n
  5095.  
  5096.         Ps    Fault
  5097.         21    Hardware failure
  5098.         22    Communication failure (event)
  5099.         23    Input buffer overflow (event)
  5100.         24    Printer deselected
  5101.         26    Cover open
  5102.         27    Out of consumables (ink/paper)
  5103.         28    Program load failure
  5104.         42    Font load failure
  5105.         44    Font memory exceeded
  5106.         104    Too many fonts
  5107.  
  5108.  Request  CSI ? 6 n             same as CSI 6 n but for VT340s
  5109.  
  5110.  Request  CSI ? 15 n            printer status
  5111.  Response CSI ? 10 n                    printer ready
  5112.       or  CSI ? 11 n                    printer is not ready
  5113.       or  CSI ? 13 n                    no printer
  5114.       or  CSI ? 19 n                    printer assigned to other session
  5115.  
  5116.  Request  CSI ? 25 n            User Definable Key status
  5117.  Response CSI ? 20 n                    UDKs are unlocked
  5118.       or  CSI ? 21 n            UDKs are locked
  5119.  
  5120.  Request  CSI ? 26 n            keyboard dialect
  5121.  Response CSI ? 27; Ps n        in MS Kermit this is controlled by
  5122.                                 command SET TERMINAL CHARACTER-SET <country>
  5123.                 Ps      Country                 Ps      Country
  5124.                 1       North American/ASCII
  5125.                 2       British
  5126.         3    Flemish
  5127.                 4       French Canadian
  5128.         5    Danish
  5129.                 6       Finnish
  5130.                 7       German
  5131.                 8       Dutch
  5132.         9       Italian
  5133.         10    Swiss (French)
  5134.         11      Swiss (German)
  5135.                 12      Swedish
  5136.                 13      Norwegian/Danish
  5137.                 14      Hebrew
  5138.                 14      French
  5139.                 15      Spanish
  5140.                 16      Portugese
  5141.  
  5142.  Request  CSI ? 55 n        locator status
  5143.  Response CSI ? 53 n            no locator
  5144.       or  CSI ? 50 n            locator ready
  5145.       or  CSI ? 58 n            locator busy
  5146.  
  5147.  Request  CSI ? 56 n        locator type
  5148.  Response CSI ? 57 Ps n            Ps = 0 => No locator
  5149.                     Ps = 1 => Locator is a mouse
  5150.  
  5151.  Request  CSI ? 63 ; Pn n    Request checksum of macro definitions
  5152.                     Pn is returned with DECCKSR
  5153.  
  5154. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/msvibm_vt.txt>
  5155. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/dec_vt_mouse.html>
  5156. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/swedish_vt102_codes.txt>
  5157. Source: vttest-990712 vt220.c
  5158. Source: Reflection TRM (VT) Version 7.0
  5159. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 ppE84,E124
  5160. Status: DEC private; VT200
  5161. -------------------------------------------------------------------------------
  5162. Sequence: CSI Ps ... o
  5163. Mnemonic: DAQ
  5164. Description: Define area qualification
  5165.  
  5166. Parameter default value: Ps = 0
  5167.  
  5168. DAQ is used to indicate that the active presentation position in the
  5169. presentation component is the first character position of a qualified
  5170. area. The last character position of the qualified area is the
  5171. character position in the presentation component immediately preceding
  5172. the first character position of the following qualified area.
  5173.  
  5174. The parameter value designates the type of qualified area:
  5175. 0 unprotected and unguarded
  5176. 1 protected and guarded
  5177. 2 graphic character input
  5178. 3 numeric input
  5179. 4 alphabetic input
  5180. 5 input aligned on the last character position of the qualified area
  5181. 6 fill with ZEROs
  5182. 7 set a character tabulation stop at the active presentation position
  5183.   (the first character position of the qualified area) to indicate the
  5184.   beginning of a field
  5185. 8 protected and unguarded
  5186. 9 fill with SPACEs
  5187. 10 input aligned on the first character position of the qualified area
  5188. 11 the order of the character positions in the input field is
  5189.    reversed, i.e. the last position in each line becomes the first and
  5190.    vice versa; input begins at the new first position.
  5191.  
  5192. This control function operates independently of the setting of the
  5193. TABULATION STOP MODE (TSM).  The character tabulation stop set by
  5194. parameter value 7 applies to the active line only.
  5195.  
  5196. NOTE
  5197. The control functions for area definition (DAQ, EPA, ESA, SPA, SSA)
  5198. should not be used within an SRS string or an SDS string.
  5199.  
  5200. Source: ECMA-48 5th Ed 8.3.25
  5201. Status: standard
  5202. -------------------------------------------------------------------------------
  5203. Sequence: CSI p
  5204. Mnemonic: SUNBOW
  5205. Description: Black on white
  5206.  
  5207. Sets the display into black-on-white mode (the default).
  5208.  
  5209. Source: SunOS 5.7 wscons(7D) [paraphrased]
  5210. Status: Sun private
  5211. -------------------------------------------------------------------------------
  5212. Sequence: CSI Ps p
  5213. Description: Begin field attribute
  5214.  
  5215. Ps is a variable representing
  5216.    
  5217. Ps  =0 normal
  5218.      1 dim
  5219.      2 blink
  5220.      3 blink dim
  5221.      4 blank
  5222.      5 blank dim
  5223.      6 blank
  5224.      7 blank dim
  5225.      8 underline
  5226.      9 underline dim
  5227.     10 underline blink
  5228.     11 underline blink dim
  5229.     12 underline blank
  5230.     13 underline blank dim
  5231.     14 Underline blank blink
  5232.     15 underline blank blink dim
  5233.     16 Inverse
  5234.     17 inverse dim
  5235.     18 inverse blink
  5236.     19 Inverse blink dim
  5237.     20 inverse blank
  5238.     21 inverse blank dim
  5239.     22 inverse blank
  5240.     23 inverse blank dim
  5241.     24 inverse underline
  5242.     25 inverse underline dim
  5243.     26 inverse underline blink
  5244.     27 inverse underline blink
  5245.        dim
  5246.     28 inverse underline blank
  5247.     29 inverse underline blank
  5248.        dim
  5249.     30 inverse underline blank
  5250.        blink
  5251.     31 inverse underline blank
  5252.        blink di
  5253.  
  5254. Source: <URL:http://www.wyse.com/service/support/kbase/SEQwt.asp?Q=9>
  5255. Status: DEC private?
  5256. -------------------------------------------------------------------------------
  5257. Sequence: CSI Ps q
  5258. Mnemonic: DECLL
  5259. Description: Load LEDs
  5260.  
  5261.         Load the four programmable LEDs on the keyboard according to the
  5262.         parameter(s).
  5263.  
  5264.                 Parameter       Meaning
  5265.                 -----------------------
  5266.                     0           Clear All LEDs (default)
  5267.                     1           Light L1
  5268.                     2           Light L2
  5269.                     3           Light L3
  5270.                     4           Light L4
  5271.  
  5272. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/vt100_codes_news.txt>
  5273.  
  5274.                      ESC [ 0 q: clear all LEDs
  5275.                      ESC [ 1 q: set Scroll Lock LED
  5276.                      ESC [ 2 q: set Num Lock LED
  5277.                      ESC [ 3 q: set Caps Lock LED
  5278.  
  5279. Source: Linux console_codes(4)
  5280. Status: DEC private; VT100
  5281. -------------------------------------------------------------------------------
  5282. Sequence: CSI q
  5283. Mnemonic: SUNWOB
  5284. Description: White on black
  5285.  
  5286. Sets the display to white-on-black mode.
  5287.  
  5288. Source: SunOS 5.7 wscons(7D) [paraphrased]
  5289. Status: Sun private
  5290. -------------------------------------------------------------------------------
  5291. Sequence: CSI Pt ; Pb r
  5292. Mnemonic: DECSTBM
  5293. Description: Set top and bottom margins
  5294.  
  5295.                 Pt is the number of the top line of the scrolling region;
  5296.                 Pb is the number of the bottom line of the scrolling region 
  5297.                 and must be greater than  Pt.
  5298.                 (The default for Pt is line 1, the default for Pb is the end 
  5299.                  of the screen)
  5300.  
  5301. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/vt100_reference_card.txt>
  5302. Status: DEC private; VT100
  5303. -------------------------------------------------------------------------------
  5304. Sequence: CSI Pn r
  5305. Mnemonic: SUNSCRL
  5306. Description: Set scrolling
  5307.  
  5308. Default parameter: Pn = 0
  5309.  
  5310. If Pn > 0, sets the screen to scroll Pn lines whenever a LF would push
  5311. the cursor off the bottom.  Setting it to the number of lines on the
  5312. screen causes the screen to clear when it fills.
  5313.  
  5314. If Pn == 0, sets "wrap mode", where the cursor moves back to the top
  5315. line of the screen when LFed off the bottom, and where lines are
  5316. cleared when the cursor LFs into them.
  5317.  
  5318. Source: SunOS 5.7 wscons(7D) [paraphrased]
  5319. Status: Sun private
  5320. -------------------------------------------------------------------------------
  5321. Sequence: CSI ? Ps r
  5322. Description: Restore DEC Private Mode
  5323.  
  5324.                 Ps = 1 -> Normal/Application Cursor Keys (DECCKM)
  5325.                 Ps = 3 -> 80/132 Column Mode (DECCOLM)
  5326.                 Ps = 4 -> Jump (Fast)/Smooth (Slow) Scroll (DECSCLM)
  5327.                 Ps = 5 -> Normal/Reverse Video (DECSCNM)
  5328.                 Ps = 6 -> Normal/Origin  Cursor Mode (DECOM)
  5329.                 Ps = 7 -> No Wraparound/Wraparound Mode (DECAWM)
  5330.                 Ps = 8 -> Auto-repeat/No Auto-repeat Keys (DECARM)
  5331.                 Ps = 9 -> Don't Send/Send MIT Mouse Row & Column on
  5332.                           Button Press
  5333.                 Ps = 40 -> Disallow/Allow 80 <-> 132 Mode
  5334.                 Ps = 41 -> Off/On curses(5) fix
  5335.                 Ps = 44 -> Turn Off/On Margin Bell
  5336.                 Ps = 45 -> No Reverse-wraparound/Reverse-wraparound
  5337.                            Mode 
  5338.                 Ps = 46 -> Stop/Start Logging
  5339.                 Ps = 47 -> Use Normal/Alternate Screen Buffer
  5340.                 Ps = 1000 -> mouse bogus sequence (???)
  5341.                 Ps = 1001 -> mouse bogus sequence (???)
  5342.  
  5343. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/xterm_controls.txt>
  5344. Status: xterm? private
  5345. -------------------------------------------------------------------------------
  5346. Sequence: CSI Pn1 ; Pn2 s
  5347. Mnemonic: DECSLRM
  5348. Description: Set left and right margins
  5349.  
  5350. Sets left margin to Pn1, right margin to Pn2
  5351.  
  5352. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE10
  5353. Status: DEC private; VT400, printers
  5354. -------------------------------------------------------------------------------
  5355. Sequence: CSI s
  5356. Description: Save cursor location
  5357.  
  5358. Source: Linux console_codes(4)
  5359. Source: terminfo.master 10.2.7
  5360. Status: iBCS2 private
  5361. -------------------------------------------------------------------------------
  5362. Sequence: CSI s
  5363. Mnemonic: SUNRESET
  5364. Description: Reset terminal emulator
  5365.  
  5366. Resets modes and font.  Doesn't move cursor or change screen.
  5367.  
  5368. Source: SunOS 5.7 wscons(7D) [paraphrased]
  5369. Status: Sun private
  5370. -------------------------------------------------------------------------------
  5371. Sequence: CSI ? Ps s
  5372. Description: Save DEC Private Mode
  5373.  
  5374.  
  5375.                 Ps = 1 -> Normal/Application Cursor Keys (DECCKM)
  5376.                 Ps = 3 -> 80/132 Column Mode (DECCOLM)
  5377.                 Ps = 4 -> Jump (Fast)/Smooth (Slow) Scroll (DECSCLM)
  5378.                 Ps = 5 -> Normal/Reverse Video (DECSCNM)
  5379.                 Ps = 6 -> Normal/Origin  Cursor Mode (DECOM)
  5380.                 Ps = 7 -> No Wraparound/Wraparound Mode (DECAWM)
  5381.                 Ps = 8 -> Auto-repeat/No Auto-repeat Keys (DECARM)
  5382.                 Ps = 9 -> Don't Send/Send MIT Mouse Row & Column on
  5383.                           Button Press
  5384.                 Ps = 40 -> Disallow/Allow 80 <-> 132 Mode
  5385.                 Ps = 41 -> Off/On curses(5) fix
  5386.                 Ps = 44 -> Turn Off/On Margin Bell
  5387.                 Ps = 45 -> No Reverse-wraparound/Reverse-wraparound
  5388.                            Mode 
  5389.                 Ps = 46 -> Stop/Start Logging
  5390.                 Ps = 47 -> Use Normal/Alternate Screen Buffer
  5391.                 Ps = 1000 -> mouse bogus sequence (???)
  5392.                 Ps = 1001 -> mouse bogus sequence (???)
  5393.  
  5394. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/xterm_controls.txt>
  5395. Status: xterm? private
  5396. -------------------------------------------------------------------------------
  5397. Sequence: CSI Pn t
  5398. Mnemonic: DECSLPP
  5399. Description: Set lines per physical page
  5400.  
  5401. On the multipage VT330, you can issue a DECSLPP (set lines per page) command:
  5402.  
  5403.     Esc [ 2 4 t         6 pages of 24 lines each, single session
  5404.     Esc [ 3 6 t         4 pages of 36 lines each, single session
  5405.     Esc [ 7 2 t         2 pages of 72 lines each, single session
  5406.     Esc [ 1 4 4 t       1 page of 144 lines each, single session
  5407.  
  5408. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/dec_vt220_codes.txt>
  5409.  
  5410. On LA100:
  5411. Sets form length to Pn lines.  Sets top margin and active line to line
  5412. one.  Sets bottom margin to line Pn.  Default is 1
  5413.  
  5414. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE10
  5415. Status: DEC private; VT330, printers
  5416. -------------------------------------------------------------------------------
  5417. Sequence: CSI Ps t
  5418. Description: Define non-normal (enhance) attribute
  5419.  
  5420. [setup level 1]
  5421.  
  5422. Defines the enhance attribute
  5423. (see SGR,Non-0)
  5424.        
  5425.  Ps  = 0 dim
  5426.        1 inverse
  5427.        2 underline
  5428.  
  5429. [ On a Wyse-75, this chooses which attribute SGR with a non-zero argument
  5430.   produces. ]
  5431.  
  5432. Source: <URL:http://www.wyse.com/service/support/kbase/SEQwt.asp?Q=9>
  5433. Status: Wyse private
  5434. -------------------------------------------------------------------------------
  5435. Sequence: CSI Pn ... u
  5436. Mnemonic: DECSHTS
  5437. Description: Set horizontal tab stops
  5438.  
  5439. Sets horizontal tab stops at the given values for Pn (up to 16 for the
  5440. LA100).
  5441.  
  5442. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE10
  5443. Status: DEC private; printers
  5444. -------------------------------------------------------------------------------
  5445. Sequence: CSI u
  5446. Description: Restore cursor location
  5447.  
  5448. Source: Linux console_codes(4)
  5449. Source: termtypes.master 10.2.7
  5450. Status: iBCS2 private
  5451. -------------------------------------------------------------------------------
  5452. Sequence: CSI Pn ...  v
  5453. Mnemonic: DECSVTS
  5454. Description: Set vertical tab stops
  5455.  
  5456. Set vertical tab stops at lines Pn ...  (up to 16 on LA100)
  5457.  
  5458. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE11
  5459. Status: DEC private; printers
  5460. -------------------------------------------------------------------------------
  5461. Sequence: CSI Ps w
  5462. Mnemonic: DECSHORP
  5463. Description: Set horizontal pitch
  5464.  
  5465. Ps =
  5466. 0  10.0 cpi, 80 cpl
  5467. 1  10.0 cpi, 80 cpl
  5468. 2  12.0 cpi, 96 cpl
  5469. 3  13.2 cpi
  5470. 4  16.5 cpi, 132 cpl
  5471. 5   5.0 cpi
  5472. 6   6.0 cpi
  5473. 7   6.6 cpi
  5474. 8   8.25 cpi
  5475. 9  15.0 cpi
  5476.  
  5477. Source: Reflection TRM (VT) Version 7.0
  5478. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE108
  5479. Status: DEC private; printers
  5480. -------------------------------------------------------------------------------
  5481. Sequence: CSI Ps x
  5482. Mnemonic: DECREQTPARM
  5483. Description: Request terminal parameters
  5484.  
  5485.         The host sends this sequence to request the VT100 to send a DECREPTPARM
  5486.         sequence back.  {Ps} can be either 0 or 1.  If 0, the terminal will be
  5487.         allowed to send unsolicited DECREPTPARMs.  These reports will be
  5488.         generated each time the terminal exits the SET-UP mode.  If {Ps} is 1,
  5489.         then the terminal will only generate DECREPTPARMs in response to a
  5490.         request.
  5491.  
  5492. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/vt100_codes_news.txt>
  5493. Status: DEC private; VT100
  5494. -------------------------------------------------------------------------------
  5495. Sequence: CSI Psol ; Ppar ; Pnbits ; Pxspd ; Prspd ; Pcmul ; Pflags x
  5496. Mnemonic: DECREPTPARM
  5497. Description: Report terminal parameters
  5498.  
  5499.         This sequence is generated by the VT100 to notify the host of the
  5500.         status of selected terminal parameters.  The status sequence may be
  5501.         sent when requested by the host (via DECREQTPARM) or at the terminal's
  5502.         discretion.  On power up or reset, the VT100 is inhibited from sending
  5503.         unsolicited reports.
  5504.  
  5505.         The meanings of the sequence paramters are:
  5506.  
  5507.         Parameter       Value   Meaning
  5508.         ------------------------------------------------------------------
  5509.           {sol}           1     This message is a report.
  5510.                           2     This message is a report, and the terminal is
  5511.                                 only reporting on request.
  5512.  
  5513.           {par}           1     No parity set
  5514.                           4     Parity set and odd
  5515.                           5     Parity set and even
  5516.  
  5517.          {nbits}          1     8 bits per character
  5518.                           2     7 bits per character
  5519.  
  5520.          {xspd}           0     Speed set to 50 bps
  5521.          -and-            8     Speed set to 75 bps
  5522.          {rspd}          16     Speed set to 110 bps
  5523.                          24     Speed set to 134.5 bps
  5524.          {xspd}=         32     Speed set to 150 bps
  5525.           Transmit       40     Speed set to 200 bps
  5526.           Speed          48     Speed set to 300 bps
  5527.                          56     Speed set to 600 bps
  5528.          {rspd}=         64     Speed set to 1200 bps
  5529.           Recieve        72     Speed set to 1800 bps
  5530.           Speed          80     Speed set to 2000 bps
  5531.                          88     Speed set to 2400 bps
  5532.                          96     Speed set to 3600 bps
  5533.                         104     Speed set to 4800 bps
  5534.                         112     Speed set to 9600 bps
  5535.                         120     Speed set to 19200 bps
  5536.                         128     Speed set to 38400 bps [VT220?]
  5537.                         136     Speed set to 57600 bps [RBComm]
  5538.                         144     Speed set to 115200 bps [RBComm]
  5539.  
  5540.         {cmul}            1     The bit rate multiplier is 16
  5541.  
  5542.         {flags}        0-15     This value communicates the four switch values
  5543.                                 in block 5 of SET-UP B, which are only visible
  5544.                                 to the user when an STP option is installed.
  5545.  
  5546. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/vt100_codes_news.txt>
  5547. Source: vttest-990712 reports.c
  5548. Source: <URL:ftp://ftp.cs.cmu.edu/afs/cs/user/ralf/pub/rbcom346.zip>
  5549. Status: DEC private; VT100
  5550. -------------------------------------------------------------------------------
  5551. Sequence: CSI x
  5552. Mnemonic: DGRTC
  5553. Description: Read terminal configuration
  5554.  
  5555. This command queries for terminal configuration information, such as
  5556. model ID, keyboard type, etc.
  5557.  
  5558. Terminal configuration is sent back in the following form:
  5559.  
  5560.   CSI <model ID> ; <status> ; <firmware rev> <keyboard> x
  5561.  
  5562. where:
  5563.  
  5564.   <model ID> = 52
  5565.  
  5566.   <status> = 00--15
  5567.  
  5568.   <firmware rev> = 0--7
  5569.  
  5570.   <keyboard> is one of:
  5571.     00: No keyboard
  5572.     19: Swiss/French
  5573.     20: Swiss/German
  5574.     21: Canadian/English
  5575.     22: Kata Kana
  5576.     24: Canadian/French
  5577.     25: United States
  5578.     26: United Kingdom
  5579.     27: French
  5580.     28: German
  5581.     29: Swedish/Finnish
  5582.     30: Spanish
  5583.     31: Danish/Norwegian
  5584.  
  5585. Source: Dasher D410 and D460 Display Terminals User's Manual
  5586.     <URL:http://vt100.net/dg/dasher_d410_d460_users_manual.pdf>
  5587. Status: Data General private
  5588. -------------------------------------------------------------------------------
  5589. Sequence: CSI Ps1 ; Ps2 y
  5590. Mnemonic: DECTST
  5591. Description: Invoke confidence test
  5592.  
  5593. If Ps1 == 2 [VT100]
  5594.         Ps2 is the parameter indicating the test to be done.  It is computed by
  5595.         taking the weight indicated for each desired test and adding them
  5596.         together.  If Ps2 is 0, no test is performed but the VT100 is reset.
  5597.  
  5598.         Test                                                    Weight
  5599.         --------------------------------------------------------------
  5600.         POST (ROM checksum, RAM NVR, keyboardm and AVO)           1
  5601.         Data Loop Back (Loopback connector required)              2
  5602.         EIA Modem Control Test (Loopback connector req.)          4
  5603.         Repeat Testing until failure                              8
  5604.     Printer loopback test                                    16
  5605.  
  5606. If Ps1 == 6 [LCP01]
  5607.     Ps2 = 1  Powerup self-tests
  5608.     Ps2 = 2  Print a test pattern
  5609.  
  5610. If Ps1 == 4, Ps2 == 1 [VT125]
  5611.     Further Ps parameters are tests to carry out:
  5612.     1  VT125 power-up test
  5613.     2  VT125 computer port data loopback test
  5614.     3  VT125 auxiliary port data loopback test
  5615.     4  VT125 display test
  5616.     5  VT125 video bitmap memory test
  5617.     9  Repeat selected tests continuously until power-off or failure
  5618.  
  5619. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/vt100_codes_news.txt>
  5620. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/swedish_vt102_codes.txt>
  5621. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 ppC32,E124
  5622. Status: DEC private; VT100
  5623. -------------------------------------------------------------------------------
  5624. Sequence: CSI Ps z
  5625. Mnemonic: DECVERP
  5626. Description: Set vertical pitch
  5627.  
  5628. Ps = 
  5629. 0   6 lpi,  63 lpp
  5630. 1   6 lpi,  63 lpp
  5631. 2   8 lpi,  84 lpp
  5632. 3  12 lpi, 125 lpp
  5633. 4   2 lpi,  21 lpp
  5634. 5   3 lpi,  32 lpp
  5635. 6   4 lpi,  42 lpp
  5636.  
  5637. Source: Reflection TRM (VT) Version 7.0
  5638. Status: DEC private; printers
  5639. -------------------------------------------------------------------------------
  5640. Sequence: CSI Pn z
  5641. Description: make virtual terminal n active
  5642.  
  5643. Source: termtypes.master 10.2.7
  5644. Status: iBCS2 private
  5645. -------------------------------------------------------------------------------
  5646. Sequence: CSI Ps |
  5647. Mnemonic: DECTTC
  5648. Description: Select transmit termination character
  5649.  
  5650. Ps  Meaning
  5651. 0   function disabled
  5652. 1   Form Feed, FF
  5653. 2   End of Text, ETX
  5654. 3   End of Transmission, EOT
  5655. 4   Carriage Return, CR
  5656. 5   Device Control 3, DC3
  5657.  
  5658. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pC27
  5659. Status: DEC private; VT131 only
  5660. -------------------------------------------------------------------------------
  5661. Sequence: CSI Ps }
  5662. Mnemonic: DECPRO
  5663. Description: Set protected field attributes
  5664.  
  5665. Ps  Meaning
  5666. 0   no protection
  5667. 1   bold protection
  5668. 4   underline protection
  5669. 5   blink protection
  5670. 7   reverse video protection
  5671. 254 all attributes off protection   
  5672.  
  5673. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pC27
  5674. Status: DEC private; VT131 only
  5675. -------------------------------------------------------------------------------
  5676. Sequence: CSI Pn SP @
  5677. Mnemonic: SL
  5678. Description: Scroll left
  5679.  
  5680. Parameter default value: Pn = 1
  5681.  
  5682. SL causes the data in the presentation component to be moved by n
  5683. character positions if the line orientation is horizontal, or by n
  5684. line positions if the line orientation is vertical, such that the data
  5685. appear to move to the left; where n equals the value of Pn.
  5686.  
  5687. The active presentation position is not affected by this control function.
  5688.  
  5689. Source: ECMA-48 5th Ed. 8.3.121
  5690. Status: standard
  5691. -------------------------------------------------------------------------------
  5692. Sequence: CSI Pn SP A
  5693. Mnemonic: SR
  5694. Description: Scroll right
  5695.  
  5696. Parameter default value: Pn = 1
  5697.  
  5698. SR causes the data in the presentation component to be moved by n
  5699. character positions if the line orientation is horizontal, or by n
  5700. line positions if the line orientation is vertical, such that the data
  5701. appear to move to the right; where n equals the value of Pn.
  5702.  
  5703. The active presentation position is not affected by this control
  5704. function.
  5705.  
  5706. Source: ECMA-48 5th Ed. 8.3.135
  5707. Status: standard
  5708. -------------------------------------------------------------------------------
  5709. Sequence: CSI Pn1 ; Pn2 SP B
  5710. Mnemonic: GSM
  5711. Description: Graphic size modification
  5712.  
  5713. Parameter default values: Pn1 = 100; Pn2 = 100
  5714.  
  5715. GSM is used to modify for subsequent text the height and/or the width
  5716. of all primary and alternative fonts identified by FONT SELECTION
  5717. (FNT) and established by GRAPHIC SIZE SELECTION (GSS).  The
  5718. established values remain in effect until the next occurrence of GSM
  5719. or GSS in the data steam.
  5720.  
  5721. Pn1 specifies the height as a percentage of the height established by GSS
  5722.  
  5723. Pn2 specifies the width as a percentage of the width established by GSS
  5724.  
  5725. Source: ECMA-48 5th Ed. 8.3.55
  5726. Status: standard
  5727. -------------------------------------------------------------------------------
  5728. Sequence: CSI Pn SP C
  5729. Mnemonic: GSS
  5730. Description: Graphic size selection
  5731.  
  5732. No parameter default value.
  5733.  
  5734. GSS is used to establish for subsequent text the height and the width
  5735. of all primary and alternative fonts identified by FONT SELECTION
  5736. (FNT). The established values remain in effect until the next
  5737. occurrence of GSS in the data stream.
  5738.  
  5739. Pn specifies the height, the width is implicitly defined by the
  5740. height.
  5741.  
  5742. The unit in which the parameter value is expressed is that established
  5743. by the parameter value of SELECT SIZE UNIT (SSU).
  5744.  
  5745. Source: ECMA-48 5th Ed. 8.3.56
  5746. Status: standard
  5747. -------------------------------------------------------------------------------
  5748. Sequence: CSI Ps1 ; Ps2 SP D
  5749. Mnemonic: FNT
  5750. Description: Font selection
  5751.  
  5752. Parameter default values: Ps1 = 0; Ps2 =0
  5753.  
  5754. FNT is used to identify the character font to be selected as primary
  5755. or alternative font by subsequent occurrences of SELECT GRAPHIC
  5756. RENDITION (SGR) in the data stream. Ps1 specifies the primary or
  5757. alternative font concerned:
  5758.  
  5759. 0 primary font
  5760. 1 first alternative font
  5761. 2 second alternative font
  5762. 3 third alternative font
  5763. 4 fourth alternative font
  5764. 5 fifth alternative font
  5765. 6 sixth alternative font
  5766. 7 seventh alternative font
  5767. 8 eighth alternative font
  5768. 9 ninth alternative font
  5769.  
  5770. Ps2 identifies the character font according to a register which is to
  5771. be established.
  5772.  
  5773. Source: ECMA-48 5th Ed. 8.3.53
  5774. Status: standard
  5775. -------------------------------------------------------------------------------
  5776. Sequence: CSI Pn SP E
  5777. Mnemonic: TSS
  5778. Description: Thin space specification
  5779.  
  5780. No parameter default value.
  5781.  
  5782. TSS is used to establish the width of a thin space for subsequent
  5783. text. The established width remains in effect until the next
  5784. occurrence of TSS in the data stream, see annex C.
  5785.  
  5786. Pn specifies the width of the thin space.
  5787.  
  5788. The unit in which the parameter value is expressed is that established
  5789. by the parameter value of SELECT SIZE UNIT (SSU).
  5790.  
  5791. Source: ECMA-48 5th Ed. 8.3.157
  5792. Status: standard
  5793. -------------------------------------------------------------------------------
  5794. Sequence: CSI Ps ... SP F
  5795. Mnemonic: JFY
  5796. Description: Justify
  5797.  
  5798. Parameter default value: Ps = 0
  5799.  
  5800. JFY is used to indicate the beginning of a string of graphic
  5801. characters in the presentation component that are to be justified
  5802. according to the layout specified by the parameter values, see
  5803. annex C:
  5804.  
  5805. 0 no justification, end of justification of preceding text
  5806. 1 word fill
  5807. 2 word space
  5808. 3 letter space
  5809. 4 hyphenation
  5810. 5 flush to line home position margin
  5811. 6 centre between line home position and line limit position margins
  5812. 7 flush to line limit position margin
  5813. 8 Italian hyphenation
  5814.  
  5815. The end of the string to be justified is indicated by the next
  5816. occurrence of JFY in the data stream.
  5817.  
  5818. The line home position is established by the parameter value of SET
  5819. LINE HOME (SLH). The line limit position is established by the
  5820. parameter value of SET LINE LIMIT (SLL).
  5821.  
  5822. Source: ECMA-48 5th Ed. 8.3.73
  5823. Status: standard
  5824. -------------------------------------------------------------------------------
  5825. Sequence: CSI Pn1 ; Pn2 SP G
  5826. Mnemonic: SPI
  5827. Description: Spacing increment
  5828.  
  5829. No parameter default values.
  5830.  
  5831. SPI is used to establish the line spacing and the character spacing
  5832. for subsequent text. The established line spacing remains in effect
  5833. until the next occurrence of SPI or of SET LINE SPACING (SLS) or of
  5834. SELECT LINE SPACING (SVS) in the data stream. The established
  5835. character spacing remains in effect until the next occurrence of SET
  5836. CHARACTER SPACING (SCS) or of SELECT CHARACTER SPACING (SHS) in the
  5837. data stream, see annex C.
  5838.  
  5839. Pn1 specifies the line spacing
  5840.  
  5841. Pn2 specifies the character spacing
  5842.  
  5843. The unit in which the parameter values are expressed is that
  5844. established by the parameter value of SELECT SIZE UNIT (SSU).
  5845.  
  5846. Source: ECMA-48 5th Ed. 8.3.132
  5847. Status: standard
  5848. -------------------------------------------------------------------------------
  5849. Sequence: CSI Pn ... SP H
  5850. Mnemonic: QUAD
  5851. Description: Quad
  5852.  
  5853. Parameter default value: Ps = 0
  5854.  
  5855. QUAD is used to indicate the end of a string of graphic characters
  5856. that are to be positioned on a single line according to the layout
  5857. specified by the parameter values, see annex C:
  5858.  
  5859. 0 flush to line home position margin
  5860.  
  5861. 1 flush to line home position margin and fill with leader
  5862.  
  5863. 2 centre between line home position and line limit position margins
  5864.  
  5865. 3 centre between line home position and line limit position margins
  5866.   and fill with leader
  5867.  
  5868. 4 flush to line limit position margin
  5869.  
  5870. 5 flush to line limit position margin and fill with leader
  5871.  
  5872. 6 flush to both margins
  5873.  
  5874. The beginning of the string to be positioned is indicated by the
  5875. preceding occurrence in the data stream of either QUAD or one of the
  5876. following formator functions: FORM FEED (FF), CHARACTER AND LINE
  5877. POSITION (HVP), LINE FEED (LF), NEXT LINE (NEL), PAGE POSITION
  5878. ABSOLUTE (PPA), PAGE POSITION BACKWARD (PPB), PAGE POSITION FORWARD
  5879. (PPR), REVERSE LINE FEED (RI), LINE POSITION ABSOLUTE (VPA), LINE
  5880. POSITION BACKWARD (VPB), LINE POSITION FORWARD (VPR), or LINE
  5881. TABULATION (VT).
  5882.  
  5883. The line home position is established by the parameter value of SET
  5884. LINE HOME (SLH). The line limit position is established by the
  5885. parameter value of SET LINE LIMIT (SLL).
  5886.  
  5887. Source: ECMA-48 5th Ed. 8.3.102
  5888. Status: standard
  5889. -------------------------------------------------------------------------------
  5890. Sequence: CSI Ps SP I
  5891. Mnemonic: SSU
  5892. Description: Select size unit
  5893.  
  5894. Parameter default value: Ps = 0
  5895.  
  5896. SSU is used to establish the unit in which the numeric parameters of
  5897. certain control functions are expressed. The established unit remains
  5898. in effect until the next occurrence of SSU in the data stream.
  5899.  
  5900. The parameter values are
  5901. 0 CHARACTER - The dimensions of this unit are device-dependent
  5902. 1 MILLIMETRE
  5903. 2 COMPUTER DECIPOINT - 0,035 28 mm (1/720 of 25,4 mm)
  5904. 3 DECIDIDOT - 0,037 59 mm (10/266 mm)
  5905. 4 MIL - 0,025 4 mm (1/1 000 of 25,4 mm)
  5906. 5 BASIC MEASURING UNIT (BMU) - 0,021 17 mm (1/1 200 of 25,4 mm)
  5907. 6 MICROMETRE - 0,001 mm
  5908. 7 PIXEL - The smallest increment that can be specified in a device
  5909. 8 DECIPOINT - 0,035 14 mm (35/996 mm)
  5910.  
  5911. Source: ECMA-48 5th Ed. 8.3.139
  5912. Status: standard
  5913. -------------------------------------------------------------------------------
  5914. Sequence: CSI Ps SP J
  5915. Mnemonic: PFS
  5916. Description: Page format selection
  5917.  
  5918. Parameter default value: Ps = 0
  5919.  
  5920. PFS is used to establish the available area for the imaging of pages
  5921. of text based on paper size. The pages are introduced by the
  5922. subsequent occurrence of FORM FEED (FF) in the data stream.
  5923.  
  5924. The established image area remains in effect until the next occurrence
  5925. of PFS in the data stream. The parameter values are (see also
  5926. annex E):
  5927.  
  5928. 0  tall basic text communication format
  5929. 1  wide basic text communication format
  5930. 2  tall basic A4 format
  5931. 3  wide basic A4 format
  5932. 4  tall North American letter format
  5933. 5  wide North American letter format
  5934. 6  tall extended A4 format
  5935. 7  wide extended A4 format
  5936. 8  tall North American legal format
  5937. 9  wide North American legal format
  5938. 10 A4 short lines format
  5939. 11 A4 long lines format
  5940. 12 B5 short lines format
  5941. 13 B5 long lines format
  5942. 14 B4 short lines format
  5943. 15 B4 long lines format
  5944.  
  5945. The page home position is established by the parameter value of SET
  5946. PAGE HOME (SPH), the page limit position is established by the
  5947. parameter value of SET PAGE LIMIT (SPL).
  5948.  
  5949. Source: ECMA-48 5th Ed. 8.3.91
  5950. Status: standard
  5951. -------------------------------------------------------------------------------
  5952. Sequence: CSI ? Ps SP J
  5953. Mnemonic: PFS
  5954. Description: Page format selection (DEC extensions)
  5955.  
  5956. Ps  Paper size
  5957. 20  Tall extended North American letter format
  5958. 21  Wide extended North Americal letter format
  5959. 22  Tall extended A4 format
  5960. 23  Wide extended A4 format
  5961.  
  5962. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE110
  5963. Status: DEC private; LN03
  5964. -------------------------------------------------------------------------------
  5965. Sequence: CSI Ps SP K
  5966. Mnemonic: SHS
  5967. Description: Select character spacing
  5968.  
  5969. Parameter default value: Ps = 0
  5970.  
  5971. SHS is used to establish the character spacing for subsequent
  5972. text. The established spacing remains in effect until the next
  5973. occurrence of SHS or of SET CHARACTER SPACING (SCS) or of SPACING
  5974. INCREMENT (SPI) in the data stream. The parameter values are
  5975.  
  5976. 0 10 characters per 25,4 mm
  5977. 1 12 characters per 25,4 mm
  5978. 2 15 characters per 25,4 mm
  5979. 3  6 characters per 25,4 mm
  5980. 4  3 characters per 25,4 mm
  5981. 5  9 characters per 50,8 mm
  5982. 6  4 characters per 25,4 mm
  5983.  
  5984. Source: ECMA-48 5th Ed. 8.3.118
  5985. Status: standard
  5986. -------------------------------------------------------------------------------
  5987. Sequence: CSI Ps SP L
  5988. Mnemonic: SVS
  5989. Description: Select line spacing
  5990.  
  5991. Parameter default value: Ps = 0
  5992.  
  5993. SVS is used to establish the line spacing for subsequent text. The
  5994. established spacing remains in effect until the next occurrence of SVS
  5995. or of SET LINE SPACING (SLS) or of SPACING INCREMENT (SPI) in the data
  5996. stream. The parameter values are:
  5997.  
  5998. 0  6 lines per 25,4 mm
  5999. 1  4 lines per 25,4 mm
  6000. 2  3 lines per 25,4 mm
  6001. 3 12 lines per 25,4 mm
  6002. 4  8 lines per 25,4 mm
  6003. 5  6 lines per 30,0 mm
  6004. 6  4 lines per 30,0 mm
  6005. 7  3 lines per 30,0 mm
  6006. 8 12 lines per 30,0 mm
  6007. 9  2 lines per 25,4 mm
  6008.  
  6009. Source: ECMA-48 5th Ed. 8.3.149
  6010. Status: standard
  6011. -------------------------------------------------------------------------------
  6012. Sequence: CSI Ps SP M
  6013. Mnemonic: IGS
  6014. Description: Identify graphic subrepertoire
  6015.  
  6016. No parameter default value.
  6017.  
  6018. IGS is used to indicate that a repertoire of the graphic characters of
  6019. ISO/IEC 10367 is used in the subsequent text.
  6020.  
  6021. The parameter value of IGS identifies a graphic character repertoire
  6022. registered in accordance with ISO/IEC 7350.
  6023.  
  6024. Source: ECMA-48 5th Ed. 8.3.66
  6025. Status: standard
  6026. -------------------------------------------------------------------------------
  6027. Sequence: CSI Pn ... SP N
  6028. Mnemonic: HTSA
  6029. Description: Character tabulation set absolute
  6030.  
  6031. The control function CHARACTER TABULATION SET ABSOLUTE (HTSA) which
  6032. was coded as a control sequence with any number of numeric parameters
  6033. (CSI Pn ... 02/00 04/14) and the use of which was already declared
  6034. deprecated in the fourth Edition of this Standard has now been
  6035. removed.
  6036.  
  6037. Source: ECMA-48 5th Ed. F.8.3
  6038. Status: standard; obsolete
  6039. -------------------------------------------------------------------------------
  6040. Sequence: CSI Ps SP O
  6041. Mnemonic: IDCS
  6042. Description: Identify device control string
  6043.  
  6044. No parameter default value.
  6045.  
  6046. IDCS is used to specify the purpose and format of the command string
  6047. of subsequent DEVICE CONTROL STRINGs (DCS). The specified purpose and
  6048. format remain in effect until the next occurrence of IDCS in the data
  6049. stream.
  6050.  
  6051. The parameter values are
  6052.  
  6053. 1 reserved for use with the DIAGNOSTIC state of the STATUS REPORT
  6054.   TRANSFER MODE (SRTM)
  6055.  
  6056. 2 reserved for Dynamically Redefinable Character Sets (DRCS) according
  6057.   to Standard ECMA-35.
  6058.  
  6059. The format and interpretation of the command string corresponding to
  6060. these parameter values are to be defined in appropriate standards. If
  6061. this control function is used to identify a private command string, a
  6062. private parameter value shall be used.
  6063.  
  6064. Source: ECMA-48 5th Ed. 8.3.65
  6065. Status: standard
  6066. -------------------------------------------------------------------------------
  6067. Sequence: CSI Pn SP P
  6068. Mnemonic: PPA
  6069. Description: Page position absolute
  6070.  
  6071. Parameter default value: Pn = 1
  6072.  
  6073. PPA causes the active data position to be moved in the data component
  6074. to the corresponding character position on the n-th page, where n
  6075. equals the value of Pn.
  6076.  
  6077. Source: ECMA-48 5th Ed. 8.3.96
  6078. Status: standard
  6079. -------------------------------------------------------------------------------
  6080. Sequence: CSI Pn SP Q
  6081. Mnemonic: PPR
  6082. Description: Page position forward
  6083.  
  6084. Parameter default value: Pn = 1
  6085.  
  6086. PPR causes the active data position to be moved in the data component
  6087. to the corresponding character position on the n-th following page,
  6088. where n equals the value of Pn.
  6089.  
  6090. Source: ECMA-48 5th Ed. 8.3.98
  6091. Status: standard
  6092. -------------------------------------------------------------------------------
  6093. Sequence: CSI Pn SP R
  6094. Mnemonic: PPB
  6095. Description: Page position backward
  6096.  
  6097. Parameter default value: Pn = 1
  6098.  
  6099. PPB causes the active data position to be moved in the data component
  6100. to the corresponding character position on the n-th preceding page,
  6101. where n equals the value of Pn.
  6102.  
  6103. Source: ECMA-48 5th Ed. 8.3.97
  6104. Status: standard
  6105. -------------------------------------------------------------------------------
  6106. Sequence: CSI Ps1 ; Ps2 SP S
  6107. Mnemonic: SPD
  6108. Description: Select presentation directions
  6109.  
  6110. Parameter default value: Ps1 = 0; Ps2 = 0
  6111.  
  6112. SPD is used to select the line orientation, the line progression, and
  6113. the character path in the presentation component. It is also used to
  6114. update the content of the presentation component and the content of
  6115. the data component. This takes effect immediately.
  6116.  
  6117. Ps1 specifies the line orientation, the line progression and the
  6118. character path:
  6119.  
  6120. 0 line orientation: horizontal
  6121.   line progression: top-to-bottom
  6122.   character path: left-to-right
  6123.  
  6124. 1 line orientation: vertical
  6125.   line progression: right-to-left
  6126.   character path: top-to-bottom
  6127.  
  6128. 2 line orientation: vertical
  6129.   line progression: left-to-right
  6130.   character path: top-to-bottom
  6131.  
  6132. 3 line orientation: horizontal
  6133.   line progression: top-to-bottom
  6134.   character path: right-to-left
  6135.  
  6136. 4 line orientation: vertical
  6137.   line progression: left-to-right
  6138.   character path: bottom-to-top
  6139.  
  6140. 5 line orientation: horizontal
  6141.   line progression: bottom-to-top
  6142.   character path: right-to-left
  6143.  
  6144. 6 line orientation: horizontal
  6145.   line progression: bottom-to-top
  6146.   character path: left-to-right
  6147.  
  6148. 7 line orientation: vertical
  6149.   line progression: right-to-left
  6150.   character path: bottom-to-top
  6151.  
  6152. Ps2 specifies the effect on the content of the presentation component
  6153. and the content of the data component:
  6154.  
  6155. 0 undefined (implementation-dependent)
  6156.  
  6157. NOTE
  6158. This may also permit the effect to take place after the next
  6159. occurrence of CR, FF or any control function which initiates an
  6160. absolute movement of the active presentation position or the active
  6161. data position.
  6162.  
  6163. 1 the content of the presentation component is updated to correspond
  6164.   to the content of the data component according to the newly
  6165.   established characteristics of the presentation component; the
  6166.   active data position is moved to the first character position in the
  6167.   first line in the data component, the active presentation position
  6168.   in the presentation component is updated accordingly
  6169.  
  6170. 2 the content of the data component is updated to correspond to the
  6171.   content of the presentation component according to the newly
  6172.   established characteristics of the presentation component; the active
  6173.   presentation position is moved to the first character position in the
  6174.   first line in the presentation component, the active data position in
  6175.   the data component is updated accordingly.
  6176.  
  6177. Source: ECMA-48 5th Ed. 8.3.130
  6178. Status: standard
  6179. -------------------------------------------------------------------------------
  6180. Sequence: CSI Pn1 ; Pn2 SP T
  6181. Mnemonic: DTA
  6182. Description: Dimension text area
  6183.  
  6184. No parameter default value.
  6185.  
  6186. DTA is used to establish the dimensions of the text area for subsequent pages.
  6187.  
  6188. The established dimensions remain in effect until the next occurrence
  6189. of DTA in the data stream.
  6190.  
  6191. Pn1 specifies the dimension in the direction perpendicular to the line
  6192. orientation
  6193.  
  6194. Pn2 specifies the dimension in the direction parallel to the line orientation
  6195.  
  6196. The unit in which the parameter value is expressed is that established
  6197. by the parameter value of SELECT SIZE UNIT (SSU).
  6198.  
  6199. Source: ECMA-48 5th Ed 8.3.36
  6200. Status: standard
  6201. -------------------------------------------------------------------------------
  6202. Sequence: CSI Pn SP U
  6203. Mnemonic: SLH
  6204. Description: Set line home
  6205.  
  6206. No parameter default value.
  6207.  
  6208. If the DEVICE COMPONENT SELECT MODE is set to PRESENTATION, SLH is
  6209. used to establish at character position n in the active line (the line
  6210. that contains the active presentation position) and lines of
  6211. subsequent text in the presentation component the position to which
  6212. the active presentation position will be moved by subsequent
  6213. occurrences of CARRIAGE RETURN (CR), DELETE LINE (DL), INSERT LINE
  6214. (IL) or NEXT LINE (NEL) in the data stream; where n equals the value
  6215. of Pn. In the case of a device without data component, it is also the
  6216. position ahead of which no implicit movement of the active
  6217. presentation position shall occur.
  6218.  
  6219. If the DEVICE COMPONENT SELECT MODE is set to DATA, SLH is used to
  6220. establish at character position n in the active line (the line that
  6221. contains the active data position) and lines of subsequent text in the
  6222. data component the position to which the active data position will be
  6223. moved by subsequent occurrences of CARRIAGE RETURN (CR), DELETE LINE
  6224. (DL), INSERT LINE (IL) or NEXT LINE (NEL) in the data stream; where n
  6225. equals the value of Pn. It is also the position ahead of which no
  6226. implicit movement of the active data position shall occur.
  6227.  
  6228. The established position is called the line home position and remains
  6229. in effect until the next occurrence of SLH in the data stream.
  6230.  
  6231. Source: ECMA-48 5th Ed. 8.3.122
  6232. Status: standard
  6233. -------------------------------------------------------------------------------
  6234. Sequence: CSI Pn SP V
  6235. Mnemonic: SLL
  6236. Description: Set line limit
  6237.  
  6238. No parameter default value.
  6239.  
  6240. If the DEVICE COMPONENT SELECT MODE is set to PRESENTATION, SLL is
  6241. used to establish at character position n in the active line (the line
  6242. that contains the active presentation position) and lines of
  6243. subsequent text in the presentation component the position to which
  6244. the active presentation position will be moved by subsequent
  6245. occurrences of CARRIAGE RETURN (CR), or NEXT LINE (NEL) in the data
  6246. stream if the parameter value of SELECT IMPLICIT MOVEMENT DIRECTION
  6247. (SIMD) is equal to 1; where n equals the value of Pn. In the case of a
  6248. device without data component, it is also the position beyond which no
  6249. implicit movement of the active presentation position shall occur.
  6250.  
  6251. If the DEVICE COMPONENT SELECT MODE is set to DATA, SLL is used to
  6252. establish at character position n in the active line (the line that
  6253. contains the active data position) and lines of subsequent text in the
  6254. data component the position beyond which no implicit movement of the
  6255. active data position shall occur. It is also the position in the data
  6256. component to which the active data position will be moved by
  6257. subsequent occurrences of CR or NEL in the data stream, if the
  6258. parameter value of SELECT IMPLICIT MOVEMENT DIRECTION (SIMD) is equal
  6259. to 1.
  6260.  
  6261. The established position is called the line limit position and remains
  6262. in effect until the next occurrence of SLL in the data stream.
  6263.  
  6264. Source: ECMA-48 5th Ed. 8.3.123
  6265. Status: standard
  6266. -------------------------------------------------------------------------------
  6267. Sequence: CSI Pn SP W
  6268. Mnemonic: FNK
  6269. Description: Function key
  6270.  
  6271. No parameter default value.
  6272.  
  6273. FNK is a control function in which the parameter value identifies the
  6274. function key which has been operated.
  6275.  
  6276. Source: ECMA-48 5th Ed. 8.3.52
  6277. Status: standard
  6278. -------------------------------------------------------------------------------
  6279. Sequence: CSI Ps SP X
  6280. Mnemonic: SPQR
  6281. Description: Select print quality and rapidity
  6282.  
  6283. Parameter default value: Ps = 0
  6284.  
  6285. SPQR is used to select the relative print quality and the print speed
  6286. for devices the output quality and speed of which are inversely
  6287. related. The selected values remain in effect until the next
  6288. occurrence of SPQR in the data stream. The parameter values are
  6289.  
  6290. 0 highest available print quality, low print speed
  6291. 1 medium print quality, medium print speed
  6292. 2 draft print quality, highest available print speed
  6293.  
  6294. Source: ECMA-48 5th Ed. 8.3.134
  6295. Status: standard
  6296. -------------------------------------------------------------------------------
  6297. Sequence: CSI Ps1 ; Ps2 SP Y
  6298. Mnemonic: SEF
  6299. Description: Sheet eject and feed
  6300.  
  6301. Parameter default values: Ps1 = 0; Ps2 = 0
  6302.  
  6303. SEF causes a sheet of paper to be ejected from a printing device into
  6304. a specified output stacker and another sheet to be loaded into the
  6305. printing device from a specified paper bin.
  6306.  
  6307. Parameter values of Ps1 are:
  6308. 0 eject sheet, no new sheet loaded
  6309. 1 eject sheet and load another from bin 1
  6310. 2 eject sheet and load another from bin 2
  6311. ...
  6312. n eject sheet and load another from bin n
  6313.  
  6314. Parameter values of Ps2 are:
  6315. 0 eject sheet, no stacker specified
  6316. 1 eject sheet into stacker 1
  6317. 2 eject sheet into stacker 2
  6318. ...
  6319. n eject sheet into stacker n
  6320.  
  6321. Source: ECMA-48 5th Ed. 8.3.116
  6322. Status: standard
  6323. -------------------------------------------------------------------------------
  6324. Sequence: CSI Ps SP Z
  6325. Mnemonic: PEC
  6326. Description: Presentation expand or contract
  6327.  
  6328. Parameter default value: Ps = 0
  6329.  
  6330. PEC is used to establish the spacing and the extent of the graphic
  6331. characters for subsequent text. The spacing is specified in the line
  6332. as multiples of the spacing established by the most recent occurrence
  6333. of SET CHARACTER SPACING (SCS) or of SELECT CHARACTER SPACING (SHS) or
  6334. of SPACING INCREMENT (SPI) in the data stream. The extent of the
  6335. characters is implicitly established by these control functions. The
  6336. established spacing and the extent remain in effect until the next
  6337. occurrence of PEC, of SCS, of SHS or of SPI in the data stream. The
  6338. parameter values are
  6339.  
  6340. 0 normal (as specified by SCS, SHS or SPI)
  6341. 1 expanded (multiplied by a factor not greater than 2)
  6342. 2 condensed (multiplied by a factor not less than 0,5)
  6343.  
  6344. Source: ECMA-48 5th Ed. 8.3.90
  6345. Status: standard
  6346. -------------------------------------------------------------------------------
  6347. Sequence: CSI Pn SP [
  6348. Mnemonic: SSW
  6349. Description: Set space width
  6350.  
  6351. No parameter default value.
  6352.  
  6353. SSW is used to establish for subsequent text the character escapement
  6354. associated with the character SPACE. The established escapement
  6355. remains in effect until the next occurrence of SSW in the data stream
  6356. or until it is reset to the default value by a subsequent occurrence
  6357. of CARRIAGE RETURN/LINE FEED (CR/LF), CARRIAGE RETURN/FORM FEED
  6358. (CR/FF), or of NEXT LINE (NEL) in the data stream, see annex C.
  6359.  
  6360.  
  6361. Pn specifies the escapement.  The unit in which the parameter value is
  6362. expressed is that established by the parameter value of SELECT SIZE
  6363. UNIT (SSU).
  6364.  
  6365. The default character escapement of SPACE is specified by the most
  6366. recent occurrence of SET CHARACTER SPACING (SCS) or of SELECT
  6367. CHARACTER SPACING (SHS) or of SELECT SPACING INCREMENT (SPI) in the
  6368. data stream if the current font has constant spacing, or is specified
  6369. by the nominal width of the character SPACE in the current font if
  6370. that font has proportional spacing.
  6371.  
  6372. Source: ECMA-48 5th Ed. 8.3.140
  6373. Status: standard
  6374. -------------------------------------------------------------------------------
  6375. Sequence: CSI Pn SP \
  6376. Mnemonic: SACS
  6377. Description: Set additional character separation
  6378.  
  6379. Parameter default value: Pn = 0
  6380.  
  6381. SACS is used to establish extra inter-character escapement for
  6382. subsequent text. The established extra escapement remains in effect
  6383. until the next occurrence of SACS or of SET REDUCED CHARACTER
  6384. SEPARATION (SRCS) in the data stream or until it is reset to the
  6385. default value by a subsequent occurrence of CARRIAGE RETURN/LINE FEED
  6386. (CR LF) or of NEXT LINE (NEL) in the data stream, see annex C.
  6387.  
  6388. Pn specifies the number of units by which the inter-character
  6389. escapement is enlarged.
  6390.  
  6391. The unit in which the parameter value is expressed is that established
  6392. by the parameter value of SELECT SIZE UNIT (SSU).
  6393.  
  6394. Source: ECMA-48 5th Ed. 8.3.107
  6395. Status: standard
  6396. -------------------------------------------------------------------------------
  6397. Sequence: CSI Ps ... SP ]
  6398. Mnemonic: SAPV
  6399. Description: Select alternative presentation variants
  6400.  
  6401. Parameter default value: Ps = 0
  6402.  
  6403. SAPV is used to specify one or more variants for the presentation of
  6404. subsequent text. The parameter values are
  6405.  
  6406. 0 default presentation (implementation-defined); cancels the effect of
  6407.   any preceding occurrence of SAPV in the data stream
  6408.  
  6409. 1 the decimal digits are presented by means of the graphic symbols
  6410.   used in the Latin script
  6411.  
  6412. 2 the decimal digits are presented by means of the graphic symbols
  6413.   used in the Arabic script, i.e. the Hindi symbols
  6414.  
  6415. 3 when the direction of the character path is right-to-left, each of
  6416.   the graphic characters in the graphic character set(s) in use which
  6417.   is one of a left/right-handed pair (parentheses, square brackets,
  6418.   curly brackets, greater-than/less-than signs, etc.) is presented as
  6419.   "mirrored", i.e. as the other member of the pair. For example, the
  6420.   coded graphic character given the name LEFT PARENTHESIS is presented
  6421.   as RIGHT PARENTHESIS, and vice versa
  6422.  
  6423. 4 when the direction of the character path is right-to-left, all
  6424.   graphic characters which represent operators and delimiters in
  6425.   mathematical formulae and which are not symmetrical about a vertical
  6426.   axis are presented as mirrored about that vertical axis
  6427.  
  6428. 5 the following graphic character is presented in its isolated form
  6429.  
  6430. 6 the following graphic character is presented in its initial form
  6431.  
  6432. 7 the following graphic character is presented in its medial form
  6433.  
  6434. 8 the following graphic character is presented in its final form
  6435.  
  6436. 9 where the bit combination 02/14 is intended to represent a decimal
  6437.   mark in a decimal number it shall be presented by means of the
  6438.   graphic symbol FULL STOP
  6439.  
  6440. 10 where the bit combination 02/14 is intended to represent a decimal
  6441.    mark in a decimal number it shall be presented by means of the
  6442.    graphic symbol COMMA
  6443.  
  6444. 11 vowels are presented above or below the preceding character
  6445.  
  6446. 12 vowels are presented after the preceding character
  6447.  
  6448. 13 contextual shape determination of Arabic scripts, including the
  6449.    LAM-ALEPH ligature but excluding all other Arabic ligatures
  6450.  
  6451. 14 contextual shape determination of Arabic scripts, excluding all
  6452.    Arabic ligatures
  6453.  
  6454. 15 cancels the effect of parameter values 3 and 4
  6455.  
  6456. 16 vowels are not presented
  6457.  
  6458. 17 when the string direction is right-to-left, the italicized
  6459.    characters are slanted to the left; when the string direction is
  6460.    left-to-right, the italicized characters are slanted to the right
  6461.  
  6462. 18 contextual shape determination of Arabic scripts is not used, the
  6463.    graphic characters - including the digits - are presented in the
  6464.    form they are stored (Pass-through)
  6465.  
  6466. 19 contextual shape determination of Arabic scripts is not used, the
  6467.    graphic characters- excluding the digits - are presented in the
  6468.    form they are stored (Pass-through)
  6469.  
  6470. 20 the graphic symbols used to present the decimal digits are device
  6471.    dependent
  6472.  
  6473. 21 establishes the effect of parameter values 5, 6, 7, and 8 for the
  6474.    following graphic characters until cancelled
  6475.  
  6476. 22 cancels the effect of parameter value 21, i.e. re-establishes the
  6477.    effect of parameter values 5, 6, 7, and 8 for the next single
  6478.    graphic character only.
  6479.  
  6480. Source: ECMA-48 5th Ed. 8.3.108
  6481. Status: standard
  6482. -------------------------------------------------------------------------------
  6483. Sequence: CSI Ps SP ^
  6484. Mnemonic: STAB
  6485. Description: Selective tabulation
  6486.  
  6487. No parameter default value.
  6488.  
  6489. STAB causes subsequent text in the presentation component to be
  6490. aligned according to the position and the properties of a tabulation
  6491. stop which is selected from a list according to the value of the
  6492. parameter Ps.
  6493.  
  6494. The use of this control function and means of specifying a list of
  6495. tabulation stops to be referenced by the control function are
  6496. specified in other standards, for example ISO 8613-6.
  6497.  
  6498. Source: ECMA-48 5th Ed. 8.3.144
  6499. Status: standard
  6500. -------------------------------------------------------------------------------
  6501. Sequence: CSI Ps SP _
  6502. Mnemonic: GCC
  6503. Description: Graphic character combination
  6504.  
  6505. Parameter default value: Ps = 0
  6506.  
  6507. GCC is used to indicate that two or more graphic characters are to be
  6508. imaged as one single graphic symbol. GCC with a parameter value of 0
  6509. indicates that the following two graphic characters are to be imaged
  6510. as one single graphic symbol; GCC with a parameter value of 1 and GCC
  6511. with a parameter value of 2 indicate respectively the beginning and
  6512. the end of a string of graphic characters which are to be imaged as
  6513. one single graphic symbol.
  6514.  
  6515. NOTE
  6516. GCC does not explicitly specify the relative sizes or placements of
  6517. the component parts of a composite graphic symbol. In the simplest
  6518. case, two components may be "half-width" and side-by-side. For
  6519. example, in Japanese text a pair of characters may be presented
  6520. side-by-side, and occupy the space of a normal-size Kanji character.
  6521.  
  6522. Source: ECMA-48 5th Ed. 8.3.54
  6523. Status: standard
  6524. -------------------------------------------------------------------------------
  6525. Sequence: CSI Pn SP `
  6526. Mnemonic: TATE
  6527. Description: Tabulation aligned trailing edge
  6528.  
  6529. No parameter default value.
  6530.  
  6531. TATE causes a character tabulation stop calling for trailing edge
  6532. alignment to be set at character position n in the active line (the
  6533. line that contains the active presentation position) and lines of
  6534. subsequent text in the presentation component, where n equals the
  6535. value of Pn. TATE causes the replacement of any tabulation stop
  6536. previously set at that character position, but does not affect other
  6537. tabulation stops.
  6538.  
  6539. A text string aligned with a tabulation stop set by TATE will be
  6540. positioned so that the (trailing edge of the) first graphic character
  6541. of the string is placed at the tabulation stop.
  6542.  
  6543. Source: ECMA-48 5th Ed. 8.3.153
  6544. Status: standard
  6545. -------------------------------------------------------------------------------
  6546. Sequence: CSI Pn SP a
  6547. Mnemonic: TALE
  6548. Description: Tabulation aligned leading edge
  6549.  
  6550. No parameter default value.
  6551.  
  6552. TALE causes a character tabulation stop calling for leading edge
  6553. alignment to be set at character position n in the active line (the
  6554. line that contains the active presentation position) and lines of
  6555. subsequent text in the presentation component, where n equals the
  6556. value of Pn. TALE causes the replacement of any tabulation stop
  6557. previously set at that character position, but does not affect other
  6558. tabulation stops.
  6559.  
  6560. A text string aligned with a tabulation stop set by TALE will be
  6561. positioned so that the (leading edge of the) last graphic character of
  6562. the string is placed at the tabulation stop.
  6563.  
  6564. Source: ECMA-48 5th Ed. 8.3.152
  6565. Status: standard
  6566. -------------------------------------------------------------------------------
  6567. Sequence: CSI Pn SP b
  6568. Mnemonic: TAC
  6569. Description: Tabulation aligned centred
  6570.  
  6571. No parameter default value.
  6572.  
  6573. TAC causes a character tabulation stop calling for centring to be set
  6574. at character position n in the active line (the line that contains the
  6575. active presentation position) and lines of subsequent text in the
  6576. presentation component, where n equals the value of Pn. TAC causes the
  6577. replacement of any tabulation stop previously set at that character
  6578. position, but does not affect other tabulation stops.
  6579.  
  6580. A text string centred upon a tabulation stop set by TAC will be
  6581. positioned so that the (trailing edge of the) first graphic character
  6582. and the (leading edge of the) last graphic character are at
  6583. approximately equal distances from the tabulation stop.
  6584.  
  6585. Source: ECMA-48 5th Ed. 8.3.151
  6586. Status: standard
  6587. -------------------------------------------------------------------------------
  6588. Sequence: CSI Pn1 ; Pn2 SP c
  6589. Mnemonic: TCC
  6590. Description: Tabulation centred on character
  6591.  
  6592. No parameter default value for Pn1
  6593.  
  6594. Parameter default value: Pn2 = 32
  6595.  
  6596. TCC causes a character tabulation stop calling for alignment of a
  6597. target graphic character to be set at character position n in the
  6598. active line (the line that contains the active presentation position)
  6599. and lines of subsequent text in the presentation component, where n
  6600. equals the value of Pn1, and the target character about which centring
  6601. is to be performed is specified by Pn2. TCC causes the replacement of
  6602. any tabulation stop previously set at that character position, but
  6603. does not affect other tabulation stops.
  6604.  
  6605. The positioning of a text string aligned with a tabulation stop set by
  6606. TCC will be determined by the first occurrence in the string of the
  6607. target graphic character; that character will be centred upon the
  6608. tabulation stop. If the target character does not occur within the
  6609. string, then the trailing edge of the first character of the string
  6610. will be positioned at the tabulation stop.
  6611.  
  6612. The value of Pn2 indicates the code table position (binary value) of
  6613. the target character in the currently invoked code. For a 7-bit code,
  6614. the permissible range of values is 32 to 127; for an 8-bit code, the
  6615. permissible range of values is 32 to 127 and 160 to 255.
  6616.  
  6617. Source: ECMA-48 5th Ed. 8.3.155
  6618. Status: standard
  6619. -------------------------------------------------------------------------------
  6620. Sequence: CSI Pn SP d
  6621. Mnemonic: TSR
  6622. Description: Tabulation stop remove
  6623.  
  6624. No parameter default value.
  6625.  
  6626. TSR causes any character tabulation stop at character position n in
  6627. the active line (the line that contains the active presentation
  6628. position) and lines of subsequent text in the presentation component
  6629. to be cleared, but does not affect other tabulation stops. n equals
  6630. the value of Pn.
  6631.  
  6632. Source: ECMA-48 5th Ed. 8.3.156
  6633. Status: standard
  6634. -------------------------------------------------------------------------------
  6635. Sequence: CSI Ps SP e
  6636. Mnemonic: SCO
  6637. Description: Select character orientation
  6638.  
  6639. Parameter default value: Ps = 0
  6640.  
  6641. SCO is used to establish the amount of rotation of the graphic
  6642. characters following in the data stream.  The established value
  6643. remains in effect until the next occurrence of SCO in the data stream.
  6644.  
  6645. The parameter values are
  6646. 0 0 deg
  6647. 1 45 deg
  6648. 2 90 deg
  6649. 3 135 deg
  6650. 4 180 deg
  6651. 5 225 deg
  6652. 6 270 deg
  6653. 7 315 deg
  6654.  
  6655. Rotation is positive, i.e. counter-clockwise and applies to the normal
  6656. presentation of the graphic characters along the character path. The
  6657. centre of rotation of the affected graphic characters is not defined
  6658. by this Standard.
  6659.  
  6660. Source: ECMA-48 5th Ed. 8.3.110
  6661. Status: standard
  6662. -------------------------------------------------------------------------------
  6663. Sequence: CSI Pn SP f
  6664. Mnemonic: SRCS
  6665. Description: Set reduced character separation
  6666.  
  6667. Parameter default value: Pn = 0
  6668.  
  6669. SRCS is used to establish reduced inter-character escapement for
  6670. subsequent text. The established reduced escapement remains in effect
  6671. until the next occurrence of SRCS or of SET ADDITIONAL CHARACTER
  6672. SEPARATION (SACS) in the data stream or until it is reset to the
  6673. default value by a subsequent occurrence of CARRIAGE RETURN/LINE FEED
  6674. (CR/LF) or of NEXT LINE (NEL) in the data stream, see annex C.
  6675.  
  6676. Pn specifies the number of units by which the inter-character
  6677. escapement is reduced.
  6678.  
  6679. The unit in which the parameter values are expressed is that
  6680. established by the parameter value of SELECT SIZE UNIT (SSU).
  6681.  
  6682. Source: ECMA-48 5th Ed. 8.3.136
  6683. Status: standard
  6684. -------------------------------------------------------------------------------
  6685. Sequence: CSI Pn SP g
  6686. Mnemonic: SCS
  6687. Description: Set character spacing
  6688.  
  6689. No parameter default value.
  6690.  
  6691. SCS is used to establish the character spacing for subsequent
  6692. text. The established spacing remains in effect until the next
  6693. occurrence of SCS, or of SELECT CHARACTER SPACING (SHS) or of SPACING
  6694. INCREMENT (SPI) in the data stream, see annex C.
  6695.  
  6696. Pn specifies the character spacing.
  6697.  
  6698. The unit in which the parameter value is expressed is that established
  6699. by the parameter value of SELECT SIZE UNIT (SSU).
  6700.  
  6701. Source: ECMA-48 5th Ed. 8.3.112
  6702. Status: standard
  6703. -------------------------------------------------------------------------------
  6704. Sequence: CSI Pn SP h
  6705. Mnemonic: SLS
  6706. Description: Set line spacing
  6707.  
  6708. No parameter default value.
  6709.  
  6710. SLS is used to establish the line spacing for subsequent text. The
  6711. established spacing remains in effect until the next occurrence of SLS
  6712. or of SELECT LINE SPACING (SVS) or of SPACING INCREMENT (SPI) in the
  6713. data stream.
  6714.  
  6715. Pn specifies the line spacing.
  6716.  
  6717. The unit in which the parameter value is expressed is that established
  6718. by the parameter value of SELECT SIZE UNIT (SSU).
  6719.  
  6720. Source: ECMA-48 5th Ed. 8.3.124
  6721. Status: standard
  6722. -------------------------------------------------------------------------------
  6723. Sequence: CSI Pn SP i
  6724. Mnemonic: SPH
  6725. Description: Set page home
  6726.  
  6727. No parameter default value.
  6728.  
  6729. If the DEVICE COMPONENT SELECT MODE is set to PRESENTATION, SPH is
  6730. used to establish at line position n in the active page (the page that
  6731. contains the active presentation position) and subsequent pages in the
  6732. presentation component the position to which the active presentation
  6733. position will be moved by subsequent occurrences of FORM FEED (FF) in
  6734. the data stream; where n equals the value of Pn. In the case of a
  6735. device without data component, it is also the position ahead of which
  6736. no implicit movement of the active presentation position shall occur.
  6737.  
  6738. If the DEVICE COMPONENT SELECT MODE is set to DATA, SPH is used to
  6739. establish at line position n in the active page (the page that
  6740. contains the active data position) and subsequent pages in the data
  6741. component the position to which the active data position will be moved
  6742. by subsequent occurrences of FORM FEED (FF) in the data stream; where
  6743. n equals the value of Pn. It is also the position ahead of which no
  6744. implicit movement of the active presentation position shall occur.
  6745.  
  6746. The established position is called the page home position and remains
  6747. in effect until the next occurrence of SPH in the data stream.
  6748.  
  6749. Source: ECMA-48 5th Ed. 8.3.131
  6750. Status: standard
  6751. -------------------------------------------------------------------------------
  6752. Sequence: CSI Pn SP j
  6753. Mnemonic: SPL
  6754. Description: Set page limit
  6755.  
  6756. No parameter default value.
  6757.  
  6758. If the DEVICE COMPONENT SELECT MODE is set to PRESENTATION, SPL is
  6759. used to establish at line position n in the active page (the page that
  6760. contains the active presentation position) and pages of subsequent
  6761. text in the presentation component the position beyond which the
  6762. active presentation position can normally not be moved; where n equals
  6763. the value of Pn. In the case of a device without data component, it is
  6764. also the position beyond which no implicit movement of the active
  6765. presentation position shall occur.
  6766.  
  6767. If the DEVICE COMPONENT SELECT MODE is set to DATA, SPL is used to
  6768. establish at line position n in the active page (the page that
  6769. contains the active data position) and pages of subsequent text in the
  6770. data component the position beyond which no implicit movement of the
  6771. active data position shall occur.
  6772.  
  6773. The established position is called the page limit position and remains
  6774. in effect until the next occurrence of SPL in the data stream.
  6775.  
  6776. Source: ECMA-48 5th Ed. 8.3.133
  6777. Status: standard
  6778. -------------------------------------------------------------------------------
  6779. Sequence: CSI Ps1 ; Ps2 SP k
  6780. Mnemonic: SCP
  6781. Description: Select character path
  6782.  
  6783. No parameter default values.
  6784.  
  6785. SCP is used to select the character path, relative to the line
  6786. orientation, for the active line (the line that contains the active
  6787. presentation position) and subsequent lines in the presentation
  6788. component. It is also used to update the content of the active line in
  6789. the presentation component and the content of the active line (the
  6790. line that contains the active data position) in the data
  6791. component. This takes effect immediately.
  6792.  
  6793. Ps1 specifies the character path:
  6794.  
  6795. 1 left-to-right (in the case of horizontal line orientation), or
  6796.   top-to-bottom (in the case of vertical line orientation)
  6797.  
  6798. 2 right-to-left (in the case of horizontal line orientation), or
  6799.   bottom-to-top (in the case of vertical line orientation)
  6800.  
  6801. Ps2 specifies the effect on the content of the presentation component
  6802. and the content of the data component:
  6803.  
  6804. 0 undefined (implementation-dependent)
  6805.  
  6806. NOTE
  6807. This may also permit the effect to take place after the next
  6808. occurrence of CR, NEL or any control function which initiates an
  6809. absolute movement of the active presentation position or the active
  6810. data position.
  6811.  
  6812. 1 the content of the active line in the presentation component (the
  6813.   line that contains the active presentation position) is updated to
  6814.   correspond to the content of the active line in the data component
  6815.   (the line that contains the active data position) according to the
  6816.   newly established character path characteristics in the presentation
  6817.   component; the active data position is moved to the first character
  6818.   position in the active line in the data component, the active
  6819.   presentation position in the presentation component is updated
  6820.   accordingly
  6821.  
  6822. 2 the content of the active line in the data component (the line that
  6823.   contains the active data position) is updated to correspond to the
  6824.   content of the active line in the presentation component (the line
  6825.   that contains the active presentation position) according to the newly
  6826.   established character path characteristics of the presentation
  6827.   component; the active presentation position is moved to the first
  6828.   character position in the active line in the presentation component,
  6829.   the active data position in the data component is updated
  6830.   accordingly.
  6831.  
  6832. Source: ECMA-48 5th Ed. 8.3.111
  6833. Status: standard
  6834. -------------------------------------------------------------------------------
  6835. Sequence: CSI Ps SP q
  6836. Mnemonic: DECSCUSR
  6837. Description: Set cursor style
  6838.  
  6839.        Where ps can be 0, 1, 2, 3, 4 meaning Blinking Block, Blinking Block,
  6840.        Steady Block, Blink Underline, Steady Underline, respectively.
  6841.  
  6842. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/ansi_dec_controls_news.txt>
  6843. Status: DEC private; VT520
  6844. -------------------------------------------------------------------------------
  6845. Sequence: CSI ... SP s
  6846. Mnemonic: DECNS
  6847. Description: New sheet
  6848.  
  6849. Source: <URL:http://vt100.net/ctrlseq_dec.html>
  6850. Status: DEC private; PPL3
  6851. -------------------------------------------------------------------------------
  6852. Sequence: CSI ... SP w
  6853. Mnemonic: DECSITF
  6854. Description: Select input tray failover
  6855.  
  6856. Source: <URL:http://vt100.net/ctrlseq_dec.html>
  6857. Status: DEC private; PPL3
  6858. -------------------------------------------------------------------------------
  6859. Sequence: CSI ... SP x
  6860. Mnemonic: DECSDPM
  6861. Description: Set Duplex Print Mode
  6862.  
  6863. Source: <URL:http://vt100.net/ctrlseq_dec.html>
  6864. Status: DEC private; PPL3
  6865. -------------------------------------------------------------------------------
  6866. Sequence: CSI ... SP z
  6867. Mnemonic: DECVPFS
  6868. Description: Variable page format select
  6869.  
  6870. Source: <URL:http://vt100.net/ctrlseq_dec.html>
  6871. Status: DEC private; PPL3
  6872. -------------------------------------------------------------------------------
  6873. Sequence: CSI ... SP {
  6874. Mnemonic: DECSSS
  6875. Description: Set sheet size
  6876.  
  6877. Source: <URL:http://vt100.net/ctrlseq_dec.html>
  6878. Status: DEC private; PPL3
  6879. -------------------------------------------------------------------------------
  6880. Sequence: CSI ... SP |
  6881. Mnemonic: DECRVEC
  6882. Description: Draw relative vector
  6883.  
  6884. Source: <URL:http://vt100.net/ctrlseq_dec.html>
  6885. Status: DEC private; PPL3
  6886. -------------------------------------------------------------------------------
  6887. Sequence: CSI !
  6888. Description: Determining RIP support
  6889.  
  6890. The ESC[! is the code that RIP supporting BBS's use to determine
  6891. whether your terminal has RIP (Remote Imaging Protocol) support.  If so,
  6892. then your terminal returns a string to the remote side in the form
  6893. "RIPScript version x.xx" or some such thing.  This is probably why you have
  6894. been receiving that code.
  6895.  
  6896. I found the RIPscript 1.54 spec at ftp.telegrafix.com.
  6897.  
  6898. Source:
  6899.  <URL:http://www.cs.utk.edu/~shuford/terminal/ansi_dec_controls_news.txt>
  6900. Status: TeleGrafix private; clashes with ECMA-48
  6901. -------------------------------------------------------------------------------
  6902. Sequence: CSI ! p
  6903. Mnemonic: DECSTR
  6904. Description: Soft terminal reset
  6905.  
  6906. sets terminal to power-up default states
  6907.  
  6908. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/dec_vt220_codes.txt>
  6909.     "VT220 Programmer Pocket Guide" EK-VT220-HR-001, page 33
  6910.  
  6911. (keeps screen)
  6912.  
  6913. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/msvibm_vt.txt>
  6914. Status: DEC private; VT220
  6915. -------------------------------------------------------------------------------
  6916. Sequence: CSI Pn1 ; Pn2 ; Pn3 ; Pn4 ! s
  6917. Mnemonic: DECFIL
  6918. Description: Right justification
  6919.  
  6920. 0 <= Pn1 <= 1535 (1/720-inch units, 1/120-inch increments)
  6921. 0 <= Pn2 <= 255 (number of printing characters)
  6922. 0 <= Pn3 <= 1535 (1/720-inch units, 1/120-inch increments)
  6923. 0 <= Pn4 <= 255 (number of spaces)
  6924.  
  6925. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE102
  6926. Status: DEC private; LQP02
  6927. -------------------------------------------------------------------------------
  6928. Sequence: CSI Ps ! v
  6929. Mnemonic: DECASFC
  6930. Description: Automatic sheet feeder control
  6931.  
  6932. Source: <URL:http://vt100.net/ctrlseq_dec.html>
  6933. Status: DEC private; PPL2
  6934. -------------------------------------------------------------------------------
  6935. Sequence: CSI Pn ! w
  6936. Mnemonic: DECUND
  6937. Description: Select undeline character
  6938.  
  6939. Select underline character Pn other than default character.
  6940.  
  6941. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE90
  6942. Status: DEC private; LQP02
  6943. -------------------------------------------------------------------------------
  6944. Sequence: CSI Ps ! x
  6945. Mnemonic: DECPTS
  6946. Description: Printwheel table select
  6947.  
  6948. Ps == 0,1  Select printwheel table 1
  6949. Ps == 2    Select printwheel table 2
  6950.  
  6951. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE90
  6952. Status: DEC private; LQP02
  6953. -------------------------------------------------------------------------------
  6954. Sequence: CSI Pn ! y
  6955. Mnemonic: DECSS
  6956. Descripton: Select spacing
  6957.  
  6958. Set horizontal spacing increment (proportional spacing mode).
  6959.  
  6960. 6 <= Pn <= 768 (decipoint units, 1/720 inch)
  6961.  
  6962. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 ppE91,E99
  6963. Status: DEC private; LQP02
  6964. -------------------------------------------------------------------------------
  6965. Sequence: CSI Ps1 ; Pn2 ; Pn3 ; Pn4 ; Pn5 ! |
  6966. Mnemonic: DECVEC
  6967. Description: Draw vector
  6968.  
  6969. Ps1  Meaning
  6970. 0    Draw X line
  6971. 1    Draw Y line
  6972.  
  6973. Pn1 = X start value
  6974. Pn2 = Y start value
  6975. Pn4 = line length
  6976. Pn5 = line width
  6977.  
  6978. Units are decipoints or pixels according to SSU.
  6979.  
  6980. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE107
  6981. Status: DEC private; LN03
  6982. -------------------------------------------------------------------------------
  6983. Sequence: CSI ... ! }
  6984. Mnemonic: DECFIN
  6985. Description: Document finishing
  6986.  
  6987. Instructs the device whether to change the offset at which paper is
  6988. delivered to the output tray.
  6989.  
  6990. Source: <URL:http://vt100.net/ctrlseq_dec.html>
  6991. Status: DEC private; LQP03
  6992. -------------------------------------------------------------------------------
  6993. Sequence: CSI Ps1 ; Ps2 " p
  6994. Mnemonic: DECSCL
  6995. Description: Set compatibility level
  6996.  
  6997. CSI 6 1 " p -> Level 1 (VT100) compatibility
  6998. CSI 6 2 " p -> Level 2 (VT200) compatibility, 8-bit controls
  6999. CSI 6 2 ; 0 " p -> ditto
  7000. CSI 6 2 ; 1 " p -> ditto, 7-bit controls
  7001. CSI 6 2 ; 2 " p -> ditto, 8-bit controls
  7002.  
  7003. Ps1 = 63 selects Level 3 (VT300)
  7004. Ps1 = 64 selects Level 4 (VT400)
  7005.  
  7006. Source: <URL:http://vt100.net/docs/vt220-rm/chapter4.html> VT220 Ref Manual
  7007. Source: Reflection TRM (VT) Version 7.0
  7008. Status: DEC private; VT200
  7009. -------------------------------------------------------------------------------
  7010. Sequence: CSI Ps " q
  7011. Mnemonic: DECSCA
  7012. Description: Select character attributes
  7013.  
  7014. Ps     Action
  7015.  0     All attributes off (does not apply to SGR)
  7016.  1     Designate character as "non-erasable" by DECSEL/DECSED. (Attribute on)
  7017.  2     Designate character "erasable" by DECSEL/DECSED. (Attribute off)
  7018.  
  7019.  
  7020. NOTE: A parameter value of 0 implies the default which is attributes
  7021. off (erasable by DECSEL/DECSED). A parameter value of 2 is an explicit
  7022. request for this attribute to be off (erasable by DECSEL/DECSED).
  7023.  
  7024. Souce: <URL:http://vt100.net/docs/vt220-rm/chapter4.html>
  7025. Status: DEC private
  7026. -------------------------------------------------------------------------------
  7027. Sequence: CSI Pn1 ; Pn2 " s
  7028. Mnemonic: DECPWA
  7029. Description: Page width alignment
  7030.  
  7031. Pn1 specifies the left edge of the print arera relatiove to the left
  7032. edge of platen.  Pn2 specifies width of print area.  Pn1 and Pn2 are
  7033. measured in units of 1/12 inch.
  7034.  
  7035. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE42
  7036. Status: DEC private; printers
  7037. -------------------------------------------------------------------------------
  7038. Sequence: CSI ... " v
  7039. Mnemonic: DECRQDE
  7040. Description: Request device extent
  7041.  
  7042. Source: <URL:http://vt100.net/ctrlseq_dec.html>
  7043. Status: DEC private; VT400
  7044. -------------------------------------------------------------------------------
  7045. Sequence: CSI ... " w
  7046. Mnemonic: DECRPDE
  7047. Description: Report device extent
  7048.  
  7049. Source: <URL:http://vt100.net/ctrlseq_dec.html>
  7050. Status: DEC private; VT400
  7051. -------------------------------------------------------------------------------
  7052. Sequence: CSI ... " z
  7053. Mnemonic: DECDEN
  7054. Description: Select density
  7055.  
  7056. ESC [ 0 " z   selects default (draft) density
  7057. ESC [ 1 " z   selects draft density
  7058. ESC [ 2 " z   selects letter density (medium or high density depending on
  7059.               DPS).
  7060.  
  7061. Source: <URL:http://vt100.net/ctrlseq_dec.html>
  7062. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE46
  7063. Status: DEC private; printers
  7064. -------------------------------------------------------------------------------
  7065. Sequence: CSI Ps ; " { String ST
  7066. Mnemonic: DECRFS
  7067. Description: Request font status
  7068.  
  7069. Ps  Meaning
  7070. 0   Send status of all fonts
  7071. 1   Send status of ROM resident, down line loaded, and cartridge
  7072. 2   Send status of memory bytes remaining for host loaded fonts
  7073.  
  7074. String = type family and font
  7075.  
  7076. Response (DECFSR) is:
  7077.  
  7078. CSI 2 " nnn ST
  7079.  
  7080. Where nnn = number of bytes remaining in memory
  7081.  
  7082. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE107
  7083. Status: DEC private; LN03
  7084.  
  7085. Response is:
  7086.  
  7087. ESC [ ? Pn ; Pm SP D
  7088.  
  7089. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE124
  7090. Status: DEC private; LCP01
  7091. -------------------------------------------------------------------------------
  7092. Sequence: CSI Pn $ p
  7093. Mnemonic: DECRQM
  7094. Description: Request mode settings
  7095.  
  7096. Pn is a mode number, as passed to SM or RM.  It can include a leading
  7097. ? to specify a DEC private mode.  The terminal returns CSI Pn ; Pn2 $
  7098. y, where Pn2 is 1 if the mode is in the set state.
  7099.  
  7100. Source: Paul Williams <paul@celigne.co.uk> in comp.terminals
  7101.     <7t76qq$23q$1@nnrp1.deja.com>
  7102. Status: DEC private
  7103. -------------------------------------------------------------------------------
  7104. Sequence: CSI Pn1 ; Pn2 ; Pn3 ; Pn4 ; Ps1 ... Psn $ r
  7105. Mnemonic: DECCARA
  7106. Description: Change attributes in rectangular area
  7107.  
  7108. Change the visual attributes for characters in a specified area of
  7109. display memorythe characters themselves remain unchanged. The DECSACE
  7110. control function is used to determine whether all or just some of the
  7111. character positions are affected. The parameters are:
  7112.  
  7113. Pn1 Top line
  7114. Pn2 Left column
  7115. Pn3 Bottom line
  7116. Pn4 Right column
  7117.  
  7118. Source: Reflection TRM (VT) Version 7.0
  7119.  
  7120. Ps1 ... Psn are standard SGR character attributes.
  7121.  
  7122. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/dec_vt220_codes.txt>
  7123. Status: DEC private; VT420
  7124. -------------------------------------------------------------------------------
  7125. Sequence: CSI Pn1 ; Pn2 ; Pn3 ; Pn4 ; Ps1 ; ... ; Psn $ t
  7126. Mnemonic: DECRARA
  7127. Description: Reverse attributes in rectangular area
  7128.  
  7129. Reverse the visual attributes for characters in a specified area of
  7130. display memorythe characters themselves remain unchanged. The DECSACE
  7131. control function is used to determine whether all or just some of the
  7132. character positions are affected. The parameters are:
  7133.  
  7134. Pn1 Top line
  7135. Pn2 Left column
  7136. Pn3 Bottom line
  7137. Pn4 Right column
  7138. Ps1...Psn Normal SGR character attributes
  7139.  
  7140. Source: Reflection TRM (VT) Version 7.0
  7141. Status: DEC private; VT420
  7142. -------------------------------------------------------------------------------
  7143. Sequence: CSI Ps ; ... $ u
  7144. Mnemonic: DECRQTSR
  7145. Description: Request terminal state report
  7146.  
  7147. Ps = 1 => Host request for a terminal state report (returns DECTSR)
  7148.  
  7149. Ps = 2 => Host request for color table report.  In this case the
  7150.           second parameter signifies the colour space; 0 or 1
  7151.           indicates HLS (the default) and 2 indicates RGB.  The reply
  7152.           is DECCTR.  If the terminal doesn't understand, it responds
  7153.           with DCS 0 $ s ST.
  7154.  
  7155. RBComm always returns DCS 1 $ ST        (no state information returned)
  7156.  
  7157. Source: <URL:ftp://ftp.cs.cmu.edu/afs/cs/user/ralf/pub/rbcom346.zip>
  7158. Source: <URL:http://vt100.net/ctrlseq_dec.html>
  7159. Source: Reflection TRM (VT) Version 7.0
  7160. Status: DEC private
  7161. -------------------------------------------------------------------------------
  7162. Sequence: CSI Pn1 ; Pn2 ; Pn3 ; Pn4 ; Pn5 ; Pn6 ; Pn7 ; Pn8 $ v
  7163. Mnemonic: DECCRA
  7164. Description: Copy rectangular area
  7165.  
  7166. Copy a rectangular area of display memory from one part of page memory
  7167. to another.  Characters and their attributes remain unchanged. The
  7168. parameters Pn1 through Pn5 describe the area to be copied:
  7169.  
  7170. Pn1 Top line
  7171. Pn2 Left column
  7172. Pn3 Bottom line
  7173. Pn4 Right column
  7174. Pn5 Page number
  7175.  
  7176. The parameters <n6> through <n8> describe where the area should be copied:
  7177.  
  7178. Pn6 Top line
  7179. Pn7 Left column
  7180. Pn8 Page number
  7181.  
  7182. Source: Reflection TRM (VT) Version 7.0
  7183. Status: DEC private; VT400
  7184. -------------------------------------------------------------------------------
  7185. Sequence: CSI Ps $ w
  7186. Mnemonic: DECRQPSR
  7187. Description: Request presentation state report
  7188.  
  7189. /*
  7190.  * From Kermit 3.13 & VT220 pocket guide
  7191.  *
  7192.  * Request  CSI 1 $ w             cursor information report
  7193.  
  7194. See DECCIR for response
  7195.  
  7196. CSI 2 $ w        tab stop report
  7197.  
  7198. See DECTABSR for response
  7199.  
  7200. Source: <URL:http://vt100.net/ctrlseq_dec.html>
  7201. Source: vttest-990712 vt420.c
  7202. Status: DEC private; VT300
  7203. -------------------------------------------------------------------------------
  7204. Sequence: CSI Pn1 ; Pn2 ; Pn3 ; Pn4 ; Pn5 $ x
  7205. Mnemonic: DECFRA
  7206. Description: Fill rectangular area
  7207.  
  7208. Fill an area in display memory with a specified character. The fill
  7209. character takes on the visual attributes set by the last SGR control
  7210. function, not the attributes of the characters that it replaces.
  7211. Current line attributes (for example, the attributes that specify
  7212. double-wide, double-high characters) remain unchanged. The parameters
  7213. are:
  7214.  
  7215. Pn1 Decimal code of fill character
  7216. Pn2 Top line
  7217. Pn3 Left column
  7218. Pn4 Bottom line
  7219. Pn5 Right column
  7220.  
  7221. Source: Reflection TRM (VT) Version 7.0
  7222. Status: DEC private; VT400
  7223. -------------------------------------------------------------------------------
  7224. Sequence: CSI Pn ; Ps $ y
  7225. Mnemonic: DECRPM
  7226. Description: Report mode settings
  7227.  
  7228. You can query setting of this with 
  7229.   CSI ? 67 $ p
  7230. response CSI ? 67 ; Ps $ y
  7231.  where Ps : 0 = unkown mode
  7232.             1 = set
  7233.             2 = reset
  7234.         3 = permanently set
  7235.         4 = permanently reset
  7236.   This query is possible if terminal supports terminal interrogation commands
  7237.   (== VT400 series or better).
  7238.  
  7239. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/dec_terminals_news.txt>
  7240. Source: <URL:http://vt100.net/ctrlseq_dec.html>
  7241. Status: DEC private; VT300
  7242. -------------------------------------------------------------------------------
  7243. Sequence: CSU Pn1 ; Pn2 ; Pn3 ; Pn4 $ z
  7244. Mnemonic: DECERA
  7245. Description: Erase rectangular area
  7246.  
  7247. Erase the characters (and their visual attributes) in the specified
  7248. rectangular area and replace each one with a space (decimal 32). Line
  7249. attributes (for example, the attributes that specify double-wide,
  7250. double-high characters) are not erased. The areas to erase are:
  7251.  
  7252. Pn1 Top line
  7253. Pn2 Left column
  7254. Pn3 Bottom line
  7255. Pn4 Right column
  7256.  
  7257. Source: Reflection TRM (VT) Version 7.0
  7258. Status: DEC private; VT400
  7259. -------------------------------------------------------------------------------
  7260. Sequence: CSI Pn1 ; Pn2 ; Pn3 ; Pn4 $ {
  7261. Mnemonic: DECSERA
  7262. Description: Selective erase rectangular area
  7263.  
  7264. Erase all erasable characters from a specified rectangular area in
  7265. page memory; a space character replaces erased character
  7266. positions. The DECSERA control function does not change:
  7267.  
  7268. * Visual attributes set by the select graphic rendition (SGR) function.
  7269. * Protection attributes set by DECSCA.
  7270. * Line attributes.
  7271.  
  7272. The parameters are:
  7273. Pn1 Top line
  7274. Pn2 Left column
  7275. Pn3 Bottom line
  7276. Pn4 Right column
  7277.  
  7278. Source: Reflection TRM (VT) Version 7.0
  7279. Status: DEC private; VT400
  7280. -------------------------------------------------------------------------------
  7281. Sequence: CSI Ps $ |
  7282. Mnemonic: DECSCPP
  7283. Description: Set columns per page
  7284.         The VT330 also implements the DECSCPP (set columns per page) as the
  7285.     preferred new way; it does not reset the scrolling regions or clear   
  7286.     page memory as DECCOLM does.
  7287.  
  7288.     Esc [ $ |           sets each page to  80 columns
  7289.     Esc [ 0 $ |         sets each page to  80 columns
  7290.     Esc [ 8 0 $ |       sets each page to  80 columns      
  7291.     Esc [ 1 3 2 $ |     sets each page to 132 columns
  7292.  
  7293. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/dec_vt220_codes.txt>
  7294. Status: DEC private; VT330 
  7295. -------------------------------------------------------------------------------
  7296. Sequence: CSI Ps $ }
  7297. Mnemonic: DECSASD
  7298. Description: Select active status display
  7299.  
  7300. Ps = 0 -> none
  7301. Ps = 1 -> status
  7302.  
  7303. This means CSI 0 $ } selects the main display, and CSI 1 $ } selects
  7304. the status line.
  7305.  
  7306. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/dec_vt220_codes.txt>
  7307. Source: <URL:http://vt100.net/ctrlseq_dec.html>
  7308. Status: DEC private; VT320
  7309. -------------------------------------------------------------------------------
  7310. Sequence: CSI Ps $ ~
  7311. Mnemonic: DECSSDT
  7312. Desription: Select status display type
  7313.  
  7314. Ps = 0 -> none
  7315. Ps = 1 -> indicator (shows cursor position etc)
  7316. Ps = 2 -> host writeable
  7317.  
  7318. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/dec_vt220_codes.txt>
  7319. Source: <URL:http://vt100.net/ctrlseq_dec.html>
  7320. Status: DEC private; VT320
  7321. -------------------------------------------------------------------------------
  7322. Sequence: CSI Pn & q
  7323. Mnemonic: DECSNC
  7324. Description: Set number of copies
  7325.  
  7326. Source: <URL:http://vt100.net/ctrlseq_dec.html>
  7327. Status: DEC private; PPL3
  7328. -------------------------------------------------------------------------------
  7329. Sequence: CSI ... & u
  7330. Mnemonic: DECRQUPSS
  7331. Description: Request user-preferred supplemental set
  7332.  
  7333. Source: <URL:http://vt100.net/ctrlseq_dec.html>
  7334. Status: DEC private; VT400
  7335. -------------------------------------------------------------------------------
  7336. Sequence: CSI Pe ; Pb ; Pr ; Pc ; Pp & w
  7337. Mnemonic: DECLRP
  7338. Description: Locator report
  7339.  
  7340. When a selected trigger event occurs such as a button press or
  7341. release, the terminal transmits a locator position report as follows.
  7342.  
  7343. Pe is the event code 
  7344. Pb is the button code 
  7345. Pr is the row coordinate 
  7346. Pc is the column coordinate 
  7347. Pp is the third coordinate (page number) 
  7348.  
  7349. Pe, the event code indicates what event caused this report to be
  7350. generated. The following event codes are defined:
  7351.  
  7352. 0 - request, the terminal received an explicit request 
  7353.     for a locator report, but the locator is unavailable 
  7354. 1 - request, the terminal received an explicit 
  7355.     request for a locator report 
  7356. 2 - left button down 
  7357. 3 - left button up 
  7358. 4 - middle button down 
  7359. 5 - middle button up 
  7360. 6 - right button down 
  7361. 7 - right button up 
  7362. 8 - fourth button down 
  7363. 9 - fourth button up 
  7364. 10 - locator outside filter rectangle 
  7365.  
  7366. Pb is the button code, ASCII decimal 0-15 indicating which buttons are
  7367. down if any. The state of the four buttons on the locator correspond
  7368. to the low four bits of the decimal value, "1" means button depressed
  7369.  
  7370. 0 - no buttons down 
  7371. 1 - right 
  7372. 2 - middle 
  7373. 4 - left 
  7374. 8 - fourth 
  7375.  
  7376. Pr is the row coordinate of the locator position in the page, encoded
  7377. as an ASCII decimal value. If Pr is omitted, the locator position is
  7378. undefined (outside the terminal window for example).
  7379.  
  7380. Pc is the column coordinate of the locator position in the page,
  7381. encoded as an ASCII decimal value.  If Pc is omitted, the locator
  7382. position is undefined (outside the terminal window for example).
  7383.  
  7384. Pp is the page coordinate of the locator position encoded as an ASCII
  7385. decimal value. The page coordinate may be omitted if the locator is on
  7386. page one (the default).
  7387.  
  7388. Each locator report includes both the specific transition which caused
  7389. this event, and the current button state. This allows software to
  7390. determine what event just occured and which buttons are down without
  7391. keeping track of previous events or button state. In a multiprocess
  7392. shared locator environment, an application may not know the previous
  7393. button state. This dual reporting also allows applications to recover
  7394. from lost locator reports.
  7395.  
  7396. Each locator event generates a single report. In the rare situation
  7397. where two events occur simultaneously (within a single sampling
  7398. period), the terminal will report this as two separate events. The
  7399. order of reporting shall be by increasing event code number (left
  7400. button first).
  7401.  
  7402. Locator events are queued in the keyboard input silo just like
  7403. keystrokes. Each locator event occupies one position in the silo (the
  7404. keyboard silo currently must have at least 9 positions). If the input
  7405. silo becomes full, the locator and keyboard are locked until there is
  7406. again room in the silo. The sequential order of keystroke and locator
  7407. events is strictly maintained.
  7408.  
  7409. It is the responsibility of the host to accept data fast enough to
  7410. avoid locking the locator unintentionally. The limited buffering
  7411. inside the terminal gives the host a little more time to process
  7412. locator events smoothly.
  7413.  
  7414. When the keyboard is locked, the "wait" indicator on the keyboard
  7415. turns on. The keyboard is automatically locked any time the keyboard
  7416. input silo is full. The keyboard can be locked explicitly using the
  7417. keyboard action mode (KAM) control function.
  7418.  
  7419. When the locator is locked, the terminal continues to track the
  7420. locator, but the input cursor changes shape to appear as a wristwatch
  7421. (or other shape indicating to wait). The wristwatch cursor indicates
  7422. that locator button transitions will be ignored, but allows the user
  7423. to continue positioning in anticipation of the locator being
  7424. unlocked. The locator is automatically locked any time the input silo
  7425. is full.
  7426.  
  7427. Locator-ahead, analogous to keyboard type-ahead is supported by having
  7428. each report include the locator position at the time of the event, and
  7429. maintaining the sequential order of keystroke and locator events.
  7430.  
  7431. A final implication of using the keyboard silo to buffer text locator
  7432. events is that locator and keyboard input should be associated with
  7433. the same session at all times. The session to receive these events is
  7434. sometimes called the "active session" or "input focus". In a
  7435. multi-session windowing environment, the input cursor is allowed to
  7436. roam freely over the entire screen in response to locator
  7437. movement. The input cursor is never occluded when locator reporting is
  7438. enabled in one or more sessions. Each session enables locator
  7439. reporting independently. The following cases describe the locator
  7440. interaction with session viewports and scroll regions.
  7441.  
  7442. 1. The input cursor is within the active session's viewport. Pressing
  7443.    a button on the locator sends alocator report when enabled. 
  7444.  
  7445. 2. The input cursor is inside the active session's viewport, but
  7446.    outside the range of defined coordinates for that session. Pressing
  7447.    a button on the locator will generate a report with omitted
  7448.    coordinates (position undefined). An example would be when the
  7449.    input cursor is outside the active scrolling region, and the origin
  7450.    mode has been set to relative. To use the locator to adjust scroll
  7451.    margins, the origin mode must be absolute.
  7452.  
  7453. 3. The input cursor is not contained in any viewport. Pressing a
  7454.    button on the locator will have no effect. To support "pop up"
  7455.    menus anywhere on the screen, the entire screen must be a viewport
  7456.    for at least one session.
  7457.  
  7458. 4. The input cursor is within a viewport of a session which is not the
  7459.    active session. Pressing a button on the locator will normally make
  7460.    the session containing the input cursor the active session
  7461.    (possibly changing the occlusion order of viewports, and the shape
  7462.    of the locator). This case is the responsibility of the "window
  7463.    manager" which is free to define its own user interface. Two
  7464.    recommendations are: (1) No locator report should be sent to the
  7465.    previous active session, since the locator is not in its viewport;
  7466.    and (2) If locator reporting is enabled in the new session, a
  7467.    locator report should not be transmitted to avoid application side
  7468.    affects when selecting another window.
  7469.  
  7470. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/dec_vt_mouse.html>
  7471. Status: DEC private; VT340?
  7472. -------------------------------------------------------------------------------
  7473. Sequence: CSI ... & x
  7474. Mnemonic: DECES
  7475. Description: Enable session management
  7476.  
  7477. Source: <URL:http://vt100.net/ctrlseq_dec.html>
  7478. Status: DEC private; VT400
  7479. -------------------------------------------------------------------------------
  7480. Sequence: CSI ... ' q
  7481. Mnemonic: DECSBCA
  7482. Description: Select bar code attributes
  7483.  
  7484. Source: <URL:http://vt100.net/ctrlseq_dec.html>
  7485. Status: DEC private; PPL2
  7486. -------------------------------------------------------------------------------
  7487. Sequence: CSI Pt ; Pl ; Pb ; Pr ' w
  7488. Mnemonic: DECEFR
  7489. Description: Enable filter rectangle
  7490.  
  7491. Filter Rectangles add filtered movement events to the list of locator
  7492. transitions that can generate reports.
  7493.  
  7494. Pt - Top boundary of filter rectangle 
  7495. Pl - Left boundary of filter rectangle 
  7496. Pb - Bottom boundary of filter rectangle 
  7497. Pr - Right boundary of filter rectangle 
  7498.  
  7499. The DECEFR control sequence defines the coordinates of a filter
  7500. rectangle, and activates it.  Anytime the locator is detected to be
  7501. outside a filter rectangle, an outside rectangle event is generated
  7502. and the rectangle is disabled. Filter rectangles are always treated as
  7503. "one-shot" events. Defining a new rectangle re-activates it.
  7504.  
  7505. Applications can re-define the rectangle at any time even if its
  7506. already active. If a rectangle which does not contain the locator is
  7507. specified, the terminal will generate an outside rectangle report
  7508. immediately and deactivate it.
  7509.  
  7510. Pt, Pl, Pb, and Pr are in coordinates units specified by the last
  7511. DECELR sequence. The filter rectangle includes the boundaries (similar
  7512. to other rectangular area operations). The origin is coordinate pair
  7513. 1:1 in the upper left corner. If any parameters are omitted, they are
  7514. defaulted to the current locator position. Sending DECEFR with no
  7515. parameters will cause the application to be notified for any locator
  7516. movement ("unfiltered movement event").
  7517.  
  7518. DECELR always cancels any previous filter rectangle definition. This
  7519. gaurantees that when an application enables locator reports, there
  7520. will never be an outstanding filter rectangle.
  7521.  
  7522. If a filter rectangle lies on the edge of the defined coordinate space
  7523. for the active session, and the locator crosses that edge, the
  7524. rectangle may be triggered to send a report with omitted coordinates
  7525. (locator position undefined).
  7526.  
  7527. If the active session receives a filter rectangle with explicit
  7528. coordinates while the locator is outside the defined coordinate space,
  7529. the rectangle will be triggered to send a report with omitted
  7530. coordinates.
  7531.  
  7532. If the active session receives a filter rectangle with omitted
  7533. coordinates (that is, use the current position) while the locator is
  7534. outside the defined coordinate space (position undefined), the
  7535. rectangle will be triggered the next time the locator is within the
  7536. defined coordinate space.
  7537.  
  7538. If a session which is not the active session receives a filter
  7539. rectangle with explicit coordinates, it should trigger immediately
  7540. with position undefined. If a session which is not the active session
  7541. receives a rectangle with omitted coordinates, it should trigger the
  7542. next time the locator is within the defined coordinate space for that
  7543. session, which cannot happen until the session becomes active.
  7544.  
  7545. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/dec_vt_mouse.html>
  7546. Status: DEC private; VT340?
  7547. -------------------------------------------------------------------------------
  7548. Sequence: CSI Ps ; Pu ' z
  7549. Mnemonic: DECELR
  7550. Description: Enable locator reports
  7551.  
  7552. Locator reporting can be selectively enabled from the host using a DEC
  7553. private control sequence.  When disabled (the power up default), the
  7554. locator cursor does not appear, and the locator buttons are
  7555. inactive. When enabled, the locator cursor is visible, and the
  7556. terminal tracks the locator locally with no host
  7557. intervention. Individual locator events such as locator button
  7558. transitions or movement may be programmed to send locator reports to
  7559. the host.
  7560.  
  7561. Ps may assume the following values 
  7562.  
  7563. 0 locator disabled (default) 
  7564.  
  7565. 1 locator reports enabled 
  7566.  
  7567. 2 one shot (allow one report, then disable) 
  7568.  
  7569. Pu specifies the coordinate units for locator reports 
  7570.  
  7571. 0 (or omitted) default to character cells 
  7572.  
  7573. 1 device physical pixels 
  7574.  
  7575. 2 character cells 
  7576.  
  7577. One shot mode is provided for applications that desire simple graphics
  7578. input similar to Tektronix GIN mode (no unsolicited reports). If
  7579. parameter value 2 is selected, the next trigger event that occurs will
  7580. generate a single locator report. No further locator reports will
  7581. occur (the locator will be disabled), until another DECELR sequence is
  7582. received.
  7583.  
  7584. The coordinate units for locator position reports may be selected to
  7585. either of two coordinate systems used by terminal software at the
  7586. lowest level. Physical pixels is the "least common denominator", and
  7587. is useful for computing sixel positions.
  7588.  
  7589. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/dec_vt_mouse.html>
  7590. Status: DEC private; VT340?
  7591. -------------------------------------------------------------------------------
  7592. Sequence: CSI P ... P ' {
  7593. Mnemonic: DECSLE
  7594. Description: Select locator events
  7595.  
  7596. The locator events which are allowed to generate unsolicited reports
  7597. may be individually selected using the Select Locator Events
  7598. control. The locator is capable of reporting both up and down
  7599. transitions for those situations where the exact sequence of button
  7600. activiations is significant. This control allows application software
  7601. to select which events it wants reported.
  7602.  
  7603. P...P is one or more selective parameters which may assume the
  7604. following values:
  7605.  
  7606. 0 respond only to explicit host requests 
  7607.   (default, also cancels any pending filter rectangle) 
  7608. 1 report button down transitions 
  7609. 2 do not report button down transitions 
  7610. 3 report button up transitions 
  7611. 4 do not report button up transitions 
  7612.  
  7613. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/dec_vt_mouse.html>
  7614. Status: DEC private; VT340?
  7615. -------------------------------------------------------------------------------
  7616. Sequence: CSI Ps ' |
  7617. Mnemonic: DECRQLP
  7618. Description: Request locator position
  7619.  
  7620. The host may explicitly request a locator position report any time
  7621. locator reporting is enabled (DECELR). Upon receiving such a request,
  7622. the terminal will immediately send a single locator report (DECLRP)
  7623. with event code 1 indicating the current locator position.
  7624.  
  7625. If the session receiving the request is the active session, but the
  7626. locator is not within the defined coordinate range for that session,
  7627. the terminal will respond with omitted coordinates (locator position
  7628. undefined).
  7629.  
  7630. If the session receiving the request is not currently active (the
  7631. locator is being used in another session), the report will specify
  7632. event code 0 (locator unavailable). Locator state from the active
  7633. session should not be made available to inactive sessions.
  7634.  
  7635. If the locator is disabled (DECELR), the terminal should still respond
  7636. with event code 0 (to avoid timing out the application).
  7637.  
  7638. Ps: 
  7639. 0 (or omitted) default to 1 
  7640. 1 transmit a single DECLRP locator report all others ignored 
  7641.  
  7642. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/dec_vt_mouse.html>
  7643. Status: DEC private; VT340?
  7644. -------------------------------------------------------------------------------
  7645. Sequence: CSI ... ' }
  7646. Mnemonic: DECIC
  7647. Description: Insert column
  7648.  
  7649. Source: <URL:http://vt100.net/ctrlseq_dec.html>
  7650. Status: DEC private; VT400
  7651. -------------------------------------------------------------------------------
  7652. Sequence: CSI ... ' ~
  7653. Mnemonic: DECDC
  7654. Description: Delete column
  7655.  
  7656. Source: <URL:http://vt100.net/ctrlseq_dec.html>
  7657. Status: DEC private; VT400
  7658. -------------------------------------------------------------------------------
  7659. Sequence: CSI ... * q
  7660. Mnemonic: DECSRC
  7661. Descripton: Secure reset confirmation
  7662.  
  7663. Source: <URL:http://vt100.net/ctrlseq_dec.html>
  7664. Status: DEC private; VT400
  7665. -------------------------------------------------------------------------------
  7666. Sequence: CSI Ps * x
  7667. Mnemonic: DECSACE
  7668. Description: Select attribute change extent
  7669.  
  7670. Select which character positions within a rectangular area can have
  7671. their attributes changed or reversed. The DECSACE control function
  7672. affects the rectangular area control functions for changing and
  7673. reversing attributes (DECCARA and DECRARA).
  7674.  
  7675. The Ps parameter specifies what character positions are affected. 0 or
  7676. 1 indicates a stream of character positions that begins in the first
  7677. position specified in the DECCARA or DECRARA control function, and
  7678. ends with the second one that is specified. A 2 indicates a
  7679. rectangular area of character positions; the DECCARA and DECRARA
  7680. control functions specify the upper left and lower right corners of
  7681. the area.
  7682.  
  7683. Source: Reflection TRM (VT) Version 7.0
  7684. Status: DEC private; VT400
  7685. -------------------------------------------------------------------------------
  7686. Sequence: CSI Pn1 ; Pn2 ; Pn3 ; Pn4 ; Pn5 ; Pn6 * y
  7687. Mnemonic: DECRQCRA
  7688. Description: Request checksum of rectangular area
  7689.  
  7690. Request a memory checksum of a rectangular area on a specified
  7691. page. The terminal returns a checksum report (DECCKSR) in
  7692. response. DECRQCRA also works on the status line.
  7693.  
  7694. Parameters:
  7695.  
  7696. Pn1 A numeric label you give to identify the checksum request
  7697. (DECCKSR returns this number).
  7698.  
  7699. Pn2 The number of the page on which the rectangular area is
  7700. located. If Pn2 is 0 or omitted, the terminal ignores the remaining
  7701. parameters and reports a checksum for all pages in page memory. If
  7702. <n2> is more than the number of pages, Reflection does a checksum on
  7703. the last page.
  7704.  
  7705. Pn3 to Pn6 define the area to be checksummed:
  7706.  
  7707. Pn3 Top row
  7708. Pn4 Right column
  7709. Pn5 Bottom row
  7710. Pn6 Left column
  7711.  
  7712. If Pn3 .. Pn6 are omitted, the entire page is checksummed.  The
  7713. co-ordinates are affected by DECOM.
  7714.  
  7715. Source: Reflection TRM (VT) Version 7.0
  7716. Status: DEC private; VT400
  7717. -------------------------------------------------------------------------------
  7718. Sequence: CSI Pn * z
  7719. Mnemonic: DECINVM
  7720. Description: Invoke Macro
  7721.  
  7722. Invoke a stored macro. Pn is the macro ID number used in DECDMAC. If
  7723. Pn is not associated with a particular macro, Reflection ignores this
  7724. control function. If a macro definition includes control functions,
  7725. these functions remain in effect after the macro is invoked.
  7726.  
  7727. Source: Reflection TRM (VT) Version 7.0
  7728. Status: DEC private; VT400
  7729. -------------------------------------------------------------------------------
  7730. Sequence: CSI ... * {
  7731. Mnemonic: DECMSR
  7732. Description: Macro space report
  7733.  
  7734. Source: <URL:http://vt100.net/ctrlseq_dec.html>
  7735. Status: DEC private; VT400
  7736. -------------------------------------------------------------------------------
  7737. Sequence: CSI ... * |
  7738. Mnemonic: DECSNLS
  7739. Description: Select number of lines per screen
  7740.  
  7741. Source: <URL:http://vt100.net/ctrlseq_dec.html>
  7742. Status: DEC private; VT400
  7743. -------------------------------------------------------------------------------
  7744. Sequence: CSI ... * }
  7745. Mnemonic: DECLFKC
  7746. Description: Local function key control
  7747.  
  7748. Source: <URL: http://vt100.net/ctrlseq_dec.html>
  7749. Status: DEC private; VT400
  7750. -------------------------------------------------------------------------------
  7751. Sequence: CSI ... + p
  7752. Mnemonic: DECSR
  7753. Description: Secure reset
  7754.  
  7755. Source: <URL:http://vt100.net/ctrlseq_dec.html>
  7756. Status: DEC private; VT400
  7757. -------------------------------------------------------------------------------
  7758. Sequence: CSI ... + q
  7759. Mnemonic: DECELF
  7760. Description: Enable local functions
  7761.  
  7762. Source: <URL:http://vt100.net/ctrlseq_dec.html>
  7763. Status: DEC private; VT400
  7764. -------------------------------------------------------------------------------
  7765. Sequence: CSI ... + r
  7766. Mnemonic: DECSMKR
  7767. Description: Select modifier key reporting
  7768.  
  7769. Source: <URL:http://vt100.net/ctrlseq_dec.html>
  7770. Status: DEC private; VT400
  7771. -------------------------------------------------------------------------------
  7772. Sequence: CSI ... + v
  7773. Mnemonic: DECMM
  7774. Description: Memory management
  7775.  
  7776. Source: <URL:http://vt100.net/ctrlseq_dec.html>
  7777. Status: DEC private; PPL3
  7778. -------------------------------------------------------------------------------
  7779. Sequence: CSI Ps / y
  7780. Description: xwsh command
  7781.  
  7782. xwsh command. The first parameter to this escape sequence is the
  7783. particular command described in the table that follows. Each command
  7784. has different numbers of arguments which are described below.
  7785.  
  7786. 2 Textport init. Reset xwsh to be 40 rows by 80 columns.  Reset the
  7787.   colors to the default colors.  Reset any graphics rendition. Clear
  7788.   out the retain buffer. Home the cursor.
  7789.  
  7790. 3 Push the window. Depending on the window manager, this may or may
  7791.   not have any affect.
  7792.  
  7793. 4 Pop the window. Depending on the window manager, this may or may not
  7794.   have any affect.
  7795.  
  7796. 14 History init. Clear out the retain buffer. Home the cursor.
  7797.  
  7798. 16 Reset bindable function keys.
  7799.  
  7800. 15 Initialize bindable function keys to defaults. 
  7801.  
  7802. 101 Set the text color by using a 3.3 compatible index. 
  7803.  
  7804. 102 Set the page color by using a 3.3 compatible index. 
  7805.  
  7806. 103 Set the bold color by using a 3.3 compatible index. 
  7807.  
  7808. 104 Set the cursor page color by using a 3.3 compatible index. 
  7809.  
  7810. 111 Set the selection colors by using 3.3 compatible indices. This
  7811.     sequence takes three parameters. The first is 111. The second
  7812.     parameter is the selection text color, the third is the selection
  7813.     page color.
  7814.  
  7815. 203 Set the window size by row and column. This sequence takes three
  7816.     parameters. The first is 203. The second parameter is the number
  7817.     of rows to use. The third parameter is the number of columns to
  7818.     use.
  7819.  
  7820. 204 Set the window size, in pixels. This sequence takes three
  7821.     parameters. The first is 204. The second parameter is the new
  7822.     width. The third parameter is the new height. The width and height
  7823.     are rounded up to the nearest font boundaries.
  7824.  
  7825. 205 Set the window position, in pixels. The lower left corner of the
  7826.     display is specified as 0,0.
  7827.  
  7828. Source: IRIX 6.5.5 xwsh(1G)
  7829. Status: SGI private
  7830. -------------------------------------------------------------------------------
  7831. Sequence: ST or ESC \
  7832. Mnemonic: ST
  7833. Description: String terminator
  7834.  
  7835. ST is used as the closing delimiter of a control string opened by
  7836. APPLICATION PROGRAM COMMAND (APC), DEVICE CONTROL STRING (DCS),
  7837. OPERATING SYSTEM COMMAND (OSC), PRIVACY MESSAGE (PM), or START OF
  7838. STRING (SOS).
  7839.  
  7840. Source: ECMA-48 5th Ed. 8.3.143
  7841. Status: standard
  7842. -------------------------------------------------------------------------------
  7843. Sequence: OSC or ESC ]
  7844. Mnemonic: OSC
  7845. Description: Operating system command
  7846.  
  7847. OSC is used as the opening delimiter of a control string for operating
  7848. system use. The command string following may consist of a sequence of
  7849. bit combinations in the range 00/08 to 00/13 and 02/00 to 07/14.  The
  7850. control string is closed by the terminating delimiter STRING
  7851. TERMINATOR (ST). The interpretation of the command string depends on
  7852. the relevant operating system.
  7853.  
  7854. Source: ECMA-48 5th Ed. 8.3.89
  7855. Status: standard
  7856. -------------------------------------------------------------------------------
  7857. Sequence: OSC 0 ; txt BEL (or ST)
  7858. Description: Set icon name and window title
  7859.  
  7860. Source: Linux console_codes(4)
  7861. Status: xterm private
  7862. -------------------------------------------------------------------------------
  7863. Sequence: OSC 1 ; txt BEL (or ST)
  7864. Description: Set icon name
  7865.  
  7866. Source: Linux console_codes(4)
  7867. Status: xterm private
  7868. -------------------------------------------------------------------------------
  7869. Sequence: OSC 2 ; txt BEL (or ST)
  7870. Description: Set window title
  7871.  
  7872. Source: Linux console_codes(4)
  7873. Status: xterm private
  7874. -------------------------------------------------------------------------------
  7875. Sequence: OSC 4 6 ; name BEL (or ST)
  7876. Description: Set log file
  7877.  
  7878. Change log file to name (normally disabled by a compile-time option)
  7879.  
  7880. Source: Linux console_codes(4)
  7881. Status: xterm private
  7882. -------------------------------------------------------------------------------
  7883. Sequence: OSC 5 0 ; fn BEl (or ST)
  7884. Description: Set font
  7885.  
  7886. Source: Linux console_codes(4)
  7887. Status: xterm private
  7888. -------------------------------------------------------------------------------
  7889. Sequence: OSC P nrrggbb
  7890. Description: Set palette
  7891.  
  7892. set palette, with parameter given in 7 hexadecimal digits after the
  7893. final P :-(.  Here n is the color (0-16), and rrggbb indicates the
  7894. red/green/blue values (0-255).
  7895.  
  7896. Source: Linux console_codes(4)
  7897. Status: Linux private; should be terminated with ST
  7898. -------------------------------------------------------------------------------
  7899. Dequence: OSC R
  7900. Description: Reset palette
  7901.  
  7902. Source: Linux console_codes(4)
  7903. Status: Linux private; should be terminated with ST
  7904. -------------------------------------------------------------------------------
  7905. Sequence: PM or ESC ^
  7906. Mnemonic: PM
  7907. Description: Privacy message
  7908.  
  7909. PM is used as the opening delimiter of a control string for privacy
  7910. message use. The command string following may consist of a sequence of
  7911. bit combinations in the range 00/08 to 00/13 and 02/00 to 07/14.  The
  7912. control string is closed by the terminating delimiter STRING
  7913. TERMINATOR (ST). The interpretation of the command string depends on
  7914. the relevant privacy discipline.
  7915.  
  7916. Source: ECMA-48 5th Ed. 8.3.94
  7917. Status: standard
  7918. -------------------------------------------------------------------------------
  7919. Sequence: APC or ESC _
  7920. Mnemonic: APC
  7921. Description: Application program command
  7922.  
  7923. APC is used as the opening delimiter of a control string for
  7924. application program use. The command string following may consist of
  7925. bit combinations in the range 00/08 to 00/13 and 02/00 to 07/14. The
  7926. control string is closed by the terminating delimiter STRING
  7927. TERMINATOR (ST). The interpretation of the command string depends on
  7928. the relevant application program.
  7929.  
  7930. Source: ECMA-48 8.3.2
  7931. Status: standard
  7932. -------------------------------------------------------------------------------
  7933. Mode: 1
  7934. Mnemonic: GATM
  7935. Description: Guarded area transfer mode
  7936.  
  7937. GUARD (reset):
  7938. Only the contents of unguarded areas in an eligible area are
  7939. transmitted or transferred.
  7940.  
  7941. ALL (set):
  7942. The contents of guarded as well as of unguarded areas in an eligible
  7943. area are transmitted or transferred.
  7944.  
  7945. NOTE
  7946. No control functions are affected.
  7947.  
  7948. Source: ECMA-48 5th Ed. 7.2.7
  7949. Status: standard
  7950. -------------------------------------------------------------------------------
  7951. Mode: 2
  7952. Mnemonic: KAM
  7953. Description: Keyboard action mode
  7954.  
  7955. ENABLED (reset):
  7956. All or part of the manual input facilities are enabled to be used.
  7957.  
  7958. DISABLED (set):
  7959. All or part of the manual input facilities are disabled.
  7960.  
  7961. NOTE
  7962. No control functions are affected.
  7963.  
  7964. Source: ECMA-48 5th Ed. 7.2.11
  7965. Status: standard
  7966. -------------------------------------------------------------------------------
  7967. Mode: 3
  7968. Mnemonic: CRM
  7969. Description: Control representation mode
  7970.  
  7971. CONTROL (reset):
  7972. All control functions are performed as defined; the way formator
  7973. functions are processed depends on the setting of the FORMAT EFFECTOR
  7974. ACTION MODE (FEAM). A device may choose to image the graphical
  7975. representations of control functions in addition to performing them.
  7976.  
  7977. GRAPHIC (set):
  7978. All control functions, except RESET MODE (RM), are treated as graphic
  7979. characters. A device may choose to perform some control functions in
  7980. addition to storing them and imaging their graphical representations.
  7981.  
  7982. NOTE
  7983. All control functions, except RM, are affected.
  7984.  
  7985. Source: ECMA-48 5th Ed. 7.2.2
  7986. Status: standard
  7987. -------------------------------------------------------------------------------
  7988. Mode: 4
  7989. Mnemonic: IRM
  7990. Description: Insertion replacement mode
  7991.  
  7992. REPLACE (reset):
  7993. The graphic symbol of a graphic character or of a control function,
  7994. for which a graphical representation is required, replaces (or,
  7995. depending upon the implementation, is combined with) the graphic
  7996. symbol imaged at the active presentation position.
  7997.  
  7998. INSERT (set):
  7999. The graphic symbol of a graphic character or of a control function,
  8000. for which a graphical representation is required, is inserted at the
  8001. active presentation position.
  8002.  
  8003. NOTE
  8004. Only control functions for which a graphical representation is
  8005. required are affected.
  8006.  
  8007. Source: ECMA-48 5th Ed. 7.2.10
  8008. Status: standard
  8009. -------------------------------------------------------------------------------
  8010. Mode: 5
  8011. Mnemonic: SRTM
  8012. Description: Status report transfer mode
  8013.  
  8014. NORMAL (reset):
  8015. Status reports in the form of DEVICE CONTROL STRINGs (DCS) are not
  8016. generated automatically.
  8017.  
  8018. DIAGNOSTIC (set):
  8019. Status reports in the form of DEVICE CONTROL STRINGs (DCS) are
  8020. included in every data stream transmitted or transferred.
  8021.  
  8022. NOTE
  8023. No control functions are affected.
  8024.  
  8025. Source: ECMA-48 5th Ed. 7.2.16
  8026. Status: standard
  8027. -------------------------------------------------------------------------------
  8028. Mode: 6
  8029. Mnemonic: ERM
  8030. Description: Erasure mode
  8031.  
  8032. PROTECT (reset):
  8033. Only the contents of unprotected areas are affected by an erasure
  8034. control function.
  8035.  
  8036. ALL (set):
  8037. The contents of protected as well as of unprotected areas are affected
  8038. by an erasure control function.
  8039.  
  8040. NOTE
  8041. Control functions affected are: EA, ECH, ED, EF, EL.
  8042.  
  8043. Source: ECMA-48 5th Ed. 7.2.4
  8044. Status: standard
  8045. -------------------------------------------------------------------------------
  8046. Mode: 7
  8047. Mnemonic: VEM
  8048. Description: Line editing mode
  8049.  
  8050. FOLLOWING (reset):
  8051.  
  8052. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to PRESENTATION, a
  8053. line insertion causes the contents of the active line (the line that
  8054. contains the active presentation position) and of the following lines
  8055. in the presentation component to be shifted in the direction of the
  8056. line progression; a line deletion causes the contents of the lines
  8057. following the active line to be shifted in the direction opposite to
  8058. that of the line progression.
  8059.  
  8060. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to DATA, a line
  8061. insertion causes the contents of the active line (the line that
  8062. contains the active data position) and of the following lines in the
  8063. data component to be shifted in the direction of the line progression;
  8064. a line deletion causes the contents of the lines following the active
  8065. line to be shifted in the direction opposite to that of the line
  8066. progression.
  8067.  
  8068. PRECEDING (set):
  8069. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to PRESENTATION, a
  8070. line insertion causes the contents of the active line (the line that
  8071. contains the active presentation position) and of the preceding lines
  8072. to be shifted in the direction opposite to that of the line
  8073. progression; a line deletion causes the contents of the lines
  8074. preceding the active line to be shifted in the direction of the line
  8075. progression.
  8076.  
  8077. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to DATA, a line
  8078. insertion causes the contents of the active line (the line that
  8079. contains the active data position) and of the preceding lines to be
  8080. shifted in the direction opposite to that of the line progression; a
  8081. line deletion causes the contents of the lines preceding the active
  8082. line to be shifted in the direction of the line progression.
  8083.  
  8084. NOTE
  8085. Control functions affected are: DL, IL.
  8086.  
  8087. Source: ECMA-48 5th Ed. 7.2.19
  8088. Status: standard
  8089. -------------------------------------------------------------------------------
  8090. Mode: 8
  8091. Mnemonic: BDSM
  8092. Description: Bi-directional support mode
  8093.  
  8094. EXPLICIT (reset):
  8095. Control functions are performed in the data component or in the
  8096. presentation component, depending on the setting of the DEVICE
  8097. COMPONENT SELECT MODE (DCSM).
  8098.  
  8099. IMPLICIT (set):
  8100. Control functions are performed in the data component. All
  8101. bi-directional aspects of data are handled by the device itself.
  8102.  
  8103. Source: ECMA-48 5th Ed. 7.2.1
  8104. Status: standard
  8105. -------------------------------------------------------------------------------
  8106. Mode: 9
  8107. Mnemonic: DCSM
  8108. Description: Device component select mode
  8109.  
  8110. PRESENTATION (reset):
  8111. Certain control functions are performed in the presentation
  8112. component. The active presentation position (or the active line, where
  8113. applicable) in the presentation component is the reference position
  8114. against which the relevant control functions are performed.
  8115.  
  8116. DATA (set):
  8117. Certain control functions are performed in the data component. The
  8118. active data position (or the active line, where applicable) in the
  8119. data component is the reference position against which the relevant
  8120. control functions are performed.
  8121.  
  8122. NOTE
  8123. Control functions affected are: CPR, CR, DCH, DL, EA, ECH, ED, EF, EL,
  8124. ICH, IL, LF, NEL, RI, SLH, SLL, SPH, SPL.
  8125.  
  8126. Source: ECMA-48 5th Ed. 7.2.3
  8127. Status: standard
  8128. -------------------------------------------------------------------------------
  8129. Mode: 10
  8130. Mnemonic: HEM
  8131. Description: Character editing mode
  8132.  
  8133. FOLLOWING (reset):
  8134. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to PRESENTATION, a
  8135. character insertion causes the contents of the active presentation
  8136. position and of the following character positions in the presentation
  8137. component to be shifted in the direction of the character path; a
  8138. character deletion causes the contents of the character positions
  8139. following the active presentation position to be shifted in the
  8140. direction opposite to that of the character path.
  8141.  
  8142. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to DATA, a character
  8143. insertion causes the contents of the active data position and of the
  8144. following character positions in the data component to be shifted in
  8145. the direction of the character progression; a character deletion
  8146. causes the contents of the character positions following the active
  8147. data position to be shifted in the direction opposite to that of the
  8148. character progression.
  8149.  
  8150. PRECEDING:
  8151. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to PRESENTATION, a
  8152. character insertion causes the contents of the active presentation
  8153. position and of the following character positions in the presentation
  8154. component to be shifted in the direction opposite to that of the
  8155. character path; a character deletion causes the contents of the
  8156. character positions following the active presentation position to be
  8157. shifted in the direction of the character path.
  8158.  
  8159. If the DEVICE COMPONENT SELECT MODE (DCSM) is set to DATA, a character
  8160. insertion causes the contents of the active data position and of
  8161. preceding character positions in the data component to be shifted in
  8162. the direction opposite to that of the character progression; a
  8163. character deletion causes the contents of the character positions
  8164. preceding the active data position to be shifted in the direction of
  8165. the character progression.
  8166.  
  8167. NOTE
  8168. Control functions affected are: DCH, ICH.
  8169.  
  8170. Source: ECMA-48 5th Ed. 7.2.9
  8171. Status: standard
  8172. -------------------------------------------------------------------------------
  8173. Mode: 11
  8174. Mnemonic: PUM
  8175. Description: Positioning unit mode
  8176.  
  8177. CHARACTER (reset):
  8178. The unit for numeric parameters of the positioning format effectors is
  8179. one character position.
  8180.  
  8181. SIZE (set):
  8182. The unit for numeric parameters of the positioning format effectors is
  8183. that established by the parameter value of SELECT SIZE UNIT (SSU).
  8184.  
  8185. NOTE 1
  8186. Control functions affected are: CUB, CUD, CUF, CUU, HPA, HPB, HPR,
  8187. HVP, SLH, SLL, SSU, VPA, VPB, VPR..
  8188.  
  8189. NOTE 2
  8190. As the default parameter value of the control function SELECT SIZE
  8191. UNIT (SSU) is CHARACTER, this mode is redundant and should no longer
  8192. be used.
  8193.  
  8194. Source: ECMA-48 5th Ed. F.4.1
  8195. Status: standard; deprecated
  8196. -------------------------------------------------------------------------------
  8197. Mode: 12
  8198. Mnemonic: SRM
  8199. Description: Send/receive mode
  8200.  
  8201. MONITOR (reset):
  8202. Data which are locally entered are immediately imaged.
  8203.  
  8204. SIMULTANEOUS:
  8205. Local input facilities are logically disconnected from the output
  8206. mechanism; only data which are sent to the device are imaged.
  8207.  
  8208. NOTE
  8209. No control functions are affected.
  8210.  
  8211. Source: ECMA-48 5th Ed. 7.2.15
  8212. Status: standard
  8213. -------------------------------------------------------------------------------
  8214. Mode: 13
  8215. Mnemonic: FEAM
  8216. Description: Format effector action mode
  8217.  
  8218. EXECUTE (reset):
  8219. Formator functions are performed immediately and may be stored in
  8220. addition to being performed.
  8221.  
  8222. STORE (set):
  8223. Formator functions are stored but not performed. In this case, the
  8224. specified action is intended to be performed by another device when
  8225. the associated data are transmitted or transferred.
  8226.  
  8227. NOTE
  8228. Control functions affected are: BPH, BS, CR, DTA, FF, FNT, GCC, GSM,
  8229. GSS, HPA, HPB, HPR, HT, HTJ, HTS, HVP, JFY, NEL, PEC, PFS, PLD, PLU,
  8230. PPA, PPB, PPR, PTX, QUAD, RI, SACS, SAPV, SCO, SCS, SGR, SHS, SLH,
  8231. SLL, SLS, SPD, SPI, SPQR, SRCS, SRS, SSU, SSW, STAB, SVS, TAC, TALE,
  8232. TATE, TBC, TCC, TSS, VPA, VPB, VPR, VTS.
  8233.  
  8234. Source: ECMA-48 5th Ed. 7.2.5
  8235. Status: standard
  8236. -------------------------------------------------------------------------------
  8237. Mode: 14
  8238. Mnemonic: FETM
  8239. Description: Format effector transfer mode
  8240.  
  8241. INSERT (reset):
  8242. Formator functions may be inserted in a data stream to be transmitted
  8243. or in data to be transferred to an auxiliary input/output device.
  8244.  
  8245. EXCLUDE:
  8246. No formator functions other than those received while the FORMAT
  8247. EFFECTOR ACTION MODE (FEAM) is set to STORE are included in a
  8248. transmitted data stream or in data transferred to an auxiliary
  8249. input/output device.
  8250.  
  8251. NOTE
  8252. No control functions are affected.
  8253.  
  8254. Source: ECMA-48 5th Ed. 7.2.6
  8255. Status: standard
  8256. -------------------------------------------------------------------------------
  8257. Mode: 15
  8258. Mnemonic: MATM
  8259. Description: Multiple area transfer mode
  8260.  
  8261. SINGLE (reset):
  8262. Only the contents of the selected area which contains the active
  8263. presentation position are eligible to be transmitted or transferred.
  8264.  
  8265. MULTIPLE (set):
  8266. The contents of all selected areas are eligible to be transmitted or
  8267. transferred.
  8268.  
  8269. NOTE
  8270. No control functions are affected.
  8271.  
  8272. Source: ECMA-48 5th Ed. 7.2.12
  8273. Status: standard
  8274. -------------------------------------------------------------------------------
  8275. Mode: 16
  8276. Mnemonic: TTM
  8277. Description: Transfer termination mode
  8278.  
  8279. CURSOR (reset):
  8280. Only the contents of the character positions preceding the active
  8281. presentation position in the presentation component are eligible to be
  8282. transmitted or transferred.
  8283.  
  8284. ALL (set):
  8285. The contents of character positions preceding, following, and at the
  8286. active presentation position are eligible to be transmitted or
  8287. transferred.
  8288.  
  8289. NOTE
  8290. No control functions are affected.
  8291.  
  8292. Source: ECMA-48 5th Ed. 7.2.18
  8293. -------------------------------------------------------------------------------
  8294. Mode: 17
  8295. Mnemonic: SATM
  8296. Description: Selected area transfer mode
  8297.  
  8298. SELECT (reset):
  8299. Only the contents of selected areas are eligible to be transmitted or
  8300. transferred.
  8301.  
  8302. ALL (set):
  8303. The contents of all character positions, irrespective of any
  8304. explicitly defined selected areas, are eligible to be transmitted or
  8305. transferred.
  8306.  
  8307. NOTE
  8308. No control functions are affected.
  8309.  
  8310. Source: ECMA-48 5th Ed. 7.2.14
  8311. Status: standard
  8312. -------------------------------------------------------------------------------
  8313. Mode: 18
  8314. Mnemonic: TSM
  8315. Description: Tabulation stop mode
  8316.  
  8317. MULTIPLE (reset):
  8318. Character tabulation stops in the presentation component are set or
  8319. cleared in the active line (the line that contains the active
  8320. presentation position) and in the corresponding character positions of
  8321. the preceding lines and of the following lines.
  8322.  
  8323. SINGLE (set):
  8324. Character tabulation stops in the presentation component are set or
  8325. cleared in the active line only.
  8326.  
  8327. NOTE
  8328. Control functions affected are: CTC, DL, HTS, IL, TBC.
  8329.  
  8330. Source: ECMA-48 5th Ed. 7.2.17
  8331. Status: standard
  8332. -------------------------------------------------------------------------------
  8333. Mode: 19
  8334. Mnemonic: EBM
  8335. Description: Editing boundary mode
  8336.  
  8337. The mode EDITING BOUNDARY MODE (EBM) the use of which was already
  8338. declared deprecated in the fourth Edition of this Standard has now
  8339. been removed.
  8340.  
  8341. Source: ECMA-48 5th Ed. F.5.1
  8342. Status: standard; obsolete
  8343. -------------------------------------------------------------------------------
  8344. Mode: 20
  8345. Mnemonic: LNM
  8346. Description: Line feed/new line mode
  8347.  
  8348. The mode LINE FEED/NEW LINE MODE (LF/NL) the use of which was already
  8349. declared deprecated in the fourth Edition of this Standard has now
  8350. been removed.
  8351.  
  8352. Source: ECMA-48 5th Ed. F.5.2
  8353.  
  8354. set: Causes a received LF, FF, or VT code to move the cursor to the
  8355. first column of the next line. RETURN transmits both a CR and a LF
  8356. code.
  8357.  
  8358. reset: Causes a received LF, FF, or VT code to move the cursor to the
  8359. next line in the current column. RETURN transmits a CR code only.
  8360.  
  8361. Source: <URL:http://vt100.net/docs/vt220-rm/chapter4.html>
  8362. Status: standard; obsolete
  8363. -------------------------------------------------------------------------------
  8364. Mode: 21
  8365. Mnemonic: GRCM
  8366. Description: Graphic rendition combination mode
  8367.  
  8368. REPLACING (reset):
  8369. Each occurrence of the control function SELECT GRAPHIC RENDITION (SGR)
  8370. cancels the effect of any preceding occurrence. Any graphic rendition
  8371. aspects that are to remain unchanged after an occurrence of SGR have
  8372. to be re-specified by that SGR.
  8373.  
  8374. CUMULATIVE (set):
  8375. Each occurrence of the control function SELECT GRAPHIC RENDITION (SGR)
  8376. causes only those graphic rendition aspects to be changed that are
  8377. specified by that SGR. All other graphic rendition aspects remain
  8378. unchanged.
  8379.  
  8380. NOTE
  8381. Control function affected is SGR.
  8382.  
  8383. Source: ECMA-48 5th Ed. 7.2.8
  8384. Status: standard
  8385. -------------------------------------------------------------------------------
  8386. Mode: 22
  8387. Mnemonic: ZDM
  8388. Description: Zero default mode
  8389.  
  8390. ZERO (reset):
  8391. A parameter value of 0 of a control function means the number 0.
  8392.  
  8393. DEFAULT (set):
  8394. A parameter value of 0 represents a default parameter value which may
  8395. be different from 0.
  8396.  
  8397. NOTE 1
  8398. This mode was provided for implementations of the first edition of
  8399. this Standard which specified that "an empty parameter sub-string or a
  8400. parameter sub-string which consists of bit combinations 03/00 only
  8401. represents a default value which depends on the control function".
  8402.  
  8403. For numeric parameters which are expressed in units established by the
  8404. parameter value of SELECT SIZE UNIT (SSU) the value 0 could then be
  8405. specified. For numeric parameters which are effectively repeat counts,
  8406. a 0 parameter value corresponded to a "no-op". In either instance,
  8407. non-negative computed numeric parameter values might have been used
  8408. without treating 0 as a special (unusable) case.
  8409.  
  8410. Where an explicit parameter value was not used, implementors were
  8411. urged to omit a parameter value (use an empty parameter sub-string) to
  8412. imply a default parameter value.
  8413.  
  8414. Control functions affected are: CBT, CHA, CHT, CNL, CPL, CPR, CUB,
  8415. CUD, CUF, CUP, CUU, CVT, DCH, DL, ECH, GSM, HPA, HPB, HPR, HVP, ICH,
  8416. IL, NP, PP, PPA, PPB, PPR, REP, SD, SL, SR, SU, TCC, VPA, VPB, VPR.
  8417.  
  8418. NOTE 2
  8419. Since the publication of the first edition of this Standard in 1976
  8420. almost 15 years have expired. The use of this mode should no longer be
  8421. required because the definition of default parameter values has been
  8422. changed.
  8423.  
  8424. Source: ECMA-48 5th Ed. F.4.2
  8425. Status: standard; deprecated
  8426. -------------------------------------------------------------------------------
  8427. Mode: 30
  8428. Description: Display disable mode
  8429.  
  8430. Source: <URL:http://www.wyse.com/service/support/kbase/SEQwt.asp?Q=9>
  8431. Status: Wyse private; clashes with ECMA-48
  8432. -------------------------------------------------------------------------------
  8433. Mode: 31
  8434. Description: Status line display mode
  8435.  
  8436. Source: <URL:http://www.wyse.com/service/support/kbase/SEQwt.asp?Q=9>
  8437. Status: Wyse private; clashes with ECMA-48
  8438. -------------------------------------------------------------------------------
  8439. Mode: 32
  8440. Description: Steady cursor mode
  8441.  
  8442. Source: <URL:http://www.wyse.com/service/support/kbase/SEQwt.asp?Q=9>
  8443. Status: Wyse private; clashes with ECMA-48
  8444. -------------------------------------------------------------------------------
  8445. Mode: 33
  8446. Mnemonic: WYSTCURM
  8447. Description: Wyse steady cursor mode
  8448.  
  8449. Cursor   steady: <esc> [ 33 h
  8450. Cursor blinking: <esc> [ 33 l   (that's a small ell, not eye)
  8451.  
  8452. Source:
  8453.  <URL:http://www.cs.utk.edu/~shuford/terminal/ansi_dec_controls_news.txt>
  8454. Status: Wyse private; clashes with ECMA-48
  8455. -------------------------------------------------------------------------------
  8456. Mode: 34
  8457. Mnemonic: WYULCURM
  8458. Description: Wyse underline cursor mode
  8459.  
  8460. Cursor    block: <esc> [ 34 l   (ell)
  8461. Cursor     line: <esc> [ 34 h
  8462.  
  8463. Source:
  8464.  <URL:http://www.cs.utk.edu/~shuford/terminal/ansi_dec_controls_news.txt>
  8465. Status: Wyse private; clashes with ECMA-48
  8466. -------------------------------------------------------------------------------
  8467. Mode: 35
  8468. Description: Width change clear mode
  8469.  
  8470. Source: <URL:http://www.wyse.com/service/support/kbase/SEQwt.asp?Q=9>
  8471. Status: Wyse private; clashes with ECMA-48
  8472. -------------------------------------------------------------------------------
  8473. Mode: 53
  8474. Description: 80/132 column switch
  8475.  
  8476. set:   132 columns
  8477. reset: 80 columns
  8478.  
  8479. Source: jaltman@watsun.cc.columbia.edu (Jeffrey Altman) in comp.terminals
  8480.         <7svop9$f9u$1@newsmaster.cc.columbia.edu>
  8481. Status: Siemens 97801-5xx private; clashes with ECMA-48
  8482. -------------------------------------------------------------------------------
  8483. Mode: <0
  8484. Description: Roll mode
  8485.  
  8486. When reset, commands that would move the cursor beyond the 24th line
  8487. of the screen cause the screen to scroll.  When set, such commands
  8488. cause the cursor to move to the top line.
  8489.  
  8490. Source: Dasher D410 and D460 Display Terminals User's Manual
  8491.     <URL:http://vt100.net/dg/dasher_d410_d460_users_manual.pdf>
  8492. Status: Data General private
  8493. -------------------------------------------------------------------------------
  8494. Mode: <1
  8495. Description: Blink mode
  8496.  
  8497. When set, the blink attribute in CSR will be ignored.
  8498.  
  8499. Source: Dasher D410 and D460 Display Terminals User's Manual
  8500.     <URL:http://vt100.net/dg/dasher_d410_d460_users_manual.pdf>
  8501. Status: Data General private
  8502. -------------------------------------------------------------------------------
  8503. Mode: <2
  8504. Description: Horizontal scroll mode
  8505.  
  8506. set:   Horizontal scroll enabled
  8507. reset: Horizontal scroll disabled
  8508.  
  8509. Source: Dasher D410 and D460 Display Terminals User's Manual
  8510.     <URL:http://vt100.net/dg/dasher_d410_d460_users_manual.pdf>
  8511. Status: Data General private
  8512. -------------------------------------------------------------------------------
  8513. Mode: <3
  8514. Description: DG/ANSI mode
  8515.  
  8516. set:   Use ANSI command sequences.
  8517. reset: Use DG command sequences.
  8518.  
  8519. Source: Dasher D410 and D460 Display Terminals User's Manual
  8520.     <URL:http://vt100.net/dg/dasher_d410_d460_users_manual.pdf>
  8521. Status: Data General private
  8522. -------------------------------------------------------------------------------
  8523. Mode: <4
  8524. Description: Forms mode
  8525.  
  8526. When reset, a Local Print command will print all characters.  When
  8527. set, only characters displayed at full intensity will be printed.
  8528.  
  8529. Source: Dasher D410 and D460 Display Terminals User's Manual
  8530.     <URL:http://vt100.net/dg/dasher_d410_d460_users_manual.pdf>
  8531. Status: Data General private
  8532. -------------------------------------------------------------------------------
  8533. Mode: <5
  8534. Description: Margins mode
  8535.  
  8536. In the reset state, editing operations operate irrespective of
  8537. margins; in the set state, editing operations take place within the
  8538. margins.  The commands affected include: IL, ED, EL, ICH DCH.
  8539.  
  8540. Source: Dasher D410 and D460 Display Terminals User's Manual
  8541.     <URL:http://vt100.net/dg/dasher_d410_d460_users_manual.pdf>
  8542. Status: Data General private
  8543. -------------------------------------------------------------------------------
  8544. Mode: =6
  8545. Description: Lock display
  8546.  
  8547. Lock display. When set, this mode causes xwsh to keep its display set
  8548. to the current location in the retain buffer. Any scrolling
  8549. activities, line insert/deletes will not affect the retain buffer that
  8550. is outside of the display. When reset, scrolling off the bottom will
  8551. move the display to track the bottom of the retain buffer. When the
  8552. lock is set, the scroll bar is disabled, as well as any extend
  8553. selection mechanisms that might cause a scroll. The normal mode is in
  8554. the reset state, but the standard terminfo for iris-ansi causes visual
  8555. programs to lock the display.
  8556.  
  8557. Source: IRIX 6.5.5 xwsh(1G)
  8558. Status: SGI private
  8559. -------------------------------------------------------------------------------
  8560. Mode: =9
  8561. Description: Enable visual bell
  8562.  
  8563. Enable visual bell. When set, xwsh will flash the display when it
  8564. receives an octal 7 instead of ringing the bell. When reset it asks X
  8565. to ring the bell.
  8566.  
  8567. Source: IRIX 6.5.5 xwsh(1G)
  8568. Status: SGI private
  8569. -------------------------------------------------------------------------------
  8570. Mode: =12
  8571. Description: Overlay mode
  8572.  
  8573. Overlay mode. When set, xwsh moves its display into the overlay
  8574. planes. When reset, xwsh displays in the default visual. This is no
  8575. longer functional as of IRIX 4.0. The escape sequence is now ignored.
  8576.  
  8577. Source: IRIX 6.5.5 xwsh(1G)
  8578. Status: SGI private
  8579. -------------------------------------------------------------------------------
  8580. Mode: ?1
  8581. Mnemonic: DECCKM
  8582. Description: Cursor key mode
  8583.  
  8584.         This is a private parameter to the SM and RM control requences.  This
  8585.         mode is only effective when the terminal is in keypad application mode
  8586.         (DECPAM) and the ANSI/VT52 mode (DECANM) is set.  Under these
  8587.         conditions, if this mode is reset, the cursor keys will send ANSI
  8588.         cursor control commands.  If setm the cursor keys will send application
  8589.         function commands.
  8590.  
  8591. Source: <URL: http://www.cs.utk.edu/~shuford/terminal/vt100_codes_news.txt>
  8592.  
  8593. DECCKM (default off): When set, the cursor keys send an ESC O prefix,
  8594. rather than ESC [.
  8595.  
  8596. Source: Linux console_codes(4)
  8597. Status: DEC private; VT100
  8598. -------------------------------------------------------------------------------
  8599. Mode: ?2
  8600. Mnemonic: DECANM
  8601. Description: ANSI/VT52 Mode
  8602.  
  8603.         This is a private parameter to the SM and RM control sequences.  The
  8604.         reset state causes only VT52 compatible escape sequences to be
  8605.         recognized.  The set state causes only ANSI compatible escape sequences
  8606.         to be recognized.
  8607.  
  8608. Source: <URL: http://www.cs.utk.edu/~shuford/terminal/vt100_codes_news.txt>
  8609. Status: DEC private; VT100
  8610. -------------------------------------------------------------------------------
  8611. Mode: ?3
  8612. Mnemonic: DECCOLM
  8613. Description: Column mode
  8614.  
  8615.         This is a private parameter to the SM and RM control sequences.  The
  8616.         reset state causes an 80 column screen to be used.  The set state
  8617.         causes a 132 column screen to be used.
  8618.  
  8619. Source: <URL: http://www.cs.utk.edu/~shuford/terminal/vt100_codes_news.txt>
  8620. Status: DEC private; VT100
  8621. -------------------------------------------------------------------------------
  8622. Mode: ?4
  8623. Mnemonic: DECSCLM
  8624. Description: Scrolling mode
  8625.  
  8626.         This is a private parameter to RM and SM control sequences.  The reset
  8627.         state causes scrolls to "jump" instantaneuously one line at a time.
  8628.         The set state causes the scrolls to be "smooth", and scrolls at a
  8629.         maximum rate of six lines/sec.
  8630.  
  8631. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/vt100_codes_news.txt>
  8632. Status: DEC private; VT100
  8633. -------------------------------------------------------------------------------
  8634. Mode: ?5
  8635. Mnemonic: DECSCNM
  8636. Description: Screen mode
  8637.  
  8638.         This is a private parameter to RM and SM control sequences.  The reset
  8639.         state causes the screen to be black with white characters; the set
  8640.         state causes the screen to be white with black characters.
  8641.  
  8642. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/vt100_codes_news.txt>
  8643. Status: DEC private; VT100
  8644. -------------------------------------------------------------------------------
  8645. Mode: ?6
  8646. Mnemoic: DECOM
  8647. Description: Origin mode
  8648.  
  8649.         This is a private parameter to SM and RM control sequences.  The reset
  8650.         state causes the origin (or home position) to be the upper left
  8651.         character position of the screen.  Line and column numbers are,
  8652.         therefore, independent of current margin settings.  The cursor may be
  8653.         positioned outside the margins with a cursor position (CUP) or
  8654.         horizontal and vertical position (HVP) control.
  8655.  
  8656.         The set state causes the origin to be at the upper left character
  8657.         position within the current margins.  Line and column numbers are,
  8658.         therefore, relative to the current margin settings.  The cursor cannot
  8659.         be positioned outside of the margins.
  8660.  
  8661.         The cursor is moved to the new home position when this mode is set or
  8662.         reset.  Lines and columns are numbered consecutively, with the origin
  8663.         being line 1, column 1.
  8664.  
  8665.     The scroll margins are set using the DECSTBM control sequence.
  8666.  
  8667. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/vt100_codes_news.txt>
  8668. Status: DEC private; VT100
  8669. -------------------------------------------------------------------------------
  8670. Mode: ?7
  8671. Mnemonic: DECAWM
  8672. Description: Autowrap mode
  8673.  
  8674.         This is a private parameter to the SM and RM control sequences.  The
  8675.         reset state prevents the cursor from moving when characters are
  8676.         recieved while at the right margin.  The set state causes these
  8677.         characters to advance to the next line, causing a scroll up if required
  8678.         and permitted.  See MODES, SM, and RM.
  8679.  
  8680. Source: <URL: http://www.cs.utk.edu/~shuford/terminal/vt100_codes_news.txt>
  8681. Status: DEC private; VT100
  8682. -------------------------------------------------------------------------------
  8683. Mode: ?8
  8684. Mnemonic: DECARM
  8685. Description: Auto repeat mode
  8686.  
  8687.         This is a private parameter to the SM and RM control sequences.  The
  8688.         reset state causes no keyboard keys to auto-repeat, the set state
  8689.         causes most of them to.
  8690.  
  8691. Source: <URL: http://www.cs.utk.edu/~shuford/terminal/vt100_codes_news.txt>
  8692. Status: DEC private; VT100
  8693. -------------------------------------------------------------------------------
  8694. Mode: ?9
  8695. Mnemonic: DECINLM
  8696. Description: Interlace mode
  8697.  
  8698.         This is a private parameter to the RM and SM control sequences.  The
  8699.         reset state (non-interlace) causes the video processor to display 240
  8700.         scan lines per frame.  The set state causes the video processor to
  8701.         display 480 scan lines per screen.  See MODES, RM, and SM.
  8702.  
  8703. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/vt100_codes_news.txt>
  8704. Status: DEC private; VT100
  8705. -------------------------------------------------------------------------------
  8706. Mode: ?9
  8707. Description: X10 mouse reporting
  8708.  
  8709. Parameters (such as pointer position and button number) for all mouse
  8710. tracking escape sequences generated by xterm encode numeric parameters
  8711. in a single character as value+32.  For example, !  specifies the value
  8712. 1.  The upper left character position on the terminal is denoted as 1,1.
  8713.  
  8714. X10 compatibility mode sends an escape sequence only on button press,
  8715. encoding the location and the mouse button pressed.  It is enabled by
  8716. specifying parameter 9 to DECSET.  On button press, xterm sends CSI M
  8717. CbCxCy (6 characters).  Cb is button-1.  Cx and Cy are the x and y coor-
  8718. dinates of the mouse when the button was pressed.
  8719.  
  8720. Source: XFree86: xc/doc/specs/xterm/ctlseqs.ms,v 3.29 1999/09/27 06:29:05
  8721. Status: xterm private
  8722. -------------------------------------------------------------------------------
  8723. Mode: ?10
  8724. Mnemonic: DECEDM
  8725. Description: Editing mode
  8726.  
  8727. set -> Edit
  8728. reset -> Interactive
  8729.  
  8730. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pC26
  8731. Status: DEC private; VT131
  8732. -------------------------------------------------------------------------------
  8733. Mode: ?11
  8734. Mnemonic: DECLTM
  8735. Description: Line Transmit mode
  8736.  
  8737. set -> On
  8738. reset -> Off
  8739.  
  8740. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pC26
  8741. Status: DEC private; VT131
  8742. -------------------------------------------------------------------------------
  8743. Mode: ?13
  8744. Mnemonic: DECSCFDM
  8745. Description: Space compression/field delimiter mode
  8746.  
  8747. set -> On
  8748. reset -> Off
  8749.  
  8750. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pC26
  8751. Status: DEC private; VT131
  8752. -------------------------------------------------------------------------------
  8753. Mode: ?14
  8754. Mnemonic: DECTEM
  8755. Description: Transmit execution mode
  8756.  
  8757. set -> Immediate
  8758. reset -> Deferred
  8759.  
  8760. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pC26
  8761. Status: DEC private; VT131
  8762. -------------------------------------------------------------------------------
  8763. Mode: ?16
  8764. Mnemonic: DECEKEM
  8765. Description: Edit key execution mode
  8766.  
  8767. set -> Immediate
  8768. reset -> Deferred
  8769.  
  8770. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pC26
  8771. Status: DEC private; VT131
  8772. -------------------------------------------------------------------------------
  8773. Mode: ?18
  8774. Mnemonic: DECPFF
  8775. Description: Print form feed mode
  8776.  
  8777. set: Selects form feed (FF) as print termination character. The
  8778. terminal transmits this character to the printer after each print
  8779. screen operation.
  8780.  
  8781. reset: Select no termination character. The terminal does not transmit
  8782. a form feed (FF) to the printer after each print screen operation.
  8783.  
  8784. Source: <URL:http://vt100.net/docs/vt220-rm/chapter4.html>
  8785. Status: DEC private
  8786. -------------------------------------------------------------------------------
  8787. Mode: ?19
  8788. Mnemonic: DECPEX
  8789. Description: Printer extent
  8790.  
  8791. set -> screen
  8792. reset -> scrolling region
  8793.  
  8794. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/dec_vt220_codes.txt>
  8795. Status: DEC private
  8796. -------------------------------------------------------------------------------
  8797. Mode: ?24
  8798. Description: Print density
  8799.  
  8800. set -> Sets printing to low density operation
  8801. reset -> Sets printing to high density operation
  8802.  
  8803. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE21
  8804. Status: DEC private, LA12
  8805. -------------------------------------------------------------------------------
  8806. Mode: ?25
  8807. Mnemonic: DECTCEM
  8808. Description: Text cursor enable mode
  8809.  
  8810. set -> visible
  8811. reset -> invisible
  8812.  
  8813. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/dec_vt220_codes.txt>
  8814. Status: DEC private
  8815. -------------------------------------------------------------------------------
  8816. Mode: ?27
  8817. Mnemonic: DECPSP
  8818. Description: Proportional spacing
  8819.  
  8820. set -> sets proportional spacing
  8821. reset -> clears proportional spacing
  8822.  
  8823. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE99
  8824. Status: DEC private; LQP02
  8825. -------------------------------------------------------------------------------
  8826. Mode: ?29
  8827. Mnemonic: DECPSM
  8828. Description: Pitch select mode
  8829.  
  8830. set -> Sets pitch select mode to current DPS pitches mode
  8831. reset -> Sets pitch select mode to all pitches mode
  8832.  
  8833. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56
  8834. Status: DEC private
  8835. -------------------------------------------------------------------------------
  8836. Mode: ?30
  8837. Description: Scroll bar mode
  8838.  
  8839. set -> Show scrollbar
  8840. reset -> Don't show scrollbar
  8841.  
  8842. Source: XFree86: xc/doc/specs/xterm/ctlseqs.ms,v 3.29 1999/09/27 06:29:05
  8843. Status: rxvt private
  8844. -------------------------------------------------------------------------------
  8845. Mode: ?34
  8846. Mnemonic: DECRLM
  8847. Description: Writing
  8848.  
  8849. set -> right to left
  8850. reset -> left to right
  8851.  
  8852. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/dec_vt220_codes.txt>
  8853. Status: DEC private
  8854. -------------------------------------------------------------------------------
  8855. Mode: ?35
  8856. Mnemonic: DECHEBM
  8857.  
  8858. (Kermit) Invoke macro:  KEYBOARDS      KEYBOARDR
  8859.                          +++ VT320 DEC supplements for Hebrew systems adapted
  8860.                              from VT420-Hebrew terminals, invokes a new
  8861.                              keyboard map. Kermit invokes macros above.
  8862.  
  8863. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/dec_vt220_codes.txt>
  8864. Status: DEC private
  8865. -------------------------------------------------------------------------------
  8866. Mode: ?35
  8867. Description: Shifted key-functions
  8868.  
  8869. set -> Enable shifted key-functions
  8870. reset -> Disable shifted key-functions
  8871.  
  8872. Source: XFree86: xc/doc/specs/xterm/ctlseqs.ms,v 3.29 1999/09/27 06:29:05
  8873. Status: rxvt private
  8874. -------------------------------------------------------------------------------
  8875. Mode: ?36
  8876. Mnemonic: DECHEM
  8877. Description: Hebrew encoding
  8878.  
  8879. set -> Multinational
  8880. reset -> Hebrew NRC
  8881.  
  8882. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/dec_vt220_codes.txt>
  8883. Status: DEC private
  8884. -------------------------------------------------------------------------------
  8885. Mode: ?38
  8886. Mnemonic: DECTEK
  8887. Description: Graphics (Tek)
  8888.  
  8889. set -> Enter Tektromix mode
  8890. reset -> [ not possible ]
  8891.  
  8892. Source: XFree86: xc/doc/specs/xterm/ctlseqs.ms,v 3.29 1999/09/27 06:29:05
  8893. Status: DEC? private
  8894. -------------------------------------------------------------------------------
  8895. Mode: ?40
  8896. Mnemonic: DECCRNLM
  8897. Description: Carriage return/new line mode
  8898.  
  8899. set -> Enables LF to go with CR
  8900. reset -> Disables (default)
  8901.  
  8902. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE107
  8903. Status: DEC private; printers
  8904. -------------------------------------------------------------------------------
  8905. Mode: ?40
  8906. Description: Column switch control
  8907.  
  8908. set -> Allow 80 <-> 132 mode
  8909. reset -> Disallow 80 <-> 132 mode
  8910.  
  8911. Source: XFree86: xc/doc/specs/xterm/ctlseqs.ms,v 3.29 1999/09/27 06:29:05
  8912. Status: xterm private
  8913. -------------------------------------------------------------------------------
  8914. Mode: ?41
  8915. Description: print direction
  8916.  
  8917. set -> Prints from left to right
  8918. reset -> Prints bidirectionally
  8919.  
  8920. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE41
  8921. Status: DEC private; LA210
  8922. -------------------------------------------------------------------------------
  8923. Mode: ?41
  8924. Description: more(1) fix
  8925.  
  8926. set ->         This  option  indicates  that  xterm  should  work
  8927.                around a bug in the more(1) program that causes it
  8928.                to incorrectly display lines that are exactly  the
  8929.                width  of  the  window  and are followed by a line
  8930.                beginning with a tab (the  leading  tabs  are  not
  8931.                displayed).
  8932.  
  8933. reset ->       This  option  indicates that xterm should not work
  8934.                around the more(1) bug mentioned above.
  8935.  
  8936. Source: XFree86: xc/doc/specs/xterm/ctlseqs.ms,v 3.29 1999/09/27 06:29:05
  8937. Source: XFree86: xc/programs/xterm/xterm.man,v 3.52 1999/09/27 06:30:25
  8938. Status: xterm private
  8939. -------------------------------------------------------------------------------
  8940. Mode: ?42
  8941. Mnemonic: DECNRCM
  8942. Description: Nat Repl Char
  8943.  
  8944. set -> enable
  8945. reset -> disable
  8946.  
  8947. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/dec_vt220_codes.txt>
  8948. Status: DEC private
  8949. -------------------------------------------------------------------------------
  8950. Mode: ?43
  8951. Mnemonic: DECGEPM
  8952. Description: Expanded/compressed print mode
  8953.  
  8954. set -> Select an expanded image for a graphics print screen.
  8955. reset -> Select a compressed image for a graphics print screen.
  8956.  
  8957. Source: Reflection TRM (VT) Version 7.0
  8958. Status: DEC private
  8959. -------------------------------------------------------------------------------
  8960. Mode: ?44
  8961. Mnemonic: DECGPCM
  8962. Description: Print color/black and white mode
  8963.  
  8964. set -> Send a color image to the printer for a graphics print screen.
  8965.  
  8966. reset -> Send a black and white image to the printer for a graphics
  8967. print screen.
  8968.  
  8969. Source: Reflection TRM (VT) Version 7.0
  8970. Status: DEC private
  8971. -------------------------------------------------------------------------------
  8972. Mode: ?44
  8973. Description: Margin bell
  8974.  
  8975. set -> Turn on margin bell
  8976. reset -> Turn off margin bell
  8977.  
  8978. Source: XFree86: xc/doc/specs/xterm/ctlseqs.ms,v 3.29 1999/09/27 06:29:05
  8979. Status: xterm private
  8980. -------------------------------------------------------------------------------
  8981. Mode: ?45
  8982. Mnemonic: DECGPCS
  8983. Description: Print color syntax
  8984.  
  8985. set -> Select the RGB color format for a graphics print screen.
  8986. reset -> Select the HLS color format for a graphics print screen.
  8987.  
  8988. Source: Reflection TRM (VT) Version 7.0
  8989. Status: DEC private
  8990. -------------------------------------------------------------------------------
  8991. Mode: ?45
  8992. Description: Reverse-wraparound mode
  8993.  
  8994. set -> Reverse-wraparound mode
  8995. reset -> No reverse-wraparound mode
  8996.  
  8997. Source: XFree86: xc/doc/specs/xterm/ctlseqs.ms,v 3.29 1999/09/27 06:29:05
  8998. Status: xterm private
  8999. -------------------------------------------------------------------------------
  9000. Mode: ?46
  9001. Mnemonic: DECGPBM
  9002.  
  9003. set -> Send the entire graphics image, including the background, to
  9004. the printer for a graphics print screen.
  9005.  
  9006. reset -> Send the graphics image, except for the background, to the
  9007. printer for a graphics print screen.
  9008.  
  9009. This applies only when the DECGPCM function is set to send a color image.
  9010.  
  9011. Source: Reflection TRM (VT) Version 7.0
  9012. Status: DEC private
  9013. -------------------------------------------------------------------------------
  9014. Mode: ?46
  9015. Description: Logging mode
  9016.  
  9017. set -> Start logging (normally disabled by a compile-time option)
  9018. reset -> Stop logging
  9019.  
  9020. Source: XFree86: xc/doc/specs/xterm/ctlseqs.ms,v 3.29 1999/09/27 06:29:05
  9021. Status: xterm private
  9022. -------------------------------------------------------------------------------
  9023. Mode: ?47
  9024. Mnemonic: DECGRPM
  9025. Description: Print rotated/compressed mode
  9026.  
  9027. set -> Send a graphics image to the printer rotated 90 degrees.
  9028.  
  9029. reset -> Send a compressed image to the printer.
  9030.  
  9031. Source: Reflection TRM (VT) Version 7.0
  9032. Status: DEC private
  9033. -------------------------------------------------------------------------------
  9034. Mode: ?47
  9035. Description: Alternate screen mode
  9036.  
  9037. set -> Use alternate screen buffer (unless disabled by the titeInhibit
  9038.        resource)
  9039. reset -> Use normal screen buffer
  9040.  
  9041. Source: XFree86: xc/doc/specs/xterm/ctlseqs.ms,v 3.29 1999/09/27 06:29:05
  9042. Status: xterm private
  9043. -------------------------------------------------------------------------------
  9044. Mode: ?51
  9045. Mnemonic: DECBWRM
  9046. Description: Black/white reversal mode
  9047.  
  9048. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE123
  9049. Status: DEC private; LCP01
  9050. -------------------------------------------------------------------------------
  9051. Mode: ?52
  9052. Mnemonic: DECOPM
  9053. Description: Origin placement mode
  9054.  
  9055. set -> Places origin to corner of paper
  9056. reset -> Places origin to corner of printable area (default)
  9057.  
  9058. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE110
  9059. Status: DEC private; LA100, LN03
  9060. -------------------------------------------------------------------------------
  9061. Mode: ?55
  9062. Mnemonic: DECBPM
  9063. Description: Bold  page mode
  9064.  
  9065. Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE123
  9066. Status: DEC private; LCP01
  9067. -------------------------------------------------------------------------------
  9068. Mode: ?60
  9069. Mnemonic: DECHCCM
  9070. Description: Horizontal cursor coupling
  9071.  
  9072. This control function determines whether the user window pans with the
  9073. cursor when the cursor moves past the right or left border of the user
  9074. window. DECHCCM is only useful when the width of the current user
  9075. window is narrower than the page. The cursor must stay on the current
  9076. page.
  9077.  
  9078. set -> Couple the cursor to the display. By default the cursor is
  9079. coupled to the display for horizontal movement. When the cursor moves
  9080. past the right or left border of the user window, the window pans to
  9081. keep the cursor in view. If the cursor moves past the left border of
  9082. the display, the user window pans to the left and new columns appear
  9083. at the right border of the window.
  9084.  
  9085. reset -> Uncouple the cursor from the display. If the cursor is
  9086. uncoupled from the display and is moved past the right or left border
  9087. of the user window, the cursor disappears from view.
  9088.  
  9089. Source: Reflection TRM (VT) Version 7.0
  9090. Status: DEC private; VT400
  9091. -------------------------------------------------------------------------------
  9092. Mode: ?61
  9093. Mnemonic: DECVCCM
  9094. Description: Vertical cursor coupling
  9095.  
  9096. This mode determines whether the user window pans with the cursor when
  9097. the cursor moves past the top or bottom border of the user
  9098. window. DECVCCM is only useful when the height of the current user
  9099. window is smaller than the page. The cursor must stay on the current
  9100. page.
  9101.  
  9102. set -> Couple the cursor to the display. By default the cursor is
  9103. coupled to the display for vertical movement. When the cursor moves
  9104. past the top or bottom border of the user window, the window pans to
  9105. keep the cursor in view. If the cursor moves past the top of the
  9106. display, the user window pans up and new lines appear at the top of
  9107. the screen.
  9108.  
  9109. reset -> Uncouple the cursor from the display. If the cursor is
  9110. uncoupled from the display and is moved past the top or bottom border
  9111. of the user window, the cursor disappears from view.
  9112.  
  9113. Source: Reflection TRM (VT) Version 7.0
  9114. Status: DEC private; VT400
  9115. -------------------------------------------------------------------------------
  9116. Mode: ?64
  9117. Mnemonic: DECPCCM
  9118.  
  9119. This control function determines if a new page appears in the display
  9120. when the cursor moves to a new page. DECPCCM is only useful with a
  9121. multiple-page format.
  9122.  
  9123. set -> Couple the cursor to the display. By default the cursor is
  9124. coupled to the display when the cursor moves to a new page. The new
  9125. page appears in the display to keep the cursor in view.
  9126.  
  9127. reset -> Uncouple the cursor. If the cursor is uncoupled from the
  9128. display and is moved to a new page, the cursor disappears from view.
  9129.  
  9130. Source: Reflection TRM (VT) Version 7.0
  9131. Status: DEC private; VT400
  9132. -------------------------------------------------------------------------------
  9133. Mode: ?66
  9134. Mnemonic: DECNKM
  9135. Description: Numeric keypad
  9136.  
  9137. set -> application
  9138. reset -> numeric
  9139.  
  9140. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/dec_vt220_codes.txt>
  9141. Status: DEC private
  9142. -------------------------------------------------------------------------------
  9143. Mode: ?67
  9144. Mnemonic: DECBKM
  9145. Description: Backspace/delete
  9146.  
  9147. set -> <X| sends backspace
  9148. reset -> <X| sends delete
  9149.  
  9150. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/dec_terminals_news.txt>
  9151. Status: DEC private; VT320
  9152. -------------------------------------------------------------------------------
  9153. Mode: ?68
  9154. Mnemonic: DECKBUM
  9155. Description: Typewriter
  9156.  
  9157. set -> data process
  9158. reset -> typewriter
  9159.  
  9160. Source: <URL:http://www.cs.utk.edu/~shuford/terminal/dec_vt220_codes.txt>
  9161. Status: DEC private
  9162. -------------------------------------------------------------------------------
  9163. Mode: ?80
  9164. Mnemonic: DECSDM
  9165. Description: Sixel scrolling
  9166.  
  9167. set -> enable sixel scrolling (screen scrolls if sixel graphics hit bottom)
  9168. reset -> disable sixel scrolling
  9169.  
  9170. Source: Reflection TRM (VT) Version 7.0
  9171. Status: DEC private
  9172. -------------------------------------------------------------------------------
  9173. Mode: ?1000
  9174. Description: X11 normal mouse tracking
  9175.  
  9176. Parameters (such as pointer position and button number) for all mouse
  9177. tracking escape sequences generated by xterm encode numeric parameters
  9178. in a single character as value+32.  For example, !  specifies the value
  9179. 1.  The upper left character position on the terminal is denoted as 1,1.
  9180.  
  9181. Normal tracking mode sends an escape sequence on both button press and
  9182. release.  Modifier key (shift, ctrl, meta) information is also sent.  It
  9183. is enabled by specifying parameter 1000 to DECSET.  On button press or
  9184. release, xterm sends CSI M CbCxCy.  The low two bits of Cb encode button
  9185. information: 0=MB1 pressed, 1=MB2 pressed, 2=MB3 pressed, 3=release.
  9186. The upper bits encode the modifiers which were down when the button was
  9187. pressed and are added together.  4=Shift, 8=Meta, 16=Control.  Cx and Cy
  9188. are the x and y coordinates of the mouse event.  The upper left corner
  9189. is (1,1).
  9190.  
  9191. Source: XFree86: xc/doc/specs/xterm/ctlseqs.ms,v 3.29 1999/09/27 06:29:05
  9192. Status: xterm private
  9193. -------------------------------------------------------------------------------
  9194. Mode: ?1001
  9195. Description: X11 hilite mouse tracking
  9196.  
  9197. Mouse hilite tracking notifies a program of a button press, receives a
  9198. range of lines from the program, highlights the region covered by the
  9199. mouse within that range until button release, and then sends the program
  9200. the release coordinates.  It is enabled by specifying parameter 1001 to
  9201. DECSET.  Highlighting is performed only for button 1, though other but-
  9202. ton events can be received.  Warning: use of this mode requires a coop-
  9203. erating program or it will hang xterm.  On button press, the same infor-
  9204. mation as for normal tracking is generated; xterm then waits for the
  9205. program to send mouse tracking information.  All X events are ignored
  9206. until the proper escape sequence is received from the pty: CSI Ps ; Ps ;
  9207. Ps ; Ps ; Ps T .  The parameters are func, startx, starty, firstrow, and
  9208. lastrow.  func is non-zero to initiate hilite tracking and zero to
  9209. abort.  startx and starty give the starting x and y location for the
  9210. highlighted region.  The ending location tracks the mouse, but will
  9211. never be above row firstrow and will always be above row lastrow.  (The
  9212. top of the screen is row 1.)  When the button is released, xterm reports
  9213. the ending position one of two ways: if the start and end coordinates
  9214. are valid text locations: CSI t CxCy.  If either coordinate is past the
  9215. end of the line: CSI T CxCyCxCyCxCy.  The parameters are startx, starty,
  9216. endx, endy, mousex, and mousey.  startx, starty, endx, and endy give the
  9217. starting and ending character positions of the region.  mousex and
  9218. mousey give the location of the mouse at button up, which may not be
  9219. over a character.
  9220.  
  9221. Source: XFree86: xc/doc/specs/xterm/ctlseqs.ms,v 3.29 1999/09/27 06:29:05
  9222. Status: xterm private
  9223. -------------------------------------------------------------------------------
  9224. Mode: ?1002
  9225. Description: X11 button-event mouse tracking
  9226.  
  9227. Button-event tracking is essentially the same as normal tracking, but
  9228. xterm also reports button-motion events.  Motion events are reported
  9229. only if the mouse pointer has moved to a different character cell.  It
  9230. is enabled by specifying parameter 1002 to DECSET.  On button press or
  9231. release, xterm sends the same codes used by normal tracking mode.  On
  9232. button-motion events, xterm adds 4 to the event code (the third charac-
  9233. ter, Cb).  The low two bits of the event code encode the button informa-
  9234. tion.  The third bit is set to indicate motion.  Additional bits specify
  9235. modifier keys as in normal mode.  For example, motion into cell x,y with
  9236. button 1 down is reported as CSI M @ CxCy.  ( @  = 32 + 0 (button 1) +
  9237. 32 (motion indicator) ).  Similarly, motion with button 3 down is
  9238. reported as CSI M B CxCy.  ( B  = 32 + 2 (button 3) + 32 (motion indica-
  9239. tor) ).
  9240.  
  9241. Source: XFree86: xc/doc/specs/xterm/ctlseqs.ms,v 3.29 1999/09/27 06:29:05
  9242. Status: xterm private
  9243. -------------------------------------------------------------------------------
  9244. Mode: ?1003
  9245. Description: X11 any-event mouse tracking
  9246.  
  9247. Any-event mode is the same as button-event mode, except that all motion
  9248. events are reported instead of just those that enter a new character
  9249. cell.  It is enabled by specifying 1003 to DECSET.
  9250.  
  9251. Source: XFree86: xc/doc/specs/xterm/ctlseqs.ms,v 3.29 1999/09/27 06:29:05
  9252. Status: xterm private
  9253. -------------------------------------------------------------------------------
  9254. Mode: ?1010
  9255. Description: Scroll to bottom on tty output
  9256.  
  9257. set   -> Scroll to bottom on tty output
  9258. reset -> Don't scroll to bottom on tty output
  9259.  
  9260. Source: XFree86: xc/doc/specs/xterm/ctlseqs.ms,v 3.29 1999/09/27 06:29:05
  9261. Status: rxvt private
  9262. -------------------------------------------------------------------------------
  9263. Mode: ?1011
  9264. Description: Scroll to bottom on key press
  9265.  
  9266. set   -> Scroll to bottom on key press
  9267. reset -> Don't scroll to bottom on key press
  9268.  
  9269. Source: XFree86: xc/doc/specs/xterm/ctlseqs.ms,v 3.29 1999/09/27 06:29:05
  9270. Status: rxvt private
  9271. -------------------------------------------------------------------------------
  9272. Mode: ?1035
  9273. Description: Special modifiers
  9274.  
  9275. set   -> Enable special modifiers for Alt and NumLock keys
  9276. reset -> Disable special modifiers for Alt and NumLock keys
  9277.  
  9278. Source: XFree86: xc/doc/specs/xterm/ctlseqs.ms,v 3.29 1999/09/27 06:29:05
  9279. Status: xterm private
  9280. -------------------------------------------------------------------------------
  9281. Mode: ?1047
  9282.  
  9283. set   -> Use alternate screen buffer (unless disabled by the titeInhibit
  9284.          resource)
  9285. reset -> Use Normal Screen Buffer, clearing screen first if in the
  9286.          Alternate Screen (unless disabled by the titeInhibit
  9287.          resource)
  9288.  
  9289. Source: XFree86: xc/doc/specs/xterm/ctlseqs.ms,v 3.29 1999/09/27 06:29:05
  9290. Status: xterm private
  9291. -------------------------------------------------------------------------------
  9292. Mode: ?1048
  9293.  
  9294. set   -> Save cursor as in DECSC (unless disabled by the titeInhibit
  9295.          resource)
  9296. reset -> Restore cursor as in DECRC (unless disabled by the
  9297.          titeInhibit resource)
  9298.  
  9299. Source: XFree86: xc/doc/specs/xterm/ctlseqs.ms,v 3.29 1999/09/27 06:29:05
  9300. Status: xterm private
  9301. -------------------------------------------------------------------------------
  9302. Mode: ?1049
  9303.  
  9304. set   -> Save cursor as in DECSC and use Alternate Screen Buffer,
  9305.          clearing it first (unless disabled by the titeInhibit resource)
  9306. reset -> Use Normal Screen Buffer and restore cursor as in DECRC (unless
  9307.          disabled by the titeInhibit resource)
  9308.  
  9309. Source: XFree86: xc/doc/specs/xterm/ctlseqs.ms,v 3.29 1999/09/27 06:29:05
  9310. Status: xterm private
  9311. -------------------------------------------------------------------------------
  9312. Mode: ?1051
  9313. Description: Sun function-key mode
  9314.  
  9315. Source: XFree86: xc/doc/specs/xterm/ctlseqs.ms,v 3.29 1999/09/27 06:29:05
  9316. Status: xterm private
  9317. -------------------------------------------------------------------------------
  9318. Mode: ?1052
  9319. Description: HP function-key mode
  9320.  
  9321. Source: XFree86: xc/doc/specs/xterm/ctlseqs.ms,v 3.29 1999/09/27 06:29:05
  9322. Status: xterm private
  9323. -------------------------------------------------------------------------------
  9324. Mode: ?1061
  9325. Description: Sun/PC keyboard mode
  9326.  
  9327. Source: XFree86: xc/doc/specs/xterm/ctlseqs.ms,v 3.29 1999/09/27 06:29:05
  9328. Status: xterm private
  9329. -------------------------------------------------------------------------------
  9330.