1INIT
2UTF8 1
3WANTSTATE g
4
5!REP no argument
6RESET
7PUSH "a\e[b"
8  putglyph 0x61 1 0,0
9  putglyph 0x61 1 0,1
10
11!REP zero (zero should be interpreted as one)
12RESET
13PUSH "a\e[0b"
14  putglyph 0x61 1 0,0
15  putglyph 0x61 1 0,1
16
17!REP lowercase a times two
18RESET
19PUSH "a\e[2b"
20  putglyph 0x61 1 0,0
21  putglyph 0x61 1 0,1
22  putglyph 0x61 1 0,2
23
24!REP with UTF-8 1 char
25# U+00E9 = 0xC3 0xA9  name: LATIN SMALL LETTER E WITH ACUTE
26RESET
27PUSH "\xC3\xA9\e[b"
28  putglyph 0xe9 1 0,0
29  putglyph 0xe9 1 0,1
30
31!REP with UTF-8 wide char
32# U+00E9 = 0xC3 0xA9  name: LATIN SMALL LETTER E WITH ACUTE
33RESET
34PUSH "\xEF\xBC\x90\e[b"
35  putglyph 0xff10 2 0,0
36  putglyph 0xff10 2 0,2
37
38!REP with UTF-8 combining character
39RESET
40PUSH "e\xCC\x81\e[b"
41  putglyph 0x65,0x301 1 0,0
42  putglyph 0x65,0x301 1 0,1
43
44!REP till end of line
45RESET
46PUSH "a\e[1000bb"
47  putglyph 0x61 1 0,0
48  putglyph 0x61 1 0,1
49  putglyph 0x61 1 0,2
50  putglyph 0x61 1 0,3
51  putglyph 0x61 1 0,4
52  putglyph 0x61 1 0,5
53  putglyph 0x61 1 0,6
54  putglyph 0x61 1 0,7
55  putglyph 0x61 1 0,8
56  putglyph 0x61 1 0,9
57  putglyph 0x61 1 0,10
58  putglyph 0x61 1 0,11
59  putglyph 0x61 1 0,12
60  putglyph 0x61 1 0,13
61  putglyph 0x61 1 0,14
62  putglyph 0x61 1 0,15
63  putglyph 0x61 1 0,16
64  putglyph 0x61 1 0,17
65  putglyph 0x61 1 0,18
66  putglyph 0x61 1 0,19
67  putglyph 0x61 1 0,20
68  putglyph 0x61 1 0,21
69  putglyph 0x61 1 0,22
70  putglyph 0x61 1 0,23
71  putglyph 0x61 1 0,24
72  putglyph 0x61 1 0,25
73  putglyph 0x61 1 0,26
74  putglyph 0x61 1 0,27
75  putglyph 0x61 1 0,28
76  putglyph 0x61 1 0,29
77  putglyph 0x61 1 0,30
78  putglyph 0x61 1 0,31
79  putglyph 0x61 1 0,32
80  putglyph 0x61 1 0,33
81  putglyph 0x61 1 0,34
82  putglyph 0x61 1 0,35
83  putglyph 0x61 1 0,36
84  putglyph 0x61 1 0,37
85  putglyph 0x61 1 0,38
86  putglyph 0x61 1 0,39
87  putglyph 0x61 1 0,40
88  putglyph 0x61 1 0,41
89  putglyph 0x61 1 0,42
90  putglyph 0x61 1 0,43
91  putglyph 0x61 1 0,44
92  putglyph 0x61 1 0,45
93  putglyph 0x61 1 0,46
94  putglyph 0x61 1 0,47
95  putglyph 0x61 1 0,48
96  putglyph 0x61 1 0,49
97  putglyph 0x61 1 0,50
98  putglyph 0x61 1 0,51
99  putglyph 0x61 1 0,52
100  putglyph 0x61 1 0,53
101  putglyph 0x61 1 0,54
102  putglyph 0x61 1 0,55
103  putglyph 0x61 1 0,56
104  putglyph 0x61 1 0,57
105  putglyph 0x61 1 0,58
106  putglyph 0x61 1 0,59
107  putglyph 0x61 1 0,60
108  putglyph 0x61 1 0,61
109  putglyph 0x61 1 0,62
110  putglyph 0x61 1 0,63
111  putglyph 0x61 1 0,64
112  putglyph 0x61 1 0,65
113  putglyph 0x61 1 0,66
114  putglyph 0x61 1 0,67
115  putglyph 0x61 1 0,68
116  putglyph 0x61 1 0,69
117  putglyph 0x61 1 0,70
118  putglyph 0x61 1 0,71
119  putglyph 0x61 1 0,72
120  putglyph 0x61 1 0,73
121  putglyph 0x61 1 0,74
122  putglyph 0x61 1 0,75
123  putglyph 0x61 1 0,76
124  putglyph 0x61 1 0,77
125  putglyph 0x61 1 0,78
126  putglyph 0x61 1 0,79
127  putglyph 0x62 1 1,0
128
129