The following startup arguments are interpreted by CSS:
[-f|-file] <file>
-i
flag.
[-e|-exec] <code>
-i
flag.
[-i|-interactive]
-f
or -e
, CSS will go into interactive (prompt)
mode after startup execution.
-v[<number>]
[-b|-bp] <line>
-f
).
[-gui]
Any other arguments can be accessed by user script programs by the global
variables argv
(an array of strings) and argc
(an int).
Note that it is possible to make a self-executing css program by putting the following on the very first line of the file:
#!/usr/local/pdp++/bin/SUN4/css -f
In addition to these arguments, CSS looks for a file named
`.cssinitrc' in the user's home directory, which contains CSS code
that is run when CSS is started. This is useful for setting various
command alias
es, and defining commonly-used extern
functions. An example `.cssinitrc' file is located in
`config/std.cssinitrc'.