menudef - create or maintain menufiles used by menu


menudef [-c] [ -uad123s] menufile [newmenufile]


Menudef creates or modifies the menufiles and parameter forms used by
the C/Base menu command.

If the -c flag is specified, the space taken by the 'display attribute'
is set to 0. The default value is 1 if this flag is not specified.

When one or more of the flags -adfqsu123 is specified the flags that are
not specified are disabled. If none of these flags is specified all the
options are enabled.

-a add allowed
-d delete allowed
-f find allowed
-q query allowed
-s Menu Name assigned is 'Untitled' and enabled
-u update allowed
-1 'Menu Description' screen(s) enabled
-2 'actual menu' screens(s) enabled
-3 'Command Description' screen(s) enabled

The menufile argument specifies the name of the menu file to be created
or modified. It contains a sequence of menu definitions and parameter
form definitions. When menudef exits, the additions and changes made
are written to this file.

The optional newmenufile argument specifies an alternate output file
name. If this argument is specified, the output from menudef is written
to this file, and the menufile file is not changed.


Chapter 8, Creating Menus.