The following variable/unit/file associations exist by default;
Variable | Unit | Association |
INPUT | 5 | standard input (input) |
OUTPUT | 6 | standard output (output) |
TERMINAL | 7 | standard error (output) |
TERMINAL | 8 | /dev/tty (input) |
broadcast | Allow broadcast address (UDP only). |
dontroute | Enables routing bypass for outgoing messages. |
keepalive | Enables TCP connection keep alive messages. |
nodelay | Send TCP data without waiting. |
oobinline | Enables reception of out-of-band data in band. |
priv | Bind local port number under 1024 (if allowed). |
reuseaddr | Allow quick reuse of local addresses. |
verify | Attempt to verify server TLS certificate. |
CSNOBOL4 interprets it as string of single letter options, commas are ignored. Some options effect only the I/O variable named in the first argument, others effect any variable associated with the unit number in the second argument.
unit = IO_FINDUNIT() INPUT(.name, unit, 'U', 'filepath') OUTPUT(.name, unit)