home *** CD-ROM | disk | FTP | other *** search
/ Between Heaven & Hell 2 / BetweenHeavenHell.cdr / 500 / 440 / coverup.doc < prev    next >
Text File  |  1988-07-19  |  32KB  |  702 lines

  1.  
  2.  
  3.                        The CoverUP(c) System
  4.          (c) Copyrighted by The Software Connection, Inc.
  5.                              1985,1986
  6.  
  7.  
  8.  
  9.     CoverUP(c)  is  a very simple and powerful menuing system for 
  10. the IBM and compatible computers.  The system consists of: 
  11.  
  12.  
  13.                 COVERUP.COM     The Menu Program
  14.                 MAKEMENU.COM    The Utility Program
  15.                 FILEHELP.COM    File Management Utility
  16.                 COVERUP.CUP     A sample Master Menu
  17.                 UTILITY.CUP     A sample UTILITY Menu 
  18.                 PRINTER.CUP     A sample PRINTER Menu 
  19.                 BACKUP.CUP      A sample BACKUP Menu 
  20.                 RESTORE.CUP     A sample RESTORE Menu 
  21.  
  22.  
  23.                                           
  24. Features:
  25.  
  26.         * Works on IBM PC/XT/AT and Compatibles. 
  27.         * Requires only 42K of Memory. 
  28.         * Works with SideKick and Other Memory Resident Programs.  
  29.         * Works with all Versions of DOS above 2.00.
  30.         * Adds Security Control to any program.
  31.         * Provides On-Line documentation of any menu selection. 
  32.         * Relieves the user of remembering complex DOS syntax.
  33.         * Only 5 commands to learn. 
  34.         * Seldom used programs may be recalled in seconds. 
  35.  
  36.  
  37. COVERUP.COM
  38.  
  39.     CoverUP(c)  can be executed from the DOS  command  prompt  or 
  40. can  be included in an AUTOEXEC.BAT file.  CoverUP(c) will search 
  41. for  the first menu,  COVERUP.CUP,   and display that menu.    If 
  42. COVERUP.CUP is absent, CoverUP(c) will abort.  
  43.  
  44.     When  a  menu  is  displayed by  CoverUP(c),   the  following 
  45. messages automatically appear on the bottom of the menu: 
  46.  
  47.  
  48.  
  49. F1 - Item Note                        SPACE BAR - Select Item
  50. F2 - Item Manual (supplied by user)   RETURN    - Execute Item 
  51.                                       ESCAPE    - Previous Menu 
  52.  
  53.                     Only 5 Keys to Remember !
  54.  
  55.  
  56. F1-Item Note  Notes  concerning the use of the selected menu item 
  57.     are windowed on the screen.  
  58.  
  59. F2-Item  Manual   Complete  user  supplied  documentation  manual 
  60.     concerning the selected menu item will be windowed on the 
  61.     screen.  
  62.  
  63. SPACE BAR The user presses the SPACE BAR to select a menu option.  
  64.     The program  highlights  the chosen selection.   The user may 
  65.     also use the arrow keys to move about the CoverUP  Menu.    A  
  66.     specific  menu  item may also be selected  by  entering   the  
  67.     first letter of that menu item. 
  68.  
  69. RETURN The user simply presses the RETURN key and the menu option 
  70.     selected  with  the  SPACE  BAR  is executed.   When the menu 
  71.     option  is  terminated, the  user is returned to the selected 
  72.     menu and menu option.  
  73.  
  74. ESCAPE The user presses ESCAPE to return to  the  previous  menu.  
  75.     If   the user is already at the first menu (CoverUP.CUP),  no 
  76.     change is made.  
  77.  
  78. EXIT to DOS The user simply uses a menu option to return to  DOS.  
  79.     There  is  no  automatic  return to CoverUP(c).  The user may 
  80.     be  prevented  from working at the DOS level by not  offering 
  81.     this menu option or password protect this option.  
  82.  
  83.  
  84. MAKEMENU.COM
  85.  
  86.     This utility  program  is used to create new  menus or modify 
  87. existing ones. 
  88.  
  89. MENU FILE ID  A 1- to 8-character file name,  optionally followed 
  90.     by   the default extension .CUP.   The program will add  this 
  91.     extension of not included.   
  92.  
  93. FILE ON DRIVE  A letter of the alphabet designating a drive.   A, 
  94.     B, C, etc, 
  95.  
  96.  
  97. 1.  This  utility  creates  or  edits  a file containing the data 
  98.     necessary for the computer to display  and  execute  a  menu.  
  99.     The  prompt listed above is the first of a series of prompts.  
  100.     The MENU FILE ID in the first prompt refers to the file to be 
  101.     created or edited.  The File ID  field  must  have  an  entry 
  102.     before  the  program will proceed.  This utility is exited by 
  103.     simply pressing RETURN at this prompt.  
  104.  
  105. 2.  The Drive Designation field in the first prompt allows you to 
  106.     specify the drive on which you edit or create the menu.  
  107.  
  108. 3.  When you select a file name and drive that does  not  already 
  109.     exist,  the  utility  will  first report the ERROR - File not 
  110.     Found - and then give you the option to CREATE (Y/N) the  new 
  111.     menu.  
  112.  
  113. 4.  If you decline to CREATE a new menu,  the utility will return 
  114.     for another file name and drive.  You may either enter a  new 
  115.     choice or RETURN to exit the utility.  
  116.  
  117. 5.  Once  you have chosen an old menu or created a new menu,  the 
  118.     menu  will  be  displayed  just  as  with  CoverUP.COM.   The 
  119.     operator  options  are  displayed in the lower corners of the 
  120.     screen.  
  121.  
  122. 6.  Menu options that are not defined will be  shown  as  UNUSED.  
  123.     Movement about the options is the same as in CoverUP.COM,  by 
  124.     using the space bar or the arrow keys.  
  125.  
  126.  
  127. S SAVE  The S option allows the operator to save current  editing 
  128.     as desired.  The utility will automatically save most editing 
  129.     efforts.  
  130.  
  131. M MOVE  The  M option allows the user to rearrange the menu items 
  132.     in any order he wishes.  Choose the item to be moved and then 
  133.     type the M key.  The item is now marked for movement.  Simply 
  134.     choose  the desired menu item location using the space bar or 
  135.     the  arrow keys   and  press  RETURN.  The  menu  items  will  
  136.     now exchange locations on the menu.  Repeat the process until 
  137.     the menu is  arranged the way you want it.   At any time  you 
  138.     interrupt the M process the original marking is lost.  
  139.  
  140. T OPTION  The T option allows the operator to enter  three  lines 
  141.     of up to 66 characters to title the menu.  Each title line is 
  142.     displayed after entry to check for correctness.  
  143.  
  144. SPACE  The  SPACE  option  allows  the operator to move among the 
  145.     menu options.  This movement is identical to CoverUP.COM.  
  146.  
  147. RETURN  The  RETURN  option  allows  the  operator  to  edit   an 
  148.     individual  menu  option.  The  option  chosen  by  the SPACE 
  149.     function is highlighted.  
  150.  
  151. ESCAPE  The ESC option allows the operator to  exit  the  editing 
  152.     function and either work another file or exit the utility.  
  153.  
  154. F1  The F1 option displays the current items notes.  
  155.  
  156. F2 The F2 option will display the manual for the menu item if one 
  157.     has been specified at edit time.  
  158.  
  159. 1.  MENU LINE  The operator should enter the MENU LINE exactly as 
  160.     it is wanted on the menu.  A descriptive MENU LINE  helps  to 
  161.     overcome   "computerphobia"  during  operator  training.   30 
  162.     characters are allowed to describe the MENU LINE.  
  163.  
  164. 2.  COMMAND  The operator should enter  the  exact  command  line 
  165.     that will be executed by DOS when this menu item is chosen by 
  166.     a  user.  Be  sure  to  use  drive  designations,  paths  and 
  167.     complete syntax as defined in your DOS manual.  66 characters 
  168.     may  be passed to DOS.   For example,  the command DIR A:\*.* 
  169.     would  list  to  the  screen all  the  files  from  the  root 
  170.     directory of the disk in the A drive. 
  171.  
  172.     Multiple  commands  may  be  entered  as  one  entry  in  the 
  173.     CoverUP(c) system.  Simply separate each  individual  command 
  174.     with  a  comma.  The  length  of  66  characters  applies  to 
  175.     multiple commands.   For example,  the command FORMAT B:,COPY 
  176.     A:*.*  B:  would format the disk in the B drive and copy  all 
  177.     the  files from the disk in the A drive to the disk in the  B 
  178.     drive. 
  179.  
  180.     Up to 9 filename requests may be made in  any  command   line 
  181.     just  as  with  the  DOS batch  files.   A  %  (percent sign) 
  182.     followed  by  a  number from 1 to 9,   will be  replaced   by  
  183.     operator  supplied filenames at execution time.  For example, 
  184.     the  command  REN  %1  %2  would prompt the use for two  file 
  185.     names. 
  186.  
  187. 3.  CLEAR (Y/N)  The  operator should decide whether to clear the 
  188.     the computer screen prior to executing the menu option.  Some 
  189.     DOS functions and programs are better displayed on  blank  or 
  190.     scrolling  screens.  The  best  way to judge is to experiment 
  191.     using both options.  Only Y or N are acceptable choices.  
  192.  
  193. 4.  PAUSE (Y/N)  The operator should decide whether to  hold  the 
  194.     screen after menu option execution until the user presses any 
  195.     key.  Some DOS functions and programs are better read without 
  196.     flashing screens.  The best judge is to experiment using both 
  197.     options.  Only Y or N are acceptable choices.  
  198.  
  199. 5.  TYPE CMD (1-EXIT, 2-DOS, 3-MENU)  The  operator  should enter 
  200.     the number corresponding to the menu option type.  
  201.  
  202.     1-EXIT  This type of menu option simply returns the  user  to 
  203.         the  DOS operating system.  It is a simple way to exit to 
  204.         DOS.  No return to CoverUP.COM will be made.  This choice 
  205.         is  normally used only once,  to allow working at the DOS 
  206.         level rather than through CoverUP(c). 
  207.  
  208.     2-DOS  This type of menu option  is  for  commands  that  are 
  209.         normally  entered  at  the  DOS  prompt.   This  includes 
  210.         internal commands,  external commands,  various  programs 
  211.         and batch files calls. 
  212.  
  213.     3-MENU  This  type of menu option is for other menu files.  A 
  214.         complete  file name should be used.   File  extension  is 
  215.         defaulted to .CUP.  CoverUP.COM always calls CoverUP.CUP.  
  216.         If  CoverUP.CUP  is not  present  CoverUP.COM  will   not  
  217.         work.   CoverUP.CUP may be edited as desired.  MENU files 
  218.         may be nested up to a level of 10.   Beyond this  number, 
  219.         CoverUP.COM will always revert to CoverUP.CUP.  
  220.  
  221. 6. USE COMMAND.COM (Y/N)   The operator should enter a Y or N  as 
  222.     desired.  Most  of  the time Y will be the proper choice.  By 
  223.     choosing Y,  COMMAND.COM will be invoked to execute the  menu 
  224.     option  for DOS commands.  This insures better portability of 
  225.     the MENU  System  for  future  releases  of  DOS.  Also  path 
  226.     searches,  pipes  and  redirection  will  only  function when 
  227.     COMMAND.COM is chosen.  
  228.  
  229. 7.  NOTE LINES The operator should utilize the 4  Note  Lines  as 
  230.     necessary  to  quickly remind the user of the function of the 
  231.     menu items.  This notepad is displayed by using the F1 Key in 
  232.     CoverUP(c).  
  233.  
  234. 8.  MANUAL  FILE The operator should enter a filename of any file 
  235.     which is documentation for the menu item.  The  F2  Key  will 
  236.     then  scroll  through  the  file  one screen at a time.  Menu 
  237.     items which are used very infrequently should have  a  Manual 
  238.     File  if possible.   For example,  the README files that come 
  239.     with  most  software  are often a brief  explanation  of  the 
  240.     software. 
  241.     
  242.     Manual Files may be created  with  any  word  processor  that 
  243.     creates  straight  ASCII files.  Each screen is 70 characters 
  244.     by 11 lines.  
  245.  
  246. 9.  In order to use a menu you have created,  you  must  call  it 
  247.     from  an already existing menu.  Therefore you must first add 
  248.     the name of the new menu to an old menu.  
  249.  
  250. 10. A menu option is deleted by simply editing the chosen  option 
  251.     and  either  deleting the MENU LINE or entering Unused as the 
  252.     MENU LINE.  When  the  file  is  saved  the  option  will  be 
  253.     deleted.  
  254.  
  255.  
  256. A FEW POSSIBILITIES WITH DOS COMMANDS:
  257.  
  258.         Menu Item :  Directory of Left Floppy
  259.         Command   :  DIR A:*.*
  260.         Password  :  
  261.  
  262.         Hints     :  A simple command which will give a directory 
  263.                      listing of a designated floppy.  No password 
  264.                      is required.  
  265.         Menu Item :  Directory of Upper Floppy
  266.         Command   :  DIR A:*.*
  267.         Password  :  pass
  268.  
  269.         Hints     :  A simple command which will give a directory 
  270.                      listing  of a designated floppy.  A password 
  271.                      is required to  execute  this  command.  The 
  272.                      password is pass.  
  273.  
  274.  
  275.         Menu Item :  Directory of Right Floppy
  276.         Command   :  DIR B:*.*
  277.         Password  :  test 
  278.         Hints     :  A simple command which will give a directory 
  279.                      listing  of a designated floppy.  A password 
  280.                      is required to  execute  this  command.  The 
  281.                      password is test.  
  282.  
  283.         Menu Item :  Directory of Lower Floppy
  284.         Command   :  DIR B:*.*
  285.         Password  :  harry
  286.  
  287.         Hints     :  A simple command which will give a directory 
  288.                      listing of a designated floppy. The password 
  289.                      is harry.  
  290.  
  291.         Menu Item :  Printout of Left Floppy Directory
  292.         Command   :  DIR A:*.* > PRN: 
  293.         Password  :  
  294.  
  295.         Hints     :  A   simple   command   which  will  print  a 
  296.                      directory listing of a designated floppy  to 
  297.                      the printer. No password is required. 
  298.         Menu Item :  Sorted Printout of Left Floppy Directory
  299.         Command   :  DIR A:*.* | SORT > PRN: 
  300.         Password  :  
  301.  
  302.         Hints     :  A   simple   command   which  will  print  a 
  303.                      directory listing,  sorted  by  name,  of  a 
  304.                      designated   floppy   to  the  printer.   No 
  305.                      password is required.  
  306.  
  307.  
  308.         Menu Item :  Sorted Directory a Screen at a Time
  309.         Command   :  DIR A:*.* | SORT | MORE 
  310.         Password  :  
  311.         Hints     :  A  simple  command  which  will  display   a 
  312.                      directory  listing,   sorted  by  name,  one 
  313.                      screen at a time. No password is required. 
  314.  
  315.  
  316.         Menu Item :  Sorted Directory a Screen at a Time
  317.         Command   :  DIR A:*.* | SORT | MORE 
  318.         Password  :  
  319.         Hints     :  A  simple  command  which  will  display   a 
  320.                      directory  listing,   sorted  by  name,  one 
  321.                      screen at a time. No password is required. 
  322.  
  323.  
  324.         Menu Item :  Prepare New Floppy Disks
  325.         Command   :  FORMAT B:/S 
  326.         Password  :  yes 
  327.         Hints     :  A   simple   command  which  will  format  a 
  328.                      diskette and place the operating  system  on 
  329.                      that diskette.  A password is required.  The 
  330.                      password is yes.  The use of a password with 
  331.                      this  command  can  prevent  the  accidental 
  332.                      erasure of your hard disk by the user.  
  333.  
  334.  
  335.         Menu Item :  Backup Left Floppy to Right Floppy
  336.         Command   :  FORMAT B:/S, COPY A:*.* B: 
  337.         Password  :  yes 
  338.         Hints     :  A   simple   command  which  will  format  a 
  339.                      diskette and place the operating  system  on 
  340.                      that  diskette.  All  files  are then copied 
  341.                      from drive A to drive B.  The effect  is  to 
  342.                      backup  the  left  floppy.   A  password  is 
  343.                      required.  The password is yes.  Notice  the 
  344.                      similarity  between  the  command line and a 
  345.                      batch file.  Multiple commands may be issued 
  346.                      by CoverUP(c) by simply separating them with 
  347.                      a  comma.  This  feature  is  not  meant  to 
  348.                      replace a batch file but to supplement  it's 
  349.                      use.  CoverUP(c)  will  execute a batch file 
  350.                      so you have the best of all worlds.  
  351.  
  352.         Menu Item :  Erase  Backup  Files
  353.         Command   :  DEL *.BAK 
  354.         Password  :  jenny 
  355.  
  356.         Hints     :  A simple command which will delete all files 
  357.                      on the current  drive  which  have  the  BAK 
  358.                      extension.  This is a common task created by 
  359.                      most word processors.  An inexperienced user 
  360.                      turned  loose  with  the  DEL command  is an 
  361.                      accident waiting to happen.  A  password  is 
  362.                      definitely required.  The password is jenny.  
  363.         Menu Item :  Backup Hard Disk
  364.         Command   :  BACKUP C:\*.*  A: /S
  365.         Password  :  tom 
  366.  
  367.         Hints     :  The backup of the hard disk to floppies is a 
  368.                      chore  no  one likes and no one can remember 
  369.                      the syntax.  That's where the little  yellow 
  370.                      notes  come  from.   A  password  should  be 
  371.                      required. The password here is tom.  
  372.  
  373.         *****     :  The syntax for  the  backup  command  varies 
  374.                      from  implementation  to  implementation  of 
  375.                      MS/PC-DOS. Be sure to check your DOS manual.  
  376.  
  377. A FEW POSSIBILITIES WITH PROGRAMS:
  378.  
  379.     Several programs which are purchased as complete packages are 
  380. really  a collection  of several  small  programs.  Seldom   used 
  381. utilities  are  normally  included  to  accomplish various tasks.  
  382. Often the syntax is forgotten or the special  use  forgotten.  By 
  383. taking  these  programs  and  incorporating  them in a consistent 
  384. menu,  the user has them available at the touch  of  a  key.  The 
  385. syntax  may  be  included  in the brief NOTE window or the manual 
  386. included in the extensive MANUAL file.  Those handy READ.ME files 
  387. can be renamed and included as a manual in the appropriate place.  
  388.  
  389.     As  an  example  let's  take  the  excellent  word  processor 
  390. called PC-WRITE.  This program is distributed under the SHAREWARE 
  391. concept.  It is really a collection of programs: 
  392.     
  393.         ED.EXE            The Document Editor
  394.         HELPE.DEF         The OnLine Help Data
  395.         PR.EXE            The Document Print Program
  396.         MENUPRT.COM       The Printer Configuration Program
  397.         PRINT.TST         The Printer Test Print Data
  398.         MANUAL1.DOC       Part one of the Documentation
  399.         MANUAL2.DOC       Part two of the Documentation
  400.         MANUAL3.DOC       Part three of the Documentation
  401.         MANUAL4.DOC       Part four of the Documentation
  402.         PRINTER.DOC       Printer Documentation
  403.         *.*               Several Other Data and Helpful Files
  404.  
  405.     Let's  take  this collection and  see  if  we  can   make   a 
  406. coherent  easy  to  use  Word  Processing System Menu that even a 
  407. user can be comfortable with.  
  408.  
  409.     With  MakeMenu  we can create a new menu.   Let's call   that 
  410. menu WORD.CUP.  At the FILE  ID,  type  WORD.  The  program  will 
  411. supply the extension CUP.  At the DRIVE ID,  type the appropriate 
  412. drive you are using. For our purposes we will enter A.  
  413.  
  414.     The program will beep and suddenly tell you that an error has 
  415. occurred.  At this point, simply press any key to acknowledge the  
  416. error  condition.    Once you have acknowledged the error,    the 
  417. program offers the opportunity  to  create  the  new  menu.  When 
  418. prompted  to  create  the  file  simply  enter a Y and [CR].  The 
  419. program has now created the new menu file and  we  are  ready  to 
  420. design it.  
  421.  
  422.     Let's  begin  by changing the title lines to our  new   menu.  
  423. This is accomplished by entering a T and [CR].  
  424.  
  425.      Let's call our title lines:
  426.  
  427.                  Title 1   WORD PROCESSING
  428.  
  429.                  Heading   Word Processing
  430.  
  431.     Enter  the  titles  as shown.  Notice  that  each time a line 
  432. is  entered the corresponding title is displayed to  show  how it 
  433. will appear on the screen.   If you are a perfectionist, a couple 
  434. tries  may be necessary to get the spacing  just   right.   After  
  435. all  is well,  simply press the ESC key and the  information will 
  436. be stored in our new menu.  
  437.  
  438.     Now that we are back to the main MAKEMENU screen and have our 
  439. new titles in place we note  that  all  menu   items   are titled  
  440. UNUSED.  Now  the fun begins.  Let's try to design a menu that is 
  441. logical, friendly and sequenced by usage.  
  442.  
  443.     ED.EXE  is  the main document processor.   The syntax to  use 
  444. this program is, 
  445.  
  446.                   A>  ED YOUR.DOC    [CR]
  447.  
  448. where YOUR.DOC is the name of a document you  wish  to  edit.  If 
  449. .DOC   is   not  included  ED will supply a default  document  of 
  450. WORK.DOC and then allow you to change the name.  Although this is 
  451. an acceptable  procedure  for  very  experienced  word  processor 
  452. s, it is a very mind boggling procedure for the novice.  
  453.  
  454.     Since  the  editor is the most frequently used program  in  a 
  455. processing  system,  let's move the menu item choice to the first 
  456. item.  Son of a gun,  it's already there.  Well,  press  the [CR] 
  457. and let's go.  
  458.  
  459.     Let's begin by entering the menu item  title.   It  should be 
  460. something  that is descriptive and almost self explanatory.   How 
  461. about...Edit  a  document.  Notice  how the program shows you the 
  462. amount of space that is authorized for  the  title.  Play  around 
  463. with this one a bit.  Check how the program handles the INS, DEL, 
  464. ARROW,  and  [CR] keys.  All entries in the CoverUP(c) system are 
  465. handled in a similar fashion.  Once you can manage one  the  rest 
  466. are all the same.  
  467.  
  468.     Now the  actual  command to pass to DOS is required.  In this 
  469. case the command is ED YOUR.DOC or ED.   Since the user  will not  
  470. be  editing  YOUR.DOC at all times we need a method to allow  the  
  471. user   to   designate  the  name   of    YOUR.DOC.     CoverUP(c) 
  472. accomplishes  this  by  using  a %1 when we wish to have the user 
  473. specify the file.  So now our command line will be 
  474.  
  475.                              ED %1
  476.  
  477.     Now  each  time the user chooses to edit  a  document,    the 
  478. computer will ask for the file name. We will talk more about this 
  479. feature later.  
  480.  
  481.     The system now  needs to know about the security  aspects  of 
  482. this operation.   It wants  to know whether this  menu item has a 
  483. password  associated with it.  If we specify a password then each 
  484. time the user tries to execute the menu item the password will be 
  485. requested.  No password No program !  This allows you to restrict 
  486. access to any program.  In this case, I don't think a password is 
  487. necessary.  If you choose to use a password remember the password 
  488. is case sensitive.  What that means is that a lower case b is not 
  489. the same as an upper case B.  
  490.  
  491.     Decision  time.  We  now need to decide whether the  computer 
  492. needs to  clear  the  display  BEFORE  it  executes  the program.  
  493. Fortunately  we  can experiment with no harm done.  For now let's 
  494. ly enter a Y.  Your choices are only Y or N.  
  495.  
  496.     Decision   time  again.   We now need to decide  whether  the 
  497. computer needs to hold the  screen  AFTER  executing  a  program.  
  498. Again we can experiment,  with no harm done.   
  499.   
  500.     The  program  needs to know what kind of a command   it   has 
  501. been given.  The choices are very simple;  EXIT, DOS, or MENU.  A 
  502. DOS  command  is any command that  is  normally  given   at   the 
  503. system  prompt  by the user and is followed by a [CR].   The EXIT 
  504. is  a way to return control to the   computer's native  operating 
  505. system.   Since CoverUP(c)  is a program or shell,  an EXIT  will 
  506. return the user to the normal sytem prompt.  I chose to make this  
  507. type of EXIT  a  menu  item rather  than a keystroke so that  any 
  508. user  may be denied access to the operating  system.    The  last 
  509. choice  is  MENU.   Since   we  are creating  a working menu this 
  510. would  be inappropriate.   Wait until we are done with this  menu 
  511. and I will explain further. 
  512.  
  513.     Well what's your DECISION ?  If you chose DOS,  then  you are 
  514. correct.  
  515.  
  516.     The  next  item is very simple.  Use Command.COM  Y/N.    The 
  517. answer is Y.  If you know when not to use it then go  ahead.  For 
  518. the rest of us simply use Y.  
  519.  
  520.     The  next  four items  compose  the  NOTE  window   that   is 
  521. always  available to the user by pressing the F1 Key.  The normal 
  522. editing features are available.  The messages  you  display  here 
  523. should  be  meaningful  for the specific item rather than for the 
  524. menu as a whole.  
  525.  
  526.     The   last   item  should contain the file  of  documentation 
  527. relevant to the menu item.  Often there is no such file.  If  you 
  528. feel  it  is  necessary  then  use  a  Word  Processor that works 
  529. strictly with ASCII files.  The screen-at-a-time  format  is used 
  530. which is ll lines of 70  characters each.  If no documentation is 
  531. wanted  or  available  then  simply leave the field blank.  
  532.  
  533.     In   this  example  we  will use MANUAL1.DOC.   This  is  the 
  534. central documentation file for the editor of PC-Write.  
  535.  
  536.     As we have gone along this scenario,  you may have entered in 
  537. error  any of the various items.   If this is  the  case   simply 
  538. move  about  the  screen  with  the  arrow  keys and correct your 
  539. entries.  Once you are finished press the ESC key and  this  menu 
  540. item will be finished.  
  541.  
  542.     Now   that  we  have entered the first menu item,   I   won't 
  543. spend so much time on each item. The mechanics of item design and 
  544. layout is pretty straight forward.  Most of the time a trial  and 
  545. error routine is sufficient.  
  546.  
  547.     HELPE.DEF   this   file  is a data file containing  the  help 
  548. screens.  These screens are called by ED.EXE.  Since this is  the 
  549. case nothing must be added to our menu.  
  550.                                 
  551.     PR.EXE  this  program is the main printing routines  for  our 
  552. word  processing  system.  The  program expects a file associated 
  553. with it. It's item entry might be something like this: 
  554.  
  555.               Menu Item   : Print a document
  556.               Command     : PR %1
  557.                             (Ask the user for name)
  558.               Password    :
  559.                             (No Password Required)
  560.               Type CMD    : DOS
  561.               Clear       : Y
  562.               Hold        : N
  563.               Command.Com : Y 
  564.               Notes       : This program will print a document to 
  565.                             the printer.  You will be  asked  for 
  566.                             the filename.  
  567.               Manual      : Manual2.DOC
  568.  
  569.     MENUPRT.COM   is   the  program  which  configures  the  word 
  570. processor to a specific printer.  This is a seldom  used  program 
  571. which  has  the  potential to change your system characteristics.  
  572. Here's how it might be entered:  
  573.  
  574.               Menu Item   : Select your printer
  575.               Command     : MENUPRT, PR PRINT.TST
  576.                             (Multiple commands on same line 
  577.                             separated by a comma.)
  578.               Password    : HARRY
  579.               Type CMD    : DOS
  580.               Clear       : Y
  581.               Hold        : N
  582.               Command.Com : Y 
  583.               Notes       : This  program will configure the word 
  584.                             processor to a specific  printer.  We 
  585.                             have a Diablo 620 ( Item 23). It will 
  586.                             then run a test print program.  
  587.               Manual      : PRINTER.DOC
  588.  
  589.     That  is the bulk of programs available.   See   how   easily 
  590. they  have  integrated  into a cohesive menu.  But let's not stop 
  591. there.  PC-Write makes backup files with the  first character  of 
  592. the  file extension switched to a & .  If a little maintenance is 
  593. not performed soon even a hard disk will be  full  and  unusable.  
  594. Now  let's  add  a  few  housekeeping  tasks  that  are  normally 
  595. performed at the DOS  level.  Those  silly  little  yellow  notes 
  596. stuck on your computer are about to hit the trash.  
  597.     
  598.               Menu Item   : Delete Backup files
  599.               Command     : DEL *.&??
  600.                             (A very dangerous command when 
  601.                              entered by the user.)
  602.               Password    : HARRY YES
  603.               Type CMD    : DOS
  604.               Clear       : Y
  605.               Hold        : N
  606.               Command.Com : Y 
  607.               Notes       : This  program  will  delete  all  the 
  608.                             backup files that have  been  created 
  609.                             by PC-Write.  Consult your  procedure 
  610.                             manual before use.  
  611.               Manual      : PROCEDURE.DOC
  612.                             ( A file you have  created  tells the 
  613.                             user when files are to be deleted.) 
  614.  
  615.     Another   common   task for the user of a word  processor  is 
  616. looking at the DOC files used  with  the  word  processor.  So  a 
  617. couple of directory entries might be helpful.  
  618.  
  619.               Menu Item   : Document directory
  620.               Command     : DIR *.DOC | SORT | MORE
  621.               Password    : 
  622.               Type CMD    : DOS
  623.               Clear       : Y
  624.               Hold        : Y
  625.               Command.Com : Y 
  626.               Notes       : This  program will give a listing by
  627.                             name of all your documents.
  628.  
  629.               Manual      : 
  630.  
  631.     The following will just list the documents and scroll the 
  632. screen.
  633.      
  634.               Menu Item   : Document directory
  635.               Command     : DIR *.DOC
  636.               Password    :  
  637.               Type CMD    : DOS
  638.               Clear       : Y
  639.               Hold        : Y
  640.               Command.Com : Y 
  641.               Notes       : This  program will give a listing of
  642.                             all your documents.
  643.  
  644.               Manual      : 
  645.  
  646.  
  647.     Here  might be another handy item.  The ability to look at  a 
  648. document, one screen at a time. 
  649.  
  650.               Menu Item   : View a document
  651.               Command     : TYPE %1 | MORE
  652.                             ( User specifies document name )
  653.               Password    : 
  654.               Type CMD    : DOS
  655.               Clear       : Y
  656.               Hold        : Y
  657.               Command.Com : Y 
  658.               Notes       :  This  program  will  allow the user 
  659.                             to view a document one screen at a
  660.                             time.
  661.               Manual      : 
  662.  
  663.  
  664.     Now arrange the items in the most logical order according  to 
  665. their  usage.   Use the M option to first MARK  a  choice,   then 
  666. move to the desired location on the screen.  Just  type  M  again 
  667. and  the  menu  item will exchange places with the flashing item.  
  668. Continue  to  MOVE  and experiment with the menu until it is just 
  669. right.  
  670.  
  671.  
  672.     The last thing we need to do is add our beautiful menu to the 
  673. CoverUP(c)   system.   To accomplish this,   we have to  have  an 
  674. established   menu called our  new  menu.    So  let's  edit  our 
  675. CoverUP.CUP menu.  Select any UNUSED or unwanted  item  and  edit 
  676. that item.  
  677.  
  678.               Menu Item   : Word Processing 
  679.               Command     : WORD.CUP 
  680.               Password    : 
  681.               Type CMD    : MENU 
  682.               Clear       : Y or N (It doesn't matter) 
  683.               Hold        : Y or N (It doesn't matter) 
  684.               Command.Com : Y 
  685.               Notes       : This is your favorite Word Processing 
  686.                             system. We use PC-Write ver 2.5
  687.  
  688.               Manual      : 
  689.  
  690.  
  691.     Remember   any  menu may call another menu to a depth  of  10 
  692. menu levels.  
  693.  
  694.     As   you  can  see,   the  creation of a menu  item  requires 
  695. either a working knowledge of your DOS or access to  someone  who 
  696. does.  But  you  only  have to study DOS during the creation of a 
  697. menu, not during it's use.  An inexperienced user doesn't have to 
  698. know anything about DOS to use it.  Don't throw DOS  away...Cover 
  699. it up with CoverUP(c).  
  700.  
  701. *****End of Document***** 
  702.