home *** CD-ROM | disk | FTP | other *** search
/ Mega CD-ROM 1 / megacd_rom_1.zip / megacd_rom_1 / MENU / GWM_333.ZIP / GWM.DOC < prev    next >
Text File  |  1991-07-13  |  17KB  |  395 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.     Gate Way Menu System -- Sirovy Software
  10.     Version 3.33         Updated - 07/13/91
  11.     ======================================= 
  12.  
  13.     Introduction
  14.     ------------ 
  15.         I was  displeased to say  the least with  most other menu  systems.
  16.     The  majority of  them function  by  using DOS  batch  files called  in
  17.     circular succession.  When one is finished, it calls another.  This one
  18.     in turn will  call it's  predecessor.   This method  is obviously  very
  19.     slow.   Most of these  programs are unusable  because of the  fact that
  20.     they require a lot of study and knowledge of the software and DOS to be
  21.     able to set up a working menu. 
  22.      
  23.         In Gate  Way, I have  eliminated the  confusion of creating  a menu
  24.     file by including a program that will modify the menu  entries for you.
  25.     There is no editing of files, no remembering of special symbols, and no
  26.     fooling around with DOS involved in Gate Way. 
  27.      
  28.         Gate Way was written in Turbo Pascal on an IBM XT compatible with a
  29.     CGA  card  and color  monitor.    Gate Way  stays  resident  while your
  30.     application is executed using 40k for itself.  By using output routines
  31.     that write directly to the screen, it obtains speedy, snow-less output.
  32.     GWM works on all MS-DOS computers I have  been able to test it on.   It
  33.     is compatible with all  types of video cards  including MDA, CGA,  EGA,
  34.     VGA  and  MCGA.   If you  experience  any problems  with compatibility,
  35.     please let me know!
  36.  
  37.  
  38.     What is Gate Way?
  39.     -----------------
  40.         Gate  Way  is a  utility that  facilitates  the execution  of other
  41.     programs   with  a  minimum  of   keystrokes.    Each   program  has  a
  42.     corresponding  number on  a menu  from which  you make  your selection.
  43.     (GWM works with floppy disks and networks as well as hard disks.)
  44.      
  45.         Gate Way was meant to be a step between DOS and the unskilled user,
  46.     keeping all  of DOS'  commands out  of the  user's way.   It  does not,
  47.     however, get in the way of more experienced users; you can exit  GWM at
  48.     any  time.  To execute an application,  simply enter it's number.  When
  49.     it  is finished,  control will  be  returned to  Gate Way.   It's  that
  50.     simple!
  51.      
  52.         With Gate Way, you can: 
  53.           -Personalize the colors & the system title 
  54.           -Select the number of entries you desire (Max 90) 
  55.           -Control the screen-saver time delay 
  56.           -Have a system that ALL can utilize 
  57.           -Easily go to and from Dos 
  58.           -Leave your computer on, knowing the screen is protected 
  59.           -Have a nice looking menu program at home, office, or school 
  60.           -Have instant access to any file on your disk(s)
  61.           -Easily modify menu entries
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.     OVERVIEW : Installing Gate Way 
  70.     ------------------------------ 
  71.         The files that are included in the archive are: 
  72.     GWM.EXE      - The main program 
  73.     GWM_DATA.EXE - The data file editor
  74.     GWM.DOC      - This file 
  75.  
  76.         Also used:
  77.     GWM_DATA.DAT - The data file (created during initial session) 
  78.     GWM_DATA.LPT - Print out of menu configuration (from menu editor)
  79.  
  80.         Place the two .EXE files in either your DOS directory or some other
  81.     directory that  is included in the PATH.  If  you do not use PATH, then
  82.     simply place  these files in the  root directory.  Make  sure they both
  83.     are in the same directory. 
  84.  
  85.         The data file is  created when you initially run GWM  and is set up
  86.     for  use with  a  monochrome monitor.    Using GWM_DATA.EXE  (the  menu
  87.     editor) you can modify these to suit your needs. 
  88.  
  89.         To run Gate Way  for the first time, at  the DOS prompt type  'GWM'
  90.     and hit <ENTER>.  This will execute Gate Way and you will be faced with
  91.     an empty menu.   To create or edit the menu,  press the 'M' key and hit
  92.     <ENTER>.  This will execute  the editor which allows you to  enter your
  93.     selections as well as change the colors, etc..
  94.  
  95.  
  96.     Using GWM_DATA.EXE (the editor) 
  97.     -------------------------------
  98.         There are five options available from  the main screen.  The  first
  99.     is the  editor.  With  it you  can add or  change entries.   The second
  100.     option will  allow you  to configure  GWM.  Number  three will  print a
  101.     report  of the  current  menu configuration  to  the  printer or  to  a
  102.     diskette file.   The fourth option  will save the  changes to the  data
  103.     file and  exit the program.   Option number five will  exit the program
  104.     without saving any changes.
  105.  
  106.     MODIFYING ENTRIES 
  107.     -----------------
  108.         If  you select  option one,  you are presented  with a  screen that
  109.     resembles the actual  menu screen.  This is known  as WYSIWYG (What You
  110.     See Is What You  Get).  You may use the arrow keys  as you would on the
  111.     menu screen.  
  112.  
  113.     EDITING ENTRIES
  114.         Highlight the entry to be  modified either by using the  arrow keys
  115.     or type the corresponding number and  press <ENTER>.  Now press 'e' and
  116.     <ENTER>  to bring up the  edit window.  You may  also bring up the edit
  117.     window by just hitting <ENTER> on the desired entry.   This window will
  118.     pop up to show the three fields of that entry.
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.         The three categories for each entry that you can modify are:
  128.  
  129.     DESCRIPTION :  This is the description of the application that the user
  130.     will see on the menu.  The description field can be 30 characters long.
  131.     (See the  sample menu for ideas  on how to set  up a menu).   To create
  132.     menu entries that  are not visible  to the end  user, simply leave  the
  133.     description blank and add only the path and file name.
  134.  
  135.     PATH : This field states the path that the application  resides in.  If
  136.     not  included, the  current  drive  and  root  directory  (e.g.  'C:\')
  137.     designators are implied and automatically added to the path you supply.
  138.  
  139.     To have GWM execute a file that resides on another disk, just enter the
  140.     FULL path  name, including the drive  designator of that program.   For
  141.     example, if C: is the current drive (the one GWM is on), and you wanted
  142.     to run a program that is  located on drive D: in path \LANGUAGE\PASCAL,
  143.     you  would  enter  'D:\LANGUAGE\PASCAL'.    Entering '\LANGUAGE\PASCAL'
  144.     alone would cause GWM to look on drive C: for the file.
  145.  
  146.     FILE NAME : The last field is the actual program name itself.  You must
  147.     include the  extension as well as  the file name because  Gate Way will
  148.     search  for the program name DIRECTLY.   You can force  GWM to have DOS
  149.     execute the  application by including an  '*' in the field.   If you do
  150.     so, DOS will  try to match  the extension itself  (ie: .COM, .EXE,  and
  151.     .BAT).  Gate Way will ALWAYS invoke DOS to execute .BATch files. 
  152.  
  153.         You can pass command line parameters to a program by including them
  154.     on the same line as the file name separated by at least one space.  For
  155.     example, if you  have a game that uses color when you include '-C' as a
  156.     parameter, you might enter this for the file name: '3DTTT.EXE  -C'.  Do
  157.     you  want  DOS  to  execute  this  file?     Then  enter:  '3DTTT*'  or
  158.     '3DTTT.EXE*'.
  159.  
  160.        Some programs flash a small message or a page of information as they
  161.     terminate,  allowing the  user to  read it  while they  sit at  the DOS
  162.     prompt.  If you want Gate Way to pause while you read this information,
  163.     include with the  file name ' '.  This character  is created by hitting
  164.     <CTRL-P> (control and P together).  When you do this, GWM knows to wait
  165.     for a key press after the application terminates.
  166.  
  167.        NOTE:   If you  have an  application that  uses many  different sub-
  168.     directories for  data, you may have  just one copy of  the main program
  169.     serving each of them.  Just  enter the correct data directory, and then
  170.     give the  name of the main application, with the '*' to execute through
  171.     DOS (which will search the PATH).  Or  you could enter the correct data
  172.     directory, and then give the FULL  path name of the main application in
  173.     the file  name field.   Before the  option to execute  through DOS  was
  174.     offered, you had to have a copy of the main application in EACH of it's
  175.     data directories for Gate Way to call it correctly.
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.         There are many functions  available to be used in  beautifying your
  185.     menu.  The majority of these are "block oriented".  This means that you
  186.     must  first select  the block of  menu entries  you wish  to work with.
  187.     This is done by using the F9 and F10 keys.  
  188.  
  189.         Position the cursor  bar at the  entry to be  the beginning of  the
  190.     block and hit F9.   Now move the cursor  bar to the desired end  of the
  191.     block and hit F10.  A block may cover more than one page.  The selected
  192.     block may now be acted upon.
  193.  
  194.         INSERT :  This command is NOT  a block command; it  will prompt you
  195.     for the number  of blank entries to insert.   WARNING:  ENTRIES  AT THE
  196.     END OF THE MENU WILL  BE PUSHED OFF THE  END (LOST) IF YOU INSERT  MORE
  197.     ENTRIES THAN THERE ARE BLANK ENTRIES LEFT.
  198.  
  199.         ALPHABETIZE : This  option does just what it sounds  like.  It will
  200.     alphabetize all entries in a marked block in ascending order, according
  201.     to the ASCII sequences.  Numbers  and punctuation marks will be  placed
  202.     before characters.
  203.  
  204.         DELETE : This  will erase the  entries in the  block and "pull  up"
  205.     entries below the block.
  206.  
  207.         CLEAR  : Exactly like DELETE except that  it will not "pull up" the
  208.     remaining entries.
  209.  
  210.         MOVE : You are able to move more than  one entry with this feature.
  211.     After you mark the block, place the cursor bar on the entry you wish to
  212.     move the block to.  It is moved, and the old block is deleted.
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.     *** Some hints on menu development 
  221.     ---------------------------------- 
  222.      
  223.     -> 1.   ** Dos / Utility **          -> 16.   ** Terminal Programs ** 
  224.        2. Disk Tools                        17. Telix 3.15 
  225.        3. Memory Mapper                     18. ScottComm 1.1   
  226.        4. File Utilities                    19. AnyTerm
  227.        5.                                   20.               
  228.        6.                                   21. 
  229.     -> 7.   ** Programming Languages **     22. 
  230.        8. Basic                          -> 23.   ** Games ** 
  231.        9. Turbo Pascal 5.0                  24. Bagels 
  232.       10. Turbo Pascal 5.5                  25. Solitaire (Casino) 
  233.       11. Turbo Pascal 6.0                  26. Solitaire (Standard) 
  234.       12. Borland C++  2.0                  27. Black Jack 
  235.       13. Turbo C      2.0                  28. Cribbage 
  236.       14.                                   29. Pac-Man (PD version) 
  237.       15.                                   30. Pc Pool
  238.  
  239.     The above format is nice  because you can easily find what  you want by
  240.     category. The  'category headers'  (signified by  the arrows)  are only
  241.     entries  with NO  path and  NO filename.   When  an entry  that  has NO
  242.     filename is selected, the user is given an error message. 
  243.      
  244.          You  can also  opt to have  a 'sloppy'  menu, with  each entry one
  245.     right after another to use all 90 entries.  
  246.  
  247.          As an example,  option number  eleven on the  above sample  screen
  248.     would be entered as such: 
  249.      
  250.                        Description of file: 'Turbo Pascal 5.0' 
  251.      
  252.                          Path name of file: 'C:\LANGUAGE\TP5' 
  253.      
  254.                          Full name of file: 'turbo.exe myfile.pas' 
  255.      
  256.      You  would fill  in the data  fields just  as seen  (without the quote
  257.     marks).  GWM will adjust the path field to all caps and will adjust the
  258.     file name to caps, leaving any parameters in whatever case  you entered
  259.     them.
  260.  
  261.      
  262.     CONFIGURING GWM 
  263.     --------------- 
  264.         This next set of options  is self explanatory.  Each of  these have
  265.     their own online help to follow. 
  266.      
  267.         You can: 
  268.            -Alter GWM's colors 
  269.            -Set the screen blank delay 
  270.            -Enter your own system title 
  271.            -Set the maximum number of entries (Max 90) 
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.     PRINTING MENU CONFIGURATION
  280.     ---------------------------
  281.          If you  have a need to, you may print out your menu configuration.
  282.     This will  be handy for setting  up multiple systems for  use with GWM.
  283.     If many changes are to be made to a menu, either keep a backup  copy on
  284.     disk of the current configuration or print out this list.
  285.  
  286.          When you choose option '3' and  hit <ENTER> from the main  screen,
  287.     you are given the choice to print  the file to Disk or to the  Printer.
  288.     Press 'D' or 'P' respectively.  Make sure the printer  is turned on and
  289.     is online before doing so.
  290.  
  291.          The  output will show things  like the system  title, screen blank
  292.     delay,  maximum number of pages, etc..   It will have two rows per menu
  293.     selection because of the length of the entries.  
  294.  
  295.          When printing to  disk file, the file will be  located in the same
  296.     directory that the GWM files are found.
  297.  
  298.     SAVING CHANGES
  299.     --------------
  300.          If you  are happy with  the current setup, choose  option '4' from
  301.     the main  screen to Exit and  Save Configuration.  All  changes will be
  302.     saved to disk and active upon return to GWM.
  303.  
  304.          If you have made some mistakes and don't want to save the changes,
  305.     choose option '5' to Exit and NOT Save Configuration.
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.     Using GWM.EXE
  314.     -------------
  315.     To run Gate Way, just type 'GWM'  and hit <ENTER> at the command line. 
  316.     If  you would like your system to have  Gate Way start at boot up, just
  317.     include  'GWM' as the last statement in the AUTOEXEC.BAT file.   If you
  318.     do not  have an autoexec.bat file, consult  your DOS manual on creating
  319.     one.
  320.  
  321.         GWM will  read in  the data  file and  then show  the list of  menu
  322.     entries on the screen.  If more than one page of entries are available,
  323.     you can  type 'N' or hit <PAGE  DOWN> to see the  next page of options.
  324.     'P' or  <PAGE UP> will  bring back the previous  page.  The  <HOME> key
  325.     will place  the selector bar on the first line  of the current page and
  326.     <END>' will place it on the last.
  327.  
  328.         Pressing 'D' (and  return) will execute  a Dos Shell  (COMMAND.COM)
  329.     AND start you out in the directory of the application that the selector
  330.     bar  was on.  To return to GWM,  just enter 'EXIT' and press <ENTER> at
  331.     the DOS prompt.
  332.  
  333.         To run the menu builder (GWM_DATA.EXE), hit 'M'.
  334.  
  335.         When you  are ready to  leave GWM,  just type 'Q'  and you will  be
  336.     returned to DOS. 
  337.  
  338.         When you wish to run one of the selections, just type in the number
  339.     that is shown  to the  left of it  OR position the  cursor bar over  it
  340.     (using  the arrow  keys to move  about).   Press <ENTER>  when you have
  341.     selected a program  and GWM will execute it.   When that application is
  342.     finished, you will be returned to GWM. 
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.     DISCLAIMERS AND ASSORTED BORING TOPICS...
  351.  
  352.          Gate Way Menu Systems is (C) Copyright 1988-91 by Sirovy Software.
  353.          Gate Way and GWM are NOT trademarks of Sirovy Software, yet.
  354.          Turbo Pascal, Turbo C,  and Borland C++ are trademarks  of Borland
  355.          International.
  356.  
  357.     It is with tongue-in-cheek that I say this:  
  358.  
  359.     THE AUTHOR OF GATE WAY MENUS CANNOT BE HELD RESPONSIBLE  FOR ANY LOSSES
  360.     OR DAMAGES  TO ANY COMPUTER  SYSTEM IT IS  EXECUTED ON OR  ANY SOFTWARE
  361.     USED IN CONJUNCTION WITH IT.  THIS PRODUCT IS OFFERED AS IS.
  362.  
  363.     As the author, I  am under NO obligation to support this program in any
  364.     way.  (However, due to my good nature I most likely will.)
  365.  
  366.     Credit where credit is due:
  367.       Use of FASTWRITE routines in assembly/pascal : Brian Foley
  368.  
  369.     Testing on different computers / video cards and for errors:
  370.       Steven T. Murphy (TRIOPSYS Corp.)  
  371.  
  372.     Parting words... 
  373.     -=-=-=-=-=-=-=-= 
  374.          
  375.          If you  have any questions  or comments, I  can be reached  on the
  376.     Internet: sirovy@ux.acs.umn.edu 
  377.     and the RIME/RelayNet in the C Language Conference.  
  378.  
  379.          I also am on the following bulletin board:
  380.      
  381.          Terrapin Station (Minneapolis, MN) 
  382.          (612) 623-0152 3/12/24/9600, 24 hrs 
  383.  
  384.          Please  include the  version  number of  GWM  that you  have,  and
  385.     pertinent information about your computer system. 
  386.  
  387.  
  388.     Thank you and God Bless,
  389.      
  390.     Scott M. Sirovy
  391.      
  392.     Sirovy Software
  393.     16235 Garner Ave Ct
  394.     Rosemount, MN 55068
  395.