NAME
item – item options command file
DESCRIPTION
Files whose names end with ‘.itm’ are taken as item option command files. These fields are used by the program ubitem to generate item selection lists.
item option command files are divided into sections. Each section commences with a capital letter and is terminated by a line starting with a ‘>’.
ITEM LIST SECTION
DEFINITION |
TITLE |
DESCRIPTION |
EXAMPLE |
B
{<top>}
>
{<Centre>}
>
{<Bottom>}
>
|
Background Text |
Background Text is divided into 9 regions on the screen. Top, centre and bottom (separated by ‘>’ lines) and left, centre and right on each line (separated by ‘#’ characters). |
|
C {<command>}
|
Command |
Command to execute to get screen values |
|
F{R} <key> <label>
{<help>}
>
{<command>}
>
|
Programmed Function Keys |
Command to execute with selected values as arguments. R means that ubitem will repeat itself once the command is executed. i.e. ubitem does not exit after the command is executed. key is a number from 1 to 7 (8 if no pop-up menu) and lable is the label for the function key. e.g.
F1 PRINT
>
ls | lpr
>
Note that R (repeat) cannot be used if the standard input is the source for the selection items. |
|
H {name}
<message>
>
|
Help |
Help message for menu |
|
L num
|
Screen Lines |
Number of lines on a screen (instead of default) |
|
M {B} {<row> <col>{:<users>{:<menu name}}} {<help message>}
>
{<heading>}
>
{<option>}
>
|
Pop Up Menu |
see menu(4) for details |
|
S
|
Single Value |
Single value only allowed |
|
T Text values to use in the format
{<text>} {<return>:}<display>
>
|
Selection Text |
Text values to use in the format {<return>:}<display> |
|
|