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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
|
CLIO - Command Language I/O.
This is the interface between IRAF applications and the IRAF command
language. To an application, the CL appears to be a database managing named
"psets" (parameter sets) containing parameters. CLIO is used by the
application to read and write these parameters. The parameter sets are
predefined at the CL level rather than being dynamically defined by the
application.
EXTERNAL ROUTINES
clseti (clio-param, value)
value = clstati (clio-param)
value = clget[bcsilrdx] (param)
clput[bcsilrdx] (param, value)
clgstr (param, outstr, maxch)
clpstr (param, value)
nelem|EOF = clgl[bcsilrdx] (param, value)
nchars|EOF = clglstr (param, outstr, maxch)
key|EOF = clgcur (param, wx, wy, wcs, key, strval, maxch)
nitems = clgkey (param, key, strval, maxch)
kwindex = clgwrd (param, keyword, maxchar, dictionary)
pp = clopset (pset)
clcpset (pp)
pval = clgpset[bcsilrdx] (pp, param)
clppset[bcsilrdx] (pp, param, pval)
clgpseta (pp, pname, outstr, maxch)
clppseta (pp, pname, sval)
cllpset (pp, fd, format)
clepset (pp)
OBSOLETE ROUTINES
list = clpopn[isu] (param)
clpcls (list)
clprew (list)
nelem = clplen (list)
nchars = clgfil (list, fname, maxch)
clgpset (pp, pname, outstr, maxch)
clppset (pp, pname, sval)
RESTRICTED ROUTINES
clcmd (cmd)
clcmdw (cmd)
clopen (stdin, stdout, stderr, device, devtype)
zclsps (chan, status)
zardps (ps, buf, maxbytes, offset)
zawrps (ps, buf, nbytes, offset)
zawtps (ps, status)
zsttps (ps, what, lvalue)
clc_init ()
clc_compress ()
clc_free (marker)
clc_mark (marker)
clc_newtask (taskname)
clc_enter (param, value)
nchars = clc_fetch (param, outstr, maxch)
sym = clc_find (param, outstr, maxch)
clc_list (fd, pset, format)
clc_scan (cmd)
gexfls ()
gexfls_set (stream, gp_value, epa_gflush)
gexfls_clear (stream)
INTERNAL ROUTINES
key|EOF = rdukey (keystr, maxch)
charp = clpset_parname (pp, parname)
status = cl_psio_request (cmd, arg1, arg2)
clreqpar (param)
INTERFACE PARAMETERS
# clstati parameters (read only).
CL_PRTYPE # parent process type (see below)
CL_PCACHE # symtab descriptor of param cache
# Process type codes.
PR_CONNECTED # connected subprocess
PR_DETACHED # detached subprocess
PR_HOST # subprocess spawned by host
# Process interpreter mode codes (used by ONENTRY and the iraf main).
PR_NOEXIT # run interpreter in Iraf Main
PR_EXIT # skip interpreter, shutdown process
|