| eparam | language | eparam |
eparam -- edit a task's parameters
eparam task [task ...]
The eparam command calls up an interactive screen editor to edit the parameters of the named task or tasks. The syntax of the page editor is controlled by the environment variable `editor' which may have the values "edt", "emacs", or "vi". The user may also customize the editor by copying the associated "dev$*.ed" file to their home directory, and editing the file.
The CL parameter "epinit" may be used to set the following options:
The eparam task may be used to edit either ordinary task parameter sets, or named parameter files. The presence or absence of a .par filename extension is used to determine whether an operand is a taskname or a filename. For example,
cl> eparam skypars.par
will edit the parameter file skypars.par in the current directory, whereas
cl> eparam skypars
will edit the parameter set for the pset-task skypars . Lastly, since spypars is a pset-task, we could just type
cl> skypars
to edit or review the contents of the pset.
The parameter file skypars.par in the above example would probably be created using the new colon-command extensions to eparam. The original eparam supported only single keystroke editing commands. The new colon commands are used to enter command lines of arbitrary length to be processed by eparam.
A colon command is entered by typing the colon character (`: ') while the cursor is positioned to the starting column of any value field of the parameter set being edited. The colon character is not recognized as a special character beyond column one, e.g., when entering the string value of a parameter. When colon command mode is entered, the colon character will be echoed at the start of the bottom line on the screen, and the cursor will move to the character following the colon, waiting for the command to be entered. The command is read in raw mode, but the usual delete, <ctrl/c>, <ctrl/u>, etc. sequences are recognized.
The following eparam colon commands are currently supported. All commands are carefully error checked before being executed to avoid having eparam abort with a stack trace. An illegal operation causes colon command entry mode to be exited, leaving an error message on the command entry line. All commands which cause editing of the current pset to terminate may include the ! character to avoid updating the current pset before reading in the new one or exiting eparam. The default is to update the current pset. In all cases, pset may be either the name of a task or the name of a parameter file. Parameter files are always indicated by a .par extension, even though the actual file may be a .cl file: only .par files will be written, although either type of file may be read.
To get out of colon command mode without doing anything, simply type delete until the colon prompt is deleted and the cursor returns to the parameter it was positioned to when colon command entry mode was entered.
1. Set standout mode and disable the editing of hidden parameters (leaving only the positional parameters).
cl> epinit = "standout noshowall"
2. Edit the parameters for the delete task.
cl> ep delete