1 |
pcg |
1.1 |
COMMENT(-- $Id: rxvtRef-csi.yo,v 1.1 2003/11/18 14:22:16 root Exp $ --) |
2 |
|
|
label(CSI) |
3 |
|
|
nsect(CSI (Code Sequence Introducer) Sequences) |
4 |
|
|
|
5 |
|
|
startdl() |
6 |
|
|
dl(bf(tt(ESC [ Ps @))) |
7 |
|
|
(Insert bf(tt(Ps)) (Blank) Character(s) [default: 1] (ICH))\ |
8 |
|
|
P()\ |
9 |
|
|
label(ESCOBPsA) |
10 |
|
|
dl(bf(tt(ESC [ Ps A))) |
11 |
|
|
(Cursor Up bf(tt(Ps)) Times [default: 1] (CUU)) |
12 |
|
|
P()\ |
13 |
|
|
dl(bf(tt(ESC [ Ps B))) |
14 |
|
|
(Cursor Down bf(tt(Ps)) Times [default: 1] (CUD))\ |
15 |
|
|
label(ESCOBPsC) |
16 |
|
|
dl(bf(tt(ESC [ Ps C))) |
17 |
|
|
(Cursor Forward bf(tt(Ps)) Times [default: 1] (CUF)) |
18 |
|
|
P()\ |
19 |
|
|
dl(bf(tt(ESC [ Ps D))) |
20 |
|
|
(Cursor Backward bf(tt(Ps)) Times [default: 1] (CUB)) |
21 |
|
|
P()\ |
22 |
|
|
dl(bf(tt(ESC [ Ps E))) |
23 |
|
|
(Cursor Down bf(tt(Ps)) Times [default: 1] and to first column) |
24 |
|
|
P()\ |
25 |
|
|
dl(bf(tt(ESC [ Ps F))) |
26 |
|
|
(Cursor Up bf(tt(Ps)) Times [default: 1] and to first column)\ |
27 |
|
|
P()\ |
28 |
|
|
label(ESCOBPsG) |
29 |
|
|
dl(bf(tt(ESC [ Ps G))) |
30 |
|
|
(Cursor to Column bf(tt(Ps)) (HPA)) |
31 |
|
|
P()\ |
32 |
|
|
dl(bf(tt(ESC [ Ps;Ps H))) |
33 |
|
|
(Cursor Position [row;column] [default: 1;1] (CUP)) |
34 |
|
|
P()\ |
35 |
|
|
dl(bf(tt(ESC [ Ps I))) |
36 |
|
|
(Move forward bf(tt(Ps)) tab stops [default: 1]) |
37 |
|
|
P()\ |
38 |
|
|
dl(bf(tt(ESC [ Ps J))) |
39 |
|
|
(Erase in Display (ED) nl()\ |
40 |
|
|
starttable(2)(l l)(0)\ |
41 |
|
|
row(cell(bf(tt(Ps = 0)))cell(Clear Below (default)))\ |
42 |
|
|
row(cell(bf(tt(Ps = 1)))cell(Clear Above))\ |
43 |
|
|
row(cell(bf(tt(Ps = 2)))cell(Clear All))\ |
44 |
|
|
endtable()) |
45 |
|
|
dl(bf(tt(ESC [ Ps K))) |
46 |
|
|
(Erase in Line (EL) nl()\ |
47 |
|
|
starttable(2)(l l)(0)\ |
48 |
|
|
row(cell(bf(tt(Ps = 0)))cell(Clear to Right (default)))\ |
49 |
|
|
row(cell(bf(tt(Ps = 1)))cell(Clear to Left))\ |
50 |
|
|
row(cell(bf(tt(Ps = 2)))cell(Clear All))\ |
51 |
|
|
endtable()) |
52 |
|
|
dl(bf(tt(ESC [ Ps L))) |
53 |
|
|
(Insert bf(tt(Ps)) Line(s) [default: 1] (IL)) |
54 |
|
|
P()\ |
55 |
|
|
dl(bf(tt(ESC [ Ps M))) |
56 |
|
|
(Delete bf(tt(Ps)) Line(s) [default: 1] (DL)) |
57 |
|
|
P()\ |
58 |
|
|
dl(bf(tt(ESC [ Ps P))) |
59 |
|
|
(Delete bf(tt(Ps)) Character(s) [default: 1] (DCH)) |
60 |
|
|
P()\ |
61 |
|
|
dl(bf(tt(ESC [ Ps;Ps;Ps;Ps;Ps T))) |
62 |
|
|
(Initiate link(hilite mouse tracking)(Mouse). em(unimplemented) |
63 |
|
|
Parameters are [func;startx;starty;firstrow;lastrow].) |
64 |
|
|
P()\ |
65 |
|
|
dl(bf(tt(ESC [ Ps W))) |
66 |
|
|
(Tabulator functions nl()\ |
67 |
|
|
starttable(2)(l l)(0)\ |
68 |
|
|
row(cell(bf(tt(Ps = 0)))cell(Tab Set (HTS)))\ |
69 |
|
|
row(cell(bf(tt(Ps = 2)))cell(Tab Clear (TBC), Clear Current \ |
70 |
|
|
Column (default)))\ |
71 |
|
|
row(cell(bf(tt(Ps = 5)))cell(Tab Clear (TBC), Clear All))\ |
72 |
|
|
endtable()) |
73 |
|
|
dl(bf(tt(ESC [ Ps X))) |
74 |
|
|
(Erase bf(tt(Ps)) Character(s) [default: 1] (ECH)) |
75 |
|
|
P()\ |
76 |
|
|
dl(bf(tt(ESC [ Ps Z))) |
77 |
|
|
(Move backward bf(tt(Ps)) [default: 1] tab stops) |
78 |
|
|
P()\ |
79 |
|
|
dl(bf(tt(ESC [ Ps '))) |
80 |
|
|
(== link(tt(ESC [ Ps G))(ESCOBPsG)) |
81 |
|
|
P()\ |
82 |
|
|
dl(bf(tt(ESC [ Ps a))) |
83 |
|
|
(== link(tt(ESC [ Ps C))(ESCOBPsC))\ |
84 |
|
|
P()\ |
85 |
|
|
label(ESCOBPsc) |
86 |
|
|
dl(bf(tt(ESC [ Ps c))) |
87 |
|
|
(Send Device Attributes (DA)nl()\ |
88 |
|
|
bf(tt(Ps = 0)) (or omitted) : request attributes from terminal nl()\ |
89 |
|
|
returns: bf(tt(ESC[?1;2c)) (``I am a VT100 with Advanced Video |
90 |
|
|
Option'')) |
91 |
|
|
P()\ |
92 |
|
|
dl(bf(tt(ESC [ Ps d))) |
93 |
|
|
(Cursor to Line bf(tt(Ps)) (VPA)) |
94 |
|
|
P()\ |
95 |
|
|
dl(bf(tt(ESC [ Ps e))) |
96 |
|
|
(== link(ESC [ Ps A)(ESCOBPsA)) |
97 |
|
|
P()\ |
98 |
|
|
dl(bf(tt(ESC [ Ps;Ps f))) |
99 |
|
|
(Horizontal and Vertical Position [row;column] (HVP) [default: 1;1]) |
100 |
|
|
P()\ |
101 |
|
|
dl(bf(tt(ESC [ Ps g))) |
102 |
|
|
(Tab Clear (TBC) nl()\ |
103 |
|
|
starttable(2)(l l)(0)\ |
104 |
|
|
row(cell(bf(tt(Ps = 0)))cell(Clear Current Column (default)))\ |
105 |
|
|
row(cell(bf(tt(Ps = 3)))cell(Clear All (TBC)))\ |
106 |
|
|
endtable()) |
107 |
|
|
dl(bf(tt(ESC [ Ps i))) |
108 |
|
|
(Printing nl()\ |
109 |
|
|
starttable(2)(l l)(0)\ |
110 |
|
|
row(cell(bf(tt(Ps = 4)))cell(disable transparent print mode (MC4)))\ |
111 |
|
|
row(cell(bf(tt(Ps = 5)))cell(enable transparent print mode (MC5) \ |
112 |
|
|
em(unimplemented)))\ |
113 |
|
|
endtable()) |
114 |
|
|
dl(bf(tt(ESC [ Pm h)nl()tt(ESC [ Pm l))) |
115 |
|
|
(Set Mode (SM) nl()Reset Mode (RM)\ |
116 |
|
|
startdl() |
117 |
|
|
dl(bf(tt(Ps = 4))) |
118 |
|
|
(starttable(2)(l l)(0)\ |
119 |
|
|
row(cell(bf(tt(h)))cell(Insert Mode (SMIR)))\ |
120 |
|
|
row(cell(bf(tt(l)))cell(Replace Mode (RMIR)))\ |
121 |
|
|
endtable()) |
122 |
|
|
dl(bf(tt(Ps = 20)) em(unimplemented)) |
123 |
|
|
(starttable(2)(l l)(0)\ |
124 |
|
|
row(cell(bf(tt(h)))cell(Automatic Newline (LNM)))\ |
125 |
|
|
row(cell(bf(tt(h)))cell(Normal Linefeed (LNM)))\ |
126 |
|
|
endtable()) |
127 |
|
|
enddl()) |
128 |
|
|
dl(bf(tt(ESC [ Pm m))) |
129 |
|
|
(Character Attributes (SGR) nl()\ |
130 |
|
|
starttable(2)(l l)(0)\ |
131 |
|
|
row(cell(bf(tt(Ps = 0)))cell(Normal (default)))\ |
132 |
|
|
row(cell(bf(tt(Ps = 1 / 22)))cell(On / Off Bold (bright fg)))\ |
133 |
|
|
row(cell(bf(tt(Ps = 4 / 24)))cell(On / Off Underline))\ |
134 |
|
|
row(cell(bf(tt(Ps = 5 / 25)))cell(On / Off Blink (bright bg)))\ |
135 |
|
|
row(cell(bf(tt(Ps = 7 / 27)))cell(On / Off Inverse))\ |
136 |
|
|
row(cell(bf(tt(Ps = 30 / 40)))cell(fg/bg Black))\ |
137 |
|
|
row(cell(bf(tt(Ps = 31 / 41)))cell(fg/bg Red))\ |
138 |
|
|
row(cell(bf(tt(Ps = 32 / 42)))cell(fg/bg Green))\ |
139 |
|
|
row(cell(bf(tt(Ps = 33 / 43)))cell(fg/bg Yellow))\ |
140 |
|
|
row(cell(bf(tt(Ps = 34 / 44)))cell(fg/bg Blue))\ |
141 |
|
|
row(cell(bf(tt(Ps = 35 / 45)))cell(fg/bg Magenta))\ |
142 |
|
|
row(cell(bf(tt(Ps = 36 / 46)))cell(fg/bg Cyan))\ |
143 |
|
|
row(cell(bf(tt(Ps = 37 / 47)))cell(fg/bg White))\ |
144 |
|
|
row(cell(bf(tt(Ps = 39 / 49)))cell(fg/bg Default))\ |
145 |
|
|
endtable()) |
146 |
|
|
dl(bf(tt(ESC [ Ps n))) |
147 |
|
|
(Device Status Report (DSR) nl()\ |
148 |
|
|
starttable(2)(l l)(0)\ |
149 |
|
|
row(cell(bf(tt(Ps = 5)))cell(Status Report bf(tt(ESC [ 0 n)) \ |
150 |
|
|
(``OK'')))\ |
151 |
|
|
row(cell(bf(tt(Ps = 6)))cell(Report Cursor Position (CPR) \ |
152 |
|
|
[row;column] as bf(tt(ESC [ r ; c R))))\ |
153 |
|
|
row(cell(bf(tt(Ps = 7)))cell(Request Display Name))\ |
154 |
|
|
row(cell(bf(tt(Ps = 8)))cell(Request Version Number (place in \ |
155 |
|
|
window title)))\ |
156 |
|
|
endtable()) |
157 |
|
|
dl(bf(tt(ESC [ Ps;Ps r))) |
158 |
|
|
(Set Scrolling Region [top;bottom] nl()\ |
159 |
|
|
[default: full size of window] (CSR)) |
160 |
|
|
P()\ |
161 |
|
|
dl(bf(tt(ESC [ s))) |
162 |
|
|
(Save Cursor (SC)) |
163 |
|
|
P()\ |
164 |
|
|
dl(bf(tt(ESC [ Ps x))) |
165 |
|
|
(Request Terminal Parameters (DECREQTPARM)) |
166 |
|
|
P()\ |
167 |
|
|
dl(bf(tt(ESC [ u))) |
168 |
|
|
(Restore Cursor) |
169 |
|
|
enddl() |