comparison src/libvterm/t/14state_encoding.test @ 11621:b8299e742f41 v8.0.0693

patch 8.0.0693: no terminal emulator support commit https://github.com/vim/vim/commit/e4f25e4a8db2c8a8a71a4ba2a68540b3ab341e42 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jul 7 11:54:15 2017 +0200 patch 8.0.0693: no terminal emulator support Problem: No terminal emulator support. Cannot properly run commands in the GUI. Cannot run a job interactively with an ssh connection. Solution: Very early implementation of the :terminal command. Includes libvterm converted to ANSI C. Many parts still missing.
author Christian Brabandt <cb@256bit.org>
date Fri, 07 Jul 2017 12:00:04 +0200
parents
children
comparison
equal deleted inserted replaced
11620:fb788b3997c1 11621:b8299e742f41
1 INIT
2 WANTSTATE g
3
4 !Default
5 RESET
6 PUSH "#"
7 putglyph 0x23 1 0,0
8
9 !Designate G0=UK
10 RESET
11 PUSH "\e(A"
12 PUSH "#"
13 putglyph 0x00a3 1 0,0
14
15 !Designate G0=DEC drawing
16 RESET
17 PUSH "\e(0"
18 PUSH "a"
19 putglyph 0x2592 1 0,0
20
21 !Designate G1 + LS1
22 RESET
23 PUSH "\e)0"
24 PUSH "a"
25 putglyph 0x61 1 0,0
26 PUSH "\x0e"
27 PUSH "a"
28 putglyph 0x2592 1 0,1
29 !LS0
30 PUSH "\x0f"
31 PUSH "a"
32 putglyph 0x61 1 0,2
33
34 !Designate G2 + LS2
35 PUSH "\e*0"
36 PUSH "a"
37 putglyph 0x61 1 0,3
38 PUSH "\en"
39 PUSH "a"
40 putglyph 0x2592 1 0,4
41 PUSH "\x0f"
42 PUSH "a"
43 putglyph 0x61 1 0,5
44
45 !Designate G3 + LS3
46 PUSH "\e+0"
47 PUSH "a"
48 putglyph 0x61 1 0,6
49 PUSH "\eo"
50 PUSH "a"
51 putglyph 0x2592 1 0,7
52 PUSH "\x0f"
53 PUSH "a"
54 putglyph 0x61 1 0,8
55
56 !SS2
57 PUSH "a\x{8e}aa"
58 putglyph 0x61 1 0,9
59 putglyph 0x2592 1 0,10
60 putglyph 0x61 1 0,11
61
62 !SS3
63 PUSH "a\x{8f}aa"
64 putglyph 0x61 1 0,12
65 putglyph 0x2592 1 0,13
66 putglyph 0x61 1 0,14
67
68 !LS1R
69 RESET
70 PUSH "\e~"
71 PUSH "\xe1"
72 putglyph 0x61 1 0,0
73 PUSH "\e)0"
74 PUSH "\xe1"
75 putglyph 0x2592 1 0,1
76
77 !LS2R
78 RESET
79 PUSH "\e}"
80 PUSH "\xe1"
81 putglyph 0x61 1 0,0
82 PUSH "\e*0"
83 PUSH "\xe1"
84 putglyph 0x2592 1 0,1
85
86 !LS3R
87 RESET
88 PUSH "\e|"
89 PUSH "\xe1"
90 putglyph 0x61 1 0,0
91 PUSH "\e+0"
92 PUSH "\xe1"
93 putglyph 0x2592 1 0,1
94
95 UTF8 1
96
97 !Mixed US-ASCII and UTF-8
98 # U+0108 == 0xc4 0x88
99 RESET
100 PUSH "\e(B"
101 PUSH "AB\xc4\x88D"
102 putglyph 0x0041 1 0,0
103 putglyph 0x0042 1 0,1
104 putglyph 0x0108 1 0,2
105 putglyph 0x0044 1 0,3