1
2
3
4
5
6
7 dcl tty_video_tables_version_1 fixed binary static options (constant) initial (1);
8
9 dcl ttyvtblp pointer;
10 dcl tty_video_table_video_chars_len fixed binary (21);
11
12 dcl 1 tty_video_table aligned based (ttyvtblp),
13 2 version fixed binary initial (tty_video_tables_version_1),
14 2 screen_height fixed binary,
15 2 screen_line_length fixed binary,
16 2 scroll_count fixed binary,
17 2 flags,
18 3 overstrike_available bit (1) unaligned,
19 3 automatic_crlf bit (1) unaligned,
20 3 simulate_eol bit (1) unaligned,
21 3 pad bit (33) unaligned,
22 2 video_chars_len fixed binary (21),
23 2 pad (2) bit (36),
24 2 nseq fixed binary,
25 2 sequences (N_VIDEO_SEQUENCES refer (tty_video_table.nseq)) like tty_video_seq aligned,
26
27 2 video_chars character (tty_video_table_video_chars_len refer (tty_video_table.video_chars_len)) unaligned;
28
29 dcl video_chars_ptr pointer;
30 dcl video_chars character (tty_video_table.video_chars_len) based (video_chars_ptr);
31
32
33
34
35 dcl ttyvseqp pointer;
36
37 dcl 1 tty_video_seq based (ttyvseqp) aligned,
38 2 flags unaligned,
39 3 present bit (1) unaligned,
40 3 interpret bit (1) unaligned,
41 3 able_to_repeat bit (1) unaligned,
42 3 cpad_present bit (1) unaligned,
43 3 cpad_in_chars bit (1) unaligned,
44 3 pad bit (7) unaligned,
45 3 general bit (6) unaligned,
46 2 cpad fixed binary (18) unsigned unaligned,
47 2 pad bit (15) unal,
48 2 len fixed binary (9) unsigned unaligned,
49 2 seq_index fixed binary (12) unsigned unaligned;
50
51
52
53
54 dcl (ABS_POS initial (1), CLEAR_SCREEN initial (2),
55 CLEAR_TO_EOS initial (3), HOME initial (4),
56 CLEAR_TO_EOL initial (5), CURSOR_UP initial (6),
57 CURSOR_RIGHT initial (7), CURSOR_DOWN initial (8),
58 CURSOR_LEFT initial (9), INSERT_CHARS initial (10),
59 END_INSERT_CHARS
60 initial (11), DELETE_CHARS initial (12),
61 INSERT_LINES initial (13), DELETE_LINES initial (14))
62 fixed binary static options (constant);
63
64 dcl N_VIDEO_SEQUENCES fixed binary static options (constant) initial (14);
65
66
67
68
69 dcl 1 tty_numeric_encoding based unaligned,
70 2 flags,
71 3 must_be_on bit (1) unaligned,
72 3 express_in_decimal bit (1) unaligned,
73 3 express_in_octal bit (1) unaligned,
74
75 3 offset_is_0 bit (1) unaligned,
76 2 l_c_or_n fixed binary (2) unsigned unaligned,
77 2 num_digits fixed bin (2) unsigned unaligned,
78 2 pad bit (1) unaligned,
79 2 offset fixed bin (8) unaligned;
80
81