Previous: left-angle-command Up: ../info.html Next: minus-command
The "M" command selects an menu item from the current display. When you are in the menu node, the display will look something like this: * Menu (type H<cr> or ?<cr> for HELP) * Top:: * Item-1:: Optional comments * Item: (filename)nodename. Optional comments ... All those lines beginning with an asterisk, except the first ("* Menu..."), are menu items. Lines without the leading asterisk are comment lines. You select a particular menu item by typing "Mitemname". Only the first few characters of the itemname need be specified, and if more than one menu name matches the itemname you specify, the first one will be chosen. Many INFO authors will alphabetize their nodes, so that if some node names have common leading substrings, and the first one selected was not the one you want, a few "N" or "P" commands will quickly get to the desired one. Node names can have two formats. The most common is simply a name followed by a colon pair, and that name is the only name the node then has. The second form has the name followed by a single colon, followed by a longer name in parentheses, possibly followed by another name. The parenthesized name represents an INFO file, and will be converted to a legal file name according to the local operating system customs. If no name follows the parenthesized name, then selection of that menu item will put you in the menu node of the new file; otherwise, the name is a node name, and you will be positioned there. For example, "(INFO)M-command" is the name of the node you are now reading, and on the DEC-20 would be translated into a file name PLT:INFO.NFO. In a Unix installation, the node name would be the same, but the file name might be "/usr/local/info/info.info". Both kinds of node names can be followed by an optional comment which begins after the double colon, or after a period following a file-naming node name. The comment can contain any characters and can extend up to column 72.