GENMENU(1) I/Forms FORMS_S product GENMENU(1)
NAME
genmenu - menu generation utility
SYNOPSIS
genmenu [-v] [-p <palette prefix>] <outline_file> <menu_file>
DESCRIPTION
Genmenu, delivered with the FORMS_S product, creates I/FORMS
panel, bar and pocket menu files from text outline files.
If a dash, `-', is specified for <outline_file>, genmenu reads
the outline from standard input (stdin).
If the -v option is specified, genmenu prints a description of
the menu to standard output (stdout).
Error messages are printed to standard error (stderr).
When creating a panel menu, <menu file> contains only the data
from the first palette. The other palettes are written to
files with names generated from the palette names in the outline
and the optional <palette prefix>. A palette file name is the
first 14 characters from:
<palette prefix><palette name>
In the file name, characters other than letters, numbers, the
period, `.', and the underbar, `_', are replaced by underbars.
For example:
o If <palette prefix> is not defined and the palette name is
`File Manipulations', the palette file is named
`File_Manipulat'.
o If <palette prefix> is `EM' and the palette name is `Design',
the palette file is named `EMDesign'.
EXAMPLES
The command line:
genmenu panel.otl PANEL_MENU
reads the panel menu outline `panel.otl' and writes the palette
files to the current directory. The first palette's file name
is `PANEL_MENU' and the other palette file names are derived
from the palette names.
The command line:
genmenu -v bar.otl $DRAFT_MENUS/BAR_MENU >bar.log
reads the bar menu outline `bar.otl', writes a description of
the menu to `bar.log', and writes the palette file `BAR_MENU'
in the $DRAFT_MENUS directory.
FILES
/usr/ip32/forms_s/bin/genmenu (symbolically linked to /usr/bin)
RELATED INFORMATION
See the "I/Forms Programmer's Reference Manual" for a
description of the outline file format.