UNIBASE

ITEM LISTS

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 ‘>’.

DEFINITIONTITLEDESCRIPTIONEXAMPLE

B
{<top>}
>
{<Centre>}
>
{<Bottom>}
>

Background TextBackground 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 KeysCommand 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>
>

HelpHelp message for menu 

L num

Screen LinesNumber of lines on a screen (instead of default) 

M {B} {<row> <col>{:<users>{:<menu name}}} {<help message>}
>
{<heading>}
>
{<option>}
>

Pop Up Menusee menu(4) for details 

S

Single ValueSingle value only allowed 

T		Text values to use in the format
{<text>} {<return>:}<display>
>

Selection TextText values to use in the format {<return>:}<display>