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 dcl N_TTY_BOOLEAN_MODES fixed bin int static options (constant) init (26);
32
33
34
35
36 dcl TTY_BOOLEAN_MODE_MCS_NAME (-4:26) char (8) int static options (constant) init
37 (
38 "fulldpx", "replay", "prefixnl", "wake_tbl", "oddp",
39
40 "edited", "tabs", "can", "esc", "erkl",
41 "rawi", "rawo", "red", "vertsp", "crecho",
42 "lfecho", "tabecho", "hndlquit", "echoplex", "capo",
43 "polite", "ctl_char", "blk_xfer", "breakall", "scroll",
44 "iflow", "oflow", "8bit", "no_outp", "sdialog",
45 "fep_edit");
46
47 dcl TTY_BOOLEAN_MODE_DSA_NAME (26) char (12) int static options (constant) init (
48
49 "edited", "tabs", "can", "esc", "erkl",
50 "rawi", "rawo", "red", "vertsp", "crecho",
51 "lfecho", "tabecho", "hndlquit", "echoplex", "capo",
52 "polite", "ctl_char", "blk_xfer", "screen", "line_count",
53 "iflow", "oflow", "i8bit", "o8bit", "sdialog",
54 "fep_edit");
55
56 dcl DSA_modestr (1:26) character (12) unaligned defined (TTY_BOOLEAN_MODE_DSA_NAME);
57
58
59
60 dcl TTY_BOOLEAN_MODE_NEED_STC (26) bit (1) int static options (constant) init
61 ("0"b, "0"b, "1"b, "1"b, "1"b,
62 "1"b, "1"b, "0"b, "0"b, "1"b,
63 "1"b, "1"b, "1"b, "1"b, "0"b,
64 "1"b, "0"b, "1"b, "1"b, "1"b,
65 "1"b, "1"b, "1"b, "1"b, "1"b,
66 "1"b);
67
68
69
70
71
72 dcl 1 tty_boolean_modes based aligned,
73 2 edited bit (1) unal ,
74 2 tabs bit (1) unal ,
75 2 can bit (1) unal ,
76 2 esc bit (1) unal ,
77 2 erkl bit (1) unal ,
78 2 rawi bit (1) unal ,
79 2 rawo bit (1) unal ,
80 2 red bit (1) unal ,
81 2 vertsp bit (1) unal ,
82 2 crecho bit (1) unal ,
83 2 lfecho bit (1) unal ,
84 2 tabecho bit (1) unal ,
85 2 hndlquit bit (1) unal ,
86 2 echoplex bit (1) unal ,
87 2 capo bit (1) unal ,
88 2 polite bit (1) unal ,
89 2 ctl_char bit (1) unal ,
90 2 blk_xfer bit (1) unal ,
91 2 screen bit (1) unal ,
92 2 line_count bit (1) unal ,
93 2 iflow bit (1) unal ,
94 2 oflow bit (1) unal ,
95 2 i8bit bit (1) unal ,
96 2 o8bit bit (1) unal ,
97 2 sdialog bit (1) unal ,
98 2 fep_edit bit (1) unal ,
99 2 pad2 bit (10) unal ;
100
101
102
103 dcl infop ptr;
104
105 dcl 1 tty_modes_string based (infop),
106 2 len fixed bin,
107 2 str char (512);
108
109
110
111 dcl TTY_MORE_MODE (2) char (8) aligned int static
112 options (constant)
113 init ("clear", "scroll");
114
115 dcl TMM_CLEAR fixed bin int static
116 options (constant) init (1);
117 dcl TMM_SCROLL fixed bin int static
118 options (constant) init (2);
119
120
121
122 dcl TTY_CANON_TYPE (2) char (10) aligned int static
123 options (constant)
124 init ("overstrike", "replace");
125
126 dcl TCT_OVERSTRIKE fixed bin int static
127 options (constant) init (1);
128 dcl TCT_REPLACE fixed bin int static
129 options (constant) init (2);
130
131
132