home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume33 / problem / part01 / help.h < prev    next >
Encoding:
Text File  |  1992-10-19  |  2.8 KB  |  64 lines

  1. /*
  2. ** help.C - strings displayed for help while in the lister
  3. **
  4. ** help.h 1.7   Delta'd: 17:26:30 10/7/92   Mike Lijewski, CNSF
  5. **
  6. ** Copyright (c) 1991 Cornell University
  7. ** All rights reserved.
  8. **
  9. ** Redistribution and use in source and binary forms are permitted
  10. ** provided that: (1) source distributions retain this entire copyright
  11. ** notice and comment, and (2) distributions including binaries display
  12. ** the following acknowledgement:  ``This product includes software
  13. ** developed by Cornell University'' in the documentation or other
  14. ** materials provided with the distribution and in all advertising
  15. ** materials mentioning features or use of this software. Neither the
  16. ** name of the University nor the names of its contributors may be used
  17. ** to endorse or promote products derived from this software without
  18. ** specific prior written permission.
  19. **
  20. ** THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
  21. ** IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  22. ** WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  23. */
  24.  
  25. const char *const help_file[] = {
  26.     " CURSOR MOVEMENT COMMANDS:",
  27.     "",
  28.     "    ?  H               Display this help.",
  29.     "    q                  quit.",
  30.     "    j  n  ^N  SPC  CR  Forward  one line.",
  31.     "    DOWN_ARROW_KEY             \"        .",
  32.     "    k  p  ^P  ^Y       Backward one line.",
  33.     "    UP_ARROW_KEY               \"        .",
  34.     "    ^F  ^V             Forward  one window.",
  35.     "    b  ^B  ESC-V       Backward one window.",
  36.     "    ^D                 Forward  one half-window.",
  37.     "    ^U                 Backward one half-window.",
  38.     "    <                  Go to first line of listing.",
  39.     "    >                  Go to last line of listing.",
  40.     "",
  41.     " COMMANDS WHICH OPERATE ON THE CURRENT PROBLEM:",
  42.     "",
  43.     "    a                  Append to current problem.",
  44.     "    c                  Close current problem.",
  45.     "    d                  Delete current problem.",
  46.     "    e m v              Examine, View or \"more\" current problem.",
  47.     "    r                  Reorganize the database.",
  48.     "    M                  Modify keyword field.",
  49.     "    R                  Reopen a closed problem.",
  50.     "    S                  Save problem listing to a file - prompts for filename.",
  51.     "",
  52.     " MISCELLANEOUS COMMANDS:",
  53.     "",
  54.     "    !                  starts up a shell.",
  55.     "    ! cmd              executes a shell command - prompts for command.",
  56.     "    !!                 reexecutes previous shell command.",
  57.     "    ^L                 Repaint screen.",
  58.     "    CR                 Signifies end-of-response when in a prompt.",
  59.     "    V                  Print out version string."
  60. };
  61.  
  62. // number of entries in help_file
  63. const int HELP_FILE_DIM = int(sizeof(help_file) / sizeof(help_file[0]));
  64.