home *** CD-ROM | disk | FTP | other *** search
/ The CIA World Factbook 1992 / k3bimage.iso / sel / 04 / 0034 / help.doc < prev    next >
Encoding:
Text File  |  1991-12-02  |  19.3 KB  |  388 lines

  1.  
  2.                      IBM PERSONAL COMPUTER ON-LINE HELP
  3.                          V5.4 by D.N.Ikle' 03/01/86
  4.                          For public domain use only
  5.  
  6.  
  7.        DESCRIPTION
  8.  
  9.        On-Line HELP provides access to descriptions of all the commands
  10.        and utilities available on an IBM PC/XT or PC compatible hard
  11.        disk system under IBM PC DOS 3.x.  An abbreviated version can
  12.        also be installed on a floppy disk based PC or PC compatible
  13.        system under IBM or MS DOS 2.x.  On-Line HELP can be invoked
  14.        either from the DOS prompt or from within an application program,
  15.        and it can be easily modified to describe any particular system.
  16.  
  17.  
  18.        REQUIREMENTS
  19.  
  20.        The minimum requirements are an IBM PC or PC compatible, a color
  21.        or monochrome monitor in 80 column display mode, version 2.0 or
  22.        higher of MS or IBM DOS, and something approaching 64k of free
  23.        memory.  A hard disk significantly improves performance but is
  24.        not required.  The public domain utility DPATH, or its
  25.        equivalent, is required if the HELP text files are stored in
  26.        sub-directories.  The public domain utility ARC is required to
  27.        extract the individual files from the distribution files.
  28.  
  29.  
  30.        BACKGROUND
  31.  
  32.        HELP accepts 1-8 character keyword input from the user and
  33.        displays the contents of the text file with the same name as the
  34.        keyword with the extension .###.  Since any useful implementation
  35.        of On-Line HELP may use at least 60 *.### files, the tree
  36.        structure feature of DOS 2.0 and higher can be used to more
  37.        effectively organize these files on a hard disk.  However,
  38.        appropriate paths must be created so that DOS can find the
  39.        executable HELP file and the *.### HELP text files in whatever
  40.        directory structure the user has created.  Specifically, the DOS
  41.        PATH command is used to allow non-resident HELP to be executed
  42.        from any sub-directory, and the public domain utility DPATH, or
  43.        its equivalent, is used to enable HELP to read the requested
  44.        *.### text file.  Of course, the memory resident version of HELP
  45.        may be executed from anywhere on the system.
  46.  
  47.  
  48.        FILES
  49.  
  50.        On-Line HELP is distributed on bulletin boards in the two archive
  51.        files HELPxxA.ARC and HELPxxB.ARC, where xx is the current
  52.        version number.  The public domain utility ARC is required to
  53.        extract the individual files.
  54.  
  55.        HELPxxA.ARC contains files needed to install non-resident HELP
  56.        and to describe IBM DOS 3.1 commands.  Included are:
  57.  
  58.          HELPxx.TXT       Description of version xx archive files.
  59.          COMMAND1.###     Annotated list of IBM DOS 3.1 commands.
  60.          DPATH.ARC        Public domain path extender utility.
  61.          HELP.###         On-Line HELP display file describing HELP.
  62.          HELP.COM         On-Line HELP program (non-resident).
  63.          HELP.DOC         Documentation for On-Line HELP.
  64.          HELPDOS3.ARC     HELP files for IBM DOS 3.1 commands.
  65.          TEMPLATE         Skeleton HELP display file.
  66.  
  67.        HELPxxB.ARC contains the memory resident version of the HELP
  68.        program, additional HELP files that describe the Norton Utilities
  69.        Version 3.1 and 24 common public domain utilities, and the Turbo
  70.        Pascal source code for the two versions of HELP.  Included are:
  71.  
  72.          HELPxx.TXT       Description of version xx archive files.
  73.          COMMAND2.###     Annotated list of all commands/utilities.
  74.          HELP.INC         TP include file of common procedures.
  75.          HELP.PAS         TP source code for non-resident HELP.
  76.          HELPER.###       On-Line HELP display file describing HELPER.
  77.          HELPER.COM       On-Line HELP program (memory resident).
  78.          HELPER.PAS       TP source code for memory resident HELP.
  79.          HELPNORT.ARC     HELP files for the Norton Utilities 3.1.
  80.          HELPPUBL.ARC     HELP files for public domain utilities.
  81.  
  82.  
  83.        INSTALLATION
  84.  
  85.        Because of the large number of possibilities for different system
  86.        configurations, the following installation instructions are
  87.        necessarily very general. They should, however, provide enough
  88.        guidance to enable anyone to install On-Line HELP on their own
  89.        system.  Both versions require that the display be set to an 80
  90.        column mode and that the CONFIG.SYS file open at least 16 files.
  91.  
  92.        For the non-resident version:
  93.  
  94.          1.  Extract all HELP files from the archive files using the
  95.          public domain utility ARC.
  96.  
  97.          2.  Copy HELP.COM and DPATH.COM to the sub-directory containing
  98.          your DOS external commands and/or whatever other system
  99.          utilities you may have.  You presumably already have the
  100.          appropriate path set up to allow you to execute these commands
  101.          from any sub-directory on the system.  If not, you must use the
  102.          DOS PATH command to create one.
  103.  
  104.          3.  Copy the *.### HELP files into some directory structure
  105.          that is compatible with that already on your system.  Delete
  106.          any *.### files that describe commands not on your system.  If
  107.          your system is under IBM DOS 2.x or MS DOS 2.x, the files
  108.          supplied for IBM DOS 3.1 will have to be edited.
  109.  
  110.          4.  Rename one of the COMMAND?.### files to COMMANDS.### and
  111.          edit it appropriately so that it lists only those commands
  112.          actually described in the *.### files you installed.
  113.  
  114.          5.  Create an extended data file search path to the *.### files
  115.          by inserting appropriate SET DP= and DPATH statements into your
  116.          AUTOEXEC.BAT file.  See DPATH.DOC for detailed instructions on
  117.          how that works.
  118.  
  119.          6.  Re-boot the system and begin using non-resident HELP.
  120.  
  121.        For the memory resident version:
  122.  
  123.          1.  Follow steps 1 to 5 above.
  124.  
  125.          2.  Copy HELPER.COM to the sub-directory containing HELP.COM.
  126.  
  127.          3A. Enter HELPER at the DOS prompt to attach On-Line HELP as
  128.          an extension of DOS.  An error message indicates if there is
  129.          not enough memory or if the user interrupt is already taken.
  130.  
  131.          3B. Alternatively, the statement HELPER may be included in
  132.          your AUTOEXEC.BAT file, and On-Line HELP will be installed
  133.          automatically each time the system is booted.
  134.  
  135.          4.  Re-boot the system and begin using resident HELP.
  136.  
  137.        Once the On-Line HELP facility is running on your system, you can
  138.        use your own imagination to create other *.### files.  For
  139.        example, I have the additional files SYSTEM.### and NORTON.###
  140.        that describe my system configuration and list the Norton
  141.        Utilities, respectively.  Note that HELP.COM does not expand
  142.        tabs, so that any edited *.### file must be saved without tabs.
  143.  
  144.        Of course, much of the preceeding is not necessarily useful if
  145.        you want to install HELP on a floppy-disk based system.  In that
  146.        case, simply cram as much as you can on your system diskette and
  147.        go for it.  Alternatively, you can put all the *.### files on a
  148.        separate diskette and create a data path to it with DPATH.
  149.  
  150.        Both the memory resident and the non-resident versions of On-Line
  151.        HELP have been tested extensively on a variety of IBM and PC
  152.        compatible systems with monochrome and color monitors and various
  153.        assortments of memory resident software.  The author is not yet
  154.        aware of any problems that would preclude the use of either
  155.        version on such a system.  However, if problems are encountered
  156.        in installing resident HELP, refer to the Maintenance section of
  157.        this documentation for guidance.  If that doesn't help, contact
  158.        the author at one of the phone or bbs numbers listed at the end
  159.        of this documentation.
  160.  
  161.  
  162.        USAGE
  163.  
  164.        To execute the non-resident version of HELP enter
  165.  
  166.                            HELP [keyword ... ]
  167.  
  168.        where the optional arguments may be any number of 1 to 8
  169.        character keywords separated by blanks.  For example,
  170.  
  171.          HELP              Displays a menu for entry of a keyword.
  172.  
  173.          HELP ?            Displays a brief summary of On-Line HELP.
  174.  
  175.          HELP HELP         Displays a detailed description of HELP.
  176.  
  177.          HELP command      Displays HELP for the specified command.
  178.  
  179.          HELP feature      Displays HELP for the specified feature.
  180.                            Features supplied with On-Line HELP are:
  181.  
  182.                            AUTOEXEC  Special automatic batch file.
  183.                            BATCH     Batch file sub-commands.
  184.                            CONFIG    Configuration file sub-commands..
  185.                            FILTERS   Processing standard input/output.
  186.                            PIPES     Piping output between programs.
  187.                            REDIRECT  Redirecting standard input/output.
  188.                            COMMANDS  Annotated list of all commands.
  189.  
  190.          HELP keyword ...  Displays the HELP file for each requested
  191.                            command or feature in sequence.
  192.  
  193.        Once installed, the memory resident version of HELP is executed
  194.        by pressing Ctrl-F1 at any time.  This is equivalent to executing
  195.        the non-resident version with no keywords on the command line.
  196.        Ctrl-F1 may not be pressed twice in succession, and if it is, a
  197.        two tone sound is emitted by the speaker, and nothing else
  198.        happens.  Both versions are entirely compatible and, in fact, may
  199.        be executed simultaneously.
  200.  
  201.        Keywords can be entered in either upper or lower case.  Entry of
  202.        HELP with no keywords displays a keyword entry menu in which
  203.        keywords may be entered into an eight character keyword entry
  204.        field.  In addition to character keys allowed in DOS filenames,
  205.        the following keyboard keys are available:
  206.  
  207.          Left              Moves cursor one character to the left.
  208.          Right             Moves cursor one character to the right.
  209.          Home              Moves cursor to the beginning of the field.
  210.          End               Moves cursor to the end of the entry.
  211.          Insert            Inserts one blank character at the cursor.
  212.          Delete            Deletes the character over the cursor.
  213.          Backspace         Deletes character to the left of the cursor.
  214.          Escape            Erases the current entry.
  215.          Enter             Displays HELP for the current entry or quits.
  216.          ?                 Displays brief instructions in using HELP.
  217.  
  218.        Pressing any other key produces a soft speaker tone.  Press Enter
  219.        to display HELP for the current keyword entry.  Entry of an
  220.        invalid keyword on either the command line or on the keyword
  221.        entry menu produces a loud speaker tone, and the entry menu is
  222.        displayed with the invalid entry to be edited.  By definition, an
  223.        invalid entry is one for which the corresponding file with
  224.        extension .### does not exist in the current data file path.
  225.        Keywords entered on the command line are described in sequence
  226.        with interruptions by the entry menu as invalid entries are
  227.        encountered.  Pressing Enter while the entry field is blank
  228.        either returns to processing of command line entries or, if there
  229.        are no such entries outstanding, to the operating system at the
  230.        point where HELP was invoked.
  231.  
  232.        Following acceptance of a valid keyword, up to 8 pages of text
  233.        (23 lines each) are displayed from the file that describes that
  234.        keyword.  On any HELP screen, the following keyboard keys are
  235.        available:
  236.  
  237.          Up                Scrolls the file up one line.
  238.          Down              Scrolls the file down one line.
  239.          Page Up           Scrolls the file up one page.
  240.          Page Down         Scrolls the file down one page.
  241.          Home              Displays the first page in the file.
  242.          End               Displays the last page in the file.
  243.          Enter             Returns to entry menu or next HELP request.
  244.          Escape            Returns to the operating system.
  245.  
  246.        Pressing any other key produces a soft speaker tone.  The bottom
  247.        line of the display summarizes these functions and indicates when
  248.        the end of the file has been reached.  Pressing Enter returns
  249.        control to the keyword entry menu or returns to processing of
  250.        command line entries if any such entries are outstanding.
  251.        Pressing Escape returns control to the operating system.  In the
  252.        non-resident version, the last HELP screen remains displayed and
  253.        the cursor is placed on the bottom line of the display.  In the
  254.        memory resident version, control is returned to the operating
  255.        system at the point where Ctrl-F1 was pressed.
  256.  
  257.  
  258.        NOTATION
  259.  
  260.        The notation used in the *.### files to describe the correct
  261.        command syntax is compatible with that used in the IBM DOS
  262.        manuals, except that the vertical bar used by IBM to indicate
  263.        "or" is replaced by !.  In particular:
  264.  
  265.          Keywords are given in capital letters, but may be entered in
  266.          either case.  Words in lower case must be substituted for as
  267.          described in the remarks.  Items in square brackets ([]) are
  268.          optional.  Do not enter the brackets.  Items separated by a !
  269.          means that you enter one or the other, but not both.  An
  270.          ellipsis (...) means that the preceeding item may be
  271.          repeated.  Punctuation other than [] and !  must be included
  272.          as shown.
  273.  
  274.          d:       denotes a drive, either fixed or floppy.
  275.          path     denotes a sequence of directory names (<64 characters)
  276.          filename denotes a disk file name of 1-8 characters.
  277.          .ext     denotes an optional file extension of 1-3 characters.
  278.          filespec denotes a file name of the form filename.ext
  279.  
  280.          The global filename characters are ?, which indicates that
  281.          any character can occupy that position, and *, which
  282.          indicates that any character can occupy that and all
  283.          remaining positions in the filename or extension.
  284.  
  285.        Note that beginning with IBM DOS 3.0 all external commands may be
  286.        preceeded by a drive and path specification.
  287.  
  288.  
  289.        MAINTENANCE
  290.  
  291.        The individual *.### HELP displays are ASCII text files that may
  292.        be easily edited using any text editor.  Most displays have been
  293.        kept to one screen for simplicity, but some are longer to
  294.        describe certain commands or features.  The maximum allowable
  295.        length of a *.### file is 184 lines (8 pages of 23 lines each) of
  296.        80 column text.  A skeleton HELP file is provided in the
  297.        distribution archive files to assist in the creation of new HELP
  298.        files.  Note that HELP does not expand tabs, so that any *.###
  299.        file that is edited must be saved without tabs.
  300.  
  301.        Installation of the memory resident version of HELP can be
  302.        particularly challenging if other resident programs are also
  303.        installed and they conflict in some way with resident HELP.  In
  304.        that case, the first option is simply to try installing your
  305.        resident programs in different orders until you find a sequence
  306.        that eliminates interference between the programs.  If that
  307.        doesn't work, you may need to recompile HELPER.PAS using Turbo
  308.        Pascal Version 3.0 or higher and at least $0200 paragraphs of
  309.        dynamic memory.  The memory resident procedures use the two
  310.        variables our_char and user_int to define the scan code of the
  311.        calling key sequence and the number of the user interrupt that
  312.        monitors the keyboard, respectively.  They are initialized to 94
  313.        (Ctrl-F1) and and $64, respectively, and either may be changed as
  314.        desired.  Also, if you don't want to use the extended data path
  315.        capability of DPATH, the variable file_name in procedure
  316.        input_menu can be set to include a specific path to the *.###
  317.        HELP files.
  318.  
  319.        If significant improvements are made to the program or if *.###
  320.        files are created that would have wide appeal, please send them
  321.        to the author at the bbs number listed at the end of this
  322.        documentation.  If I agree, I will include them in future
  323.        releases of On-Line HELP.
  324.  
  325.  
  326.        HISTORY
  327.  
  328.        On-Line HELP started out as a programming exercise in BASIC and
  329.        has evolved into a stimulating educational experience in Turbo
  330.        Pascal.  I have also found it invaluable in my efforts to keep
  331.        the clutter around my XT to a minimum.
  332.  
  333.        Version 5.0 incorporates numerous improvements that enhance
  334.        program function and speed its execution.  For example, the
  335.        instruction screen is stored internally as an array, the heap is
  336.        used to save and restore the initial display screen, all writing
  337.        to the screen is done through the screen buffer, and the keyword
  338.        entry field on the main menu has full editing capability.
  339.  
  340.        Version 5.1 blanks the cursor when HELP screens are displayed and
  341.        displays the menu and HELP screens in color on a color monitor.
  342.  
  343.        Version 5.2 includes a memory resident version of the program
  344.        that allows HELP to be invoked from within other programs. The
  345.        distribution files have been renamed to show the current version.
  346.  
  347.        Version 5.3 adds a separate HELP file for HELPER and changes the
  348.        keystroke sequence to execute HELPER from Alt-F1 to Ctrl-F1.
  349.  
  350.        Version 5.4 is archived using ARC Ver 5.12 to save more space,
  351.        and the public domain HELP files have been revised somewhat.
  352.  
  353.  
  354.        ACKNOWLEDGEMENTS
  355.  
  356.        This program relies on another public domain program DPATH, by
  357.        James A. McGreggor Jr., that allows HELP to function in its
  358.        current design.  It is a very useful utility that fills a major
  359.        void in IBM/MS DOS and it should be a part of any hard disk
  360.        system.
  361.  
  362.        In addition, the following public domain Turbo Pascal procedures
  363.        are used in the program:  FASTWRITE is an inline routine, by
  364.        Marshall Brain, that writes text to the screen very quickly
  365.        through the video memory; a set of procedures by Brenston Worrell
  366.        was adapted to implement the editing capability of the keyword
  367.        entry menu; two procedures that remove and restore the cursor
  368.        were adapted from an article by Mark Brown in TUG Lines, the
  369.        journal of the Turbo User Group; a set of procedures by Lane
  370.        Ferris, called Stayres Version 3.2C, attaches the resident
  371.        version of HELP as an extension to DOS, thereby making HELP
  372.        available from within other programs.
  373.  
  374.  
  375.        SOURCE
  376.  
  377.        This utility is placed in the public domain by its author and is
  378.        dedicated to the continued growth of public domain software.
  379.        Comments and suggestions are welcomed. Messages may be left on
  380.        the Denver_Fido 104/56 303-973-9338.
  381.  
  382.        Copyright 1985,1986 by David N. Ikle'.  All rights reserved.
  383.  
  384.                                David N. Ikle'
  385.                                1671 Newport St.
  386.                                Denver, CO 80220
  387.                                303-333-9322 (voice)
  388.