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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
|
##############################################################################
# #
# [Table.Codes] Concept Data Base #
# #
# Copyright (c) 1998 by Lars Doelle <[email protected]> #
# This file is part of Konsole #
##############################################################################
# This is work in progress. The overall goal is to link the documentation of
# konsole closely to it's source. Further, the source could be organize such
# that the emulation dependent parts are separated from everything else.
# If this goal is matched, the emulation independent parts have to undergo
# documentation, also.
#
# Refere to [db.trans] for not-yet-integrated stuff.
#
# What has to be done in any case is to merge db.trans into this file and to
# make a script that extracts it again. From db.trans, we then generate parts
# of the decoder (the semantic assignment).
#
# db2.pl contains as script able to slit TEScreen.C into the emulation
# (in)dependent parts due to [db.trans].
#
# A like thing has to be done for TEmuVt102.C/h and for TEScreen.h.
#
# The missing link in the moment is a proper handling of all the Ps arguments
# that refere to different routines (subfunction of an esc code).
## Section Text ##############
Introduction.html
<h2>Introduction</h2>
<p>
In a traditional UNIX installation a single machine (host) served
several users by means of terminals attached to this host by a serial
cable. These terminals (end points) where specialized devices, either
regular ttys (printer with keyboard) or later more sophisticated
things with cathode ray tubes.
<p>
<center><img src="konsole2.gif"></center>
<p>
Today, hardware has become so cheap, that each single user could
be provided with a complete host/display combination for the former
price of a terminal.
<p>
Additional, and here we come to the X in the emulation, display
devices have become graphical while the original terminal where
only able to show characters but not graphics.
<p>
To allow programs designed for the original configuration to be
used in the contemporary setup, "terminal emulations" where invented.
In these emulations, the whole original setup is simulated.
<p>
The serial cable is folded into the operating system as a sort of
loop back device, and a program, the terminal emulation, uses modern
means of graphical user interfaces to behave like an earlier terminal.
To complete the picture, the host in the diagram is replaced by the
application that runs in the emulation (typically a shell or an old
editor). So, terminal emulations are in fact interfaces to character
oriented applications.
<p>
This document describes the implementations of a program named
"konsole", which is such an X terminal emulation. Since konsole
is distributed under the GPL, meaning that it's source code is
available to whoever likes to hack on it, the program would be
incomplete without a proper introduction into the code and it's
concepts. Thus, this text is to complement the program and the
source with the remaining informations to make a complete product.
<p>
<h2>A first refinement</h2>
<p>
Before we can come to the actual implementation, quite some
notions have to be introduced. We have to get us an idea what
a terminal emulation does in more detail.
<p>
To this end, a simple model of the terminal and it's operation
is given, which is later extended and refined as we come deeper
into matter and implementation.
<p>
At some level conception, a terminal can be described as a
(abstract) data model. This means it has some type of state
together with operations on that data type. These operations
are somehow encoded to be passed over the serial line.
<p>
The concrete model is often loosely named the "emulation",
the specific encoding chosen, the "protocol".
<p>
There are two principle models in use. The first, stream like
one, which is related to a tty, consideres the terminal as an
indefinit long and wide sheet of paper on which a printer head
types the characters that come in over the line. Typical examples
are shell scripts, make and other programs producing sequential
protocols of their activity. Their basic data type is a list of
list of characters.
<p>
The second principle model is used by applications written
especially for crt devices, so called full screen applications.
These treat the terminal as a matrix of characters where each
position can be individually addressed and written to. Typical
representatives are full screen editors like vi and emacs,
file managers like mc and mail readers like mutt.
<p>
Though the second model is newer, it's age does not imply a
preference. To the contrary, both models have a right for their
own and are both to be supported. The first model is fully
expressed within konsole in form of it's ref:history buffer.
<p>
Note, that although the second model definitely build on the
first one in almost any respect, it cannot fully express it,
since it introduces a finite line length, while the first
model works with indefinite lines.
<p>
Since application with both view of things are typically run
within the same session, some effort has been made within
konsole to maintain both ideas simultaniously, but only with
limited success so far.
<p>
In both models, the notion of a current position (historically
a printer's head, nowadays visualized by a cursor) is present.
"Printing" a character at the current position and advancing
the head together with the starting a new line are the most
fundamental operations of the emulation.
<p>
The full screen model basically adds the possibility to position
the cursor and to overwrite and clear the screen.
<p>
A plethora of additional (more or less useful) commands are
then added on this by every specific emulation, see below for
the awful details.
<p>
<!-- BEGIN: new section about the codes -->
<h2>Parts of the model</h2>
<p>
<it>All the following in this section is an outline</it>.
<p>
Parts of the terminal description
<ul>
<li>State
<br>This is mainly the screen, the cursor (including it's graphical state)
and some hidden mode variables. Note that the state cannot be investigated
by the attached host.
<li>Interface
<br>That's what goes over the wire. Beside being related to objects, this
appears so closely related to contemporal process communication, that
it might be discussed in likely terms.
<br>We have information flowing in both directions. On could destinguist
between:
<li>Commands
<br>These are "calls" of the terminals interface by the host which cause
some change of the terminals state, but do not end in a response.
<li>Requests
<br>These are "calls" of the terminals interface by the host which do not cause
any change of the terminals state, but end in a response of the terminal.
Clearly, requests are somehow used to investigate the state of the terminal.
<li>Events
<br>These are signals from the terminal caused by the user affecting the
mouse or keyboard to the host.
<li>Replys
<br>These are send by the terminal as a result of a Request from the hosts.
<li>Encoding/Decoding
</ul>
Sequences.html
Conceptually, the commands to the terminal emulation are encoded if form
of byte sequences to meet the restrictions of the transport media. These
sequences have pretty different originations and therefore the format of
the sequences are inhomogenous.
<p>
Refering both to their origin and form, one can group the overall encoding
schemes as follows:
<p>
<table>
<tr><td width=20% bgcolor=#d0d0d0>Name</td><td width=20% bgcolor=#d0d0d0>Pattern</td><td bgcolor=#d0d0d0>Scope</td><td bgcolor=#d0d0d0>Comment</td></tr>
<tr><td>Printable Ascii Characters</td><td>32..126</td><td>ASCII ECMA</td>
<td>This is the most original pattern of all. The characters to be
displayed are passed over the chanel and are interpreted by the
terminal (emulation) as instructions to display the corresponding
glyph of the ascii character set. Contempory emulations include the
upper half (128..255) of the extentions to the national ascii character
sets, also.</td></tr>
<tr><td>Ascii Control Characters</td><td>0..26,28..31,127</td><td>ASCII ECMA</td>
<td>Ascii defines some non-printable, but format effecting characters, too.
Depending on the emulation, at least some of them are given a meaning.
The typically implemented ones are those that are handled by a teletype
like device.</td></tr>
<tr><td>Simple Escape Sequence</td><td><b>ESC</b> <i>C</i></td><td>ECMA</td>
<td>These sequences are made up from an <b>ESC</b> character followed by
exactly one other character in the range ???..???.</td></tr>
<tr><td>CSI Sequence</td>
<td><b>ESC</b> <b>[</b> <i>Parameters</i> {<i>I</i>} <i>C</i></td>
<td>ECMA</td>
<td></td></tr>
<tr><td colspan=4>
<p>
The remaining codes are nonstandard but traditionalized hacks.
<p>
</td></tr>
<tr><td>DEC hacks</td>
<td><b>ESC</b> <i>C</i> <i>D</i></td>
<td>VT100</td>
<td></td></tr>
<tr><td>XTERM hacks</td>
<td><b>ESC ]</b> <i>Pn</i> <b>;</b> <i>text</i> <b>BEL</b></td>
<td>XTERM</td>
<td></td>
<tr><td colspan=4>
<p>
VT52 uses a different (incompatible) set of escape codes. VT100 includes
the VT52 emulation as a mode.
<p>
</td></tr>
</tr>
<tr><td>Simple Escape Sequence</td><td><b>ESC</b> <i>C</i></td><td>VT52</td>
<td></td></tr>
<tr><td>Complex Escape Sequence</td><td><b>ESC</b> <b>Y</b> <i>X</i> <i>Y</i></td><td>VT52</td>
<td></td></tr>
.
</table>
.
<h3>More on Control Sequences</h3>
.
<h4>Control Characters</h4>
.
Control characters (codes 0x00 - 0x1f inclusive) are specifically excluded
from the control sequence syntax, but may be embedded within a control
sequence. Embedded control characters are executed as soon as they are
encountered by a VT100. The processing of the control sequence then
continues with the next character received. The exceptions are:
if the <a href=#ESC>ESC</a> character occurs, the current control sequence
is aborted, and a new one commences beginning with the <a href=#ESC>ESC</a>
just received. If the character <a href=#CAN>CAN</a> (0x0c) or the
character <a href=#SUB>SUB</a> (0x0e) occurs,
the current control sequence is aborted. The ability to embed control
characters allows the synchronization characters XON and XOFF to be
interpreted properly without affecting the control sequence.
<p>
.
<h4>CSI Sequences</h4>
.
<dl>
<dt>Control Sequence Introducer (CSI):
<dd>An escape sequence that provides
supplementary controls and is itself a prefix affecting the
interpretation of a limited number of contiguous characters.
In the VT100, the CSI is: <ESC>[
.
<dt>Parameter:
<dd>1. A string of zero or more decimal characters which
represent a single value. Leading zeros are ignored. The
decimal characters have a range of 0 (060) to 9 (071).
<br>2. The value so represented.
.
<dt>Numeric Parameter:
<dd>A parameter that represents a number, designated by Pn.
.
<dt>Selective Parameter:
<dd>A parameter that selects a subfunction from a
specified set of subfunctions, designated by Ps. In general, a
control sequence with more than one selective parameter causes
the same effect as several control sequences, each with one
selective parameter, e.g., CSI Psa; Psb; Psc F is identical to
CSI Psa F CSI Psb F CSI Psc F.
.
<dt>Parameter String:
<dd>A string of parameters separated by a semicolon.
.
<dt>Default:
<dd> A function-dependent value that is assumed when no explicit
value, or a value of 0, is specified.
.
<dt>Final character:
<dd>A character whose bit combination terminates an escape or control sequence.
</dl>
.
<em>EXAMPLE</em>: Control sequence to turn off all character attributes, then
turn on underscore and blink attributes (<a href=#SGR>SGR</a>).
.
<center><img src="konsole1.gif"></center>
<p>
The octal representation of this string is:
<pre>
033 0133 060 073 064 073 065 0155
<ESC> [ 0 ; 4 ; 5 m
</pre>
.
Alternate sequences which will accomplish the same thing:
.
<ul>
<li><code><ESC>[;4;m </code>
<li><code><ESC>[m </code>
<br><code><ESC>[4m </code>
<br><code><ESC>[5m </code>
<li><code><ESC>[0;04;005m</code>
</ul>
.
<h4>DEC hacks</h4>
.
These form two groups of commands.
<p>
In one first the first character is a hash (<em>#</em>) and the following a digit.
This command group is used to denote VT100 specific instructions and can
safely be sonsidered to be obsolete. See
<a href=#DECALN>DECALN</a>,
<a href=#DECDHLB>DECDHLB</a>,
<a href=#DECDHLT>DECDHLT</a>,
<a href=#DECDWL>DECDWL</a> and
<a href=#DECSWL>DECSWL</a>.
<p>
The second one is used to specify character set mappings (see <a
href=#SCS>SCS</a>). A CSI instruction to do this is specified in ECMA,
and this should be used as a replacement.
.
<h4>XTERM hacks</h4>
ConceptDB.html
<i>The following text is a collection of several sorts of definitions and
explainations. It is incomplete in many respects and a working draft.
</i>
.
<p>
All of the following control sequences are transmitted from the Host to
VT100 unless otherwise noted. All of the control sequences are a subset of
those defined in ANSI X 3.64 1977 and ANSI X 3.41 1974.
<p>
The following text conforms to these formatting conventions:
<ul>
<li>Individual character literals are set in bold face. Ascii representation
is used throughout, so <b>ESC</b> means the binary value of 27 and
<b>[</b> a value of 91.
.
<li>Parameters are indicated by italic type faces.
<li>Parameter types usually are indicated as one of:
<table>
<tr><td><i>Pn </i></td><td>A string of digits representing a numerical value.</td></tr>
<tr><td><i>Ps </i></td><td>A character that selects an item from a list.</td></tr>
<tr><td><i>a-z</i></td><td>Any lowercase sequence of one or more
characters represent a value to be
entered (as in <i>Pn</i>), and the name in the
will be referred to in explanatory text.</td></tr>
</table>
.
<li>Spaces are used only to improve readability, they do not occure in the
control sequences unless otherwise indicated.
.
</ul>
.
<p>
The following attributes below have the following meaning:
<ul>
<li>VT100 - This code is known to VT100.
<li>ANSI - This code is defined by ANSI.
<li>DEC - This code is DEC private.
<li>Command - Sent from host to the terminal. <b>FIXME:</b>add Inquiery.
<li>Reply - Sent from terminal to the host (as response to an Inquiery).
<li>Event - Sent from terminal to the host (caused by a user activity).
<li>Mode - The entry is a mode.
</ul>
Operations.html
<p>
<ul>
<li>Host to Terminal (Commands,Requests)
<ul>
<li>Commands
<ul>
<li>Character Display Operation
<li>Rendition related status
<li>Cursor
<li>Cursor related status
<li>Edit
<li>Miscellaneous
<li>General mode setting
<li>Miscellaneous status
<li>VT52
<li>Not implemented
<li>Ignored
</ul>
<li>Requests
</ul>
<li>Terminal to Host (Replies, Events)
<ul>
<li>Replies
<li>Events
</ul>
<li>Modes
<ul>
<li>Modes
</ul>
</ul>
## Keyboard #################################################################
KEYBOARD.head Keyboard Events
KEYBOARD.emus KONSOLE
KEYBOARD.sect Event
KEYBOARD.text
FIXME. explain
KEYBOARD.table.Codes
Key|Code:4
AltButton|"\033"
Return|MODE_NewLine ? "\r\n" : "\r"
Backspace|MODE_BsHack ? "\x7f" : "\x08"
Delete|MODE_BsHack ? "\033[3~" : "\x7f"
Up|!MODE_Ansi ?"\033A" : MODE_AppCuKeys ?"\033OA" : "\033[A"
Down|!MODE_Ansi ?"\033B" : MODE_AppCuKeys ?"\033OB" : "\033[B"
Right|!MODE_Ansi ?"\033C" : MODE_AppCuKeys ?"\033OC" : "\033[C"
Left|!MODE_Ansi ?"\033D" : MODE_AppCuKeys ?"\033OD" : "\033[D"
F1|Xterm? "\033[11~": "\033[[A"
F2|Xterm? "\033[12~": "\033[[B"
F3|Xterm? "\033[13~": "\033[[C"
F4|Xterm? "\033[14~": "\033[[D"
F5|Xterm? "\033[15~": "\033[[E"
F6|"\033[17~"
F7|"\033[18~"
F8|"\033[19~"
F9|"\033[20~"
F10|"\033[21~"
F11|"\033[23~"
F12|"\033[24~"
Home|"\033[7~"
End|"\033[8~"
Prior|"\033[5~"
Next|"\033[6~"
Insert|"\033[2~"
Control_Space|"\x00"
Control_Print|reportAnswerBack()
Ascii|Character
MOUSE.head Mouse Events
MOUSE.emus KONSOLE
MOUSE.sect Event
MOUSE.text
FIXME. explain
CHA.head Cursor Horizontal Absolute
CHA.emus ECMA KONSOLE
CHA.sect Command.Cursor
CHA.code CSI|G|{Pn}
CHA.text
FIXME. explain
CHA.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|xterm|scr|setCursorX|p|see above
DCH.head Delete Character
DCH.emus ECMA KONSOLE
DCH.sect Command.Delete
DCH.code CSI|P|{Pn}
DCH.text
FIXME. explain
DCH.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|xterm|scr|deleteChars|p|see above
DECRST.head DEC Private Reset Mode
DECRST.emus VT100 KONSOLE
DECRST.sect Command.SetMode
DECRST.code PRI|l|{Ps;...}
DECRST.text
FIXME. explain
DECRST.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
1|VT100|emu|resetMode|MODE_AppCuKeys|Meaning
2|VT100|emu|resetMode|MODE_Ansi|Meaning
3|VT100|emu|setColumns|80|Meaning
4|VT100|emu|Ignored||Meaning
5|VT100|scr|resetMode|MODE_Screen|Meaning
6|VT100|scr|resetMode|MODE_Origin|Meaning
7|VT100|scr|resetMode|MODE_Wrap|Meaning
8|VT100|emu|Ignored||Meaning
9|VT100|emu|Ignored||Meaning
25|VT100|emu|resetMode|MODE_Cursor|Meaning
47|xterm|emu|resetMode|MODE_AppScreen|Meaning
1000|xterm|emu|resetMode|MODE_Mouse1000|Meaning
1001|xterm|emu|Ignored||Meaning
1047|xterm|emu|resetMode|MODE_AppScreen|Meaning
1048|xterm|scr|restoreCursor||Meaning
DECSET.head DEC Private Set Mode
DECSET.emus VT100 KONSOLE
DECSET.sect Command.SetMode
DECSET.code PRI|h|{Ps;...}
DECSET.text
FIXME. explain
DECSET.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
1|VT100|emu|setMode|MODE_AppCuKeys|Meaning
3|VT100|emu|setColumns|132|Meaning
4|VT100|emu|Ignored||Meaning
5|VT100|scr|setMode|MODE_Screen|Meaning
6|VT100|scr|setMode|MODE_Origin|Meaning
7|VT100|scr|setMode|MODE_Wrap|Meaning
8|VT100|emu|Ignored||Meaning
9|VT100|emu|Ignored||Meaning
25|VT100|emu|setMode|MODE_Cursor|Meaning
47|xterm|emu|setMode|MODE_AppScreen|Meaning
1000|xterm|emu|setMode|MODE_Mouse1000|Meaning
1001|xterm|emu|Ignored||Meaning
1047|xterm|emu|setMode|MODE_AppScreen|Meaning
1048|xterm|scr|saveCursor||Meaning
DL.head Delete Line
DL.emus ECMA KONSOLE
DL.sect Command.Delete
DL.code CSI|M|{Pn}
DL.text
FIXME. explain
DL.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|konsole|scr|deleteLines|p|see above
ECH.head Erase Character
ECH.emus ECMA KONSOLE
ECH.sect Command.Erase
ECH.code CSI|X|{Pn}
ECH.text
FIXME. explain
ECH.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|konsole|scr|eraseChars|p|see above
ICH.head Insert Character
ICH.emus ECMA KONSOLE
ICH.sect Command.Insert
ICH.code CSI|@|{Pn}
ICH.text
FIXME. explain
ICH.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|konsole|scr|insertChars|p|see above
IL.head Insert Line
IL.emus KONSOLE
IL.sect Command.Insert
IL.code CSI|L|{Pn}
IL.text
FIXME. explain
IL.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|xterm|scr|insertLines|p|see above
LS2.head Lock Shift Two
LS2.emus KONSOLE
LS2.sect Command.RenderMode
LS2.code ESC|n|
LS2.text
FIXME. explain
LS2.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|xterm|scr|useCharset|2|see above
LS3.head Lock Shift Three
LS3.emus KONSOLE
LS3.sect Command.RenderMode
LS3.code ESC|o|
LS3.text
FIXME. explain
LS3.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|xterm|scr|useCharset|3|see above
MC.head Media Copy
MC.emus ECMA VT100
MC.sect Command.NoImp
MC.code CSI|i|{Pn}
MC.text
FIXME. explain
MC.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
0|VT100|emu|Ignored||Meaning
VPA.head Vertical Position Absolute
VPA.emus ECMA KONSOLE
VPA.sect Command.Cursor
VPA.code CSI|d|{Pn}
VPA.text
FIXME. explain
VPA.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|xterm|scr|setCursorY|p|see above
XTERESTORE.head XTerm Private Restore Mode
XTERESTORE.emus XTERM KONSOLE
XTERESTORE.sect Command.SetMode
XTERESTORE.code PRI|r|{Ps;...}
XTERESTORE.text
FIXME. explain
XTERESTORE.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
1|xterm|emu|restoreMode|MODE_AppCuKeys|Meaning
6|xterm|scr|restoreMode|MODE_Origin|Meaning
7|xterm|scr|restoreMode|MODE_Wrap|Meaning
1000|xterm|emu|restoreMode|MODE_Mouse1000|Meaning
1001|xterm|emu|Ignored||Meaning
XTESAVE.head XTerm Private Save Mode
XTESAVE.emus XTERM KONSOLE
XTESAVE.sect Command.SetMode
XTESAVE.code PRI|s|{Ps;...}
XTESAVE.text
FIXME. explain
XTESAVE.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
1|xterm|emu|saveMode|MODE_AppCuKeys|Meaning
6|xterm|scr|saveMode|MODE_Origin|Meaning
7|xterm|scr|saveMode|MODE_Wrap|Meaning
1000|xterm|emu|saveMode|MODE_Mouse1000|Meaning
1001|xterm|emu|Ignored||Meaning
NUL.head Null
NUL.emus VT100 XTERM Linux KONSOLE
NUL.sect Command.Ignored
NUL.code CTL|0x00|
NUL.text
NUL is used as media- or time-fill. It is ignored by Konsole, but may
be sensible for devices which requiere a recognizable amount of time
to complete some commands (e.g. form feed on a non-buffering printing
device).
NUL.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|Ignored||see above
SOH.head Start Of Heading
SOH.emus VT100 XTERM Linux KONSOLE
SOH.sect Command.Ignored
SOH.code CTL|0x01|
SOH.text
Ignored
SOH.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|Ignored||see above
STX.head Start Of Text
STX.emus VT100 XTERM Linux KONSOLE
STX.sect Command.Ignored
STX.code CTL|0x02|
STX.text
Ignored
STX.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|Ignored||see above
ETX.head End Of Text
ETX.emus VT100 XTERM Linux KONSOLE
ETX.sect Command.Ignored
ETX.code CTL|0x03|
ETX.text
Ignored
ETX.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|Ignored||see above
EOT.head End Of Transmission
EOT.emus VT100 XTERM Linux KONSOLE
EOT.sect Command.Ignored
EOT.code CTL|0x04|
EOT.text
Ignored
EOT.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|Ignored||see above
ENQ.head Enquiry
ENQ.emus VT100
ENQ.sect Command.Request
ENQ.code CTL|0x05|
ENQ.text
Transmit the ANSWERBACK message. The answerback message can be loaded
in SET-UP B (i.e. is a configurable string).
ENQ.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|reportAnswerBack||see above
ACK.head Acknowledge
ACK.emus VT100 XTERM Linux KONSOLE
ACK.sect Command.Ignored
ACK.code CTL|0x06|
ACK.text
Ignored
ACK.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|Ignored||see above
BEL.head Bell
BEL.emus VT100
BEL.sect Command
BEL.code CTL|0x07|
BEL.text
Sound bell
BEL.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|gui|Bell||see above
BS.head Back Space
BS.emus VT100
BS.sect Command.Cursor
BS.code CTL|0x08|
BS.text
Move cursor to the left one position, unless it is at the left
margin, in which case no action is taken.
BS.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|scr|BackSpace||see above
HT.head Horizontal Tabulation
HT.emus VT100
HT.sect Command.Cursor
HT.code CTL|0x09|
HT.text
Move cursor to the next tab stop, or to the right margin
if no further tabs are set.
HT.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|scr|Tabulate||see above
LF.head Line Feed
LF.emus VT100
LF.sect Command.Cursor
LF.code CTL|0x0a|
LF.text
Causes either a line feed or new line operation (See \ref:LNM.)
LF.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|NewLine||see above
VT.head Vertical Tabulation
VT.emus VT100
VT.sect Command.Cursor
VT.code CTL|0x0b|
VT.text
Same as \ref:LF.
VT.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|NewLine||see above
FF.head Form Feed
FF.emus VT100
FF.sect Command.Cursor
FF.code CTL|0x0c|
FF.text
Same as \ref:LF.
FF.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|NewLine||see above
CR.head Carriage Return
CR.emus VT100
CR.sect Command.Cursor
CR.code CTL|0x0d|
CR.text
Move the cursor to the left margin of the current line.
CR.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|scr|Return||see above
LS0.head Lock Shift Zero (Shift Out - SO)
LS0.emus VT100
LS0.sect Command.RenderMode
LS0.code CTL|0x0e|
LS0.text
Invoke the G1 character set, as designated by the \ref:SCS control sequence.
LS0.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|scr|useCharset|1|see above
LS1.head Lock Shift One (Shift In - SI)
LS1.emus VT100
LS1.sect Command.RenderMode
LS1.code CTL|0x0f|
LS1.text
Invoke the G0 character set, as selected by the <ESC>( sequence.
LS1.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|scr|useCharset|0|see above
DLE.head Data Link Escape
DLE.emus VT100 XTERM Linux KONSOLE
DLE.sect Command.Ignored
DLE.code CTL|0x10|
DLE.text
Ignored
DLE.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|Ignored||see above
DC1.head Device Control One
DC1.emus VT100
DC1.sect Ignored
DC1.code CTL|0x11|
DC1.text
Causes terminal to resume transmission (XON).
DC1.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|Ignored||see above
DC2.head Device Control Two
DC2.emus VT100 XTERM Linux KONSOLE
DC2.sect Command.Ignored
DC2.code CTL|0x12|
DC2.text
Ignored
DC2.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|Ignored||see above
DC3.head Device Control Three
DC3.emus VT100 XTERM Linux KONSOLE
DC3.sect Command.Ignored
DC3.code CTL|0x13|
DC3.text
Causes terminal to stop transmitting all codes except XOFF and XON (XOFF).
DC3.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|Ignored||see above
DC4.head Device Control Four
DC4.emus VT100 XTERM Linux KONSOLE
DC4.sect Command.Ignored
DC4.code CTL|0x14|
DC4.text
Ignored
DC4.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|Ignored||see above
NAK.head Negative Acknowledge
NAK.emus VT100 XTERM Linux KONSOLE
NAK.sect Command.Ignored
NAK.code CTL|0x15|
NAK.text
Ignored
NAK.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|Ignored||see above
SYN.head Synchronous Idle
SYN.emus VT100 XTERM Linux KONSOLE
SYN.sect Command.Ignored
SYN.code CTL|0x16|
SYN.text
Ignored
SYN.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|Ignored||see above
ETB.head End Of Transmission Block
ETB.emus VT100 XTERM Linux KONSOLE
ETB.sect Command.Ignored
ETB.code CTL|0x17|
ETB.text
Ignored
ETB.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|Ignored||see above
CAN.head Cancel
CAN.emus VT100
CAN.sect Command
CAN.code CTL|0x18|
CAN.text
If sent during a control sequence, the sequence id immediately
terminated and not executed. It also causes the error character
(checkerboard) to be displayed.
CAN.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|scr|ShowCharacter|2|see above
EM.head End Of Medium
EM.emus VT100 XTERM Linux KONSOLE
EM.sect Command.Ignored
EM.code CTL|0x19|
EM.text
Ignored
EM.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|Ignored||see above
SUB.head Substitute
SUB.emus VT100
SUB.sect Command
SUB.code CTL|0x1a|
SUB.text
Same as \ref:CAN.
SUB.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|scr|ShowCharacter|2|see above
ESC.head Escape
ESC.emus ECMA VT100
ESC.sect Ignored
ESC.code CTL|0x1b|
ESC.text
Introduces a control sequence.
ESC.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|Ignored||see above
FS.head File Separator (IS4 - Information Separator Four)
FS.emus VT100 XTERM Linux KONSOLE
FS.sect Command.Ignored
FS.code CTL|0x1c|
FS.text
Ignored
FS.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|Ignored||see above
GS.head Group Separator (IS3 - Information Separator Three)
GS.emus VT100 XTERM Linux KONSOLE
GS.sect Command.Ignored
GS.code CTL|0x1d|
GS.text
Ignored
GS.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|Ignored||see above
RS.head Record Separator (IS2 - Information Separator Two)
RS.emus VT100 XTERM Linux KONSOLE
RS.sect Command.Ignored
RS.code CTL|0x1e|
RS.text
Ignored
RS.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|Ignored||see above
US.head Unit Separator (IS1 - Information Separator One)
US.emus VT100 XTERM Linux KONSOLE
US.sect Command.Ignored
US.code CTL|0x1f|
US.text
Ignored
US.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|Ignored||see above
DEL.head Delete Character
DEL.emus VT100
DEL.sect Command.Ignored
DEL.code DEL||
DEL.text
Ignored
CPR.head Cursor Position Report
CPR.emus ECMA VT100
CPR.sect Reply
CPR.code CSI|R|{Pn;Pn}
CPR.dflt 1 1
CPR.text
The CPR sequence reports the active position by means of the
parameters. This sequence has two parameter values, the first
specifying the line and the second specifying the column. The default
condition with no parameters present, or parameters of 0, is equivalent
to a cursor at home position.
.
The numbering of the lines depends upon the state of the Origin Mode
(\ref:DECOM).
.
This control sequence is sent in reply to a device status report
(\ref:DSRREQ) command sent from the host.
CUB.head Cursor Backward
CUB.emus ECMA VT100
CUB.sect Command.Cursor Event
CUB.code CSI|D|{Pn}
CUB.dflt 1
CUB.text
Moves the cursor to the left. The distance moved is
determined by the parameter. If the parameter missing, zero, or one,
the cursor is moved one position. The cursor cannot be moved past the
left margin.
CUB.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|scr|cursorLeft|p|see above
CUD.head Cursor Down
CUD.emus ECMA VT100
CUD.sect Command.Cursor Event
CUD.code CSI|B|{Pn}
CUD.dflt 1
CUD.text
Moves the cursor down a number of lines as specified in the parameter
without changing columns. The cursor cannot be moved past the bottom
margin.
CUD.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|scr|cursorDown|p|see above
CUF.head Cursor Foreward
CUF.emus ECMA VT100
CUF.sect Command.Cursor Event
CUF.code CSI|C|{Pn}
CUF.dflt 1
CUF.text
Moves the cursor to the right a number of positions
specified in the parameter. The cursor cannot be moved past the right
margin.
CUF.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|scr|cursorRight|p|see above
CUP.head Cursor Position
CUP.emus ECMA VT100
CUP.sect Command.Cursor
CUP.code CSI|H|{Pn;Pn}
CUP.dflt 1 1
CUP.text
Moves the curor to the position specified by the
parameters. The first parameter specifies the line, and the second
specifies the column. A value of zero for either line or column moves
the cursor to the first line or column in the display. The default
string (<ESC>H) homes the cursor. In the VT100, this command behaves
identically to it's format effector counterpart, \ref:HVP.
.
The numbering of the lines depends upon the state of the Origin Mode
(\ref:DECOM).
CUP.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|scr|setCursorYX|p,q|see above
CUU.head Cursor Up
CUU.emus ECMA VT100
CUU.sect Command.Cursor Event
CUU.code CSI|A|{Pn}
CUU.dflt 1
CUU.text
Moves the cursor up without changing columns. The cursor is moved up a
number of lines as indicated by the parameter. The cursor cannot be
moved beyond the top margin.
CUU.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|scr|cursorUp|p|see above
DA.head Device Attributes Request
DA.emus ECMA VT100
DA.sect Command.Request
DA.code CSI|c|{Pn}
DA.dflt 0
DA.text
The host requests the VT100 to send a DA sequence to indentify
itself. This is done by sending the DA sequence with no parameters,
or with a parameter of zero.
The device replies by (\ref:DECDA).
DA.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|reportTerminalType||see above
DECDA.head Device Attributes Reply
DECDA.emus VT100
DECDA.sect Reply
DECDA.code PRI|c|{1;Pn}
DECDA.text
Response to the \ref:DA request (VT100 to host) is generated
by the VT100 as a DECDA control sequence with the numeric parameters as
follows:
DECDA.table.Pn
Pn|Meaning:4
0|No options
1|Processor Option (STP)
2|Advanced Video Option (AVO)
3|AVO and STP
4|Graphics Option (GPO)
5|GPO and STP
6|GPO and AVO
DECALN.head Screen Alignment Display
DECALN.emus VT100
DECALN.sect Command
DECALN.code HSH|8|
DECALN.text
Causes the VT100 to fill it's screen with
uppercase Es for screen focus and tqalignment.
DECALN.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|scr|helpAlign||see above
DECANM.head ANSI/VT52 Mode
DECANM.emus VT100
DECANM.sect Mode
DECANM.text
This is a private parameter to the \ref:SM and \ref:RM
control sequences. The
reset state causes only VT52 compatible escape sequences to be
recognized. The set state causes only ANSI compatible escape sequences
to be recognized. See the entries for \ref:MODES, \ref:SM, \ref:RM
and \ref:VT52ANSI.
DECARM.head Auto Repeat Mode
DECARM.emus VT100
DECARM.sect Mode
DECARM.text
This is a private parameter to the \ref:SM and \ref:RM
control sequences. The
reset state causes no keyboard keys to auto-repeat, the set state
causes most of them to. See \ref:MODES, \ref:SM and \ref:RM.
DECAWM.head Autowrap Mode
DECAWM.emus VT100
DECAWM.sect Mode
DECAWM.text
This is a private parameter to the \ref:SM and \ref:RM
control sequences. The
reset state prevents the cursor from moving when characters are
received while at the right margin. The set state causes these
characters to advance to the next line, causing a scroll up if required
and permitted. See \ref:MODES, \ref:SM, and
\ref:RM.
DECCKM.head Cursor Keys Mode
DECCKM.emus VT100
DECCKM.sect Mode
DECCKM.text
This is a private parameter to the \ref:SM and \ref:RM
control requences. This
mode is only effective when the terminal is in keypad application mode
(\ref:DECKPAM) and the ANSI/VT52 mode (\ref:DECANM)
is set. Under these
conditions, if this mode is reset, the cursor keys will send ANSI
cursor control commands. If setm the cursor keys will send application
function commands. See \ref:MODES, \ref:RM, and
\ref:SM.
DECCOLM.head Column Mode
DECCOLM.emus VT100
DECCOLM.sect Mode
DECCOLM.text
This is a private parameter to the \ref:SM and \ref:RM
control sequences. The
reset state causes an 80 column screen to be used. The set state
causes a 132 column screen to be used. See \ref:MODES,
\ref:RM, and \ref:SM.
DECDHLT.head Double Height Line (Top)
DECDHLT.emus VT100
DECDHLT.sect Command.NoImp
DECDHLT.code HSH|3|
DECDHLT.text
Cause the line containing the cursor to become the top half of a
double-height, double width line.
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.
.
\ref:DECDHLB and \ref:DECDHLT
should be used in pairs on adjacent lines with each line containing the
same character string.
DECDHLT.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|Ignored||see above
DECDHLB.head Double Height Line (Bottom)
DECDHLB.emus VT100
DECDHLB.sect Command.NoImp
DECDHLB.code HSH|4|
DECDHLB.text
This sequence cause the line containing the cursor to become the
bottom half of a double-height, double width line.
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.
.
\ref:DECDHLB and \ref:DECDHLT
should be used in pairs on adjacent lines with each line containing the
same character string.
DECDHLB.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|Ignored||see above
DECDWL.head Double Width Line
DECDWL.emus VT100
DECDWL.sect Command.NoImp
DECDWL.code HSH|6|
DECDWL.text
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.
DECDWL.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|Ignored||see above
DECID.head Identify Terminal
DECID.emus VT100
DECID.sect Command.Request
DECID.code ESC|Z|
DECID.text
This sequence causes the same response as the \ref:DA sequence. This
sequence will not be supported in future models.
DECID.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|reportTerminalType||see above
DECINLM.head Interlace Mode
DECINLM.emus VT100
DECINLM.sect Mode
DECINLM.text
This is a private parameter to the \ref:RM and \ref:SM
control sequences. The
reset state (non-interlace) causes the video processor to display 240
scan lines per frame. The set state causes the video processor to
display 480 scan lines per screen. See \ref:MODES,
\ref:RM, and \ref:SM.
DECKPAM.head Keypad Application Mode
DECKPAM.emus VT100
DECKPAM.sect Command.Mode Mode
DECKPAM.code ESC|=|
DECKPAM.text
The auxiliary keypad keys will transmit control sequences.
DECKPAM.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|setMode|MODE_AppKeyPad|see above
DECKPNM.head Keypad Numeric Mode
DECKPNM.emus VT100
DECKPNM.sect Mode Command.Mode
DECKPNM.code ESC|>|
DECKPNM.text
The auxiliary keypad keys will send ASCII codes corresponding to the
characters engraved on their keys.
DECKPNM.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|resetMode|MODE_AppKeyPad|see above
DECLL.head Load LEDs
DECLL.emus VT100
DECLL.sect Command.NoImp
DECLL.code CSI|q|{Ps;...}
DECLL.dflt 0
DECLL.text
Load the four programmable LEDs on the keyboard according to the parameter(s).
DECLL.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
0|VT100|emu|Ignore||Clear all LEDs
1|VT100|emu|Ignore||Light LED 1
2|VT100|emu|Ignore||Light LED 2
3|VT100|emu|Ignore||Light LED 3
4|VT100|emu|Ignore||Light LED 4
DECOM.head Origin Mode
DECOM.emus VT100
DECOM.sect Mode
DECOM.text
This is a private parameter to \ref:SM and \ref:RM
control sequences. The reset
state causes the origin (or home position) to be the upper left
character position of the screen. Line and column numbers are,
therefore, independent of current margin settings. The cursor may be
positioned outside the margins with a cursor position (\ref:CUP) or
horizontal and vertical position (\ref:HVP) control.
.
The set state causes the origin to be at the upper left character
position within the current margins. Line and column numbers are,
therefore, relative to the current margin settings. The cursor cannot
be positioned outside of the margins.
.
The cursor is moved to the new home position when this mode is set or
reset. Lines and columns are numbered consecutively, with the origin
being line 1, column 1.
DECRC.head Restore Cursor
DECRC.emus VT100
DECRC.sect Command.CursMode
DECRC.code ESC|8|
DECRC.text
This sequence causes the previously saved cursor position, graphic
rendition, and character set to be restored.
DECRC.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|scr|restoreCursor||see above
DECREPTPARM.head Report Terminal Parameters
DECREPTPARM.emus ECMA VT100
DECREPTPARM.sect Reply
DECREPTPARM.code CSI|x|{sol;par;nbits;xspd;rspd;cmul;flags}
DECREPTPARM.text
This sequence is generated by the VT100 to notify the host of the
status of selected terminal parameters. The status sequence may be
sent when requested by the host (via \ref:DECREQTPARM)
or at the terminal's
discretion. On power up or reset, the VT100 is inhibited from sending
unsolicited reports.
.
The meanings of the sequence parameters are:
DECREPTPARM.table.sol
sol|Meaning:4
1|This message is a report.
2|This message is a report, and the terminal is only reporting on request.
DECREPTPARM.table.par
par|Meaning:4
1|No parity set
4|Parity set and odd
5|Parity set and even
DECREPTPARM.table.nbits
nbits|Meaning:4
1|8 bits per character
2|7 bits per character
DECREPTPARM.table.speed(xspd,rspd)
speed|Meaning (xspd,rspd):4
0|Speed set to 50 bps
8|Speed set to 75 bps
16|Speed set to 110 bps
24|Speed set to 134.5 bps
32|Speed set to 150 bps
40|Speed set to 200 bps
48|Speed set to 300 bps
56|Speed set to 600 bps
64|Speed set to 1200 bps
72|Speed set to 1800 bps
80|Speed set to 2000 bps
88|Speed set to 2400 bps
96|Speed set to 3600 bps
104|Speed set to 4800 bps
112|Speed set to 9600 bps
120|Speed set tp 19200 bps
DECREPTPARM.table.cmul
cmul|Meaning:4
1|The bit rate multiplier is 16
DECREPTPARM.table.flags
flags|Meaning:4
0-15|This value communicates the four switch values in block 5 of SET-UP B, which are only visible to the user when an STP option is installed.
DECREQTPARM.head Request Terminal Parameters
DECREQTPARM.emus ECMA VT100
DECREQTPARM.sect Command.Request
DECREQTPARM.code CSI|x|{Ps}
DECREQTPARM.text
The host sends this sequence to request the VT100 to send a
\ref:DECREPTPARM
sequence back. {Ps} can be either 0 or 1. If 0, the terminal will be
allowed to send unsolicited \ref:DECREPTPARMs.
These reports will be generated each time the terminal exits the SET-UP mode.
If {Ps} is 1, then the terminal will only generate
\ref:DECREPTPARMs in response to a request.
DECREQTPARM.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
0|VT100|emu|reportTerminalParms|2|Meaning
1|VT100|emu|reportTerminalParms|3|Meaning
DECSC.head Save Cursor
DECSC.emus VT100
DECSC.sect Command.CursMode
DECSC.code ESC|7|
DECSC.text
Causes the cursor position, graphic rendition, and character set to be
saved. (See \ref:DECRC)
DECSC.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|scr|saveCursor||see above
DECSCLM.head Scrolling Mode
DECSCLM.emus VT100
DECSCLM.sect Mode
DECSCLM.text
This is a private parameter to \ref:RM and \ref:SM
control sequences. The reset
state causes scrolls to "jump" instantaneuously one line at a time.
The set state causes the scrolls to be "smooth", and scrolls at a
maximum rate of siz lines/sec. See \ref:MODES,
\ref:RM, and \ref:SM.
DECSCNM.head Screen Mode
DECSCNM.emus VT100
DECSCNM.sect Mode
DECSCNM.text
This is a private parameter to \ref:RM and \ref:SM
control sequences. The reset
state causes the screen to be black with white characters; the set
state causes the screen to be white with black characters.
See \ref:MODES, \ref:RM, and \ref:SM.
DECSTBM.head Set Top and Bottom Margins
DECSTBM.emus VT100
DECSTBM.sect Command.CursMode
DECSTBM.code CSI|r|{Pn;Pn}
DECSTBM.dflt 1 ScreenLines
DECSTBM.text
This sequence sets the top and bottom margins to define the scrolling
region. The first parameter is the line number of the first line in
the scrolling region; the second parameter is the line number of the
bottom line of the scrolling region.
.
Default is the entire screen (no margins).
The minimum region allowed is two lines, i.e., the top line
must be less than the bottom. The cursor is placed in the home
position (See \ref:DECOM).
DECSTBM.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|scr|setMargins|p,q|see above
DECSWL.head Single-width Line
DECSWL.emus VT100
DECSWL.sect Command.NoImp
DECSWL.code HSH|5|
DECSWL.text
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.
DECSWL.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|Ignored||see above
DECTST.head Invoke Confidence Test
DECTST.emus ECMA VT100
DECTST.sect Command
DECTST.code CSI|y|{2;Ps}
DECTST.text
Ps is the parameter indicating the test to be done. It is computed by
taking the weight indicated for each desired test and adding them
together. If Ps is 0, no test is performed but the VT100 is reset.
DECTST.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|Ignored||see above
DECTST.table.Weight
Weight|Meaning:4
1|POST (ROM checksum, RAM NVR, keyboardm and AVO)
2|Data Loop Back (Loopback connector required)
3|EIA Modem Control Test (Loopback connector req.)
4|Repeat Testing until failure
DSRREQ.head Device Status Report
DSRREQ.emus ECMA VT100
DSRREQ.sect Command.Request
DSRREQ.code CSI|n|{Ps}
DSRREQ.text
Requests status of the VT100 according to the following parameters.
DSRREQ.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
5|VT100|emu|reportStatus||Report Status (using a \ref:DSRREP control sequence)
6|VT100|emu|reportCursorPosition||Report Active Position (using a \ref:CPR sequence)
DSRREP.head Device Status Report Reply
DSRREP.emus ECMA VT100
DSRREP.sect Reply
DSRREP.code CSI|n|{Status}
DSRREP.text
Reports the general status of the VT100 according to the
following parameters.
.
DSRREP with a parameter of 0 or 3 is always sent as a response to a
requesting \ref:DSRREQ with a parameter of 5.
DSRREP.table.Status
Status|Meaning:3
0|Ready, no faults detected
3|Malfunction detected
ED.head Erase in Display
ED.emus ECMA VT100
ED.sect Command.Erase
ED.code CSI|J|{Ps}
ED.dflt 0
ED.text
This sequence erases some or all of the characters in the display
according to the parameter. Any complete line erased by this sequence
will return that line to single width mode.
ED.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
0|VT100|scr|clearToEndOfScreen||Erase from the cursor to the end of the screen.
1|VT100|scr|clearToBeginOfScreen||Erase from the start of the screen to the cursor.
2|VT100|scr|clearEntireScreen||Erase the entire screen.
EL.head Erase in Line
EL.emus ECMA VT100
EL.sect Command.Erase
EL.code CSI|K|{Ps}
EL.dflt 0
EL.text
Erases some or all characters in the active line, according to the
parameter.
EL.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
0|VT100|scr|clearToEndOfLine||Erase from cursor to the end of the line.
1|VT100|scr|clearToBeginOfLine||Erase from the start of the line to the cursor.
2|VT100|scr|clearEntireLine||Erase the entire line.
HTS.head Horizontal Tab Set
HTS.emus ECMA VT100
HTS.sect Command.CursMode
HTS.code ESC|H|
HTS.text
Set a tab stop at the current cursor position.
HTS.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|scr|changeTabStop|TRUE|see above
HVP.head Horizontal and Vertical Position
HVP.emus ECMA VT100
HVP.sect Command.Cursor
HVP.code CSI|f|{Pn;Pn}
HVP.dflt 1 1
HVP.text
Moves the cursor to the position specified by the parameters. The
first parameter specifies the line, and the second specifies the
column. A parameter of 0 or 1 causes the active position to move to
the first line or column in the display. In the VT100, this control
behaves identically with it's editor counterpart, \ref:CUP.
The numbering of hte lines depends upon the state of the Origin Mode
(\ref:DECOM).
HVP.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|scr|setCursorYX|p,q|see above
IND.head Index
IND.emus ECMA VT100
IND.sect Command.Cursor
IND.code ESC|D|
IND.text
This sequence causes the cursor to move downward one line without
changing the column. If the cursor is at the bottom margin, a scroll
up is performed.
IND.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|scr|index||see above
LNM.head Line Feed/New Line Mode
LNM.emus ECMA VT100
LNM.sect Mode
LNM.text
This is a parameter to \ref:SM and \ref:RM control sequences.
The reset state
causes the interpretation of the \ref:LF character to imply only vertical
movement of the cursor and causes the RETURN key to send the single
code \ref:CR.
.
The set state causes the \ref:LF character to imply movement
to the first position of the following line, and causes the RETURN key
to send the code pair \ref:CR \ref:LF. This is the New Line option.
.
This mode does not affect the Index (\ref:IND) or the next line
(\ref:NEL) format effectors.
NEL.head Next Line
NEL.emus ECMA VT100
NEL.sect Command.Cursor
NEL.code ESC|E|
NEL.text
This causes the cursor to move to the first position of the next line
down. If the cursor is on the bottom line, a scroll is performed.
NEL.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|scr|NextLine||see above
PRINT.head Printable Characters
PRINT.emus ECMA VT100
PRINT.sect Command.Display
PRINT.code PRN||{0x20..0x7e,0xa0..0xff}
PRINT.text
Printable characters are basically displayed. They my cause a line
wrap when the cursor is already located at the end of the line.
.
The VT100 has a unique way to do this by producing a line wrap before
the character would be displayed on the next line. This feature allows
to print at the rightmost column without producing an implicit line feed.
PRINT.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|scr|ShowCharacter|p|see above
RI.head Reverse Index
RI.emus ECMA VT100
RI.sect Command.Cursor
RI.code ESC|M|
RI.text
Move the cursor up one line without changing columns. If the cursor is
on the top line, a scroll down is performed.
RI.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|scr|reverseIndex||see above
RIS.head Reset to Initial State
RIS.emus ECMA VT100
RIS.sect Command.Mode
RIS.code ESC|c|
RIS.text
Resets the VT100 to the state is has upon power up. This also causes
the execution of the POST and signal INT H to be asserted briefly.
RIS.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|resetTerminal||see above
RM.head Reset Mode
RM.emus ECMA VT100
RM.sect Command.SetMode
RM.code CSI|l|{Ps;...}
RM.text
Resets one or more VT100 modes as specified by each selective parameter
in the parameter string. Each mode to be reset is specified by a
separate parameter. See \ref:MODES and \ref:SM.
RM.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
4|xterm|scr|resetMode|MODE_Insert|Meaning
20|VT100|emu|resetMode|MODE_NewLine|\ref:LNM
SCS.head Select Character Set
SCS.emus ECMA VT100
SCS.sect Command.RenderMode
SCS.code SCS||{Pc;Cs}
SCS.text
The appropriate D0 and G1 character sets are designated from one of the
five possible sets. The G0 and G1 sets are invoked by the characters
\ref:LS1 and \ref:LS0, respectively.
.
The United Kingdom and ASCII sets conform to the "ISO international
register of character sets to be used with escape sequences". The
other sets are private character sets. Special graphics means that the
graphic characters fpr the codes 0137 to 0176 are replaced with other
characters. The specified character set will be used until another SCS
is received.
SCS.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT100|emu|setCharset|p-'(',q|see above
SCS.table.Pc
Pc|Character Selection:4
(|Select G0 Set
)|Select G1 Set
SCS.table.Cs
Cs|Character Set:4
A|United Kingdom Set
B|ASCII Set
0|Special Graphics
1|Alternate Character ROM (Standard Character Set)
2|Alternate Character ROM (Special Graphics)
SGR.head Select Graphic Rendition
SGR.emus ECMA VT100
SGR.sect Command.RenderMode
SGR.code CSI|m|{Ps;...}
SGR.text
Invoke the graphic rendition specified by the parameter(s). All
following characters transmitted to the VT100 are rendered according
to the parameter(s) until the next occurrence of an SGR.
.
All other parameter values are ignored.
.
Without the Advanced Video Option, only one type of character attribute
is possible, as determined by the cursor selection; in that case
specifying either underscore or reverse will activate the currently
selected attribute.
SGR.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
0|VT100|scr|setDefaultRendition||Attributes Off
1|VT100|scr|setRendition|RE_BOLD|Bold or increased intensity
4|VT100|scr|setRendition|RE_UNDERLINE|Underscore
5|VT100|scr|setRendition|RE_BLINK|Blink
7|VT100|scr|setRendition|RE_REVERSE|Negative (reverse) image
10|konsole|emu|Ignored||Meaning
11|konsole|emu|Ignored||Meaning
12|konsole|emu|Ignored||Meaning
22|VT100|scr|resetRendition|RE_BOLD|Meaning
24|VT100|scr|resetRendition|RE_UNDERLINE|Meaning
25|VT100|scr|resetRendition|RE_BLINK|Meaning
27|VT100|scr|resetRendition|RE_REVERSE|Meaning
30|xterm|scr|setForeColor|0|Meaning
31|xterm|scr|setForeColor|1|Meaning
32|xterm|scr|setForeColor|2|Meaning
33|xterm|scr|setForeColor|3|Meaning
34|xterm|scr|setForeColor|4|Meaning
35|xterm|scr|setForeColor|5|Meaning
36|xterm|scr|setForeColor|6|Meaning
37|xterm|scr|setForeColor|7|Meaning
39|xterm|scr|setForeColorToDefault||Meaning
40|xterm|scr|setBackColor|0|Meaning
41|xterm|scr|setBackColor|1|Meaning
42|xterm|scr|setBackColor|2|Meaning
43|xterm|scr|setBackColor|3|Meaning
44|xterm|scr|setBackColor|4|Meaning
45|xterm|scr|setBackColor|5|Meaning
46|xterm|scr|setBackColor|6|Meaning
47|xterm|scr|setBackColor|7|Meaning
49|xterm|scr|setBackColorToDefault||Meaning
90|xterm|scr|setForeColor|8|Meaning
91|xterm|scr|setForeColor|9|Meaning
92|xterm|scr|setForeColor|10|Meaning
93|xterm|scr|setForeColor|11|Meaning
94|xterm|scr|setForeColor|12|Meaning
95|xterm|scr|setForeColor|13|Meaning
96|xterm|scr|setForeColor|14|Meaning
97|xterm|scr|setForeColor|15|Meaning
100|xterm|scr|setBackColor|8|Meaning
101|xterm|scr|setBackColor|9|Meaning
102|xterm|scr|setBackColor|10|Meaning
103|xterm|scr|setBackColor|11|Meaning
104|xterm|scr|setBackColor|12|Meaning
105|xterm|scr|setBackColor|13|Meaning
106|xterm|scr|setBackColor|14|Meaning
107|xterm|scr|setBackColor|15|Meaning
SM.head Set Mode
SM.emus ECMA VT100
SM.sect Command.SetMode
SM.code CSI|h|{Ps;...}
SM.text
Causes one or more modes to be set within the VT100 as specified by
each selective parameter string. Each mode to be set is specified by a
seperate parameter. A mode is considered set until it is reset by a
Reset Mode (\ref:RM) control sequence.
See \ref:RM and \ref:MODES.
SM.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
4|VT100|scr|setMode|MODE_Insert|Meaning
20|VT100|emu|setMode|MODE_NewLine|\ref:LNM
TBC.head Tabulation Clear
TBC.emus ECMA VT100
TBC.sect Command.CursMode
TBC.code CSI|g|{Ps}
TBC.text
If the parameter is missing or 0, this will clear the tab stop at the
cursor's position. If it is 3, this will clear all of the tab stops.
Any other parameter is ignored.
TBC.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
0|VT100|scr|changeTabStop|FALSE|Meaning
3|VT100|scr|clearTabStops||Meaning
##############################################################################
# #
# VT52 #
# #
##############################################################################
VT52ANSI.head VT52 ANSI Ansi Mode
VT52ANSI.emus VT100 XTERM VT52 KONSOLE
VT52ANSI.sect Command.Mode
VT52ANSI.code ESC|<|
VT52ANSI.text
This is an extension to the VT52 commands to embed the emulation into VT100.
It allows to return back to VT100 emulation (ANSI mode).
See also \ref:DECANM and \ref:SM.
VT52ANSI.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT52|emu|setMode|MODE_Ansi|see above
VT52CUB.head VT52 Cursor Back
VT52CUB.emus KONSOLE
VT52CUB.sect Command.VT52
VT52CUB.code ESC|D|
VT52CUB.text
See \ref:CUB.
VT52CUB.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT52|scr|cursorLeft|1|see above
VT52CUD.head VT52 Cursor Down
VT52CUD.emus KONSOLE
VT52CUD.sect Command.VT52
VT52CUD.code ESC|B|
VT52CUD.text
See \ref:CUD.
VT52CUD.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT52|scr|cursorDown|1|see above
VT52CUF.head VT52 Cursor Forward
VT52CUF.emus KONSOLE
VT52CUF.sect Command.VT52
VT52CUF.code ESC|C|
VT52CUF.text
See \ref:CUF.
VT52CUF.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT52|scr|cursorRight|1|see above
VT52CUP.head VT52 Cursor Position
VT52CUP.emus KONSOLE
VT52CUP.sect Command.VT52
VT52CUP.code VT5||{X;Y}
VT52CUP.text
Line and column numbers for direct cursor address are single
character codes whose values are the desired number plus
37 (in Octal). Line and column numbers start at 1.
VT52CUP.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT52|scr|setCursorYX|p-31,q-31|see above
VT52CUU.head VT52 Cursor Up
VT52CUU.emus KONSOLE
VT52CUU.sect Command.VT52
VT52CUU.code ESC|A|
VT52CUU.text
See \ref:CUU.
VT52CUU.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT52|scr|cursorUp|1|see above
VT52EDL.head VT52 Clear To End Of Line
VT52EDL.emus KONSOLE
VT52EDL.sect Command.VT52
VT52EDL.code ESC|K|
VT52EDL.text
FIXME. explain
VT52EDL.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT52|scr|clearToEndOfLine||see above
VT52EDS.head VT52 Clear To End Of Screen
VT52EDS.emus KONSOLE
VT52EDS.sect Command.VT52
VT52EDS.code ESC|J|
VT52EDS.text
FIXME. explain
VT52EDS.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT52|scr|clearToEndOfScreen||see above
VT52CUH.head VT52 Cursor Home
VT52CUH.emus KONSOLE
VT52CUH.sect Command.VT52
VT52CUH.code ESC|H|
VT52CUH.text
FIXME. explain
VT52CUH.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT52|scr|setCursorYX|1,1|see above
VT52KPAM.head VT52 Enter alternate keypad mode
VT52KPAM.emus KONSOLE
VT52KPAM.sect Command.VT52
VT52KPAM.code ESC|=|
VT2KPAM.text
FIXME. explain
VT52KPAM.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT52|emu|setMode|MODE_AppKeyPad|see above
VT52KPNM.head VT52 Exit alternate keypad mode
VT52KPNM.emus KONSOLE
VT52KPNM.sect Command.VT52
VT52KPNM.code ESC|>|
VT52KPNM.text
FIXME. explain
VT52KPNM.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT52|emu|resetMode|MODE_AppKeyPad|see above
VT52REP.head VT52 Report Terminal Type
VT52REP.emus KONSOLE
VT52REP.sect Command.VT52
VT52REP.code ESC|Z|
VT52REP.text
Response to ESC Z is ESC / Z.
VT52REP.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT52|emu|reportTerminalType||see above
VT52RI.head VT52 Reverse Index
VT52RI.emus KONSOLE
VT52RI.sect Command.VT52
VT52RI.code ESC|I|
VT52RI.text
FIXME. explain
VT52RI.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT52|scr|reverseIndex||see above
VT52SCSF.head VT52 Select special graphics character set
VT52SCSF.emus KONSOLE
VT52SCSF.sect Command.VT52
VT52SCSF.code ESC|F|
VT52SCSF.text
FIXME. explain
VT52SCSF.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT52|scr|setAndUseCharset|0,'0'|see above
VT52SCSG.head VT52 Select ASCII character set
VT52SCSG.emus KONSOLE
VT52SCSG.sect Command.VT52
VT52SCSG.code ESC|G|
VT52SCSG.text
FIXME. explain
VT52SCSG.table.XPS
Subcode|Emulation|Scope|Operation|Args|Meaning
N/A|VT52|scr|setAndUseCharset|0,'B'|see above
|