-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlinux-all-escape-sequences.txt
9690 lines (7794 loc) · 359 KB
/
linux-all-escape-sequences.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# $Id: all-escapes.txt,v 1.32 2005/09/14 12:00:06 ben Exp $
# This file is hoped to document all the escape sequences supported by
# terminals that are vaguely compliant with ECMA-48 and friends.
# Changes should be submitted to <bjh21@bjh21.me.uk>
# It includes everything from:
# <URL:http://www.cs.utk.edu/~shuford/terminal/dec_vt220_codes.txt> 1999-05-16
# <URL:http://www.cs.utk.edu/~shuford/terminal/vt100_reference_card.txt>
# 1993-02-01
# <URL:http://www.cs.utk.edu/~shuford/terminal/vt100_codes_news.txt>1998-09-18
# <URL:http://www.cs.utk.edu/~shuford/terminal/ansi_dec_controls_news.txt>
# 1999-05-16
# <URL:http://www.cs.utk.edu/~shuford/terminal/xterm_controls.txt> 1999-10-12
# <URL:http://www.cs.utk.edu/~shuford/terminal/color_control_news.txt>
# 1999-11-13
# ECMA-48 5th Ed. control functions (section 8.3, annex F)
# Linux console_codes(4)
# SunOS 5.7 wscons(7D)
# UnixWare 7 display(7)
# IRIX 6.5.5 xwsh(1G)
# VT220 Reference manual (<URL:http://vt100.net/docs/vt220-rm/>, EK-VT220-RM)
# <URL:http://vt100.net/ctrlseq_dec.html> 1999-11-24
# <URL:http://vt100.net/ctrlfunc_dec.html> 1999-12-01
# <URL:http://www.wyse.com/service/support/kbase/SEQwt.asp?Q=9> (wy75)
# 1999-07-19
# <URL:ftp://ftp.cs.cmu.edu/afs/cs/user/ralf/pub/rbcom346.zip#TERM-EMU.DOC>
# 1999-09-13
# <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-1.htm> 1999-04-19
# <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-2.htm> 2004-09-27
# <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-3.htm> 2004-09-27
# <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-1.htm> 1999-04-19
# <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-2.htm> 2001-05-10
# iBCS2 description in ESR's termtypes.master version 10.2.7
# Reflection Terminal Reference Manual for ADDS, ANSI, DG, VT, WYSE, and
# Unisys Hosts; Version 7.0; September 1998; published by WRQ Inc.
# DEC Terminals and Printers Handbook 1985 EB 26291-56 (Appendices C, E, and G)
# OpenServer 5.0.6 screen(HW)
# X Consortium Compound Text Encoding Version 1.1
-------------------------------------------------------------------------------
Section: *** C0 controls ***
-------------------------------------------------------------------------------
Sequence: NUL (^@)
Mnemonic: NUL
Description: Null
NUL is used for media-fill or time-fill. NUL characters may be
inserted into, or removed from, a data stream without affecting the
information content of that stream, but such action may affect the
information layout and/or the control of equipment.
Source: ECMA-48 5th Ed. 8.3.98
Status: standard
-------------------------------------------------------------------------------
Sequence: SOH (^A)
Mnemonic: SOH
Description: Start of heading
SOH is used to indicate the beginning of a heading.
The use of SOH is defined in ISO 1745.
Source: ECMA-48 5th Ed. 8.3.127
Status: standard
Also used as a prefix for "UnixWindows" commands.
Source: <URL:ftp://ftp.cs.cmu.edu/afs/cs/user/ralf/pub/rbcom346.zip>
Status: ??? private
-------------------------------------------------------------------------------
Sequence: STX (^B)
Mnemonic: STX
Description: Start of text
STX is used to indicate the beginning of a text and the end of a
heading.
The use of STX is defined in ISO 1745.
Source: ECMA-48 5th Ed. 8.3.146
Status: standard
-------------------------------------------------------------------------------
Sequence: ETX (^C)
Mnemonic: ETX
Description: End of text
ETX is used to indicate the end of a text.
The use of ETX is defined in ISO 1745.
Source: ECMA-48 5th Ed. 8.3.50
Status: standard
-------------------------------------------------------------------------------
Sequence: EOT (^D)
Mnemonic: EOT
Description: End of transmission
EOT is used to indicate the conclusion of the transmission of one or
more texts.
The use of EOT is defined in ISO 1745.
Source: ECMA-48 5th Ed. 8.3.45
Status: standard
-------------------------------------------------------------------------------
Sequence: ENQ (^E)
Mnemonic: ENQ
Description: Enquiry
ENQ is transmitted by a sender as a request for a response from a
receiver.
The use of ENQ is defined in ISO 1745.
Source: ECMA-48 5th Ed. 8.3.44
Status: standard
-------------------------------------------------------------------------------
Sequence: ACK (^F)
Mnemonic: ACK
Description: Acknowledge
ACK is transmitted by a receiver as an affirmative response to the sender.
The use of ACK is defined in ISO 1745.
Source: ECMA-48 5th Ed 8.3.1
Status: standard
-------------------------------------------------------------------------------
Sequence: BEL (^G)
Mnemonic: BEL
Description: Bell
BEL is used when there is a need to call for attention; it may control
alarm or attention devices.
Source: ECMA-48 5th Ed 8.3.3
Status: standard
-------------------------------------------------------------------------------
Sequence: BS (^H)
Mnemonic: BS
Description: Back space
BS causes the active data position to be moved one character position
in the data component in the direction opposite to that of the
implicit movement. The direction of the implicit movement depends on
the parameter value of SELECT IMPLICIT MOVEMENT DIRECTION (SIMD).
Source: ECMA-48 5th Ed 8.3.5
BS (0x08, ^H) backspaces one column (but not past the
beginning of the line);
Source: Linux console_codes(4)
Status: standard
-------------------------------------------------------------------------------
Sequence: HT (^I)
Mnemonic: HT
Description: Character tabulation
HT causes the active presentation position to be moved to the
following character tabulation stop in the presentation component.
In addition, if that following character tabulation stop has been set
by TABULATION ALIGN CENTRE (TAC), TABULATION ALIGN LEADING EDGE
(TALE), TABULATION ALIGN TRAILING EDGE (TATE) or TABULATION CENTRED ON
CHARACTER (TCC), HT indicates the beginning of a string of text which
is to be positioned within a line according to the properties of that
tabulation stop. The end of the string is indicated by the next
occurrence of HT or CARRIAGE RETURN (CR) or NEXT LINE (NEL) in the
data stream.
Source: ECMA-48 5th Ed. 8.3.60
HT (0x09, ^I) goes to the next tab stop or to the end of
the line if there is no earlier tab stop;
Source: Linux console_codes(4)
Status: standard
-------------------------------------------------------------------------------
Sequence: LF (^J)
Mnemonic: LF
Description: Line feed
If the DEVICE COMPONENT SELECT MODE (DCSM) is set to PRESENTATION, LF
causes the active presentation position to be moved to the
corresponding character position of the following line in the
presentation component.
If the DEVICE COMPONENT SELECT MODE (DCSM) is set to DATA, LF causes
the active data position to be moved to the corresponding character
position of the following line in the data component.
Source: ECMA-48 5th Ed. 8.3.74
Status: standard
-------------------------------------------------------------------------------
Sequence: VT (^K)
Mnemonic: VT
Description: Line tabulation
VT causes the active presentation position to be moved in the
presentation component to the corresponding character position on the
line at which the following line tabulation stop is set.
Source: ECMA-48 5th Ed. 8.3.161
Status: standard
-------------------------------------------------------------------------------
Sequence: VT (^K)
Description: Reverse Line-feed
The cursor moves up one line, remaining at the same character position
on the line. If the cursor is already at the top line, nothing
happens.
Source: SunOS 5.7 wscons(7D)
Status: Sun private; clashes with ECMA-48 VT
-------------------------------------------------------------------------------
Sequence: FF (^L)
Mnemonic: FF
Description: Form feed
FF causes the active presentation position to be moved to the
corresponding character position of the line at the page home position
of the next form or page in the presentation component. The page home
position is established by the parameter value of SET PAGE HOME (SPH).
Source: ECMA-48 5th Ed. 8.3.51
Status: standard
-------------------------------------------------------------------------------
Sequence: CR (^M)
Mnemonic: CR
Description: Carriage return
The effect of CR depends on the setting of the DEVICE COMPONENT SELECT
MODE (DCSM) and on the parameter value of SELECT IMPLICIT MOVEMENT
DIRECTION (SIMD).
If the DEVICE COMPONENT SELECT MODE (DCSM) is set to PRESENTATION and
with the parameter value of SIMD equal to 0, CR causes the active
presentation position to be moved to the line home position of the
same line in the presentation component. The line home position is
established by the parameter value of SET LINE HOME (SLH).
With a parameter value of SIMD equal to 1, CR causes the active
presentation position to be moved to the line limit position of the
same line in the presentation component. The line limit position is
established by the parameter value of SET LINE LIMIT (SLL).
If the DEVICE COMPONENT SELECT MODE (DCSM) is set to DATA and with a
parameter value of SIMD equal to 0, CR causes the active data position
to be moved to the line home position of the same line in the data
component. The line home position is established by the parameter
value of SET LINE HOME (SLH).
With a parameter value of SIMD equal to 1, CR causes the active data
position to be moved to the line limit position of the same line in
the data component. The line limit position is established by the
parameter value of SET LINE LIMIT (SLL).
Source: ECMA-48 5th Ed 8.3.15
Status: standard
-------------------------------------------------------------------------------
Sequence: LS1 (^N)
Mnemonic: LS1
Description: Locking-shift one
LS1 is used for code extension purposes. It causes the meanings of the
bit combinations following it in the data stream to be changed.
The use of LS1 is defined in Standard ECMA-35.
NOTE
LS1 is used in 8-bit environments only; in 7-bit environments
SHIFT-OUT (SO) is used instead.
Source: ECMA-48 8.3.76
Status: standard
-------------------------------------------------------------------------------
Sequence: SO (^N)
Mnemonic: SO
Description: Shift-out
SO is used for code extension purposes. It causes the meanings of the
bit combinations following it in the data stream to be changed.
The use of SO is defined in Standard ECMA-35.
NOTE
SO is used in 7-bit environments only; in 8-bit environments
LOCKING-SHIFT ONE (LS1) is used instead.
Source: ECMA-48 5th Ed. 8.3.126
Status: standard
-------------------------------------------------------------------------------
Sequence: LS0 (^O)
Mnemonic: LS0
Description: Locking-shift zero
LS0 is used for code extension purposes. It causes the meanings of the
bit combinations following it in the data stream to be changed.
The use of LS0 is defined in Standard ECMA-35.
NOTE
LS0 is used in 8-bit environments only; in 7-bit environments SHIFT-IN
(SI) is used instead.
Source: ECMA-48 5th Ed. 8.3.75
Status: standard
-------------------------------------------------------------------------------
Sequence: SI (^O)
Mnmonic: SI
Description: Shift-in
SI is used for code extension purposes. It causes the meanings of the
bit combinations following it in the data stream to be changed.
The use of SI is defined in Standard ECMA-35.
NOTE
SI is used in 7-bit environments only; in 8-bit environments
LOCKING-SHIFT ZERO (LS0) is used instead.
Source: ECMA-35 5th Ed. 8.3.119
Status: standard
-------------------------------------------------------------------------------
Sequence: DLE (^P)
Mnemonic: DLE
Description: Data link escape
DLE is used exclusively to provide supplementary transmission control
functions.
The use of DLE is defined in ISO 1745.
Source: ECMA-48 8.3.33
Status: standard
-------------------------------------------------------------------------------
Sequence: DC1 (^Q)
Mnemonic: DC1
Description: Device control one
DC1 is primarily intended for turning on or starting an ancillary
device. If it is not required for this purpose, it may be used to
restore a device to the basic mode of operation (see also DC2 and
DC3), or any other device control function not provided by other DCs.
NOTE
When used for data flow control, DC1 is sometimes called "X-ON".
Source: ECMA-48 5th Ed 8.3.28
Status: standard
-------------------------------------------------------------------------------
Sequence: DC2 (^R)
Mnemonic: DC2
Description: Device control two
DC2 is primarily intended for turning on or starting an ancillary
device. If it is not required for this purpose, it may be used to set
a device to a special mode of operation (in which case DC1 is used to
restore the device to the basic mode), or for any other device control
function not provided by other DCs.
Source: ECMA-48 5th Ed 8.3.29
Status: standard
-------------------------------------------------------------------------------
Sequence: DC3 (^S)
Mnemonic: DC3
Description: Device control three
DC3 is primarily intended for turning off or stopping an ancillary
device. This function may be a secondary level stop, for example wait,
pause, stand-by or halt (in which case DC1 is used to restore normal
operation). If it is not required for this purpose, it may be used for
any other device control function not provided by other DCs.
NOTE
When used for data flow control, DC3 is sometimes called "X-OFF".
Source: ECMA-48 8.3.30
Status: standard
-------------------------------------------------------------------------------
Sequence: DC4 (^T)
Mnemonic: DC4
Description: Device control four
DC4 is primarily intended for turning off, stopping or interrupting an
ancillary device. If it is not required for this purpose, it may be
used for any other device control function not provided by other DCs.
Source: ECMA-48 8.3.31
Status: standard
-------------------------------------------------------------------------------
Sequence: DC4 (^T)
Used by the TDSMP (Terminal Device Session Management Protocol) on DEC
VT4xx terminals. The protocol is patented (US 4791566 & 5165020).
Commands seems to end with ST.
Source: <URL:http://www.cs.utk.edu/~shuford/terminal/dec_vt220_codes.txt>
[paraphrased]
Status: DEC private
-------------------------------------------------------------------------------
Sequence: NAK (^U)
Mnemonic: NAK
Description: Negative acknowledge
NAK is transmitted by a receiver as a negative response to the sender.
The use of NAK is defined in ISO 1745.
Source: ECMA-48 5th Ed. 8.3.84
-------------------------------------------------------------------------------
Sequence: SYN (^V)
Mnemonic: SYN
Description: Synchronous idle
SYN is used by a synchronous transmission system in the absence of any
other character (idle condition) to provide a signal from which
synchronism may be achieved or retained between data terminal
equipment.
The use of SYN is defined in ISO 1745.
Source: ECMA-48 5th Ed. 8.3.150
Status: standard
Also used as an introducer for AVATAR commands
Source: <URL:ftp://ftp.cs.cmu.edu/afs/cs/user/ralf/pub/rbcom346.zip>
Status: ??? private
-------------------------------------------------------------------------------
Sequence: ETB (^W)
Mnemonic: ETB
Description: End of transmission block
ETB is used to indicate the end of a block of data where the data are
divided into such blocks for transmission purposes.
The use of ETB is defined in ISO 1745.
Source: ECMA-48 5th Ed. 8.3.49
Status: standard
-------------------------------------------------------------------------------
Sequence: CAN (^X)
Mnemonic: CAN
Description: Cancel
CAN is used to indicate that the data preceding it in the data stream
is in error. As a result, this data shall be ignored. The specific
meaning of this control function shall be defined for each application
and/or between sender and recipient.
Source: ECMA-48 5th Ed 8.3.6
Status: standard
-------------------------------------------------------------------------------
Sequence: EM (^Y)
Mnemonic: EM
Description: End of medium
EM is used to identify the physical end of a medium, or the end of the
used portion of a medium, or the end of the wanted portion of data
recorded on a medium.
Source: ECMA-48 5th Ed. 8.3.42
Status: standard
-------------------------------------------------------------------------------
Sequence: SUB (^Z)
Mnemonic: SUB
Description: Substitute
SUB is used in the place of a character that has been found to be
invalid or in error. SUB is intended to be introduced by automatic
means.
Source: ECMA-48 5th Ed. 8.3.148
Status: standard
-------------------------------------------------------------------------------
Sequence: ESC (^[)
Mnemonic: ESC
Description: Escape
ESCAPE is a control character used for code extension purposes. It
causes the meaning of a limited number of the bit combinations
following it in a CC-data-element to be changed. These bit
combinations, together with the preceding bit combination that
represents the ESC character, constitute an escape sequence.
Escape sequences provide the coded representations of
code-identification functions and of some types of control
functions. The various uses of escape sequences are specified in
clause 13. Code identification functions are specified in clauses 14
and 15.
Source: ECMA-35 6th Ed. 6.2.2
An escape sequence shall consist of two or more bytes. In an 8-bit
code a byte shall be an 8-bit combination. In a 7-bit code a byte
shall be a 7-bit combination.
The first byte of an escape sequence shall be the bit combination
representing the ESCAPE character and the last shall be known as the
Final Byte. An escape sequence may also contain one or more bytes
known as Intermediate bytes.
The function represented by an escape sequence shall be determined by
its Intermediate byte(s), if any, and by its Final Byte.
Intermediate bytes shall be any of the 16 positions of column 02 of
the code table; they are denoted by the symbol I.
Final bytes shall be any of the 79 positions of columns 03 to 07 of
the code table excluding position 07/15; they are denoted by the
symbol F.
NOTE 40
Although, in this Standard, escape sequences are specified in terms of
bytes or positions in the code table, the meaning of an escape
sequence is determined only by its bit combinations and it is
unaffected by any meaning assigned to those bit combinations taken
individually.
Bit combinations in columns 00 and 01 and the bit combination 07/15
shall not be used as either Intermediate or Final bytes to construct
an escape sequence. In an 8-bit code bit combinations in columns 08 to
15 also shall not be so used.
NOTE 41
As these prohibited bytes may appear in an escape sequence in error,
it may be necessary within an application to provide methods of
identifying such a situation and of recovering from it, but this is
not covered by this Standard.
Source: ECMA-35 6th Ed. 13.1
[ So, in summary, that's ESC {SP-/}* {0-~} ]
Status: standard
-------------------------------------------------------------------------------
Section: *** nF ***
Sequences: ESC {SP-/} {SP-/}* {0-~}
-------------------------------------------------------------------------------
Sequence: ESC SP {0-~}
Mnemonic: ACS
Description: Announce code structure
-------------------------------------------------------------------------------
Sequence: ESC SP 6
Mnemonic: S8C1R (also DECAC1)
Description: C1 receive disabled
The printer receives 7-bit data and C1 control characters (as 7-bit ESC
Fe sequences).
This description doesn't say what the printer does when it receives an
8-bit C1 control character in DECTC1 (S7C1R) mode. The LA100 reference
says that it just truncates the 8th bit of all C1 control characters
received. Ouch!
Source: Paul Williams <paul@celigne.co.uk> in mail
<384A6F50.3349DE09@rdel.co.uk>
Status: standard
-------------------------------------------------------------------------------
Sequence: ESC SP 7
Mnemonic: S7C1R (also DECTC1)
Description: C1 receive enabled
The printer receives 8-bit data and C1 control characters (as 7-bit ESC
Fe sequences or single 8-bit bytes).
Source: Paul Williams <paul@celigne.co.uk> in mail
<384A6F50.3349DE09@rdel.co.uk>
Status: standard
-------------------------------------------------------------------------------
Sequence: ESC SP F
Mnemonic: S7C1T
Description: 7-bit C1 controls
The VT220 command ESC SP F (called S7C1T in the DEC documentation) tells
the terminal to transmit the 7 bit equivalents for the 8 bit C1 codes to
the host, both for command responses (like the response to CSI c), and
for function keys which return C1 codes.
Source: <URL:http://www.cs.utk.edu/~shuford/terminal/dec_terminals_news.txt>
Status: Standard
-------------------------------------------------------------------------------
Sequence: ESC SP G
Mnemonic: S8C1T
Description: 8-bit C1 controls
Likewise, ESC SP G (S8C1T) tells the terminal to transmit 8 bit C1 codes
if the terminal has an 8 bit data path to the host. (The command has no
effect if the host port is set to 7 bit mode.)
Source: <URL:http://www.cs.utk.edu/~shuford/terminal/dec_terminals_news.txt>
Status: Standard
-------------------------------------------------------------------------------
Sequence: ESC ! {SP-/}* {0-~}
Mnemonic: CZD
Description: C0-designate
-------------------------------------------------------------------------------
Sequence: ESC ! @
Description: C0-designate ECMA-6 IRV C0 set
Source: ECMA-6 6th Ed. 9.2
Status: standard
-------------------------------------------------------------------------------
Sequence: ESC " {SP-/}* {0-~}
Mnemonic: C1D
Description: C1-designate
-------------------------------------------------------------------------------
Section: *** 3F: Single control functions ***
Sequences: ESC # {SP-/}* {0-~}
-------------------------------------------------------------------------------
Sequence: ESC # {SP-/} 0
Description: ignoring extensions is OK
Part of the X11 COMPOUND_TEXT encoding, this sequence indicates
that the string that follows contains extensions beyond version 1,
but that ignoring those extensions is acceptable. The intermediate
character is in the range 02/00 to 02/15 and indicates the version
number minus one of the specification being used.
Source: Compound Text Encoding Version 1.1
Status: X11 private
-------------------------------------------------------------------------------
Sequence: ESC # {SP-/} 1
Description: ignoring extensions is not OK
Part of the X11 COMPOUND_TEXT encoding, this sequence indicates
that the string that follows contains extensions beyond version 1,
and that ignoring those extensions is unacceptable and would lose
mandatory information. The intermediate character is in the range
02/00 to 02/15 and indicates the version number minus one of the
specification being used.
Source: Compound Text Encoding Version 1.1
Status: X11 private
-------------------------------------------------------------------------------
Sequence: ESC # 3
Mnemonic: DECDHL
Description: Double-width, double-height line (top half)
These sequences cause the line containing the cursor to become the top
or bottom half of a double-height, double width line. The sequences
should be used in pairs on adjacent lines with each line containing the
same character string. If the line was single width single height, all
characters to the right of the center of the screen will be lost. The
cursor remains over the same character position, unless it would be to
the right of the right margin, in which case it is moved to the right
margin.
Source: <URL:http://www.cs.utk.edu/~shuford/terminal/vt100_codes_news.txt>
Status: DEC private; VT100
-------------------------------------------------------------------------------
Sequence: ESC # 4
Mnemonic: DECDHL
Description: Double-width, double-height line (bottom half)
These sequences cause the line containing the cursor to become the top
or bottom half of a double-height, double width line. The sequences
should be used in pairs on adjacent lines with each line containing the
same character string. If the line was single width single height, all
characters to the right of the center of the screen will be lost. The
cursor remains over the same character position, unless it would be to
the right of the right margin, in which case it is moved to the right
margin.
Source: <URL:http://www.cs.utk.edu/~shuford/terminal/vt100_codes_news.txt>
Status: DEC private; VT100
-------------------------------------------------------------------------------
Sequence: ESC # 5
Mnemonic: DECSWL
Description: Single-width, single-height line
This causes the line which contains the cursor to become single-width,
single-height. The cursor remains on the same character position.
This is the default condition for all new lines on the screen.
Source: <URL:http://www.cs.utk.edu/~shuford/terminal/vt100_codes_news.txt>
Status: DEC private; VT100
-------------------------------------------------------------------------------
Sequence: ESC # 6
Mnemonic: DECDWL
Description: Double-width, single-height line
This causes the line that contains the cursor to become double-width
single height. If the line was single width, all characters ro the
right of the center of the screen will be lost. The cursor remains
over the same character position, unless it would be to the right of
the right margin, in which case it is moved to the right margin.
Source: <URL:http://www.cs.utk.edu/~shuford/terminal/vt100_codes_news.txt>
Status: DEC private; VT100
-------------------------------------------------------------------------------
Sequence: ESC # 7
Mnemonic: DECHCP
Description: Hardcopy
Source: <URL:http://www.cs.utk.edu/~shuford/terminal/vt100_reference_card.txt>
Source: <URL:http://vt100.net/ctrlfunc_dec.html>
Status: DEC private; VT100
-------------------------------------------------------------------------------
Sequence: ESC # 8
Mnemonic: DECALN
Description: Screen alignment display
This command causes the VT100 to fill its screen with uppercase Es for
screen focus and alignment.
Source: <URL:http://www.cs.utk.edu/~shuford/terminal/vt100_codes_news.txt>
Status: DEC private; VT100
-------------------------------------------------------------------------------
Sequence: ESC # 9
Mnemonic: DECFPP
Description: Perform pending motion
Source: DEC Terminals and Printers Handbook 1985 EB 26291-56 pE90
Status: DEC private; LQP02
-------------------------------------------------------------------------------
Section: *** 4F: Designation of multibyte graphic character sets ***
Sequences: ESC $ {SP-/} {SP-/}* {0-~}
-------------------------------------------------------------------------------
Sequence: ESC $ ( {SP-/}* {0-~}
Description: G0-designate multibyte 94-set
-------------------------------------------------------------------------------
Sequence: ESC $ ) {SP-/}* {0-~}
Description: G1-designate multibyte 94-set
-------------------------------------------------------------------------------
Sequence: ESC $ * {SP-/}* {0-~}
Description: G2-designate multibyte 94-set
-------------------------------------------------------------------------------
Sequence: ESC $ + {SP-/}* {0-~}
Description: G3-designate multibyte 94-set
-------------------------------------------------------------------------------
Sequence: ESC $ - {SP-/}* {0-~}
Description: G1-designate multibyte 96-set
-------------------------------------------------------------------------------
Sequence: ESC $ . {SP-/}* {0-~}
Description: G2-designate multibyte 96-set
-------------------------------------------------------------------------------
Sequence: ESC $ / {SP-/}* {0-~}
Description: G3-designate multibyte 96-set
-------------------------------------------------------------------------------
Sequence: ESC % {SP-/}* {0-~}
Mnemonic: DOCS
Description: Designate other coding system
15.4.1 Purpose
A code-identification function is provided to designate and invoke an
identified coding system different from that of this Standard, not
necessarily a character code. It provides a means for switching
between coding systems according to this Standard and other coding
systems when it is not performed at an outer level (e.g. 15.3).
Each such other coding system is registered in the ISO International
Register of Coded Character Sets (see annex B), together with a Final
Byte (and where necessary one or more associated Intermediate bytes)
to identify it.
This function is also recommended for use by such other coding systems
for returning to the coding system of this Standard, by the use of a
reserved Final Byte which identifies it.
NOTE 56
Other standards specify alternative methods for achieving an effect
similar to that of DOCS, e.g. those based on the upper layers defined
in ISO 7498 - Open Systems Interconnection, Basic Reference Model.
15.4.2 Specification
Name: DESIGNATE OTHER CODING SYSTEM Acronym: DOCS
Coded representation: ESC 02/05 F or ESC 02/05 I F
DOCS shall designate and invoke an identified coding system. In the
coded representation of DOCS the F byte (and any associated I bytes)
shall identify the coding system.
DOCS with Final Byte 04/00, without I byte, shall designate the coding
system of this Standard. It is intended for use by other coding
systems for returning to this coding system. It shall restore the
state of the coding system to that at the time of invocation of the
other coding system, that is the state established by announcer
functions, and the designation and invocation state of graphic
character and control character sets. Whether or not other states,
e.g. the active position, are restored is outside the scope of this
Standard.
DOCS with I byte 02/15 shall mean that the other coding system does
not use DOCS (F = 04/00), coded as specified here, to return (it may
have an alternate means to return or none at all). It shall also mean
that after such a return (if any) the previous state of this coding
system (i.e. announcements, designations, and invocations) is
undefined.
DOCS with any other I byte, or with no I byte, shall mean that the
other coding system uses DOCS (F = 04/00) to return.
Source: ECMA-35 6th Ed. 15.4
Status: standard
-------------------------------------------------------------------------------
Sequence: ESC % / {SP-/}* {0-~}
Description: switch to a coding system which doesn't support DOCS
Source: ECMA-35 6th Ed. 15.4.2
Status: standard
-------------------------------------------------------------------------------
Sequence: ESC % / 0 length charset STX
Description: switch to named variable-length encoding
This is part of the X11 COMPOUND_TEXT format, and is used to escape
to a character encoding not directly supported by that standard.
This version is for encodings with a variable number of octets per
character.
"length" consists of two octets, M and L, that between them define
the number of octets of data that follow to be ((M-128)*128) + (L-128).
The top bits of M and L are always set. "charset" is a
character set name from the X Consortium CharSet registry. STX is
followed by octets encoded in that character set. "length" includes
the length of the charset name and the STX.
Source: Compound Text Encoding Version 1.1
Status: X11 private
-------------------------------------------------------------------------------
Sequence: ESC % / 1 length charset STX
Description: switch to named single-byte encoding
The same as ESC % / 0, but with one octet per character.
Source: Compound Text Encoding Version 1.1
Status: X11 private
-------------------------------------------------------------------------------
Sequence: ESC % / 2 length charset STX
Description: switch to named double-byte encoding
The same as ESC % / 0, but with two octets per character.
Source: Compound Text Encoding Version 1.1
Status: X11 private
-------------------------------------------------------------------------------
Sequence: ESC % / 3 length charset STX
Description: switch to named triple-byte encoding
The same as ESC % / 0, but with three octets per character.
Source: Compound Text Encoding Version 1.1
Status: X11 private
-------------------------------------------------------------------------------
Sequence: ESC % / 4 length charset STX
Description: switch to named quadruple-byte encoding
The same as ESC % / 0, but with four octets per character.
Source: Compound Text Encoding Version 1.1
Status: X11 private
-------------------------------------------------------------------------------
Sequence: ESC % / {5-?} length
Description: begin extended segment
These sequences begin an as-yet undefined kind of extended segment
in the X11 COMPOUND_TEXT encoding. The "length" is encoded as
described for ESC % / 0; the rest is undefined.
Source: Compound Text Encoding Version 1.1
Status: X11 private
-------------------------------------------------------------------------------
Sequence: ESC % / @
Description: switch to ISO/IEC 10646:1993, UCS-2, Level 1
Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-2.htm>
Status: standard
-------------------------------------------------------------------------------
Sequence: ESC % / A
Description: switch to ISO/IEC 10646:1993, UCS-4, Level 1
Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-2.htm>
Status: standard
-------------------------------------------------------------------------------
Sequence: ESC % / B
Description: Switch to Virtual Terminal service Transparent Set
Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-2.htm>
Status: standard
-------------------------------------------------------------------------------
Sequence: ESC % / C
Description: switch to ISO/IEC 10646:1993, UCS-2, Level 2
Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-2.htm>
Status: standard
-------------------------------------------------------------------------------
Sequence: ESC % / D
Description: switch to ISO/IEC 10646:1993, UCS-4, Level 2
Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-2.htm>
Status: standard
-------------------------------------------------------------------------------
Sequence: ESC % / E
Description: switch to ISO/IEC 10646:1993, UCS-2, Level 3
Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-2.htm>
Status: standard
-------------------------------------------------------------------------------
Sequence: ESC % / F
Description: switch to ISO/IEC 10646:1993, UCS-4, Level 3
Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-2.htm>
Status: standard
-------------------------------------------------------------------------------
Sequence: ESC % / G
Description: switch to UTF-8 Level 1
Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-2.htm>
Status: standard
-------------------------------------------------------------------------------
Sequence: ESC % / H
Description: switch to UTF-8 Level 2
Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-2.htm>
Status: standard
-------------------------------------------------------------------------------
Sequence: ESC % / I
Description: switch to UTF-8 Level 3
Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-2.htm>
Status: standard
-------------------------------------------------------------------------------
Sequence: ESC % / J
Description: switch to UTF-16 Level 1
Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-2.htm>
Status: standard
-------------------------------------------------------------------------------
Sequence: ESC % / K
Description: switch to UTF-16 Level 2
Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-2.htm>
Status: standard
-------------------------------------------------------------------------------
Sequence: ESC % / L
Description: switch to UTF-16 Level 3
Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-2.htm>
Status: standard
-------------------------------------------------------------------------------
Sequence: ESC % 8
Description: switch to UTF-8
Source: Linux console_codes(4)
Status: Linux private; obsolete
-------------------------------------------------------------------------------
Sequence: ESC % @
Description: return to ECMA-35 coding system
Source: ECMA-35 6th Ed. 15.4.2
Status: standard
-------------------------------------------------------------------------------
Sequence: ESC % A
Description: switch to CSA T 500-1983
Syntax of the North American Videotex/Teletex Presentation Level
Protocol (NAPLPS), CSA T 500-1983
Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-1.htm>
Status: standard
-------------------------------------------------------------------------------
Sequence: ESC % B
Description: switch to UCS Transformation Format One (UTF-1)
Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-1.htm>
Status: standard
-------------------------------------------------------------------------------
Sequence: ESC % C
Description: switch to Data Syntax I of CCITT Rec.T.101
Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-1.htm>
Status: standard
-------------------------------------------------------------------------------
Sequence: ESC % D
Description: switch to Data Syntax II of CCITT Rec.T.101
Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-1.htm>
Status: standard
-------------------------------------------------------------------------------
Sequence: ESC % E
Description: switch to Photo-Videotex Data Syntax of CCITT Rec. T.101
Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-1.htm>
Status: standard
-------------------------------------------------------------------------------
Sequence: ESC % F
Description: switch to Audio Data Syntax of CCITT Rec. T.101
Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-1.htm>
Status: standard
-------------------------------------------------------------------------------
Sequence: ESC % G
Description: switch to UTF-8
Source: <URL:http://www.itscj.ipsj.or.jp/ISO-IR/2-8-1.htm>