home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / BATUTL / BATMENU4.ZIP / BATDOC.PRN < prev    next >
Encoding:
Text File  |  1987-05-04  |  72.8 KB  |  1,532 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.                             Batch Menu Operating System
  10.                                 BATMENU Version 4.00
  11.                        (c) Copyright 1987 by Donald Gloistein
  12.                                 All rights reserved
  13.             
  14.                                     May 3, 1987
  15.             
  16.                                           
  17.                                 Table of Contents
  18.             
  19.             Introduction.............................................. 1
  20.             Description of Use........................................ 3
  21.             Menu Screen............................................... 5
  22.             Installation.............................................. 7
  23.                 Files Included........................................ 7
  24.                 Quick Setup........................................... 7
  25.                 Environment........................................... 8
  26.                 Sub-Directories....................................... 8
  27.             Options................................................... 9
  28.                 Passwords............................................. 9
  29.                     Back Door......................................... 9
  30.                 Encryption............................................ 9
  31.                 Multiple Configurations.............................. 10
  32.                 Screen Blanking...................................... 10
  33.                 Printer Setup........................................ 11
  34.             Revising Configurations.................................. 12
  35.                 System Settings...................................... 14
  36.                 Menu Settings........................................ 17
  37.                 Extended Menu Settings............................... 17
  38.                 Printer Configuration................................ 19
  39.                 Help Screen.......................................... 20
  40.             Functions/Helps.......................................... 21
  41.                 BATMENU.BAT.......................................... 21
  42.                 MENU.BAT............................................. 21
  43.                 Chaining Menus....................................... 22
  44.                 Calling Other Batch Files............................ 22
  45.                 Gomenu function...................................... 22
  46.                 Exit function........................................ 23
  47.                 Park function........................................ 23
  48.                 Doagain function..................................... 23
  49.             Converting Versions...................................... 25
  50.                 BATCONV.EXE.......................................... 25
  51.                 BATMENU.TXT.......................................... 26
  52.             Update History........................................... 28
  53.             Restrictions/Limitations................................. 29
  54.             License / Registration / Source Code..................... 31
  55.             
  56.  
  57.  
  58.  
  59.                Batmenu Operating System  Version 4.00          page 1
  60.  
  61.  
  62.  
  63.  
  64.  
  65.                                      Introduction
  66.             
  67.             Dear User,
  68.             
  69.                  Thank you  for trying this program.  It was developed for
  70.             use on  business PC's.   It  is a master menu shell system for
  71.             IBM PC  XT/AT compatible  computers.   I have  installed it on
  72.             various  computers   when  hired  to  set  up  PC's  at  small
  73.             businesses.   The different  options were added because of the
  74.             needs of  the businesses.   The biggest one was the ability to
  75.             have more than one person operate the system.
  76.             
  77.                  Also, encryption  of the configuration files was added. I
  78.             have used  this in  conjunction with  an encryption  program I
  79.             install to  protect some  files, but  still  allow  access  by
  80.             authorized people.   See  the section  on options  for further
  81.             details.
  82.             
  83.                  This program  is not  for commercial  use.  It is offered
  84.             under the  shareware concept.   If you find it useful for your
  85.             own personal computer, I do ask that you register it.  The fee
  86.             is modest, and there are some benefits to registering.  If you
  87.             are  a   computer  consultant   or   programmer,   I   require
  88.             registration for  support and  updates.  With the registration
  89.             and licensing,  you will  be able  to install and support this
  90.             program on  others computers.   The  program will  be slightly
  91.             modified to  include your  name on  the menu  screen, a custom
  92.             logon and  help screen  with your message, and your own master
  93.             password for  the system.   You  will then  receive the master
  94.             update to pass on to your own customers.
  95.             
  96.                  For corporate  users or  programers, there are additional
  97.             features of  custom password,  custom  help  screen  and  menu
  98.             screen.   Registered users  will receive  free  update  for  a
  99.             'first' bug  report, priority  service for additional features
  100.             programming.
  101.             
  102.                  If you  have any suggestions, please write me or leave me
  103.             an EMAIL  on Compuserve.  Don't leave a message just on one of
  104.             the SIGS, I sometimes don't check on for quite a while.
  105.             
  106.                                                Donald J. Gloistein
  107.                                                2500 Fairway Dr. #922
  108.                                                Alvin, TX 77511
  109.                                                (713)331-9372
  110.                                                CIS # 76010,474
  111.             
  112.             
  113.             
  114.  
  115.  
  116.                Batmenu Operating System  Version 4.00          page 2
  117.  
  118.  
  119.  
  120.  
  121.  
  122.             The   following   registered   trademarks   appear   in   this
  123.             documentation:
  124.                  MSDOS, Microsoft Corportation.
  125.                  IBM, International Business Machines.
  126.                  Tandy, Radio Shack.
  127.                  Turbo Pascal, Borland International.
  128.                  AT&T PC 6300, American Telephone and Telegraph.
  129.             
  130.  
  131.  
  132.                Batmenu Operating System  Version 4.00          page 3
  133.  
  134.  
  135.  
  136.  
  137.  
  138.             
  139.                                   Description of Use
  140.             
  141.             Purpose:
  142.             
  143.                  This is  a general purpose menu system for IBM compatible
  144.             computers.    It  will  generate  a  batch  file  for  running
  145.             application programs.   The menu system has the capacity of 32
  146.             choices with up to ten commands per choice.
  147.             
  148.             Command Format:
  149.             
  150.                            MENU [CONFIG_FILENAME]
  151.                                      or
  152.                            BATMENU [CONFIG_FILENAME]
  153.             
  154.             Remarks:
  155.             
  156.                  The system is user configurable, including color choices,
  157.             help message,  encryption of  configuration file for security,
  158.             multiple configuration  files, chaining  of menus, configuring
  159.             parallel port  printer.   Password security  is  available  on
  160.             multiple levels,  including entry, exit to DOS level, invoking
  161.             commands, changing options.
  162.             
  163.                  Logon Screen:   A logon screen is displayed if BATMENU is
  164.             called without  a parameter.   It  is shown on the first entry
  165.             from DOS  level.   After the batch file takes control, it will
  166.             not be  seen.   It does  remind you  which version  (major and
  167.             minor) you  have, the  name and  address of  the  author,  and
  168.             copywrite notice.   I  dislike programs,  that cannot  disable
  169.             this screen.   So  if  you  use  the  command  line  with  the
  170.             configuration file name, it is by-passed.
  171.             
  172.                 eg:             MENU BATMENU <CR>
  173.                                      or
  174.                                 BATMENU BATMENU <CR>
  175.             
  176.                  Major revisions  are noted by the numbers, eg. 3.01.  The
  177.             minor revision  is to  keep track  of cosmetic changes, eg. a.
  178.             The minor  revisions do  not require  BATCONV to  be  used  on
  179.             configuration files.   With  major  revisions,  you  must  use
  180.             BATCONV to ensure compatibilty.
  181.             
  182.  
  183.  
  184.                Batmenu Operating System  Version 4.00          page 4
  185.  
  186.  
  187.  
  188.  
  189.  
  190.                   This program,  the configuration   and  batch file  is a
  191.             system for  implementing a  menu control for an IBM compatible
  192.             computer.   It uses  standard calls  to the  system.  So there
  193.             should be  no  compatibility  problems  with  MSDOS  operating
  194.             systems.  It does use some direct writing to the video buffer.
  195.             It appears to work on both monochrome and CGA color cards.  If
  196.             there are  compatibility problems,  please contact me and they
  197.             will be worked out.
  198.             
  199.                  Security:   It is impossible to completely protect an IBM
  200.             machine without  taking over  a lot  of interupts  and keeping
  201.             total  control.     If  I  did  that  it  would  decrease  the
  202.             compatibility of  the menu  system.   The primary  goal of the
  203.             menu system  was to  write a  program that  would not conflict
  204.             with any  other software.  This was possible by writing a very
  205.             fancy batch file system.  If the program will operate from DOS
  206.             batch files, it will operate from the menu.
  207.             
  208.  
  209.  
  210.                Batmenu Operating System  Version 4.00          page 5
  211.  
  212.  
  213.  
  214.  
  215.  
  216.             
  217.                                      Menu Screen
  218.             
  219.             When executed, a screen simular to the following appears:
  220.             
  221.                                            
  222.               02-22-87      DGWare Menu Operating System           Menu
  223.               16:49.15             MASTER MENU                     4.00
  224.               ╔═════════════╤══════════════════════════════════════════╗
  225.               ║ Command     │     Description                          ║
  226.               ╠═════════════╪══════════════════════════════════════════╣
  227.               ║ DOS         │ DOS Commands (Enter MENU to continue)    ║
  228.               ║ INFORMATION │ Information Data Systems                 ║
  229.               ║ MONEY       │ Budget Manager                           ║
  230.               ║ LANGUAGE    │ Compiler Language Development            ║
  231.               ║ SYMPHONY    │ Symphony Master Menu                     ║
  232.               ║ WORD        │ Word Processing Menu                     ║
  233.               ║ XTALK       │ Telecommunications Menu                  ║
  234.               ║   -         │                                          ║
  235.               ║ Blank Disk  │ Format a DOS diskette in drive A:        ║
  236.               ║ Copy Disk   │ Copy a DOS diskette from A: to B:        ║
  237.               ║ Time & Date │ Set the system clock or date             ║
  238.               ║ Utilities   │ Various Utilities                        ║
  239.               ║   -         │                                          ║
  240.               ║ OFF         │ Leave the micro computer system          ║
  241.               ║ OFF         │ Park the disk and turn off computer      ║
  242.               ╚═════════════╧══════════════════════════════════════════╝
  243.                Type the letter of command or use cursor keys and RETURN
  244.                <F1> = Help    <F2> = Extended Menu <CTL><S> toggle screen
  245.                                            
  246.                              figure 1. Sample Menu screen
  247.             
  248.                  The options under command are selected by either pressing
  249.             the first  letter of the Command or using arrow keys to select
  250.             the option,  then press  <RETURN>.  The space bar moves cursor
  251.             down one  command.   Page up  and home  move cursor  to top of
  252.             selections, page  down  and  end  move  cursor  to  bottom  of
  253.             selections.  <ESC> will exit the menu program.
  254.                  If more  than one  command begins  with the  same letter,
  255.             only the  FIRST one  is selected  by using  the letter.    The
  256.             second option  must  be  selected  by  cursor.    This  is  by
  257.             intention.  The keys can be selected and executed rapidly, and
  258.             it protects  if there  is a  command you  want to used only by
  259.             intention.   Eg: OFF  to leave  the system, or OFF to park the
  260.             disk and shut down.
  261.             
  262.  
  263.  
  264.                Batmenu Operating System  Version 4.00          page 6
  265.  
  266.  
  267.  
  268.  
  269.  
  270.             Special keys:
  271.                  <F1>  function key 1  displays help screen.
  272.                  <F2>  function key 2  displays choices 18 to 32.
  273.                  <CTL><S> control S    toggles the screen blanking option.
  274.                  <CTL><Z> control Z    selects configuration editing.
  275.                  <CTL><P> control P    selects printer configuration.
  276.  
  277.  
  278.                Batmenu Operating System  Version 4.00          page 7
  279.  
  280.  
  281.  
  282.  
  283.  
  284.             
  285.                                      Installation
  286.             Files Included:
  287.             
  288.             MENU.BAT ........ main menu batch file to start up the system.
  289.             BATMENU.BAT ..... startup subdirectory batch file.
  290.             BATMENUX.EXE ....  menu system  executive file,  produces  the
  291.                  batch files.
  292.             BATCONV.EXE   ...... file  for  converting  old  configuration
  293.                  files to  recent version.   This  is included  to make it
  294.                  easier for  upgrades.   Also configures  default  printer
  295.                  configuration in BATMENUX.EXE and BATCONV.EXE
  296.             BATMENU.CFG ....... sample default configuration file.
  297.             DEMO.TXT .......... sample menu quick setup file.
  298.             DEMO.CFG .......... sample menu for application programs.
  299.             
  300.             Quick Setup:
  301.             (before setting  up or  converting configuration files, please
  302.                  read the  BATCONV section.   If you wish to configure the
  303.                  BATMENUX.EXE and/or  BATCONV.EXE file  for your  printer,
  304.                  you should do so first.  Follow the directions in BATCONV
  305.                  section.  Then do the following steps.)
  306.             
  307.                  1.   Copy BATMENUX.EXE and BATCONV.EXE to one of your
  308.                       directories in the PATH setting.
  309.                  
  310.                  2.   Edit MENU.BAT to change the directory to the startup
  311.                       directory.  On my system that is C:\DOS.  This will
  312.                       the the master menu directory.
  313.                  
  314.                  3.   Copy the edited MENU.BAT to the PATH directory.
  315.                  
  316.                  4.   Copy BATMENU.BAT to each directory you will be
  317.                       setting up a menu in.  This is for chaining menus.     (
  318.                       Optional step).
  319.                  
  320.                  5.   Enter command MENU <CR>.
  321.                  
  322.                  6.   Enter <CTL><Z> to gain access to the options
  323.                       settings menus.  You now can enter the commands, and
  324.                       make menus.  See the detailed instructions.
  325.                  
  326.                  7.   Change to each subdirectory you wish to install a
  327.                       menu configuration and simply type :
  328.                            eg.: CD\subdirectory <CR>
  329.                                 BATMENUX <CR>
  330.                                 <ESC>
  331.                                 CD\next_subdirectory <CR>
  332.                  
  333.                       The needed files will be written.
  334.             
  335.  
  336.  
  337.                Batmenu Operating System  Version 4.00          page 8
  338.  
  339.  
  340.  
  341.  
  342.  
  343.                  The initial  setup of  the selections can be done using a
  344.             formatted text  file and  the BATCONV program.  If you wish to
  345.             use this see section on BATMENU.TXT.
  346.             
  347.             Environment:
  348.             
  349.                  In version  3.01 the  BIN file  needed to be in the PATH.
  350.                  This is  no longer necessary, as the file is not used. If
  351.                  you have the old version, you can delete the file.
  352.             
  353.                  The PATH should still point to the directory that has the
  354.                  MENU.BAT and BATMENUX.EXE files.
  355.             
  356.                  
  357.             Sub-Directories:
  358.             
  359.                  The programs BATMENUX.EXE, BATCONV.EXE files and MENU.BAT
  360.                  file should  reside in  the one of the directories in the
  361.                  PATH= command.     The files  BATMENU.CFG and BATMENU.BAT
  362.                  must be  in each  subdirectory you wish a new menu to run
  363.                  from.
  364.             
  365.                  If you wish to add additional menus later, just go to the
  366.                  directory  and  use  the  BATMENUX  command  or  use  the
  367.                  chaining feature documented later.
  368.             
  369.  
  370.  
  371.                Batmenu Operating System  Version 4.00          page 9
  372.  
  373.  
  374.  
  375.  
  376.  
  377.             
  378.                                        Options
  379.             
  380.                  The Batch  Menu System  is rich with features.  It can be
  381.             either an easy menu system for your home computer, or a fairly
  382.             sophisticated operating  shell for applications at work.  Take
  383.             some time  to  read  through  the  manual.    I  am  not  very
  384.             experienced  at   writing  these  things.    So  some  of  the
  385.             information may be out of order.  I will try the best I can to
  386.             make sense of it for you.
  387.             
  388.             Passwords:
  389.             
  390.                  The starting   password is PASSWORD.  If you want to make
  391.             an option  accessible  to  every  one,  set  the  password  to
  392.             PASSWORD.   Entry to  the  system  can  be  protected  with  a
  393.             password, each  of the  commands, exit by the escape key or by
  394.             use of  a code  phrase "exit"  as a command.  If you leave the
  395.             System Password  set to  PASSWORD, then  anyone can get in and
  396.             change it.  You must set this password for all of the features
  397.             to have effect.
  398.             
  399.             Back Door:
  400.             
  401.                  (Registered/Custom Copies Only)
  402.                  There is  another feature  of the  menu program, it has a
  403.             "back door"  for the  programmer or  installer to read out the
  404.             system and  master passwords.  This has been very helpful with
  405.             me when a customer forgets the master password and the file is
  406.             encrypted.   This MASTER  PASSWORD is  available  to  all  who
  407.             register their  copy of this program for sale and installation
  408.             on  others  computers.  (See  Registration/Licenses  for  more
  409.             information.)   The menu  system operates  quite well  without
  410.             knowing this  password, in no way is the program crippled.  In
  411.             fact, it  is redundant  if you  are only installing it on your
  412.             own computer.
  413.             
  414.                  If you  want to  install this  program on  other people's
  415.             systems, for  a fee,  I require  that you  become a registered
  416.             user and  obtain a  license for  resale.  Once this is done, I
  417.             will compile  a copy  of  BATMENU.EXE and BATCONV.EXE with any
  418.             password you  select, a  custom logo  screen, and  you will be
  419.             free to  use this  program as  I do,  and you  will  have  the
  420.             responsibility of distributing the updates to your customer.
  421.             
  422.             Encryption:
  423.             
  424.                  If you  enable  encryption,  the  configuration  file  is
  425.             encrypted.   The routine  that does this adds a little time to
  426.             read the  configuration file.  You may notice about a 2 second
  427.             delay.  That should be all.  If you change the encryption flag
  428.  
  429.  
  430.                Batmenu Operating System  Version 4.00          page 10
  431.  
  432.  
  433.  
  434.  
  435.  
  436.             from the System Menu, you will be asked to save the file, when
  437.             you do,  it will  be encrypted and the old file with .CFG will
  438.             be changed  to an encrypted file with .CRY extension.  Be sure
  439.             to set the MASTER password if you want encryption security.
  440.             
  441.                  This was originally set up to be used in conjunction with
  442.             an encryption  utility.   The commands would first decrypt the
  443.             data file,  run the  application and  then  encrypt  the  file
  444.             again.   All this  without the operator knowing the command or
  445.             the passwords.   If  someone goes into the dos level and looks
  446.             at the  .CRY file, they see a series of random bytes.  So they
  447.             can't see the password commands.
  448.             
  449.                  This feature  was found  useful now  that many  companies
  450.             have computer  literate operators,  it will help keep them out
  451.             of programs  and information.   Corporate  customers can  have
  452.             access to  the CRYPT  program.   It is  a quick  but efficient
  453.             encryption program.   Fairly hard to break. (I hesitate to say
  454.             impossible, but time consuming to say the least.)
  455.             
  456.             Multiple Configurations:
  457.             
  458.                  The master program takes a passed parameter.  This is the
  459.             name of  the configuration  file, without  an extension.   The
  460.             batch files  will pass this parameter properly to the BATMENUX
  461.             program.  Thus if more than one person wants a customized menu
  462.             for the  computer, you could call the configurations by a name
  463.             other than BATMENU.
  464.             
  465.                  eg:       BATMENU DONS <CR>
  466.             
  467.                  This will  start up  the menu  system with DONS.CFG being
  468.             the configuration  file.   This feature  also enables  you  to
  469.             activate a  number of  choices  in  excess  of  the  program's
  470.             limitations.   I use  it for  a set  of batch  commands I  use
  471.             frequently, but don't want it cluttering up my main menu.
  472.             
  473.             Screen Blanking:
  474.             
  475.                  BATMENU can  be set  to blank  the screen  if no  key  is
  476.             pressed.  Since many of the resident screen blanking utilities
  477.             test for  screen  write,  they  don't  operate  properly  with
  478.             BATMENU.   The menu  program continually updates the time.  If
  479.             you set  the blanking  feature to 1-9 minutes, after that much
  480.             inactivity, the  screen will  clear.   This is done safely, it
  481.             will not  harm any video board as no playing with the hardware
  482.             is done.   If  you choose  to leave a resident blanker active,
  483.             then you will have to press a key twice, once for the menu and
  484.             once for the resident blanker.
  485.             
  486.  
  487.  
  488.                Batmenu Operating System  Version 4.00          page 11
  489.  
  490.  
  491.  
  492.  
  493.  
  494.                  The screen  blanking is  toggled from  the menu  with the
  495.             keys <CTL><S>,  or can  be set in configuration of the system.
  496.             Once the  screen blanks,  any normal  input key will toggle it
  497.             back on.
  498.             
  499.             Printer Setup:
  500.             
  501.                  The menu  system  comes  setup  to  configure  a  printer
  502.             connected to  parallel printer  port 1  (LPT1).   To access it
  503.             from the  main menu,  press <CTL><P>.   However, if you try it
  504.             initially, it will not work.  It will only display the default
  505.             headings.   If you  make a selection, you will get the message
  506.             "Option not  installed."   You  must  first  use  the  printer
  507.             configuration  option  to  put  the  setup  strings  into  the
  508.             configuration file.  (Also See Helps/Hints.)
  509.             
  510.                  The program  firsts tests  if a printer port is connected
  511.             and active.   If  it is  not you will receive a message saying
  512.             the printer  is not  ready.   On the IBM PC and AT, the Compaq
  513.             portable, and  AT&T 6300  I have  tried it  out on,  the  only
  514.             problem is  that if you turn the printer off during operation,
  515.             the program  will not know it the first time.  On TANDY (Radio
  516.             Shack) machines,  if the  printer is  off, it will appear like
  517.             nothing is  happening.  It is because it is timing out.  Until
  518.             the operating  system acknowledges the time out, it is frozen.
  519.             So on  Tandy machines, be patient.  It is not hung up, it will
  520.             recover.   Tandy printer  also seems  to respond to the system
  521.             check by initializing the printer.
  522.             
  523.             CAUTION: This  writes the configuration string selected to the
  524.             printer port  using a BIOS call.  It will work properly on any
  525.             MSDOS machine.   However,  if you  have a  spooler active  and
  526.             printing a  print que,  it is  NOT  recommended  you  use  the
  527.             feature until it is done printing the que.
  528.  
  529.  
  530.                Batmenu Operating System  Version 4.00          page 12
  531.  
  532.  
  533.  
  534.  
  535.  
  536.             
  537.             Revising Configurations:
  538.             
  539.                  To change the default options, or change the commands and
  540.             prompts, from  the main menu screen press <CTL><Z> keys at the
  541.             same time.  You will get the following selection screen:
  542.             
  543.                       ╔════════════[ Editor Menu ]═════════════╗
  544.                       ║                                        ║
  545.                       ║         Main Menu Options              ║
  546.                       ║                                        ║
  547.                       ║         Extended Options               ║
  548.                       ║                                        ║
  549.                       ║         Printer Configuration          ║
  550.                       ║                                        ║
  551.                       ║         Change Help Screen             ║
  552.                       ║                                        ║
  553.                       ║         System Options                 ║
  554.                       ║                                        ║
  555.                       ╚════════════[<ESC> to exit]═════════════╝
  556.                                            
  557.             figure 2. Editing Menu
  558.             
  559.                  At this  point, choose  the selection you wish to edit by
  560.             pressing the  first letter of the selection.  If the selection
  561.             change routine  is  protected  by  a  password,  you  will  be
  562.             prompted for  the password.   This  may be entered in upper or
  563.             lower case.
  564.             
  565.                  Each of  the selections  will  call  up  the  appropriate
  566.             editing window.  Remember, if the window is titled a Menu, use
  567.             the first letter to select an option or use <ESC> to return to
  568.             previous menu.  If the title includes EDIT, then the following
  569.             keys will be useful (the editor uses MicroSoft's suggested key
  570.             meanings):
  571.             
  572.                  Cursor Keys:  these do the expected things.
  573.                  <TAB>  selects the next changable field.
  574.                  <SHIFT-TAB> selects previous field.
  575.                  <RET> or <ENTER> changes line and selects the next field.
  576.                  <HOME> moves editing cursor to beginning of line.
  577.                  <END>  moves editing cursor to the end of the line.
  578.                  <PGUP> moves cursor to first editing field.
  579.                  <PGDN> moves cursor to last editing field.
  580.                  <DEL>  deletes current character.
  581.                  <CTL><HOME> moves  cursor to beggining of line and clears
  582.                              line.
  583.                  <CTL><END>  erases from cursor to the end of the line.
  584.                  <ESC>  aborts all editing of the screen. No changes made.
  585.             
  586.  
  587.  
  588.                Batmenu Operating System  Version 4.00          page 13
  589.  
  590.  
  591.  
  592.  
  593.  
  594.                  When the  cursor is  on an editing line, a help line with
  595.             possible options  or information  will  be  displayed  at  the
  596.             bottom of  the screen.  The current editing line is shown by a
  597.             reverse color bar.
  598.             
  599.                  If you  edit and  wish not  to make  changes,  use  <ESC>
  600.             before you  move from the bottom line of the screen.  Once the
  601.             bottom line is changed, the option is modified.
  602.             
  603.                  If you  only change  a few  line in  the beginning of the
  604.             selections, use  <PGDN> to  get to  the last item.  Then press
  605.             <CR> to register the changes.
  606.             
  607.                  If you  make any  changes to  the current  configuration,
  608.             when you  use <ESC> from the Editor Menu, you will be asked if
  609.             you wish  to save the changes.  Press 'Y' if you do, otherwise
  610.             press any  key to continue.  If you do not save configuration,
  611.             the changes will only be active for that session.
  612.             
  613.                  If you  changed the  name of  the configuration file, you
  614.             will be  asked if  that is  what you wish to do.  Again, press
  615.             'Y' if  you wish  to change, any other key to continue without
  616.             change of name.  If you change the name, the old file is still
  617.             on the  disk, without changes.  If it is not encrypted and has
  618.             password information, you may wish to delete the file.
  619.             
  620.                  Try out  the options,  they are  easy to  change back and
  621.             forth.  If you make a mistake, just use <ESC> and remember not
  622.             to change  the configuration.   Exit and reenter the menu, and
  623.             it will be reset to the old configuration.
  624.  
  625.  
  626.                Batmenu Operating System  Version 4.00          page 14
  627.  
  628.  
  629.  
  630.  
  631.  
  632.             
  633.                                    System Settings:
  634.             
  635.                  If you  select the  System Options from the Editing Menu,
  636.             you will see the following screen:
  637.             
  638.                  ╔═══════════[ EDIT SYSTEM DEFAULTS]════════════════╗
  639.                  ║File Name   : BATMENU                             ║
  640.                  ║Version     : 4.00                                ║
  641.                  ║Title       : MASTER MENU                         ║
  642.                  ║\DOS                                              ║
  643.                  ║Master Password : OTHER                           ║
  644.                  ║Bottom line :                                     ║
  645.                  ║Exit         :N  Password:PASSWORD                ║
  646.                  ║<ESC>        :N  Password:PASSWORD  Printer Port:1║
  647.                  ║Menu         :N  Password:PASSWORD   Edit text: 6_║
  648.                  ║Extend       :Y  Password:ANOTHER     background:4║
  649.                  ║Help         :N  Password:PASSWORD   Window text:0║
  650.                  ║Encrypt      :N                       background:3║
  651.                  ║Entry        :N  Password:Password                ║
  652.                  ║Blank 0-9 0=NO :0                                 ║
  653.                  ╚══════════════════════════════════════════════════╝
  654.                                            
  655.                             figure 3. Edit System Defaults
  656.             
  657.                  These are the user configurable system settings:
  658.             
  659.             File name:   This  is the  name of  the current  configuration
  660.             file.  Maximum of eight letters are used for the name.  If you
  661.             change this  name, you  will later  be prompted if you wish to
  662.             change the  name of the configuration file and save to the new
  663.             name.
  664.             
  665.             Version:  This is the current major version of the file, it is
  666.             not changable by user.  It is for information only.
  667.             
  668.             Title:   This is  the tile  used on  the menu screen.  You may
  669.             wish  to   use  Master   Menu  (Default)   for  your   initial
  670.             configuration, and  a discriptive  title for  the  other  menu
  671.             files, eg: Word Processing Menu.
  672.             
  673.             \DOS:   Actually, this will be the current subdirectory.  This
  674.             is set  by the program.  It is not changable by user.  This is
  675.             the subdirectory  the batch  file will  return to  unless  you
  676.             chain menus  or exit.   If  you copy an existing configuration
  677.             file to  another subdirectory,  you must use BATCONV to change
  678.             this option.   Otherwise,  the menu  program will  not operate
  679.             correctly.
  680.             
  681.  
  682.  
  683.                Batmenu Operating System  Version 4.00          page 15
  684.  
  685.  
  686.  
  687.  
  688.  
  689.             Master Password:   This  is the  master system  password.  You
  690.             will be  prompted for  this password  if you  change from  the
  691.             default.  It is the word you need to know to access the System
  692.             Editor.   This will access all password protected levels, even
  693.             if the  other passwords  are different.  This password MUST be
  694.             set for any other password to work.  (This is logical, because
  695.             if it  is not  set, anyone can enter the system options editor
  696.             and set and find the passwords.)
  697.             
  698.             Bottom  Line:    This  will  change  the  bottom  prompt  line
  699.             displayed on  the menu  screen.   If left  blank, the  default
  700.             prompt for <F1> <F2> etc, is displayed.
  701.             
  702.             The  Printer  Editor  does  not  have  a  separate  option  or
  703.             password.   It is  considered part  of the  system,  therefore
  704.             protected by the Master Password.
  705.             
  706.             Exit:   'Y'  will  enable  password  protection  of  the  EXIT
  707.             command.   See EXIT  FUNCTION.   The user  will not be able to
  708.             access to  DOS level  if this  is enabled, unless the user has
  709.             the system  password.   This also  enables password protection
  710.             for the PARK FUNCTION.
  711.             
  712.             <ESC>: Same  as Exit, but for the escape key.  I usually leave
  713.             this set  to Y so that the escape key is protected and I don't
  714.             leave the menu system by accident.
  715.             
  716.             Menu: Extend:  Help:  'Y' will password protect the respective
  717.             editors.   These passwords  are separately  set.  The Password
  718.             screen will only be shown (in the middle of the screen) if you
  719.             enter 'Y' in one of the options.
  720.             
  721.             Encrypt: 'Y'  will enable  the encrypting of the configuration
  722.             file.   This is  a powerful  feature.   Used with  the various
  723.             levels of password security, it make as secure a system as the
  724.             PC Dos  will allow.   (There  is also  a rapid  CRYPT  utility
  725.             available that  will code and decode data files quickly.  This
  726.             is useful  in the  batch processing  to  keep  sensitive  data
  727.             secure.)
  728.             
  729.             Entry: 'Y'  will enable  password protection  of entering  the
  730.             menu  program   with   the   present   configuration.      One
  731.             inconvenience is that the program will ask first and then upon
  732.             return from  the application.   The re-inquiry can be disabled
  733.             by the "doagain" command.  See features section.
  734.             
  735.             Blank: A  number from 1-9 will set the screen blanking feature
  736.             on.   After the  set minutes of inactivity, the screen will be
  737.             blanked.   The program actually does this in a non-destructive
  738.             way, no  touching the  video controler ports, so it is safe on
  739.  
  740.  
  741.                Batmenu Operating System  Version 4.00          page 16
  742.  
  743.  
  744.  
  745.  
  746.  
  747.             ANY video  card that  allows direct video buffer access.  This
  748.             includes Hercules.
  749.             
  750.             Text/ Background  Colors: These  are  entered  to  change  the
  751.             various  windows   that  appear   in  the   program.      Edit
  752.             text/background will  set the  colors for the Editing screens.
  753.             Window text/background  will  set  the  colors  for  the  help
  754.             windows and  any other windows added in the future.  For color
  755.             with monochrome  monitor, I like 6,4,0,3.  The colors separate
  756.             nicely.   The numbers  correspond to  the standard color codes
  757.             for IBM  PC.   They are  listed on the help line if you need a
  758.             reminder.
  759.             
  760.             Passwords:  If you enable any option that requires a password,
  761.             this section  of the  screen appears.   If you press <ESC> you
  762.             will be  returned to  the main  system default  editing.  Note
  763.             that only those options that are enabled can have the password
  764.             changed.  The other passwords are set to PASSWORD.  If you put
  765.             a leading  blank in  the password,  then the whole password is
  766.             set to PASSWORD.
  767.             
  768.             If you  enable an  option, the  default password is set to the
  769.             system password.  If you  disable an  option, it  is reset  to
  770.             PASSWORD.   This is  an  added  convenience  for  single  user
  771.             systems.
  772.             
  773.  
  774.  
  775.                Batmenu Operating System  Version 4.00          page 17
  776.  
  777.  
  778.  
  779.  
  780.  
  781.             
  782.                                     Menu Settings:
  783.                                Extended Menu Settings:
  784.             
  785.                  From the  Edit Menu,  select either  the Menu or Extended
  786.             menu settings.  This will select either prompts 1-17 or 18-32.
  787.             Then select the number to proceed with the editing.
  788.             
  789.                                            
  790.                       ╔═══════════[Program Prompts]════════════╗
  791.                       ║                                        ║
  792.                       ║  1 DOS           2 INFORMATIO          ║
  793.                       ║  3 MONEY         4 LANGUAGE            ║
  794.                       ║  5 SYMPHONY      6 WORD                ║
  795.                       ║  7 WINDOWS       8 XTALK               ║
  796.                       ║  9 GAMES        10   -                 ║
  797.                       ║ 11 Blank Disk   12 Copy Disk           ║
  798.                       ║ 13 Time & Date  14 Utilities           ║
  799.                       ║ 15   -          16 OFF                 ║
  800.                       ║ 17                                     ║
  801.                       ╚════════════[<ESC> to exit]═════════════╝
  802.                                            
  803.                                            
  804.                            Select number or <ESC> to exit: nn
  805.                                            
  806.                     figure 4. Edit Options (select command number)
  807.             
  808.                  A sample menu screen is shown below:
  809.             
  810.                    ╔══════════[ EDIT PROMPT COMMANDS ]════════════╗
  811.                    ║Prompt      : WINDOWS                         ║
  812.                    ║Description : Windows Environment             ║
  813.                    ║Password    : PASSWORD                        ║
  814.                    ║Directory   : C:\WINDOWS                      ║
  815.                    ║Test Program: c:\window.flg                   ║
  816.                    ║Command    1:win                              ║
  817.                    ║           2:                                 ║
  818.                    ║           3:                                 ║
  819.                    ║           4:                                 ║
  820.                    ║           5:                                 ║
  821.                    ║           6:                                 ║
  822.                    ║           7:                                 ║
  823.                    ║           8:                                 ║
  824.                    ║           9:                                 ║
  825.                    ║          10:                                 ║
  826.                    ║                                              ║
  827.                    ╚══════════════════════════════════════════════╝
  828.                                            
  829.                                            
  830.                      figure 5. Edit Commands (changing directory)
  831.             
  832.  
  833.  
  834.                Batmenu Operating System  Version 4.00          page 18
  835.  
  836.  
  837.  
  838.  
  839.  
  840.             Prompt:   This is  the Menu  name of  the program.   The first
  841.             letter is  significant in  the Menu and Extended menu options.
  842.             These letters  should be  different  for  one  key  selection.
  843.             Otherwise, you  will need  to use  the cursor  controls.   The
  844.             first letter is not case sensitive.
  845.             
  846.             CAUTION:   The menu  program stops  displaying choices when it
  847.             finds the  first blank prompt.  Therefore, if you want a break
  848.             in the  menu and  still display choices following it, you must
  849.             have a  prompt that  consists of  at least a leading space and
  850.             one character.
  851.                  eg.:  Prompt  : __-       (two spaces and a hyphen)
  852.             Otherwise, the  selections following  the prompt  will not  be
  853.             displayed.  (see DEMO.CFG).
  854.             
  855.             Description: This  is the description you want for the command
  856.             option.
  857.             
  858.             Sub Directory:  This is the sub directory you want the program
  859.             started in.   The  batch file  will switch  to this  directory
  860.             before executing  the other  commands.   It will return to the
  861.             current subdirectory  after all  commands are  executed.  This
  862.             can be  left blank if the application is a command in the PATH
  863.             environment.
  864.             
  865.             Test Program:  This is the name of a file that will be checked
  866.             before executing  the batch  file.   If it  is not found, menu
  867.             displays an error message and continues.  This should have the
  868.             drive and path specification as well as the file name.
  869.             
  870.             Commands:   There is space for ten user commands for inclusion
  871.             in the batch file.
  872.             
  873.                                 
  874.  
  875.  
  876.                Batmenu Operating System  Version 4.00          page 19
  877.  
  878.  
  879.  
  880.  
  881.  
  882.             
  883.                                 Printer Configuration:
  884.             
  885.             From the Editor Menu, select the Printer Configuration Option.
  886.             You will  see an  editing  window  with  the  current  printer
  887.             settings.
  888.             
  889.             You can  change the  Title, Option  prompts  and  the  printer
  890.             values.   The values  are 0-127.   The printer string MUST end
  891.             with the  number -1.   This  is how  the program  knows it  is
  892.             through.     If  your   printer  does  something  weird  after
  893.             configuring, check  the settings  for a  -1 at the end of each
  894.             string.
  895.             
  896.             Any number is converted to a single byte, so anything over 255
  897.             will be  undefined.   Consult  your  printer  manual  for  the
  898.             values.  The values must be entered in decimal values.
  899.                  eg:  \27 \34 \27 \15 \-1 \   \   \   \
  900.             
  901.             The final  option is  setting the printer port, this should be
  902.             between 1 - 4.      When through,  press <CR>  after the  last
  903.             prompt.   If you  press <ESC>  at any  time, any changes up to
  904.             then are discarded.
  905.             
  906.  
  907.  
  908.                Batmenu Operating System  Version 4.00          page 20
  909.  
  910.  
  911.  
  912.  
  913.  
  914.             
  915.                                      Help Screen:
  916.             
  917.                  This feature is included for inserting a set of reminders
  918.             or instructions  for the  user to  check when  pressing  <F1>.
  919.             This is  revised from  the Edit  Menu.   The first line is the
  920.             title line  of the  help screen.   The  next 15  lines are the
  921.             text.   If you delete the first line of help text, the default
  922.             screen is  reset.  The default screen on the public version is
  923.             the sign on screen.  In licensed copies, it is a custom screen
  924.             written for the licensee.
  925.             
  926.                  The best use right now is to have ready access to a phone
  927.             number and  address for  the operator to use in contacting the
  928.             programmer.  For personal use, it has little value at present.
  929.             In the  future, there  may be  a need for help screen that are
  930.             context sensitive.
  931.             
  932.                  I use  this feature  when I set up applications menus for
  933.             clients.   It could  be to remind when to use certain options,
  934.             such as  backing up, how to format disks, etc.  The nice thing
  935.             is that  it is  easily changed when I install a system, so the
  936.             customer can dictate the needs.
  937.             
  938.                  I used  function key  <F1> to  be  compatible  with  most
  939.             programs with help screens.
  940.             
  941.  
  942.  
  943.                Batmenu Operating System  Version 4.00          page 21
  944.  
  945.  
  946.  
  947.  
  948.  
  949.             
  950.                                    Functions/Helps
  951.             BATMENU.BAT:
  952.             
  953.                  This file  is generated  by the  menu program.  Please do
  954.             not change  or delete  this file  while using the menu system.
  955.             Occasionally, you  may  get  a  file  not  found,  or  illegal
  956.             command.   These will  take care  of themselves,  as the  menu
  957.             program will rewrite the correct file.
  958.             
  959.                  The menu  program will  generate a  batch file similar to
  960.             the following:
  961.                  (command)           (remarks)
  962.                  echo off
  963.                  batmenux %1         (menu generating program)
  964.                  C:                  (drive from subdirectory option)
  965.                  CD\DOS              (subdirectory of program)
  966.                  commands
  967.                  commands            (from the 10 user commands)
  968.                  C:                  (return to original drive)
  969.                  CD\DOS              (return to original subdirectory)
  970.                  batmenu config_name (restart menu program)
  971.             
  972.             
  973.                  For the  technically minded, this has all the limitations
  974.             of batch files.  Especially if you use another batch file as a
  975.             command.   If you  do that  DOS will exit the BATMENU.BAT file
  976.             and stop  after the  new batch  file.  This is a limitation of
  977.             the DOS  system.   If you  wish to  use other batch files, you
  978.             either must  end the  batch file with a command to restart the
  979.             menu (eg. MENU or BATMENU) or use an extra copy of COMMAND.COM
  980.             as illustrated later.
  981.             
  982.             MENU.BAT:
  983.             
  984.                  This file  starts the  entire system  from either the DOS
  985.             prompt or  an AUTOEXEC.BAT  file.   The file  should be  in  a
  986.             subdirectory included  in the  PATH environment  setting.  The
  987.             contents of the file are as follows:
  988.                  (command)      (remarks)
  989.                  ECHO OFF
  990.                  C:             (drive of the batmenu program)
  991.                  CD\DIRECT      (directory of the main menu)
  992.                  BATMENU %1     (start menu system)
  993.             
  994.                  You may write this file with an ANCII text editor, or use
  995.             the command  COPY CON  MENU.BAT to start writing a file.  Type
  996.             in the  appropriate commands  and press  <F6> <CR> to stop the
  997.             writing.
  998.             
  999.  
  1000.  
  1001.                Batmenu Operating System  Version 4.00          page 22
  1002.  
  1003.  
  1004.  
  1005.  
  1006.  
  1007.             The following  helps refer  to entering commands from the EDIT
  1008.             PROMPT COMMANDS  screen.   They are  meant to  help expand the
  1009.             utility of the menu system.
  1010.             
  1011.             Chaining Menus:
  1012.             
  1013.                  The  program   can  be   used  to  chain  to  other  menu
  1014.             configurations.     This  is   done  either  by  changing  the
  1015.             subdirectory  option   in  the  command  editing  to  the  new
  1016.             subdirectory and adding the command BATMENU BATMENU (or config
  1017.             file name) as the last command.
  1018.             
  1019.                  You also  can have  multiple configuration  files in  the
  1020.             same directory.   The command would then be BATMENU CONFIGNAME
  1021.             to stop  the current  processing and start a new chain of menu
  1022.             processings.
  1023.             
  1024.                  Also see gomenu function.
  1025.             
  1026.             Calling Other Batch Files:
  1027.             
  1028.                  Since DOS  will not  allow chaining of batch files, there
  1029.             is an  easy way  to call  other batch  files and return to the
  1030.             menu program.   Use the following command line instead of just
  1031.             the batch file name:
  1032.             
  1033.                       command 1:  COMMAND /C BATCH_FILE_NAME
  1034.             
  1035.                  This will  allow the  batch file to process as normal and
  1036.             on exit,  it will  release the  second copy of command.com and
  1037.             return to the original BATMENU.BAT
  1038.             
  1039.             CAUTION: Do  not use  this command  to install memory resident
  1040.             programs.  There will be unpredictable results.
  1041.             Gomenu function:
  1042.             
  1043.                  Version 4.00  added a  new way  of chaining  menus.  This
  1044.             will also  decrease the  time, as a batch file is not used, so
  1045.             another program is not run.  The command is :
  1046.                  command 1: gomenu
  1047.                  command 2: config_name
  1048.             
  1049.                  The subdirectory  must be set for the subdirectory of the
  1050.             configuration file.   Thus, you can run all the menus from one
  1051.             subdirectory.   Or use this function to just read the new menu
  1052.             as if  you started in that subdirectory.  This can be a little
  1053.             confusing.  The command sequence is the equivilent of :
  1054.                  command 1: batmenu batmenu
  1055.             
  1056.  
  1057.  
  1058.                Batmenu Operating System  Version 4.00          page 23
  1059.  
  1060.  
  1061.  
  1062.  
  1063.  
  1064.                  The addition  of this  function makes  for a  very  rapid
  1065.             change of  menu configurations,  greatly expanding the utility
  1066.             of the program.
  1067.             
  1068.             Exit function:
  1069.             
  1070.                  If you  enter the command EXIT as the last command on the
  1071.             screen, it  will end  the BATMENU.BAT  file at  that point and
  1072.             when the  batch is  finished, it  will NOT  return to the menu
  1073.             system.   This is  to enable the use to exit to the DOS prompt
  1074.             level.   (It is  the same as the Escape key from the menu, but
  1075.             allows for command processing first.)
  1076.             
  1077.                  It is  entered as  if it  was a  command.    No  commands
  1078.             followinging this  will be processed.  This is not the same as
  1079.             the DOS  exit command.  The DOS command exits an extra copy of
  1080.             the command  processor.  This does the LOGICAL equivalent with
  1081.             a batch file.
  1082.             
  1083.             Park function:
  1084.             
  1085.                  Rename  the  hard  disk  parking  utility,  often  called
  1086.             SHIP.EXE or  SHIPDISK.EXE to  PARK.EXE (if  it is a .COM file,
  1087.             use that  extension).   When the menu program sees the command
  1088.             PARK,  it   will  write  out  the  batch  file  and  terminate
  1089.             processing, with no more disk reads.  This is so the disk head
  1090.             will not  move.   This is  password protected  with  the  EXIT
  1091.             protection.
  1092.             
  1093.                  Some programs  lock the  computer, so the operator has to
  1094.             reboot.   Others will  park the  disk, but  you can enter more
  1095.             commands (eg.  AT&T system.)   Therefore,  the PARK command is
  1096.             password protected with the EXIT protection.
  1097.             
  1098.             Doagain function:
  1099.             
  1100.                  This function is used when the configuration file has the
  1101.             entry protection  enabled.   If the  system is left to itself,
  1102.             you would  have to  enter the password after every application
  1103.             process.   If you use this command, you can return to the menu
  1104.             without having to reenter the password.  There are some system
  1105.             checks, to  stop someone  from bypassing  the menu  protection
  1106.             sytem.   So it  will only  work if  you  return  to  the  same
  1107.             subdirectory as  the menu.   In  other words,  don't do  fancy
  1108.             changes, let the menu system do the work.
  1109.             
  1110.                  eg.:      command 1:   symphony
  1111.                            command 2:   doagain
  1112.             
  1113.             This will  run symphony  and then  return to  a protected menu
  1114.             without requiring  the password.   However, once you leave the
  1115.  
  1116.  
  1117.                Batmenu Operating System  Version 4.00          page 24
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.             menu to  another menu  configuration, if  you return, you WILL
  1124.             need the password again.
  1125.             
  1126.                  If you  forget this  function, don't  worry.    The  only
  1127.             inconvenience is having to reenter the password an extra time.
  1128.             
  1129.  
  1130.  
  1131.                Batmenu Operating System  Version 4.00          page 25
  1132.  
  1133.  
  1134.  
  1135.  
  1136.  
  1137.             
  1138.                                  Converting Versions
  1139.             
  1140.             BATCONV.EXE:
  1141.             
  1142.                  This program serves three purposes:
  1143.                       Convert configuration files.
  1144.                       Configure Printer Defaults.
  1145.                       Convert formatted text file to configuration file.
  1146.             
  1147.                  To use  the program  to  convert  previous  versions  the
  1148.             command line is:
  1149.             
  1150.                       BATCONV [/F] [ FILENAME.EXT | FILENAME ] <CR>
  1151.             
  1152.                  This  program   must  also   be  used   if  you   copy  a
  1153.             configuration file to a subdirectory OTHER than the one it was
  1154.             made in.  This will reset certain values the file needs.
  1155.             
  1156.                  The /F option 'F'orces the converting program to use it's
  1157.             printer defaults  instead of the current configuration file's.
  1158.             This is useful if you change printers or forgot to reconfigure
  1159.             the program before installation.
  1160.             
  1161.                  If it  finds more than one file, it will ask for the file
  1162.             name WITH  extension.   It does not take guesses on which file
  1163.             to change.  If the command line is blank, the default it looks
  1164.             for is  BATMENU.   Please be  careful with  this utility.   It
  1165.             tries to  make sure  the file  is the right one.  It will tell
  1166.             you what  it is  doing.   If the  file is  up to date, it will
  1167.             change nothing.  It will convert encrypted configuration files
  1168.             without needing a password.
  1169.             
  1170.                  This file  will be upgraded with each version.  That way,
  1171.             if you  are a couple of versions out of date, it will still be
  1172.             able to  convert everything from the last version installed to
  1173.             the latest  version.   It normally  will not  upgrade a  minor
  1174.             revision, as the configuration files do not change.
  1175.             
  1176.                  To use  the program to configure the printer strings, the
  1177.             following commands are used:
  1178.                  BATCONV /C     configures BATCONV.EXE defaults.
  1179.                  BATCONV /P     configures BATMENUX.EXE defaults.
  1180.             
  1181.             NOTICE:   The programs  must reside  in the current directory.
  1182.             It will  not search  the path.  This is so you know which file
  1183.             it is  changing.   Because it writes to the file, it checks to
  1184.             make sure  the file has not changed.  DO NO USE AN EXE PACKING
  1185.             PACKING PROGRAM ON BATMENUX.EXE or BATCONV.EXE.
  1186.             
  1187.  
  1188.  
  1189.                Batmenu Operating System  Version 4.00          page 26
  1190.  
  1191.  
  1192.  
  1193.  
  1194.  
  1195.                  When configuring,  you will  get  an  editing  window  as
  1196.             described in  Configuring Printer  section.   If you use <ESC>
  1197.             you stop the changes.  When through editing, you will be asked
  1198.             if you  want to  save the  changes.   Press 'Y' if you do, any
  1199.             other key to exit without saving.
  1200.             
  1201.                  For  convenience,  you  should  configure  both  programs
  1202.             before installing on your machine.  That way you will not have
  1203.             to edit  each configuration  file.   Your printer  will be the
  1204.             default.
  1205.             
  1206.             BATMENU.TXT:
  1207.             
  1208.                  The third  function is  a quick setup using a file called
  1209.             BATMENU.TXT.   This will  help  in  setting  up  large  menus.
  1210.             However, you still will have to check each entry and enter the
  1211.             drive and subdirectory the program resides in if needed.
  1212.             
  1213.                   The BATCONV program is set to read a special file called
  1214.             BATMENU.TXT.     It  will   convert  the  ASCII  file  to  the
  1215.             configuration file.   For the first time setup, this is easier
  1216.             than starting  the program and setting up all the commands one
  1217.             at a  time.   This method  has some  limitations.  You can not
  1218.             setup  a   help  screen   from  the  text  file.    Also,  the
  1219.             subdirectory the  program resides  on is  always  the  current
  1220.             subdirectory.   It is  easy to  change those one at a time, or
  1221.             you  can   override  by  using  a  cd\path  command  directly.
  1222.             However, this uses up one of the ten commands you place in the
  1223.             batch file.
  1224.             
  1225.                  The program places special meaning for some symbols:
  1226.                       |  separator for the options
  1227.                       }  carriage return in the command column
  1228.                       ~  replaces with a DOS pipe symbol (|)
  1229.                       ^   used to tell program to ignore the text carriage
  1230.                          return and continue on next line.
  1231.             
  1232.                  Use the  '^' symbol if your text editor uses an auto wrap
  1233.             on the  80th character.   The  editor I use allows lines up to
  1234.             512 characters,  so I  never hit  the restriction.   This  was
  1235.             added for compatibiltiy with other editors.
  1236.             
  1237.                  If you  make a  mistake, don't  worry, the  original text
  1238.             file is  still there  or you  can use the <CTL><Z> key to edit
  1239.             the menus  and system  options.   I left the capability in for
  1240.             convenience.   This program  is planned to be revised to allow
  1241.             for easier  reading and  insertion of  commands to an existing
  1242.             configuration file.
  1243.             
  1244.             The format is as follows:
  1245.             
  1246.  
  1247.  
  1248.                Batmenu Operating System  Version 4.00          page 27
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.             TITLE of MENU|
  1255.             Program|description | commands} |c:progm.test|password
  1256.               -  |
  1257.             QUIT | Quit system and park disk |park}|
  1258.             DOS  | Dos level (type MENU to continue|exit}|
  1259.             
  1260.             Line one is the title of the local menu.
  1261.             
  1262.             Line two  has a  full program command line.  The  program.test
  1263.                  is optional.   It  is included  to  test  if  the  listed
  1264.                  command file  is present.  If it is not installed, then a
  1265.                  message is  displayed.   This is useful for multi systems
  1266.                  using the same menus but not all having the same programs
  1267.                  installed.  You may also include a password to be checked
  1268.                  before running  the program.   If  any of the options are
  1269.                  left out  and you  wish to  include others, separate by a
  1270.                  single pipe  '|', otherwise the conversion program looses
  1271.                  it's place on the line.
  1272.             
  1273.             Line three  is the  format for a space in the menu. Notice the
  1274.                  use of  the pipe symbol '|'.  This must be last symbol on
  1275.                  the line.
  1276.             
  1277.             Line four  is a  command line  without a test program.  Notice
  1278.                  the idea  is to  stop the  batch file  after the  head is
  1279.                  parked.   The command  "park" is  made.  This is what you
  1280.                  must rename  the parking  utility  for  your  hard  disk.
  1281.                  BATMENUX treats  this command  differently, and will halt
  1282.                  the batch  processing following  this command.  This is a
  1283.                  special command to BATMENU to not chain the batch files.
  1284.             
  1285.             The final line is a sample use of the EXIT function.
  1286.             
  1287.             The limit  for a  line is  1024 characters  before a  carriage
  1288.             return.    This should give plenty of room for changing things
  1289.             and getting  a program  running.   Included is  the old master
  1290.             menu text  file  from  my  computer  along  with  some  sample
  1291.             subdirectory menus.  This should give you some ideas.
  1292.             
  1293.  
  1294.  
  1295.                Batmenu Operating System  Version 4.00          page 28
  1296.  
  1297.  
  1298.  
  1299.  
  1300.  
  1301.             
  1302.                                     Update History
  1303.             
  1304.             Version 1.00   August 1, 1985
  1305.                  -first version.
  1306.             Version 1.10   February 14, 1986
  1307.                  -added features included use of path environment.
  1308.                  -date and time update.
  1309.                  -corrected logic faults.
  1310.             Version 2.00   February 22, 1987
  1311.                  -revised added help screen, menu prompt line, windows,
  1312.                  extended options menu.
  1313.                  -encrypted file and passwords added.
  1314.                  -improved logic and speed.
  1315.             Version 3.00   March 12, 1987
  1316.                  -added a second password to master system, for entry to
  1317.                  menu. If the password fails, program exits with a batch
  1318.                  file call to MENU.BAT.  The first master menu should not
  1319.                  have protected entry.
  1320.                  -enhanced passwords, selection of colors by user,
  1321.                  corrected some bugs in the windows, memory allocation
  1322.                  errors.
  1323.                  -centered screens, cleaned up file crypt and detection.
  1324.                  -first release to public Shareware.
  1325.             Version 3.01   March 20, 1987
  1326.                  -added different passwords for protection from DOS level.
  1327.                  -corrected some passwords being improperly checked.
  1328.                  -revised entry password testing to allow for reentry of
  1329.                  the menu program without asking for password again.
  1330.             Version 3.01b  April 5, 1987
  1331.                  -minor cosmetic in version 3.01a
  1332.                  -revised test program screen.
  1333.             Version 4.00  May 3, 1987
  1334.                  -added gomenu function, revised configuration file
  1335.                  reading to allow for multiple files, resetting defaults.
  1336.                  -changed encryption to rename file, effectively erasing
  1337.                  the old configuration file so it couldn't be found
  1338.                  easily.
  1339.                  -added option to BATCONV to reconfigure printer and print
  1340.                  port defaults.
  1341.  
  1342.  
  1343.                Batmenu Operating System  Version 4.00          page 29
  1344.  
  1345.  
  1346.  
  1347.  
  1348.  
  1349.             
  1350.                                Restrictions/Limitations
  1351.             
  1352.             *    MSDOS Version  2.0 or later is required.  This program is
  1353.                  known to  operate correctly  with IBM, AT&T and Tandy OEM
  1354.                  (using 1000SX)   versions of MS DOS version 3.1. I assume
  1355.                  any standard  implementation of  MSDOS will work.  Please
  1356.                  let me know if you have compatibility problems.
  1357.             
  1358.             *    ANSI.SYS is  not required  for the  program.   However, I
  1359.                  usually have  NANSI.SYS installed,  and the program works
  1360.                  properly.
  1361.             
  1362.             *    It was  developed on  an AT&T  6300 using version 3.1 DOS
  1363.                  and MicroSoft C v4.00.  This program should work properly
  1364.                  on well  behaved IBM  compatibles.    Program  tests  for
  1365.                  current mode and then sets to MODE CO80, it will reset to
  1366.                  the original mode when exiting.  This also works properly
  1367.                  on Hercules  card with  B&W monitor.   The  colors looked
  1368.                  alright to  me on  both B&W  and Color. I have added some
  1369.                  ability to change color configuration.
  1370.             
  1371.             *    If you  use a  screen saver  (blanking) program, the Menu
  1372.                  program updates the display constantly with the time.  If
  1373.                  the screen  saver monitors  for writes  to screen it will
  1374.                  not blank  the screen.   You  must be  able to deactivate
  1375.                  monitoring the  screen for the programs internal blanking
  1376.                  program to work properly.
  1377.             
  1378.             *    I have  not tested  this on the EGA card.  It should work
  1379.                  properly; however, if this program does not access an EGA
  1380.                  properly, please let me know.
  1381.             
  1382.             BATMENU is  supplied for  personal, private use.  Feel free to
  1383.             distribute the  Shareware ARCHIVE in the unmodified form, with
  1384.             documentation, given these restrictions:
  1385.             
  1386.             *    The program shall be supplied in its original, unmodified
  1387.                  form which includes this documentation.
  1388.             
  1389.             *    No fee is charged.
  1390.             
  1391.             *    Commercial use without a license is prohibited.
  1392.             
  1393.             *    The program  may not  be included - or bundled - with any
  1394.                  other goods  or services.  Exceptions may be granted upon
  1395.                  written  request   only.    This  applies  to  clubs  and
  1396.                  distributors.
  1397.             
  1398.  
  1399.  
  1400.                Batmenu Operating System  Version 4.00          page 30
  1401.  
  1402.  
  1403.  
  1404.  
  1405.  
  1406.             NOTICE:   No  warranty  as  to  the  the  design,  capability,
  1407.             capacity or  suitability for use of the software.  Software is
  1408.             offered/licensed on  an "AS  IS" basis,  without warranty.  No
  1409.             responsibility for  damages or loss of business arising out of
  1410.             the use  or incorrect  use of  this  software  on  the  user's
  1411.             computer is  assumed.   This includes,  but is not limited to,
  1412.             any interruption  of service, loss of business or anticipatory
  1413.             profits or  consequential damages  resulting forom  the use or
  1414.             operation of this software.
  1415.             
  1416.  
  1417.  
  1418.                Batmenu Operating System  Version 4.00          page 31
  1419.  
  1420.  
  1421.  
  1422.  
  1423.  
  1424.             
  1425.             License / Registration / Source Code
  1426.             
  1427.             The Batch Menu System is supported at a variety of levels:
  1428.             
  1429.             Sharware Supporter:  If this program is useful to you, I ask a
  1430.                  small donation  for my  time  and  effort,  suggested  is
  1431.                  $15.00.  This will place you an a mailing list to receive
  1432.                  notice of upgrades.
  1433.             
  1434.             Full Registration:   You  may register the program as a single
  1435.                  user.   It is a single user not a single CPU license. You
  1436.                  will receive  telephone support (you pay the charges) and
  1437.                  will receive priority service for any bugs you report. If
  1438.                  you would  like to take advantage of registration support
  1439.                  and upgrades,  a license fee of $30.00 is requested.  The
  1440.                  suggested registration  price will assure you of being on
  1441.                  a mailing  list for  any updated versions.  The first one
  1442.                  will be  mailed free.   After  that, I either need a disk
  1443.                  and mailer from you, or will need $5.00 to cover costs of
  1444.                  disk, mailer and postage.
  1445.             
  1446.             For computer consultants:  If you would like to use and supply
  1447.                  this program  to your  customers, please contact me for a
  1448.                  custom copy  of the  program, screen,  and documentation.
  1449.                  You will receive a resale license for the program and its
  1450.                  support. You  would provide support from your custom copy
  1451.                  of  the   program.    In  addition  to  the  single  user
  1452.                  registration, you  also would receive priority service on
  1453.                  program modifications  you would  like in the program you
  1454.                  are installing for others.
  1455.             
  1456.             For use by corporations or other institutions:  Please contact
  1457.                  me at  listed address  for a site licensing agreement.  I
  1458.                  assure  you,   I  am  reasonable  about  this.  Corporate
  1459.                  customers will  have access  to the  crypt program  and a
  1460.                  custom program  to maintain and upgrade the configuration
  1461.                  files.   Other utilities  making  the  menu  system  more
  1462.                  convenient are  also available.  This will aid in keeping
  1463.                  all the  PC systems  compatible.   The menu  screens  and
  1464.                  program can be customized by request.
  1465.             
  1466.             SOURCE CODE:   Unfortunately,  I have adapted many sources for
  1467.                  the library,  and  as  such,  I  would  not  be  able  to
  1468.                  distribute it without copyright violations.  However, the
  1469.                  source to  the program itself and the library files in MS
  1470.                  C compiler  version 4  format, would  be available.  I am
  1471.                  looking for  a limited  number   of people  who like  the
  1472.                  program and  would like  to  collaborate  on  testing  on
  1473.                  compatibles with non-CGA video cards.  I would like to be
  1474.                  able to test the program better.
  1475.  
  1476.  
  1477.                Batmenu Operating System  Version 4.00          page 32
  1478.  
  1479.  
  1480.  
  1481.  
  1482.  
  1483.             
  1484.             Registration Form
  1485.             
  1486.                            Batch Menu Operating System 4.00
  1487.                              (C) 1987 by Donald Gloistein
  1488.             
  1489.             Yes, I  have decided  to keep  BATMENU as  part of my software
  1490.             library.  Please register my copy.  My check for a single user
  1491.             system is  enclosed.   I understand that registration entitles
  1492.             me  to   the  latest  program  disk,  documentation  and  free
  1493.             upgrades. (Free  if I  send a blank disk, $5.00 to cover disk,
  1494.             mailer and postage, otherwise.)
  1495.             
  1496.             For resale license, or multi-user, please contact me.
  1497.             
  1498.             Name:
  1499.             _____________________________________________________________
  1500.             
  1501.             Address:
  1502.             _____________________________________________________________
  1503.             
  1504.             City: __________________  State: _______  Zip:_______________
  1505.             
  1506.             Phone#: (days)  ________________ (night) ____________________
  1507.             
  1508.             Version Number:  4.00
  1509.             
  1510.             Enclosed :  (Check only one)
  1511.                         $15.00   ___  (Shareware supporter)
  1512.                         $30.00   ___  (Registered user)
  1513.             
  1514.             Name of Contact Person (for Corporations, schools, etc.):
  1515.             
  1516.             ______________________________________________________________
  1517.             
  1518.             Any special needs, comments or ideas for improvements ?
  1519.             
  1520.             ______________________________________________________________
  1521.             
  1522.             ______________________________________________________________
  1523.             
  1524.             ______________________________________________________________
  1525.             
  1526.             
  1527.             Send this form with check made out to:
  1528.             
  1529.             Donald Gloistein
  1530.             2500 Fairway Dr. #922
  1531.             Alvin, TX 77511
  1532.