home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / mbug / mbug172.arc / FRONT51.LBR / FRONT51.DZC / FRONT51.DOC
Text File  |  1979-12-31  |  40KB  |  822 lines

  1. .po5
  2. .FO FRONT.DOC v. 5.1  (C) 1984, 1986   BY CLAUDE OSTYN           PAGE # 
  3.                             FRONT.DOC
  4.              Documentation for FRONT.COM version 5.1
  5.             Copyright (c) 1984, 1986 by Claude Ostyn 
  6.  
  7.   This document and the programs it describes may be copied, used 
  8. and distributed freely at no cost for the benefit and enjoyment 
  9. of all CP/M users.  They may not be sold or included in a package 
  10. for sale, under any name, in whole or in part, without the prior 
  11. written permission of the copyright owner, but copies may be sold
  12. by non-profit users groups as long as the price does not exceed 
  13. the cost of the blank media and duplication.  Commercial use is 
  14. subject to payment of a fee or of royalties.  The programs may 
  15. only be distributed as a package including FRONT51.COM, 
  16. FRNSTL51.COM, FRNT51PT.ASM, FRONTSUB.DOC and FRONT51.DOC (this 
  17. document).  The copyright notices may not be altered.
  18.   I specifically disclaim any warranties, implied or otherwise, 
  19. as to the performance and suitability of this software for any 
  20. purpose.  If it works, great.  If it doesn't, don't blame me, 
  21. but feel free to blame whoever concocted your version of CP/M. 
  22.  
  23.        Since I spent considerable time and effort to 
  24.      develop and debug this software, I would like a 
  25.      reasonable payment if it turns out to be useful to 
  26.      you.  A modest contribution ($15 or more) will be 
  27.      welcome as a tangible sign of appreciation.  
  28.        I also trust that you will be totally honest and 
  29.      will mention this when you pass FRONT around.
  30.  
  31.        Comments, reviews, picture postcards, gourmet 
  32.      chocolate, suggestions and bug reports are also 
  33.      welcome, of course.
  34.  
  35.                           Claude Ostyn
  36.                           P.O. Box 2035                            
  37.                        Sitka, Alaska 99835
  38.  
  39.  
  40.                             CONTENTS
  41.  
  42. 1.    Changes since last versions
  43. 2.    Introduction
  44. 3.    Description of FRONT
  45.       A.  Short description
  46.       B.  Hardware/software requirements       
  47.       C.  Using FRONT
  48. 4.    Installation
  49. 5.    Installation procedures using FRNSTL51.COM
  50.       A.  Terminal installation
  51.       B.  File types installation
  52.       C.  Special features
  53.       D.  Saving the installed FRONT file
  54. 6.    Custom installation using FRNT51PT.ASM
  55. 7.    Technical notes
  56. 8.    Troubleshooting      
  57. 9.    Using FRONT with a hard disk.
  58.  
  59.  
  60. 1. CHANGES SINCE LAST VERSION
  61.  
  62.                The last circulated version FRONT was FRONT50.
  63.                The following have been added or corrected in v.5.1:
  64.                - Added support for newer versions of ZCPR and ZCMD.
  65.                - Fixed a bug in execution of certain commands.
  66.  
  67.                Other improvements over the original FRONT.COM 
  68.                which had been added in previous versions include: 
  69.                - fixed bug in Osborne 1 installation
  70.                - supports more non-standard CP/M implementations
  71.                - CP/M Plus compatibility; 
  72.                - ability to change the user area as well as the 
  73.                  logged drive;
  74.                - optional alphabetic sorting of the command on 
  75.                  the menu;   
  76.                - compatibility with some Trantor hard disk CCP 
  77.                  modifications; 
  78.                - improved compatibility with CP/M Plus;
  79.                - compatibility with JG Communications clock 
  80.                  software version 3.2 for the Osborne 1;   
  81.                - automatic repetition of FRONT after execution of 
  82.                  the called program by using a standard CP/M 
  83.                  feature available on most systems (the feature
  84.                  can be cancelled by ESCaping);
  85.                - improved installation program with display of 
  86.                  all settings at main menu;
  87.                - support for ANSI terminal video addressing and 
  88.                  support for arrow keys on more terminals;  
  89.                - optional and adjustable delay before execution 
  90.                  of the called program (for those "oops!" 
  91.                  situations);
  92.                - optional display of disk label below drive name;
  93.                - for Osborne 1 owners, more reliable screen size 
  94.                  recognition with or without Screen-Pac.  
  95.                - additional terminal support
  96.                - options submenu
  97.                - improved compatibility with old Kaypro II;
  98.                - conflict with SUBMIT in the standard Osborne 1
  99.                  installation has been eliminated;
  100.  
  101.                                     -----
  102.       
  103. 2. INTRODUCTION
  104.  
  105.                A while back I got frustrated with the otherwise 
  106.                excellent public-domain program MENU.COM because 
  107.                it did not allow me to enter arguments after 
  108.                selecting a command, or to run BASIC and DBASE
  109.                programs without creating an extra alias .COM 
  110.                program.  I also needed to set up turn-key systems
  111.                for people who were utterly confused by CP/M.
  112.                Out of this came FRONT.COM.  
  113.  
  114.  
  115. 3. DESCRIPTION
  116.  
  117. A. SHORT         FRONT.COM is a front-end utility for CP/M.  It
  118.    DESCRIPTION replaces the A> prompt with a menu of available 
  119.                programs and lets you select the command to run by 
  120.                just moving a highlight to the command name with 
  121.                the arrow keys and pressing one other key.  Its 
  122.                size is only 6K.
  123.  
  124.                  The menu shows the names of programs (.COM) 
  125.                files present on the disk.  Optionally, the menu 
  126.                will also show the names of .SUB, .BAS and other 
  127.                program files which require an interpreter to run.
  128.  
  129.                  The menu is automatically updated as files are 
  130.                added to the disk or erased, or if you log in 
  131.                another disk or user area.  The menu is normally 
  132.                arranged in alphabetic order.  At your option, the 
  133.                order of file names in the menu can also be the 
  134.                same as in the disk directory.
  135.  
  136.                  There are two ways to execute a command from the 
  137.                menu.  One way is to use the arrow keys to move 
  138.                the cursor to the name of the program to run and 
  139.                press either RETURN or the space bar.  If you 
  140.                press the space bar, you will be prompted for 
  141.                additional arguments.  The second way is to start 
  142.                typing in the command.  As you type, the names 
  143.                which do not match the command you are typing 
  144.                disappear from the menu, so you only have to type 
  145.                in enough characters to uniquely identify the 
  146.                command.  As soon as FRONT recognizes what you 
  147.                want, it will show you the command and ask for 
  148.                optional arguments.
  149.  
  150.                  To run a Basic program, for instance, you would 
  151.                not have to type in MBASIC MYPROGRM, but you would 
  152.                just move the cursor over the name MYPROGRM and 
  153.                press RETURN and it will be executed.  Or you 
  154.                could start typing "M" and all the names which 
  155.                don't begin with "M" would disappear from the 
  156.                menu.  Then you would type "Y" and, if no other 
  157.                command begins with "MY", FRONT would show you 
  158.                "MYPROGRM" and ask for optional arguments.  As 
  159.                soon as you press RETURN, FRONT will execute the 
  160.                command MBASIC MYPROGRAM.  
  161.  
  162.                  FRONT.COM is designed to be reloaded every time 
  163.                a program ends with a "warm boot", so it is very 
  164.                possible that you will never see the A> prompt.  
  165.                However, it will also let you exit to CP/M and 
  166.                cancel that feature by just pressing the ESC key.
  167.  
  168.  
  169. B. HARDWARE      FRONT.COM can run on just about any computer 
  170.   & SOFTWARE   which has an addressable cursor video display and 
  171.  REQUIREMENTS  runs CP/M 2.2 or CP/M Plus.  The minimum allowable
  172.                screen width is 52 columns.
  173.  
  174.  
  175. Video control    FRNSTL51.COM, which should be distributed along 
  176.                with FRONT.COM, will automatically patch FRONT.COM 
  177.                for a number of different terminals and computers.  
  178.                Note that the version number for FRNSTL51 has to 
  179.                match the version number for FRONT.
  180.                  When installed for an Osborne 1, FRONT will 
  181.                automatically adjust the width of the menu 
  182.                according to the current screen size if it detects 
  183.                the Osborne 80-column upgrade.
  184.  
  185. Operating        FRONT has no special requirements and will run 
  186. system         with any standard CP/M 2.2 or CP/M Plus system 
  187.                configuration, and with reasonably standard ZCPR 
  188.                implementations.  It has been tested successfully 
  189.                on several models of Kaypro, Osborne and other 
  190.                brands.  FRONT will automatically recognize and 
  191.                adjust itself to work with different CP/M sizes 
  192.                and versions.  It does not leave a "sleeper" or 
  193.                loader in memory and therefore has no effect on 
  194.                the size of the TPA and does not interfere with 
  195.                programs which make direct calls or integrity 
  196.                checks on the BDOS or BIOS.
  197.  
  198. Auto-repeat      With most CP/M machines, FRONT can reload itself 
  199. feature        automatically after executing the selected 
  200.                program.  Since different machines can handle this 
  201.                differently, FRNSTL51 will allow you to select a 
  202.                method to do this.
  203.  
  204. Auto-start       With the Osborne 1, FRONT should normally be 
  205. feature        renamed AUTOST and will then be loaded 
  206.                automatically.  With other machines, you may have 
  207.                to patch your system to take advantage of the 
  208.                undocumented CP/M autoload feature.  More details 
  209.                in the technical section.   
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224. C. USING FRONT
  225.  
  226. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  227. +  Drive A       FRONT - (c) 1986 by Claude Ostyn  - Version 5.1  +
  228. +  Label: -WSASM.001                                              +
  229. +                                                                 +
  230. +   [WORDSTAR]    SUPERDIR    FILTER      XERA        UNERA       +
  231. +    PROOF        NSWEEP      PIP         COPYDISK    IMP         +
  232. +    ASM          LOAD        ASM&LOAD    RESOURCE                +
  233. +                                                                 +
  234. +                                                                 +
  235. +                                                                 +
  236. +                                                                 +
  237. +                                                                 +
  238. +                                                                 +
  239. +   Arrow keys to select command, [RETURN] to execute,            +
  240. +   [SPACE] to enter optional execution parameters,               +
  241. +   [+] to change logged drive/user or [ESC] for options          +
  242. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  243.  Fig. 1:  FRONT.COM  menu display.  Yours will probably look
  244.           different, depending on the files on your disk and your 
  245.           screen size.  The "sorted menu" option has been turned 
  246.           off in this example.  Higlighting or inverse video will
  247.           be used instead of [brackets] if your screen supports it. 
  248.  
  249.  
  250. HOW IT WORKS     FRONT looks up all the files of certain types 
  251.                (such as .COM, .SUB, .BAS, etc.--as determined 
  252.                during installation ) present on the disk in the 
  253.                default user area and displays them as a menu.
  254.                The type can be shown after the name or not (this 
  255.                can be toggled by calling the options menu).
  256.  
  257. What's on        Files with the SYS attribute set, which would 
  258. the menu       not be show with the CP/M DIR command, are not 
  259.                included in the menu.  Files are listed in the 
  260.                same order as in the directory, with the first 
  261.                name in the top left corner, then second one to 
  262.                its right, etc. (see Figure 1), unless the sorted 
  263.                menu option has been selected with FRNSTL51, in 
  264.                which case they are listed in alphabetic order.
  265.  
  266. Selecting        The first name on the list is underlined or 
  267. a command      highlighted (depending on the terminal), or set 
  268. with the       between brackets on terminals which do not have 
  269. cursor         highlighting or underlining capabilities.
  270.                  By using the arrow keys (or either the standard 
  271.                CP/M ^H^J^K^L or the WordStar ^S^X^D^E diamond if 
  272.                the arrow keys don't work), the highlight is moved 
  273.                from name to name.  It can be moved freely in any 
  274.                direction and will wrap around at the end of each 
  275.                line and back to the first name if moved beyond 
  276.                the last one on the list.
  277.  
  278.  
  279. Logging to       If the desired command is not on the disk, 
  280. another disk   pressing the "+" or "=" key will let you log in 
  281.                another disk, drive or user area.
  282.  
  283. Executing        Once the desired command is highlighted, 
  284. a command      pressing RETURN will automatically load and 
  285.                execute it.  If additional arguments are 
  286.                required, pressing SPACE instead will allow you to 
  287.                enter the arguments.
  288.  
  289. Another way      You can also start typing the name of the 
  290. to select a    command.  The names that do not match are erased 
  291. command        from the menu until only one name is left, and 
  292.                then you are prompted for parameters.  If the 
  293.                name you want is shorter than other names which 
  294.                begin with the same letter, just press RETURN to 
  295.                indicate the end of the name.
  296.  
  297. Special types    In addition to the .COM files, the following 
  298. on the menu    file types can be listed in the menu:  .SUB, .BAS, 
  299.                INT, .CMD, or other types of your choice.  Up to 
  300.                eight different file types, in addition to COM, 
  301.                may be selected by using FRNSTL51.COM.
  302.  
  303.                  Files with the type .SUB require that SUBMIT.COM 
  304.                or an improved version of it such as EX14.COM be 
  305.                available--usually on drive A.  If the .COM file 
  306.                is not present, you will be warned with an error 
  307.                message when you try to execute that command, and 
  308.                returned to the menu.  Similarly, .BAS files will 
  309.                require MBASIC, etc.  You may have to use 
  310.                FRNSTL51.COM to change the name and default drive 
  311.                of the .COM file used to run the files of each type.
  312.  
  313. Running FRONT    Some programs do not end with a warm boot, and 
  314. again          you will just see the dreaded old A> prompt.  If 
  315.                your system is set to re-run FRONT at every warm 
  316.                boot (as on the Osborne 1 with FRONT renamed 
  317.                AUTOST), just force the warm boot by typing ^C.  
  318.                On some machines, you may have to log back to the 
  319.                A: drive, user 0 before typing ^C.  If FRONT still 
  320.                does not run, type A:FRONT (or whatever name under 
  321.                which FRONT was installed).
  322.  
  323.                  The last line of any submit file must be the 
  324.                command A:FRONT (or the name under which FRONT was 
  325.                installed).
  326.  
  327. Adding hidden    To see and execute commands which have been 
  328. files to the   "hidden" by setting the SYS attribute, press ESC 
  329. menu           for the options menu, then H to toggle the hidden
  330.                file display.  These files will now be added to 
  331.                the menu.  
  332.  
  333.  
  334.  
  335. The "?"          If you read this far, you deserve a goodie.  By 
  336. peek trick     pressing '?' when the highlight is over a command 
  337.                name, whatever is printable in the first 128 bytes 
  338.                of the corresponding file will be displayed.  If 
  339.                the command is a .SUB file, you will be able to 
  340.                read at least the first few lines and figure out 
  341.                what it does.  Most .COM files do or should have 
  342.                some kind of ASCII tag at the beginning to 
  343.                identify the program and version number.
  344.  
  345. Painless         You can exit to CP/M without executing a menu 
  346. exit with ESC  command by pressing ESC then selecting X for eXit.
  347.                This turns off the auto-repeat feature, so you 
  348.                will have to restart FRONT yourself at the A> 
  349.                prompt if you want to see the menu again.
  350.  
  351.  
  352. 4. INSTALLATION
  353.  
  354. Setting up       On most disks, the most often used program 
  355. the menu       should be listed first on the menu.  Since FRONT 
  356.                will find and list the executable files on any 
  357.                disk, this section deals with how to set up the 
  358.                disks from which you will be reading a menu.
  359.  
  360. Using the        To be listed first on the menu, a name must be   
  361. directory      first in the disk directory and the sorted menu.                     
  362. order option   option must be off.
  363.                   There are two ways to achieve this:            
  364.                a. Use PIP or NSWEEP to copy the programs onto an 
  365.                   empty formatted disk in the order in which you 
  366.                   want them to appear.
  367.                b. Use a utility such a SAP.COM or SORTDIR.COM to 
  368.                   rearrange the directory.  Temporarily rename                   
  369.                   the files, giving them names in the alphabetic 
  370.                   order of the final directory.  Run SAP, and 
  371.                   rename the files to their old name.
  372.                c. If you are using a hard disk, use NSWEEP to 
  373.                   copy all the files to another user area, delete 
  374.                   them in the current area, log to the other user 
  375.                   area and copy the files back one by one in the 
  376.                   desired order to the original area.
  377.  
  378. Using the        The file starting with the smallest valid ASCII
  379. sorted menu    character will be listed first on a sorted menu.
  380. option         Therefore, the command ABC will be listed before 
  381. (default)      the command BCD if the sorted menu option is 
  382.                installed (see FRNSTL51 below).  The advantage is 
  383.                that you don't have to do any copying of files or 
  384.                manipulation of your directory, and it makes 
  385.                commands easier to find in a crowded menu.  The 
  386.                disadvantage is that your favorite commands will 
  387.                usually not be listed first.
  388.  
  389.  
  390. Selecting        Use the "STAT filename $SYS" command or the 
  391. what to show   attribute setting facility of NSWEEP to hide 
  392.                the .COM files and other files which you want to 
  393.                have on the disk but which should not be listed.  
  394.                (If you have CP/M Plus, use the SET command).  I 
  395.                usually hide FRONT.COM itself also.
  396.   
  397.                  It is a good idea to have a directory program such 
  398.                as SUPERDIR.COM, SD.COM or NSWEEP.COM which can 
  399.                list files hidden with the SYS attribute.  
  400.                Obviously this directory program is one you will 
  401.                want to be able to call from the menu.  Do not set 
  402.                it to SYS.
  403.  
  404.                  Note that since it is no longer necessary to 
  405.                type the command names, they can be as long as 
  406.                CP/M will allow.  "WORDSTAR" is a lot friendlier 
  407.                than WS.
  408.  
  409. Easy             FRNSTL51.COM will patch FRONT.COM (or its  
  410. installation   renamed version AUTOST.COM on an Osborne 1).
  411. with           It will prompt you and you can run through the 
  412. FRNSTL51       whole procedure in less than three minutes.  
  413.  
  414.                  FRNSTL51.COM installs the video screen control 
  415.                codes for your terminal or computer, and certain 
  416.                functional characteristics, such as whether to 
  417.                show the type after the command name, which types 
  418.                of files will be listed on the menu, and which 
  419.                .COM files are used to run the commands listed.
  420.  
  421.  
  422. 5.  INSTALLATION PROCEDURES USING FRNSTL51.COM
  423.  
  424.                  (FRONT INSTALLATION PROGRAM, version 5.1)
  425.  
  426.                  To use FRNSTL51, put the disk with FRNSTL51.COM 
  427.                (normally distributed under the name FRNSTL51.COM)
  428.                and FRONT.COM (normally distributed under the name 
  429.                FRONT51.COM) in drive A.  If FRONT51.COM is not on 
  430.                the same disk as FRNSTL51, put the disk that 
  431.                contains it in drive B.
  432.  
  433.    STARTING      At the A> prompt, type FRNSTL51 <cr>
  434.    FRNSTL51    (<cr> stands for "press the RETURN key").
  435.                If the file name offered by FRNSTL51 is not 
  436.                correct, type in the file name under which we 
  437.                should look for FRONT51, then <cr>.   If the file 
  438.                is found and is indeed a compatible version, you 
  439.                will be presented with the main menu, otherwise 
  440.                try another name, or press CTRL-C to exit. 
  441.                  All the changes you make with FRNSTL51 are 
  442.                reversible at any time.
  443.  
  444.                  FRNSTL51 will only work with version 5.1 of
  445.                FRONT.  In fact, FRNSTL51 will check and refuse to 
  446.                install an incorrect version.
  447.  
  448. Installation     The main menu presents you with a screenful of 
  449. main menu      information.  It will show:
  450.                - The current file name for the copy of FRONT
  451.                  you are installing;
  452.                - the computer or terminal for which FRONT is 
  453.                  currently installed;
  454.                - which file types will be listed and executed by 
  455.                  FRONT;
  456.                - current settings of some special features;
  457.                - a menu from which you may select an item by 
  458.                  pressing just one key.  The choices are 
  459.                  "A", "B", "C", "S" ,"?" or "ESC".
  460.                    You press "?" for more information or "ESC"
  461.                  to quit and return to CP/M.  The other choices 
  462.                  are explained below.
  463.  
  464. A. TERMINAL      All you have to do here is press one key for the 
  465.   INSTALLATION terminal or computer of your choice.  Then look at 
  466.                the top of the screen to confirm your selection 
  467.                and press "X" to return to the main menu.  If your 
  468.                terminal is not listed, another selection might 
  469.                work, or special installation will be required.  
  470.                (See section 6).
  471.  
  472. B. FILE TYPES   The file types which FRONT will list and execute 
  473.                can be modified here.  There are 8 "slots" for 
  474.                file types in addition to .COM (only the 
  475.                "occupied" slots are shown on the main menu).  If 
  476.                you change, add or remove any of the types, you 
  477.                will also be asked to define the name and drive 
  478.                for the .COM file used to execute the command.
  479.                  An empty type (you must type in 3 spaces) is 
  480.                legal.  You might use that type to call text 
  481.                files to be used with a word processing program.
  482.  
  483. C. SPECIAL       Here you are prompted for certain operational 
  484.    FEATURES    settings.  If you like the current setting, just 
  485.                press RETURN to leave it as it is.
  486.                  The first question you must answer here is      
  487.                whether you want the type to be shown after the  
  488.                file name on the FRONT menu.  This has no effect 
  489.                on whether the file names themselves will be     
  490.                listed.  Answering "N" for no makes for a less   
  491.                cluttered menu on which more names can fit.      
  492.  
  493.                  You will then be asked if you want the menu 
  494.                sorted alphabetically.
  495.  
  496.                  The next question is whether to display the disk 
  497.                label.  The disk label is an empty file beginning 
  498.                with a "-" which many CP/M users put on their 
  499.                disks for use with the public-domain CAT.COM 
  500.                cataloguing program.  If you are using CPM Plus 
  501.                and there is a label in the directory that label 
  502.                will be shown instead. 
  503.  
  504.                  Next is the auto-repeat method.
  505.  
  506. Auto-repeat      If you have an Osborne 1, you may select the 
  507. method         auto-repeat option 1, "Osborne 1 AUTOST", and then 
  508.                save FRONT under the name A:AUTOST.COM.
  509.  
  510.                  On most other systems, you may select option 2, 
  511.                "Standard CP/M autorepeat", unless your version of 
  512.                CP/M has a better way to do it, in which case you 
  513.                would select option 0.
  514.  
  515.                Option 3 is for users of newer versions of ZCPR. 
  516.  
  517.                  If you select option 2 or 3, you will have to
  518.                follow certain simple rules when using FRONT (see 
  519.                FRONTSUB.DOC for details).  In case of doubt, 
  520.                try option 2 first.
  521.  
  522. D. SAVING        You can save as many copies of your installed 
  523.    AFTER       FRONT under as many names as you want.  Just enter 
  524.    INSTAL-     the new name after selecting "S" for save, or <cr> 
  525.    LATION      to save under the current name.  Since FRNSTL51 
  526.                does a disk reset, do NOT press CTRL-C if you 
  527.                put in a new disk.  You will be returned to the 
  528.                main menu after each save operation.  If you are 
  529.                using option 2 or 3 to auto-repeat FRONT, rename
  530.                it ONLY by reading it then saving it under another 
  531.                name with FRNSTL51.
  532.                  
  533.  
  534. 6. CUSTOM INSTALLATION USING FRNT51PT.ASM
  535.  
  536.                  The file FRNT51PT.ASM contains a listing of the 
  537.                user-patchable areas of FRONT.COM.  If you are 
  538.                knowledgeable in 8080 assembly language and 
  539.                FRNSTL51.COM is not enough for you, you can use 
  540.                this listing to create a patch overlay for FRONT, 
  541.                or you can use DDT or EDFILE to make the changes.  
  542.                There are 3 major patch areas:  terminal 
  543.                installation, the additional patch area MORPAT 
  544.                which could be used to set up FRONT to auto-repeat, 
  545.                and functional installation.  Every label shown in 
  546.                the listing corresponds to an address called by 
  547.                FRONT, so be careful not to change the memory 
  548.                location of any label or the copyright notice.  In 
  549.                case of doubt, it is safer to use 
  550.                               ORG address
  551.                before any label in your ASM file.  FRNSTL51 may 
  552.                affect the INISUB, UNISUB, EXESUB, ESCSUB and 
  553.                MORPAT areas.  The Osborne 1 and Radio-Shack 
  554.                installations, for instance, modify these areas.  
  555.                Do not try to patch your original version of 
  556.                FRONT; always work on a copy.  Note that FRONT 
  557.                will not work if the copyright notice is altered.
  558.  
  559.  
  560. 7. TECHNICAL AND SPECIAL SYSTEM INFORMATION
  561.  
  562. Setting up to start FRONT automatically
  563.  
  564.    OSBORNE 1:    If your computer is an Osborne 1, rename 
  565.                FRONT.COM to AUTOST.COM.  Make sure your system 
  566.                has not been modified to look for a file other 
  567.                than AUTOST.  You should run the FRNSTL51 program 
  568.                to confirm that FRONT or AUTOST is set correctly 
  569.                and to see what other functional choices are 
  570.                available.  If you use the newer JG Communications 
  571.                clock software, use auto-repeat option 2 only 
  572.                since it does its own thing with warm boots and 
  573.                defeats the normal Osborne way of doing things.
  574.  
  575.    MORROW        The default setting for the arrow keys on the 
  576.    MD5 & MD11  Morrow is bizarre and non-standard.  You can 
  577.                insert the command KEY CPM into PROFILE.SUB, and 
  578.                create a CPM.KEY file with standard definitions.
  579.                FRONT will not run properly if COPILOT has been
  580.                run, so it should be listed before COPILOT GO in 
  581.                PROFILE.SUB.
  582.   
  583.   ALL          Insert the command FRONT as the last line of    
  584.   CP/M Plus    the file PROFILE.SUB on your boot disk (except on 
  585.   SYSTEMS      Morrow, see above).  FRONT will execute 
  586.                automatically every time you start or reset your 
  587.                computer.  It  will be executed again at the end 
  588.                of a called program if the autorepeat option 2 has 
  589.                been selected.  FRONT.COM must be in user area 0 
  590.                on drive A and set to SYS with the SET command.
  591.  
  592.  
  593.   OTHER          If your computer is not an Osborne and you want 
  594.   CP/M 2.2     FRONT to start automatically, it is a little more 
  595.   SYSTEMS      complicated.
  596.  
  597.                  First check if your particular CP/M is set up
  598.                to run a program automatically (a menu program, 
  599.                for instance).  If it does, you're in luck:  just 
  600.                install FRONT.COM with FRNSTL51 and rename it to 
  601.                whatever name your CP/M looks for.  If you're 
  602.                really lucky (as with Pickles & Trout CP/M), there 
  603.                may be a way to make it run the program at every 
  604.                warm boot (in which case you'd use the autorepeat 
  605.                option 0 in the special features menu).
  606.  
  607.                  If your CP/M implementation does not have a 
  608.                convenient way to set up a program to run 
  609.                automatically, when you boot, you will have to 
  610.                patch it.  Follow the instructions below very 
  611.                carefully, and it should work.  You will need the 
  612.                public domain program DU.COM or equivalent.  It is 
  613.                available on most CP/M bulletin boards and in the 
  614.                FOG library on the disk FOG/UTL.019 disk under the 
  615.                name DU-V77.COM.  
  616.                  In the instructions that follow, (cr) means 
  617.                "press the RETURN or ENTER key".
  618.  
  619.                  First make a working copy of your system disk 
  620.                and put DU.COM and FRONT.COM on the working disk.  
  621.                Use SYSGEN to copy the system tracks onto the 
  622.                working disk.  Put your originals away.  Do no 
  623.                write-protect the new disk.
  624.  
  625.                  Boot the new disk and at the A> prompt, type
  626.                
  627.                     DU(cr) 
  628.  
  629.                 The DU prompt is a ':' 
  630.  
  631.                   Type in the following lines in UPPERCASE.  Do 
  632.                not type the ':' which is just the prompt.  The 
  633.                "0" in "T0" is a zero. 
  634.  
  635.                    :T0;S1;=COPYRIGHT(cr)
  636.  
  637.                          (Do not type this:  DU will show track 
  638.                           and sector number, then "AT 21".
  639.                           If you do not see "AT 21", quit now, 
  640.                           you have a nonstandard version of CP/M)
  641.  
  642.                    :CH7,5(cr)
  643.                    :CA8,FRONT (cr)   
  644.                    :W(cr)
  645.                    :X(cr)
  646.                    A> (you are back at CP/M prompt)
  647.  
  648.                  This will patch your system to run FRONT 
  649.                automatically.  Reboot, and FRONT.COM should come 
  650.                on.  If it does not, use SYSGEN to copy the CP/M 
  651.                system again on your working disk and try again, 
  652.                watching your typing carefully.  If it still does 
  653.                not work, seek help from someone familiar with 
  654.                your version of CP/M.  Some versions, like the 
  655.                Pickles & Trout CP/M for the TRS-80 computers, 
  656.                have a special utility to set up a program to run 
  657.                automatically, and this patch may not work with 
  658.                them.  This is why you did this experiment using a 
  659.                copy, not an irreplaceable master disk...  Right?
  660.  
  661.                  If this patch does work, you can use SYSGEN to 
  662.                copy the modified CP/M to any disk on which you 
  663.                might put FRONT.  Remember:  Never modify or copy 
  664.                anything on your original disks!
  665.  
  666.  
  667. Automatic re-execution of FRONT
  668.  
  669.                  With most CP/M machines, FRONT can reload itself 
  670.                automatically at a warm boot.  Since different 
  671.                machines can handle this differently, FRNSTL51 
  672.                will allow you to select a method.  The easiest 
  673.                is if your version of CP/M can be set to execute 
  674.                the program at every warm boot.  In that case, you 
  675.                would select autorepeat option 0.
  676.  
  677.                  The "standard CP/M" method (autorepeat option 2) 
  678.                uses the facility built into the CCP to handle 
  679.                SUBMIT files.  See FRONTSUB.DOC for more details.
  680.  
  681.                  Autorepeat option 3 is for ZCPR systems such as 
  682.                the WestWind ZCPR modification which look for a 
  683.                $$$.SUB file on the current drive, rather than on 
  684.                drive A as the standard CCP and older ZCPRs do.
  685.  
  686.                  With the Osborne 1, if FRONT has been renamed 
  687.                AUTOST and the autorepeat option 1 selected, then 
  688.                it can be reloaded automatically if you end up 
  689.                on drive A.  It does this by setting a "legal" 
  690.                flag in the Osborne 1 BIOS (versions 1.3 and 1.4x) 
  691.                to make this happen again at every warm boot.
  692.                  This method cannot be used when a .SUB file is 
  693.                executed, and thus your .SUB files must end with a 
  694.                command to run FRONT again.
  695.  
  696.  
  697. 8. TROUBLESHOOTING
  698.  
  699. Garbage on screen     
  700.  
  701.                - Run FRNSTL51 and check terminal installation.
  702.                  If it is correct according to FRNSTL51 and it 
  703.                  does not work, drop me a note.
  704.  
  705. Arrow keys don't work properly
  706.  
  707.                - Check terminal installation 
  708.                  or use CTRL-H, CTRL-J, CTRL-K, CTRL-L.
  709.                - If you are using a Morrow machine, see your
  710.                  documentation on how to set the arrow keys.   
  711.                - If you know how to use DDT or SID, use the 
  712.                  information in FRNT51PT.ASM to modify the arrow 
  713.                  key definitions.
  714.  
  715. System crashes when trying to execute a command
  716.  
  717.                - Probably non-standard CCP or system 
  718.                  configuration.  Use FRNSTL51 and set "Standard
  719.                  CP/M" to "No".  This will also happen if you use 
  720.                  a CPR with modified command buffer size.  Setting 
  721.                  Standard CP/M to "no" should cure it.
  722.                - Some programs which alter high memory may
  723.                  interfere with the normal functioning of CP/M
  724.                  (UNIFORM, or CO-PILOT on the Morrow, for 
  725.                  example).  Try without these programs.
  726.  
  727.  
  728.  
  729. FRONT won't run again automatically after executing a command
  730.  
  731.                - FRONT.COM must be on drive A, user 0.
  732.                - FRONT.COM should only be renamed by reading it 
  733.                  with FRNSTL51 and saving it under the new name.
  734.                - Check that the self-repeat option has been 
  735.                  installed correctly (by reading FRONT.COM with 
  736.                  FRNSTL51).
  737.                - If using option 2 or 3, read FRONTSUB.DOC.
  738.                - If using the Osborne 1 AUTOST repeat method, you 
  739.                  must log back to drive A and do a ^C if your
  740.                  program did not return you to drive A.
  741.                - If you use the Osborne 1 AUTOST method, a copy
  742.                  of AUTOST.COM must be present in each user area.
  743.                - You can use options 2 or 3 with the Osborne 1 if 
  744.                  you don't like the AUTOST method.
  745.                - The last line of a .SUB file executed by FRONT 
  746.                  must be the command to run FRONT again.
  747.  
  748.  
  749. "A$" or " A>" followed by a number and other cryptic messages 
  750. appear on the screen after executing a command.  Are those error 
  751. messages?  
  752.  
  753.                - No, it is only CP/M executing a command that 
  754.                  FRONT put in $$$.SUB to make sure you would be 
  755.                  returned to the user area you started from (this 
  756.                  is mostly for the benefit of hard disk users).
  757.                  Do not press any key (except Control-S, see 
  758.                  below) while these messages are being written, 
  759.                  as CP/M will take that as a sign that you want 
  760.                  to take over and you will be left hanging there.  
  761.  
  762. When executing a command, there is no time to read the screen 
  763. before FRONT runs again and overwrites it
  764.  
  765.                - Try to freeze the screen with Control-S.
  766.                  Hit Control-S again to continue.
  767.                
  768.  
  769. Not enough space on screen for all the names to list
  770.  
  771.                - See Section 9 below.
  772.  
  773.  
  774. System crashes when exiting the called program
  775.  
  776.                - See installation notes about the auto-
  777.                  repeat feature
  778.                - Make sure the disk in drive A has valid system 
  779.                  tracks.
  780.  
  781.  
  782. Front crashes or freezes up when using a hard disk
  783.  
  784.                - There may be too many files to list and 
  785.                  the internal name buffer was not large enough. 
  786.                  See section 9.
  787.                - Your hard disk BIOS or CCP location in memory 
  788.                  may be non-standard.  Answer 'no' to the 
  789.                  Standard CP/M question.
  790.  
  791.  
  792. Other bizarre behavior
  793.  
  794.                - Drop me a note.  Describe what happened as 
  795.                  precisely and completely as possible.  Also       
  796.                  describe your machine and disk setup.  Be sure 
  797.                  to indicate which FRONT version number you are 
  798.                  using.  Be patient.
  799.  
  800.  
  801. 9. FRONT WITH A HARD DISK
  802.  
  803.                  The menu space in FRONT is limited (it depends 
  804.                on your screen size) and hard disk users may find 
  805.                that there is not enough room for all the commands 
  806.                to be listed, so the names will start overwriting 
  807.                each other as the cursor moves around.  FRONT 
  808.                itself will in theory still be functional, so if 
  809.                you select a command or press ESC it will respond, 
  810.                though it may display garbage instead of the name 
  811.                of the executed command.  There are two ways 
  812.                around this problem:
  813.                - Use the 16 user areas which are available under 
  814.                  CP/M.  Put your word processing stuff in one 
  815.                  user area, your spreadsheet stuff in another 
  816.                  one, etc.  
  817.                - Hide all non-menu executable files of the types 
  818.                  listed by FRONT by setting them to "SYS" status;  
  819.                  this way they won't be crowding the menu, but 
  820.                  they will still be available by ESCaping to 
  821.                  CP/M or for use by SUBMIT or other programs.
  822.