133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
|
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
|
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
+
-
-
-
-
-
-
+
+
-
+
+
+
+
+
-
+
-
-
-
+
+
+
-
+
-
-
+
+
|
<a name="TP">TP:</a> The Thread package needs converting to dicts.
# A Plan of Future Workpackages
Note that these represent potentially multi-TIP themes.
## Utilities: Basic Types
| TclX Name | Preferred Implementation Option |
| --------- | ------------------------------- |
| `coalesce` | interpreted + bytecoded |
| `ctoken` | interpreted (new abstract list type?) |
| `intersect` | interpreted |
| `intersect3` | interpreted |
| `lrmdups` | interpreted + bytecoded |
| `union` | interpreted |
| TclX Name | Preferred Implementation Option |
| ------------ | ------------------------------------- |
| `coalesce` | interpreted + bytecoded |
| `ctoken` | interpreted (new abstract list type?) |
| `intersect` | interpreted |
| `intersect3` | interpreted |
| `lrmdups` | interpreted + bytecoded |
| `union` | interpreted |
## Utilities: Standard Procedures
| TclX Name | Preferred Implementation Option |
| --------- | ------------------------------- |
| `commandloop` | scripted? |
| `for_recursive_glob` | scripted |
| `lgets` | scripted? |
| `mainloop` | scripted? |
| `recursive_glob` | scripted |
## Posix: Process Launch
## Posix: Processes and Signals
| TclX Name | Preferred Implementation Option |
| --------- | ------------------------------- |
| `execl` | New non-ambiguous command to complement `exec`; interpreted |
| `fork` | A mighty can of worms! interpreted |
## Posix: Signals
| TclX Name | Preferred Implementation Option |
| --------- | ------------------------------- |
| `alarm` | interpreted |
| `execl` | New non-ambiguous command to complement `exec`; interpreted |
| `fork` | A mighty can of worms! interpreted |
| `kill` | interpreted (in `tcl::process`?) |
| `signal` | interpreted |
## Posix: Information Query
| TclX Name | Preferred Implementation Option |
| --------- | ------------------------------- |
| `id` | interpreted |
| `id user` | interpreted; read-write |
| `id group` | interpreted; read-write |
| `id groups` | interpreted; read-only |
| `id process parent` | interpreted; read-only |
| `id process group` | interpreted; read/set |
| `times` | interpreted |
| `host_info` | interpreted |
| `host_info` | interpreted (DNS access, interface listing) |
## Posix: File Operations
| TclX Name | Preferred Implementation Option |
| --------- | ------------------------------- |
| `chroot` | interpreted |
| `chmod` | interpreted |
| `chown` | interpreted |
| `chgrp` | interpreted |
| `chmod` | interpreted; maybe part of `file` or `chan`? |
| `chown` | interpreted; maybe part of `file` or `chan`? |
| `chgrp` | interpreted; maybe part of `file` or `chan`? |
| `nice` | interpreted |
| `sync` | interpreted |
| `sync` | interpreted; may also need command in `chan` |
| `umask` | interpreted |
## Posix: Channel Operations
| TclX Name | Preferred Implementation Option |
| --------- | ------------------------------- |
| `dup` | not sure we need this; interpreted (in `chan`) |
| `flock` | `chan lock`? |
| `funlock` | `chan unlock`? |
| `flock` | `chan lock`? (unsafe) |
| `funlock` | `chan unlock`? (unsafe) |
## Posix: Tidying Up
| TclX Name | Preferred Implementation Option |
| --------- | ------------------------------- |
| `fcntl` | see `chan configure` to check for missing bits |
|