AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox

01.01.2013 Views

SHFORM(l) (AT&T UNIX PC only ) SHFORM (l) Frow = number Defines the row in the form where the current field displays. Nco) = number. Defines the column in the form where the field name displays. Fcol = number Defines the column in the form where the field value displays. Flen = number Defines the maximum length of the field value, in columns. Value = initial field value Defines the initial contents (default value) for the field. Rmenu = menu name If the field has an associated menu of options, this keyword is included. The menu name must be defined later in the file with the Menu keyword (see below). Menuonly If this keyword is present then user editing of the field is forbidden and any key which is typed will cause the associated menu to display. Menu Definition Keywords Menu = menu name � Begins a menu definition. When no form is defined, shform displays a menu instead of a form. In this case, only the first defined menu is displayed. If a form is defined, then the only menus displayed are those referenced in the form fields (via the Rmenu keyword, defined above). The Menu keyword is followed by a series of menu attribute definitions. Prompt = prompt string The prompt string is displayed on the prompt line when the menu is displayed. Rows = number Defines the number of rows in the menu display. Columns = number Defines the number of columns in the menu display. If neither Rows nor Columns is defined, then the built-in menu heuristic is used for determining the number of rows and columns in the menu. �� � If this keyword is present, the menu is multi-select. Otherwise, the menu is a single select menu. N arne = item name Follows the menu attributes and specifies the name displayed in the menu. This keyword is returned to the caller when this item is selected. - 2-

( \ SHFORM(I) (AT&T UNIX PC only ) SHFORM (l) SEE ALSO menu(3T), form(3T), tam(3T). - 3-

SHFORM(l) (AT&T UNIX PC only ) SHFORM (l)<br />

Frow = number<br />

Defines the row in the form where the current field<br />

displays.<br />

Nco) = number.<br />

Defines the column in the form where the field name<br />

displays.<br />

Fcol = number<br />

Defines the column in the form where the field value<br />

displays.<br />

Flen = number<br />

Defines the maximum length of the field value, in<br />

columns.<br />

Value = initial field value<br />

Defines the initial contents (default value) for the field.<br />

Rmenu = menu name<br />

If the field has an associated menu of options, this keyword<br />

is included. The menu name must be defined later<br />

in the file with the Menu keyword (see below).<br />

Menuonly<br />

If this keyword is present then user editing of the field is<br />

forbidden and any key which is typed will cause the associated<br />

menu to display.<br />

Menu Definition Keywords<br />

Menu = menu name �<br />

Begins a menu definition. When no form is defined,<br />

shform displays a menu instead of a form. In this case,<br />

only the first defined menu is displayed. If a form is<br />

defined, then the only menus displayed are those referenced<br />

in the form fields (via the Rmenu keyword, defined<br />

above). The Menu keyword is followed by a series of<br />

menu attribute definitions.<br />

Prompt = prompt string<br />

The prompt string is displayed on the prompt line when<br />

the menu is displayed.<br />

Rows = number<br />

Defines the number of rows in the menu display.<br />

Columns = number<br />

Defines the number of columns in the menu display. If<br />

neither Rows nor Columns is defined, then the built-in<br />

menu heuristic is used for determining the number of rows<br />

and columns in the menu.<br />

�� �<br />

If this keyword is present, the menu is multi-select. Otherwise,<br />

the menu is a single select menu.<br />

N arne = item name<br />

Follows the menu attributes and specifies the name<br />

displayed in the menu. This keyword is returned to the<br />

caller when this item is selected.<br />

- 2-

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!