next up previous contents
Next: Text to Speech Conversion Up: Voice Response System Management Previous: Root Menu   Contents

Nested Menu Handler

Nested Menu Handler (NMH) is a simple menu based user interface.

A menu command is the first character of the first word on the command line. Only the first character is significant. A '?' provides a list of available commands. Illegal commands result in a reminder of the availability of '?'.

If the command corresponds to a menu function, that function is invoked. If the menu function expects arguments, the arguments can be issued on the command line.

If the command corresponds to another menu, that menu becomes active. Every menu level has a "menu prompt" associated with it. When the user enters a menu, previous menu prompts are concatenated to the current prompt and displayed. This reminds the user of which submenu he is currently at.

Characters listed in the following table are treated specially by the menu handler:

        '?'     Display all menu items.
        ' '     Argument Separator.
        ';'     Command Separator.
        '\bs '  Command terminator.
        'x'     Pop the menu Stack. 
        '\bs '  Go to Root level menu.

All Neda Communications, Inc. programs conform to the Proposed Syntax Standards for Unix System Commands put forth by Kathy Hemenway and Helene Armitage of AT&T Bell Laboratories in Unix/World, Vol.1, No.3, 1984. Some of these rules are:

  1. Command names must be between 2 and 9 characters.
  2. Command names must include lower case letters and digits only.
  3. An option name is a single character.
  4. Options are delimited by '-'.
  5. Options with no arguments may be grouped (bundled) behind one delimiter.
  6. Option-arguments may not be optional.
  7. Arguments immediately follow options, separated by whitespace.
  8. The order of options does not matter.
  9. A '-' preceded and followed by whitespace means standard input.
  10. A group of bundled options may end with an option that has an argument.
  1. "SCA" SC01 Ascii codes.
  2. "SCB" SC01 binary codes.
  3. "IPA" International Phonetic Alphabets.
  4. "NRL" Naval Research Laboratories.
CONTENTS"


next up previous contents
Next: Text to Speech Conversion Up: Voice Response System Management Previous: Root Menu   Contents