DEFINE MENU ENTRY
Adds an EVE command to to a pull-down or pop-up menu for the DECwindows
interface.
Steps:
1. Use DEFINE MENU ENTRY.
2. Type the name of the menu to which you want to add a command:
File Pulldown Search Pulldown Help Pulldown
Edit Pulldown Display Pulldown Select Popup
Format Pulldown Customize Pulldown Noselect Popup
Put the name in quotes or let EVE prompt you for it. You need only
use the first term of the menu name, but you cannot abbreviate this
term.
3. Type the name of the EVE command you want the menu item to execute.
Put the name in quotes or let EVE prompt you for it.
4. Type the name that you want to appear on the menu. Put the name in
quotes or let EVE prompt you for it. If you simply press RETURN at
the prompt, without typing anything, the label is the same as the
command name.
5. Type Yes or No to specify whether you want a separator line to appear
above the name, as a visual aid or for aesthetics. Put the response
in quotes or let EVE prompt you for it.
Example:
The following command adds SHOW BUFFERS to the File menu, labeling the
item "Buffer List," and adds a line separator above the item:
Command: DEFINE MENU "File" "SHOW BUFFERS" "Buffer List" "Yes"
Usage notes:
o You cannot use DEFINE MENU ENTRY on character-cell terminals.
o To save menu definitions for future editing sessions, use SAVE
ATTRIBUTES to create a section file or to create or update a command
file. See help on Attributes.
Related topics:
DECwindows Menus UNDEFINE MENU ENTRY