home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / OS2BUILD.ZIP / PROGED.DOC < prev    next >
Text File  |  1988-10-18  |  75KB  |  1,981 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.        
  8.        
  9.        
  10.        
  11.        
  12.        
  13.        
  14.        
  15.        
  16.        
  17.        
  18.        Programmer's Editor(TM)
  19.        Version 2.00
  20.        
  21.        Usage Guidelines
  22.        
  23.        
  24.        
  25.        
  26.        
  27.        
  28.        
  29.        
  30.        
  31.        
  32.        
  33.        
  34.        
  35.        
  36.        
  37.        
  38.        
  39.        
  40.        
  41.        
  42.        
  43.        
  44.        
  45.        
  46.        
  47.        
  48.        
  49.        
  50.        
  51.        
  52.        
  53.        
  54.        
  55.        
  56.        Architectural Software Products(R)
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.        Information in this document is subject to change without notice and
  74.        does not represent a commitment on the part of Architectural Software
  75.        Products(R).
  76.        
  77.        Copyright (c) 1987, 1988  Architectural Software Products
  78.        
  79.        
  80.        
  81.        
  82.        
  83.        Architectural Software Products
  84.        100 Front Street East
  85.        Suite 300
  86.        Toronto, Ontario
  87.        M5A 1E1
  88.        (416) 363-2292
  89.        
  90.        
  91.        
  92.        
  93.        
  94.        
  95.        
  96.        
  97.        
  98.        
  99.        
  100.        
  101.        
  102.        
  103.        
  104.        
  105.        
  106.        
  107.        
  108.        
  109.        
  110.        
  111.        
  112.        
  113.        
  114.        
  115.        
  116.        
  117.        
  118.        
  119.        
  120.        
  121.        
  122.        
  123.        
  124.        Version 2.00.10
  125.        Revised 1988-10-18
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.        Contents
  140.        ──────────────────────────────────────────────────────────────────────
  141.        
  142.        
  143.        Introduction............................................   5
  144.        
  145.        1.0 Pull Down Menu......................................   5
  146.          1.1 File..............................................   5
  147.          1.2 Erase.............................................   6
  148.          1.3 Run...............................................   7
  149.          1.4 Directory.........................................   7
  150.        
  151.        2.0  File Edit..........................................   9
  152.          2.1  File.............................................   9
  153.            2.1.1  Save.........................................  10
  154.            2.1.2  Save & Exit..................................  10
  155.            2.1.3  Get..........................................  10
  156.            2.1.4  Put..........................................  11
  157.            2.1.5  Profile Get..................................  11
  158.            2.1.6  Profile Save.................................  12
  159.            2.1.7  Exit.........................................  12
  160.          2.2  Find.............................................  12
  161.            2.2.1  Find & Replace...............................  13
  162.            2.2.2  Find.........................................  14
  163.            2.2.3  Previous Build Error.........................  14
  164.            2.2.4  Next Build Error.............................  14
  165.          2.3  Format...........................................  14
  166.            2.3.1  Tab Stops....................................  15
  167.            2.3.2  Right Margin.................................  15
  168.          2.4  Block............................................  15
  169.            2.4.1  Start........................................  15
  170.            2.4.2  Stop.........................................  16
  171.            2.4.3  Info.........................................  16
  172.            2.4.4  Copy.........................................  16
  173.            2.4.5  Clear........................................  16
  174.            2.4.6  Move.........................................  16
  175.            2.4.7  Delete.......................................  17
  176.          2.5  Sort.............................................  17
  177.            2.5.1  Start........................................  17
  178.            2.5.2  Stop.........................................  17
  179.            2.5.3  Direction....................................  17
  180.            2.5.4  Go!..........................................  18
  181.          2.6  Edit.............................................  18
  182.            2.6.1  Delete End...................................  18
  183.            2.6.2  Undelete.....................................  18
  184.            2.6.3  Delete Word..................................  19
  185.            2.6.4  Copy.........................................  19
  186.            2.6.5  Cut..........................................  19
  187.            2.6.6  Paste........................................  19
  188.          2.7  Mode.............................................  19
  189.            2.7.1  Compress.....................................  20
  190.            2.7.2  Sound........................................  20
  191.            2.7.3  Verify.......................................  20
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.          2.8  Line.............................................  20
  206.            2.8.1  Insert.......................................  21
  207.            2.8.2  Insert Lines.................................  21
  208.            2.8.3  Duplicate....................................  21
  209.            2.8.4  Goto.........................................  21
  210.            2.8.5  Delete.......................................  21
  211.            2.8.6  Delete Lines.................................  22
  212.            2.8.7  Split........................................  22
  213.            2.8.8  Join.........................................  22
  214.          2.9  Key..............................................  22
  215.            2.9.1  Alternate....................................  22
  216.            2.9.2  Erase........................................  23
  217.            2.9.3  Insert.......................................  23
  218.            2.9.4  Delete.......................................  23
  219.            2.9.5  Copy.........................................  23
  220.            2.9.6  Swap Case....................................  24
  221.            2.9.7  Swap Letter..................................  24
  222.          2.10  Window..........................................  24
  223.            2.10.1  Open........................................  24
  224.            2.10.2  Close.......................................  24
  225.            2.10.3  Split.......................................  25
  226.            2.10.4  Jump........................................  25
  227.        
  228.        3.0  Print..............................................  25
  229.          3.1  Print File.......................................  25
  230.          3.2  Page.............................................  25
  231.        
  232.        4.0  Accessing Help.....................................  25
  233.        
  234.        5.0  Mouse and Keyboard Usage...........................  25
  235.        
  236.        6.0  Editor Limits......................................  27
  237.        
  238.        7.0  Configuring the Programmer's Editor................  27
  239.        
  240.        8.0  Support Files......................................  27
  241.        
  242.        9.0  Using the File List................................  30
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.                                                              Usage Guidelines
  269.                                                              ────────────────
  270.  
  271.        Introduction
  272.        
  273.        The following guidelines are provided to allow you to use the
  274.        Programmer's Editor in a useful and meaningful manner.  The
  275.        Programmer's Editor is a full functioning editing environment
  276.        specifically designed for a programmer's needs.  The editor has been
  277.        designed for speed and ease of use.  It falls somewhere in-between
  278.        some of the commercially available editors geared towards programmer's
  279.        and a simple text editor.  You will find features within this program
  280.        that will be found in some of the editors (such as error support,
  281.        windowing, macro support, etc.) and features that cannot be found on
  282.        others (such as automatic program configuration, multiple search and
  283.        replace item selection).
  284.        
  285.        The following will outline the general use of the Programmer's Editor
  286.        and the functions that are available and their usage.
  287.        
  288.        
  289.        
  290.        1.0 Pull Down Menu
  291.        
  292.        The Pull Down Menu provides 4 menus.  Through the pull down menu's,
  293.        you can perform commands and view information.  The general functions
  294.        provided are: File, Erase, Run, and Directory.
  295.        
  296.        
  297.        1.1 File
  298.        
  299.        The File Pull Down Menu is used in conjunction with file operations.
  300.        The File Edit function is used to edit the file selected from the file
  301.        list.  An alternate method of selecting a file for editing is to
  302.        double click the left Mouse button on the file.  This is equivalent to
  303.        selecting the file and selecting the File Edit function from the File
  304.        Pull Down Menu.
  305.        
  306.        The File Statistics function is used to display the file size and last
  307.        time of update for the file highlighted within the file list.  The
  308.        name of the file, its size and last modification date are displayed
  309.        within the Settings Window below the file list window.  The statistics
  310.        for the file will remain displayed until another file has its
  311.        statistics displayed.
  312.        
  313.        The File Touch function is used to update the currently selected file
  314.        to the current date and time.  This function is useful when using the
  315.        Microsoft Program Maintenance Utility (MAKE).  The utility is faster
  316.        than editing and saving the file when only trying to update the date
  317.        or time.  It is for this reason the function is called Touch, since it
  318.        essentially touches the file date and time.
  319.        
  320.        The File Cut Time function is used to set the date and time of the
  321.        selected file to a value entered through the prompt windows.  This is
  322.        useful if you want all the files that you will be releasing for
  323.        distribution to have the same date and time.  The time is entered at
  324.  
  325.  
  326.  
  327.  
  328.                                                                            5│
  329.  
  330.  
  331.  
  332.  
  333.  
  334.        Programmer's Editor
  335.        ───────────────────
  336.  
  337.        the prompt on a 24 hour clock basis and the date is entered as it
  338.        would with the Operating System in the format of mm/dd/yy.
  339.        
  340.        The File XCopy function is similar to the OS/2 XCopy function where
  341.        through the prompt window you describe the source and target
  342.        drive/paths.  This is useful to copy large groups of files between
  343.        sub-directories or disks without have to use the Run pull down menu or
  344.        to start another OS/2 process.
  345.        
  346.        The File Copy function is similar to the XCopy function except that it
  347.        will copy the selected file from the file list to the destination
  348.        drive/path entered through the prompt window.  You cannot use the
  349.        function to specify the source path/drive to copy a file into the
  350.        current directory.
  351.        
  352.        The File Move function is similar to the Copy function except that it
  353.        will move the selected file from the file list to the destination
  354.        drive/path entered through the dialogue window.  You cannot use the
  355.        function to specify the source path/drive to move a file into the
  356.        current directory.
  357.        
  358.        The File Rename function allows you to rename the currently selected
  359.        file within the file list to another name.  A prompt will ask for the
  360.        new name for the file.  After the file has been renamed, the file list
  361.        will be redisplayed with the file renamed.  The filename will be
  362.        displayed with the prompt to allow easier editing of the name.
  363.        
  364.        Finally, the File Exit function allows you to exit the program either
  365.        back to the OS/2 Program Selector or to the OS/2 command prompt.
  366.        
  367.        
  368.        1.2 Erase
  369.        
  370.        The Erase Pull Down Menu is designed to provide file maintenance
  371.        similar to that of the Operating System without having to leave the
  372.        Programmer's Editor programming environment.  If individual files or
  373.        the backup (.BAK) files are no longer needed, they can be removed from
  374.        the active disk or sub-directory.
  375.        
  376.        The Erase File function will delete the file highlighted in the
  377.        directory list.  It must be remembered that when this is done, it is
  378.        the same as invoking the ERASE or DEL command from the Operating
  379.        System (OS/2).  In both cases, the results are the same; access to the
  380.        file can no longer happen.
  381.        
  382.        When it has been decided that the backup (.BAK) files of the files
  383.        edited are no longer needed, the Erase Backups function will remove
  384.        all the backup entries from the disk directory.  This function is very
  385.        useful when the current disk is almost full and some of the files
  386.        contained on that disk are backup files as they can be removed thereby
  387.        allowing for an increase in disk space available.
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.        │6
  395.  
  396.  
  397.  
  398.  
  399.  
  400.                                                              Usage Guidelines
  401.                                                              ────────────────
  402.  
  403.        1.3 Run
  404.        
  405.        The Run Pull Down Menu provides three functions that allow you to run
  406.        a selected file, OS/2 command or shell to OS/2.
  407.        
  408.        The Run File function is used to run a program that contains a .EXE or
  409.        .COM extension.  All that is necessary is to select the file from the
  410.        file list and to select the function.  A prompt window is displayed
  411.        allowing you to enter additional parameters that are used by the
  412.        selected program.  Alternately, you can double click with the left
  413.        Mouse button on the file to execute it.
  414.        
  415.        The Run OS Command function is similar to the Operating System command
  416.        prompt where you can type in normal Operating System commands such as
  417.        DIR or ERASE, etc.  A prompt window is opened to allow you to enter
  418.        the OS/2 command which will be executed by OS/2.
  419.        
  420.        The Run OS/2 Shell function allows you to temporarily exit the
  421.        Programmer's Editor to the OS/2 command prompt.  You can then perform
  422.        normal OS/2 commands from the command prompt.  To return back to the
  423.        Programmer's Editor, you only need to type EXIT at the OS/2 command
  424.        prompt.
  425.        
  426.        
  427.        1.4 Directory
  428.        
  429.        The Directory Pull Down Menu allows for disks in the current drive or
  430.        for sub-directories to be changed.  It also allows for a new disk
  431.        drive or new directory path to be used instead of the current drive or
  432.        directory path.  When this is done, the new drive/sub-directory
  433.        becomes the current drive/sub-directory with the input/output of files
  434.        taking place on the drive/sub-directory.
  435.        
  436.        The Directory ChDir function is similar to the ChDir (CD) command
  437.        found in the Operating System.  The major difference between the
  438.        Operating System command and the one found here is that you pick the
  439.        sub-directory you wish to move to from the directory list on the
  440.        screen.  This is similar to that of picking a document or file to
  441.        edit.
  442.        
  443.        With the Operating System command, you would either type in the path
  444.        to the previous directory or you would use the Operating System
  445.        shorthand of ".." to move back or up a sub-directory level.  Within
  446.        this function, you would select the previous dir from the directory
  447.        list presented on the screen.
  448.        
  449.        The PgUp, PgDn and cursor keys are used to select the sub-directory
  450.        you want after selecting the Directory Show Directory function and
  451.        this function is used to perform the actual selection to the sub-
  452.        directory chosen.
  453.        
  454.        When the new sub-directory that you have chosen has been changed to, a
  455.        new sub-directory list will be read in and displayed allowing you to
  456.        make further selections.
  457.  
  458.  
  459.  
  460.                                                                            7│
  461.  
  462.  
  463.  
  464.  
  465.  
  466.        Programmer's Editor
  467.        ───────────────────
  468.  
  469.        The Directory Drive function uses the same syntax as the Operating
  470.        System to change from one disk drive to another.  When you have
  471.        selected this function you will be prompted for the drive you wish to
  472.        change to.
  473.        
  474.        To change drives from one to another, you need to type in the drive
  475.        letter followed by a colon such as:
  476.        
  477.           a:
  478.        
  479.        As with the Operating System, this form must be used when changing
  480.        drive designations.  If the target drive (the letter designation)
  481.        exists, that drive will be used in place of the previous.  Any sub-
  482.        directories found within the root directory of the new drive will then
  483.        be displayed.
  484.        
  485.        If the drive does not exist, an error message will be displayed.
  486.        
  487.        You can exit from this prompt at any time by pressing the Esc key
  488.        which essentially aborts the initial request.
  489.        
  490.        Alternately, if you are using a Mouse, you can click the Mouse cursor
  491.        a drive designation list at the bottom of the dialogue window.
  492.        
  493.        The Directory RmDir function allows for the sub-directory highlighted
  494.        in directory list to be removed.  The sub-directory must be totally
  495.        empty for the function to work with the exception of the previous dir
  496.        entry. You cannot remove a sub-directory that contains hidden files.
  497.        
  498.        Before ProgEd tries to remove the sub-directory, it will prompt you to
  499.        verify the removal of the sub-directory.  The prompt will display a N
  500.        above the cursor, which is the automatic response for the prompt. If
  501.        you wish to remove the sub-directory, you must type in a y or Y.
  502.        
  503.        The function will display an error message if you try to remove the
  504.        previous dir entry or a sub-directory that may not be empty.
  505.        
  506.        You can exit from this prompt at any time by pressing the Esc key
  507.        which essentially aborts the initial request.
  508.        
  509.        The Directory MkDir function allows you to create an additional sub-
  510.        directory from within the directory currently being used.  As
  511.        mentioned at the beginning of the section, you can create additional
  512.        sub-directories that may have the same name as others but are in
  513.        different sub-directories.
  514.        
  515.        The prompt of the function requests the name of the new directory.
  516.        The directory name follows the same rules as for the naming of files.
  517.        The form that the directory name can have is:
  518.        
  519.           dirname.ext
  520.        
  521.        where the dirname consists of one to eight characters. The value
  522.        entered for the dirname is checked for invalid characters by the
  523.  
  524.  
  525.  
  526.        │8
  527.  
  528.  
  529.  
  530.  
  531.  
  532.                                                              Usage Guidelines
  533.                                                              ────────────────
  534.  
  535.        Operating System.  The .ext denotes the directory name extension which
  536.        consists of a period followed by one to three characters.
  537.        
  538.        Invalid dirname or .ext characters are:
  539.        
  540.             " / \ [ ] : | < > + = ; ,
  541.        
  542.        All other characters are valid.
  543.        
  544.        You can exit from these prompts at any time by pressing the Esc key
  545.        which essentially aborts the initial request.
  546.        
  547.        The Directory Show Directory function is used to switch from the file
  548.        list to the directory list.  You must first perform this function if
  549.        you wish to use the above functions except for the Directory Drive
  550.        function.  To switch back to the file list from the directory list,
  551.        you use the Directory Show File Area function.
  552.        2.0  File Edit
  553.        
  554.        2.1  File
  555.        
  556.        This function selection when pressed will display a horizontal bar
  557.        selection guide from which the Pull Down menus are selected.
  558.        
  559.        The first pull down menu is used for file operations.  It contains
  560.        seven items.  The first one is the File Save function.  This will save
  561.        the file currently within the editor using the current file name
  562.        unless a different one is entered in the prompt.  The second function
  563.        is similar to the first except that after the file is saved, the
  564.        Editor will be exited and control returned the Main Menu.
  565.        
  566.        The third and fourth functions are used to Get and Put files.  The Get
  567.        function will get a file that is entered at the prompt.  The Put
  568.        function will save the "blocked" portion of the file within the editor
  569.        to the file that you enter at the prompt.  It should be noted, the if
  570.        a file exists for the name you enter in the Put function, it will be
  571.        overwritten and the former file will have a backup extension (.BAK).
  572.        The next two functions of the File pull down menu are similar to the
  573.        Get and Put functions except that they are used to retrieve and save
  574.        Initialization or Profile files.  You can save the initialization
  575.        characteristics that you have changed to a file that must have a .INI
  576.        extension.  Within the initialization file will be the Alternate Key
  577.        definitions, margins, expand/compress flags, sort direction, etc.
  578.        ProgEd can also pull in predefined initialization files for certain
  579.        programming extensions.  Current languages supported are Macro
  580.        Assembler, C, Pascal and MAKE files.
  581.        
  582.        The final function is the Exit function.  This function will exit the
  583.        Editor without saving the file and return control back to the Main
  584.        Menu.
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.                                                                            9│
  593.  
  594.  
  595.  
  596.  
  597.  
  598.        Programmer's Editor
  599.        ───────────────────
  600.  
  601.        2.1.1  Save
  602.        
  603.        The file that is currently being edited will be saved while being able
  604.        to continue to editing afterwards.  This function is similar to File
  605.        Save & Exit but does not exit.  Function quick key: Ctrl+F1.
  606.        
  607.        When invoked, the function will display the existing filename within
  608.        the dialogue window.  Either a new filename can be entered or just a
  609.        <┘ which will cause the current filename to be used for the file being
  610.        saved.  The old file will contain a .BAK extension to indicate that
  611.        this is a back-up file.  It will contain the original file as it was
  612.        before any editing had taken place.
  613.        
  614.        The filename can be entered with a drive and sub-directory syntax of:
  615.        
  616.           [drive:][\path1\[path2\]][filename.ext]
  617.        
  618.        Invalid filename characters are:
  619.        
  620.             " / \ [ ] : | < > + = ; ,
  621.        
  622.        All other characters are valid.
  623.        
  624.        
  625.        2.1.2  Save & Exit
  626.        This function is similar to File Save, but will exit the editor and
  627.        return to the Main Menu.  Function quick key: Ctrl+F2.
  628.        
  629.        When invoked, the current name displayed on the name line of the
  630.        screen will appear within the dialogue window.  If the filename of the
  631.        text being used is the name of the file to be saved, only a <┘ needs
  632.        to be entered otherwise the name can be replaced or edited as
  633.        required.  Either a new filename can be entered or just a return which
  634.        will use the current filename for the file being saved.  The old file
  635.        will contain a .BAK extension to indicate that this is a back-up file.
  636.        It will contain the original file as it was before any editing had
  637.        taken place.
  638.        
  639.        The filename can be entered with a drive and sub-directory syntax of:
  640.        
  641.           [drive:][\path1\[path2\]][filename.ext]
  642.        
  643.        Invalid filename characters are:
  644.        
  645.            " / \ [ ] : | < > + = ; ,
  646.        
  647.        All other characters are valid.
  648.        
  649.        
  650.        2.1.3  Get
  651.        
  652.        When this function is invoked, a prompt will request the filename of
  653.        the file to get.  If the file is on a disk in another drive and/or
  654.  
  655.  
  656.  
  657.  
  658.        │10
  659.  
  660.  
  661.  
  662.  
  663.  
  664.                                                              Usage Guidelines
  665.                                                              ────────────────
  666.  
  667.        sub-directory, the filename should be prefixed by the drive/sub-
  668.        directory designation.  Function quick key: Shift+F7.
  669.        
  670.        The imported file will be inserted into the document being edited
  671.        following the line where the cursor has been placed.
  672.        
  673.        The prompt asks for the filename of the file being imported into the
  674.        file.  The following format for the filename should be used:
  675.        
  676.           [drive:][\path1\[path2\]]filename.ext
  677.        
  678.        If the file being imported resides on the same disk or sub-directory
  679.        as the text file being edited, the drive or paths can be left off
  680.        whereas if the file is on a disk in another drive or in another sub-
  681.        directory, then that drive designation should be included.  If the
  682.        file resides on another disk but is not in any the disk drives on the
  683.        system, then text file disk can be removed, and the other disk
  684.        inserted into the drive in its place before hitting the <┘ key.
  685.        
  686.        Once the file has been imported (the prompt disappears from the
  687.        screen), take the disk out of the drive and return the text file disk
  688.        so the edited file can be saved on its original disk.  If this is not
  689.        done, the edited file will be stored on the disk that the imported
  690.        file was taken from.
  691.        
  692.        Both the filename and the external should be included when entering
  693.        the imported files name or an error message will be given.
  694.        
  695.        
  696.        2.1.4  Put
  697.        
  698.        When a portion of the file has been defined using the Block function,
  699.        it can be saved to disk.  This function is similar to File Save but
  700.        only a defined portion of the document is saved not the entire thing.
  701.        Function quick key: Shift+F8.
  702.        
  703.        When invoked, the function will request a filename through a dialogue
  704.        window.  Either a new filename can be entered or just a <┘ which will
  705.        use the current filename for the file being saved.  The old file will
  706.        contain a .BAK extension to indicate that this is a back-up file.  It
  707.        will contain the original file as it was before any editing had taken
  708.        place.
  709.        
  710.        Invalid filename characters are:
  711.        
  712.             " / \ [ ] : | < > + = ; ,
  713.        
  714.        All other characters are valid.
  715.        
  716.        
  717.        2.1.5  Profile Get
  718.        
  719.        When this function is invoked, a prompt will request the filename of
  720.        the profile to be get.  If the file is on a disk in another drive or
  721.  
  722.  
  723.  
  724.                                                                           11│
  725.  
  726.  
  727.  
  728.  
  729.  
  730.        Programmer's Editor
  731.        ───────────────────
  732.  
  733.        sub-directory path, the filename should be prefixed by the drive/path
  734.        designation.  Function quick key:  Shift+F9.
  735.        
  736.        The imported profile will reset the current Pull Down Mode Menu values
  737.        with the new ones contained in the imported file.
  738.        
  739.        The prompt asks for the filename of the profile file being imported.
  740.        The following format for the filename should be used:
  741.        
  742.           [drive:][\path1\[path2\]]filename.ext
  743.        
  744.        If the file being imported resides on the same disk or sub-directory
  745.        as the text file being edited, the drive or paths can be left off
  746.        whereas if the file is on a disk or in another drive or in another
  747.        sub-directory, then that drive designation should be included.  If the
  748.        file resides on another disk but is not in any the disk drives on the
  749.        system, then text file disk can be removed, and the other disk
  750.        inserted into the drive in its place.
  751.        
  752.        Once the profile has been imported (the dialogue window will
  753.        disappear), take the disk out of the drive and return the text file
  754.        disk so the edited file can be saved on its original disk. If this is
  755.        not done, the edited file will be stored on the disk that the imported
  756.        profile was taken from.
  757.        
  758.        Both the filename and the external should be included when entering
  759.        the imported profiles name or an error message will be given.
  760.        
  761.        2.1.6  Profile Save
  762.        
  763.        This function is used to save the current Profile to a file with a
  764.        .INI extension.  If you have made changes to the editing
  765.        characteristics of the Profile, they can be saved to disk for future
  766.        use.  Function quick key:  Ctrl+F4.
  767.        
  768.        
  769.        2.1.7  Exit
  770.        
  771.        All editing will be stopped and the program will return to the Main
  772.        Menu without saving the file being edit.  The file will remain in
  773.        memory until another file is chosen or ProgEd returns to the Operating
  774.        System (OS/2) or returns to the Build Utility if ProgEd was invoked
  775.        from there.  Editing of the file can be resumed by invoking the File
  776.        Re-Edit function.  Function quick key:  Ctrl+F3.
  777.        
  778.        
  779.        2.2  Find
  780.        
  781.        The next pull down menu is the Find menu.  Depending on the operating
  782.        characteristics of ProgEd, either two or four menu items will be
  783.        present.  If you are using Build Utility and have invoked a F2=Compile
  784.        with error trapping permitted and the assembler or compiler finds an
  785.        error, the Editor will automatically be invoked and will permit the
  786.        searching of Build errors.  The last two menu items will allow you to
  787.  
  788.  
  789.  
  790.        │12
  791.  
  792.  
  793.  
  794.  
  795.  
  796.                                                              Usage Guidelines
  797.                                                              ────────────────
  798.  
  799.        search for the Build errors.  At the bottom of the editing window will
  800.        the Build error window containing the error number and message.
  801.        
  802.        The first two menu items will always be present.  They are for Find &
  803.        Replace and Find.
  804.        
  805.        
  806.        2.2.1  Find & Replace
  807.        
  808.        When this function is first invoked, a window will open that contain a
  809.        list of Search For items.  By either clicking on the desired item or
  810.        by moving the selection bar to the item and hitting the <┘ key, you
  811.        will be prompted for the search string.  Function quick key:  F1.
  812.        
  813.        The search string prompt will contain the item from the list which
  814.        will allow you to edit the item if so desired.
  815.        
  816.        Next, the function will present a window that contains a list of
  817.        Replace With items.  Again, you can either click the right Mouse
  818.        button on the desired item or can move the selection bar to the item
  819.        and hit the <┘ to select it.
  820.        
  821.        All occurrences of the search string are replaced by the replacement
  822.        string starting from the current cursor position to the end of the
  823.        document.  If the Verify mode is on, each occurrence of the search for
  824.        string, the Editor will ask if it should replace the string with the
  825.        string being will highlighted.  Upon completion, the number of times
  826.        that the string was replaced will be displayed in the middle of the
  827.        screen for a few seconds before control is returned back to the
  828.        Editor.
  829.        
  830.        The Search For dialogue window asks for the string that will be used
  831.        in the global search.  It must match exactly or the string will not be
  832.        found. The last Search for string will be displayed if one was
  833.        selected.  A <┘ will cause that string to be used unless another one
  834.        is typed in.  The Replace With dialogue window asks for the string
  835.        that will replace the string that is being searched for.  The last
  836.        Replace With string selected will be displayed.  A <┘ will cause that
  837.        string to be used unless another one is typed in.
  838.        
  839.        If the Verify option has been toggled On in the Pull Down Mode Menu,
  840.        the verification prompt will be presented with a beep and the string
  841.        is highlighted when the search for string is found.  By entering a y,
  842.        the searched for string will be replaced.  Conversely, if n is
  843.        entered, the searched for string will not be replaced.  This function
  844.        can be very useful when only replacing certain cases of the searched
  845.        for string.
  846.        
  847.        If the Esc key is pressed at this prompt, the process is aborted at
  848.        the displayed position and control is returned back to the location
  849.        where the search began from.  Also, when not using the Verify mode,
  850.        the process can be aborted by pressing Ctrl+Break while the search and
  851.        replace function is active.  This is similar to pressing the Esc key
  852.        at the verification prompt.
  853.  
  854.  
  855.  
  856.                                                                           13│
  857.  
  858.  
  859.  
  860.  
  861.  
  862.        Programmer's Editor
  863.        ───────────────────
  864.  
  865.        2.2.2  Find
  866.        
  867.        When this function is first invoked, a window will open that contain a
  868.        list of Search For items.  By either clicking on the desired item or
  869.        by moving the selection bar to the item and hitting the <┘ key, you
  870.        will be prompted for the search string.  Function quick key:  F4.
  871.        
  872.        The search string dialogue window will contain the item from the list
  873.        which will allow you to edit the item if so desired.  The editor will
  874.        then search the document starting at the current cursor line.  A beep
  875.        will signify that the string has been found as well as highlighting
  876.        the matched string.  A dull buzzing sound and a message will be
  877.        displayed stating that the string was not found.  On subsequent
  878.        searches, the old search string is displayed with the prompt.  If the
  879.        same string is to be used again, only <┘ needs to be pressed whereas a
  880.        new string can be entered if a different string search is to occur.
  881.        The Search For prompt asks for the string that will be used in the
  882.        global search.  It must match exactly or the string will not be found.
  883.        
  884.        The process can be aborted by pressing Ctrl+Break while the search
  885.        function is active.
  886.        
  887.        
  888.        2.2.3  Previous Build Error
  889.        
  890.        When ProgEd has been invoked by the Build Utility Build function after
  891.        it has found an error during the F2=Compile of a file or program, the
  892.        Build Error mode will be used and the Editor will display any errors
  893.        found within the Build Error window at the bottom of the editing
  894.        window.  Function quick key:  Shift+F3.
  895.        
  896.        The Shift f3 function allows you to move to the previous Build Error
  897.        unless the current error is the first error that the compiler or
  898.        assembler found.
  899.        
  900.        
  901.        2.2.4  Next Build Error
  902.        
  903.        When ProgEd has been invoked by the Build Utility Build function after
  904.        it has found an error during the F2=Compile of a file or program, the
  905.        Build Error mode will be used and the Editor will display any errors
  906.        found within the Build Error window at the bottom of the editing
  907.        window.  Function quick key:  Shift+F4.
  908.        
  909.        The Shift f4 function allows you to move to the next Build Error
  910.        unless the current error is the last error that the compiler or
  911.        assembler found.
  912.        
  913.        
  914.        2.3  Format
  915.        
  916.        The Format Pulldown Menu is used to set the current Tab Stops and the
  917.        Right Margin limit.  These values are used throughout the life of the
  918.  
  919.  
  920.  
  921.  
  922.        │14
  923.  
  924.  
  925.  
  926.  
  927.  
  928.                                                              Usage Guidelines
  929.                                                              ────────────────
  930.  
  931.        file and if so desired can be saved within a Profile Initialization
  932.        File using the File Profile Save function
  933.        
  934.        
  935.        2.3.1  Tab Stops
  936.        
  937.        When this function is invoked, a new set of tab stops can be entered.
  938.        The current tab settings are displayed at the bottom of the screen.
  939.        Function quick key:  Shift+F2.
  940.        
  941.        The default settings of the Editor for the tab stops are:
  942.        
  943.             5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80
  944.        
  945.        The revised setting will be displayed at the bottom of the screen
  946.        replacing the previous settings.
  947.        
  948.        
  949.        2.3.2  Right Margin
  950.        
  951.        The Right Margin prompt is used to enter the right margin value that
  952.        will be used during the typing.  The minimum right margin value is 1
  953.        and the maximum is 255.  Function quick key:  Shift+F2.
  954.        
  955.        
  956.        2.4  Block
  957.        
  958.        The next menu item is for Block functions.  Seven items are available.
  959.        The first two are used to define either the start or end of a block.
  960.        The block will be defined according the current line that the cursor
  961.        is positioned on.  The next menu item is used to display the current
  962.        block definition information.  It will show the starting and stopping
  963.        block lines and the number of lines contained within the block.  The
  964.        next four items are used to Copy, Move, Clear or Delete the current
  965.        block defined.
  966.        
  967.        
  968.        2.4.1  Start
  969.        
  970.        By selecting the Block Start the first time, either one line of the
  971.        block is defined or just a single line is defined.  After positioning
  972.        the cursor to another line in the document and selecting Block End,
  973.        the block is fully defined.  Function quick key:  F8.
  974.        
  975.        This function is used in conjunction with the special text handling
  976.        and routines.  Auxiliary functions Sort Go, Block Copy, Block Clear,
  977.        Block Move, Block Info and Block Delete are used in conjunction with
  978.        this function.
  979.        
  980.        When the block is defined, a block defined indicator will be shown in
  981.        the mode flag area at the bottom of the display screen.  This is shown
  982.        as a Blk in reverse video.
  983.  
  984.  
  985.  
  986.  
  987.  
  988.                                                                           15│
  989.  
  990.  
  991.  
  992.  
  993.  
  994.        Programmer's Editor
  995.        ───────────────────
  996.  
  997.        2.4.2  Stop
  998.        
  999.        By selecting Block Stop, the block is fully defined.  Function quick
  1000.        key:  F8.
  1001.        
  1002.        This function is used in conjunction with the special text handling
  1003.        and routines.  Auxiliary functions Sort Go, Block Copy, Block Clear,
  1004.        Block Move, Block Info and Block Delete are used in conjunction with
  1005.        this function.
  1006.        
  1007.        
  1008.        2.4.3  Info
  1009.        
  1010.        There may be times when the location and size of a block need to be
  1011.        known.  This function will display the starting and ending lines along
  1012.        with the number of lines that the block occupies.  If no Block is in
  1013.        effect, the function will indicate this.  Function quick key:  Alt+F3.
  1014.        
  1015.        
  1016.        2.4.4  Copy
  1017.        
  1018.        This function will copy a block of text that has been defined through
  1019.        the Block Start and Block Stop functions to a location either above or
  1020.        below the defined block.  The cursor is used to point to the location
  1021.        that the duplicate block of text is to be placed.  The block of text
  1022.        will be inserted into the file starting at the line below the current
  1023.        cursor position.  Function quick key:  Ctrl+F7.
  1024.        
  1025.        
  1026.        2.4.5  Clear
  1027.        
  1028.        When this function is invoked, the block that was previously defined
  1029.        is released and set back to normal.  This then allows another block of
  1030.        text to be defined.  After the function is complete, the block
  1031.        indicator on the command line of the display will be removed.
  1032.        Function quick key:  Ctrl+F8.
  1033.        
  1034.        
  1035.        2.4.6  Move
  1036.        
  1037.        The block of text previously defined will be moved to the location
  1038.        pointed to by the cursor.  The text will be inserted into the file
  1039.        immediately following the line that the cursor is on.  Upon
  1040.        completion, the block of text is still highlighted to allow for
  1041.        corrections in case the block was inserted in the wrong location.
  1042.        Function quick key:  Ctrl+F9.
  1043.        
  1044.        If the block is correctly located, the block can be cleared using the
  1045.        Block Clear function.
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.  
  1054.        │16
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.                                                              Usage Guidelines
  1061.                                                              ────────────────
  1062.  
  1063.        2.4.7  Delete
  1064.        
  1065.        This function is a convenient method of the removing large amounts of
  1066.        text from the document that is being edited.  The alternate method is
  1067.        to use the Line Delete function.  The block of text previously defined
  1068.        is deleted from the document and the text below is moved up replacing
  1069.        the former position occupied by the block of text.  Function quick
  1070.        key:  Ctrl+F10.
  1071.        
  1072.        
  1073.        2.5  Sort
  1074.        
  1075.        The next menu is used in conjunction with the Sort Go is entered
  1076.        through this menu as well as the direction of the sort.  The sort
  1077.        function uses the sort zone to confine what is compared during the
  1078.        sort process and can be used to selectively order required lists.
  1079.        
  1080.        Each Sort Zone is defined by a starting and ending column position
  1081.        from which the sort is confined to.  The zone does not need to be the
  1082.        entire line length but can be a small portion of the line.  Even
  1083.        though the zone may be confined to the beginning of a given line, the
  1084.        entire line moved.
  1085.        
  1086.        
  1087.        2.5.1  Start
  1088.        
  1089.        The starting position for the Sort Zone is entered through this
  1090.        prompt.  The number entered corresponds to the starting column
  1091.        position from where the Sort Comparison is to begin.  For example, if
  1092.        a series of names start in column position 10, then that number is
  1093.        entered through this prompt.
  1094.        
  1095.        
  1096.        2.5.2  Stop
  1097.        
  1098.        The ending position for the Sort Zone is entered through this prompt.
  1099.        The number entered corresponds to the last column position from where
  1100.        the Sort Comparison is to begin.  Using the above example, if a series
  1101.        of names start in column position 10, and end at column 25, then that
  1102.        number is entered through this prompt.
  1103.        
  1104.        
  1105.        2.5.3  Direction
  1106.        
  1107.        When using the Sort function, you can specify the direction in which
  1108.        the sort function is to use.  By selecting the Sort Direction
  1109.        function, you will toggle the current direction from either Up to Down
  1110.        or Down to Up.  The direction is shown on the status line at the
  1111.        bottom the display by an up or down arrow with the up arrow indicating
  1112.        that the sort direction is ascending (Up) whereas the down arrow
  1113.        indicates that the sort direction is descending (Down).
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.                                                                           17│
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.        Programmer's Editor
  1127.        ───────────────────
  1128.  
  1129.        2.5.4  Go!
  1130.        
  1131.        Before the sort function can be invoked, three things must be done.
  1132.        The starting and ending column locations have to be defined by the
  1133.        Zone Mode function in the Sort Pull Down Menu unless the default
  1134.        values or 1 and 10 are used.  The direction the sort is to take place,
  1135.        either ascending or descending, is also defined by Sort Direction.
  1136.        Finally, the starting and ending lines that the sort is to occur is
  1137.        defined by creating a block using Block Define.  Function quick key:
  1138.        Shift+F1.
  1139.        
  1140.        When the sort function is invoked, the function will only compare the
  1141.        characters defined by the Zone and within the defined block.  All
  1142.        other characters are ignored.
  1143.        
  1144.        Once the sorting is complete, all of the lines are rearranged within
  1145.        the defined block.
  1146.        
  1147.        If another sort is needed, and if the Zone and Direction are the same
  1148.        as the previous sort, they do not have to be defined again.  They only
  1149.        need to be defined if either Mode is different.  Only the block has to
  1150.        be defined for this function to be completed.  Default values of the
  1151.        Zone are 1, 10 and Direction is Up or ascending.
  1152.        
  1153.        
  1154.        2.6  Edit
  1155.        
  1156.        The Edit pull down menu provides general edit functions to delete to
  1157.        the end of the current line, delete a word and to undelete.  Last
  1158.        three items are used for cutting and paste blocks of text.  The first
  1159.        item is used to copy the defined block to the cut and paste file.  The
  1160.        second function is used to cut the block from the file and to save it
  1161.        into the cut and paste file.  The final item is used to insert the
  1162.        contents of the cut and paste file into the current file at the
  1163.        current cursor location.
  1164.        
  1165.        
  1166.        2.6.1  Delete End
  1167.        
  1168.        The Edit Delete End function is used to delete to the end of the
  1169.        current line in which the text cursor is on.  All text from the cursor
  1170.        to the right will be deleted.  Function quick key: Ctrl+End.
  1171.        
  1172.        
  1173.        2.6.2  Undelete E
  1174.        
  1175.        This function is a powerful function in that it allows previously
  1176.        deleted items to be returned into the file.  When text has been
  1177.        deleted in error, it can be retrieved from the deleted item holder.
  1178.        It should be noted that only the last 32 items deleted are kept in the
  1179.        holder.  When the 33rd item is deleted, the 1st item is discarded, and
  1180.        all items below are moved up once place.  Function quick key:  Alt+F2.
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186.        │18
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.                                                              Usage Guidelines
  1193.                                                              ────────────────
  1194.  
  1195.        Deleted items that may be contained in the deleted item holder are
  1196.        single letters, words or lines.  Items deleted using the block delete
  1197.        function are not contained in this list.
  1198.        
  1199.        
  1200.        2.6.3  Delete Word
  1201.        
  1202.        The word starting a the current cursor position will be deleted from
  1203.        the file and placed into the deleted items holder.  If the cursor is
  1204.        not pointing to the beginning of the word, all characters to the right
  1205.        until the next word will be deleted.  Function quick key:  F2.
  1206.        
  1207.        The maximum number of items contained in the deleted items holder is
  1208.        32 and the deleted word can be restored by using the Edit Undelete
  1209.        function.
  1210.        
  1211.        
  1212.        2.6.4  Copy
  1213.        
  1214.        After defining a block of text through the Block functions, you can
  1215.        copy the text into the Cut/Paste Buffer where it can be pasted into
  1216.        another file.  The text will remain within the Cut/Paste Buffer until
  1217.        you either exit from the program or until you copy other text into it.
  1218.        It is not removed from the buffer after a Paste operation.
  1219.        
  1220.        
  1221.        2.6.5  Cut
  1222.        
  1223.        After defining a block of text through the Block functions, you can
  1224.        cut the textfrom the file and copy it into the Cut/Paste Buffer where
  1225.        it can be pasted into another file.  The text will remain within the
  1226.        Cut/Paste Buffer until you either exit from the program or until you
  1227.        copy other text into it.  It is not removed from the buffer after a
  1228.        Paste operation.
  1229.        
  1230.        
  1231.        2.6.6  Paste
  1232.        
  1233.        Once you have copied text into the Cut/Paste Buffer you can insert it
  1234.        back into the file you are currently editing.  After you have placed
  1235.        the cursor to line where you wish to have the text insert after, you
  1236.        use this function to perform the operation.  You can paste the text
  1237.        into the file as many times as you wish since the text within the
  1238.        Cut/Paste Buffer is not deleted by the paste operation.
  1239.        
  1240.        
  1241.        2.7  Mode
  1242.        
  1243.        The Pull Down Modes Menu is used to "toggle" on and off various Editor
  1244.        configuration characteristics.  The Mode Flags at the top of the
  1245.        screen will show the configuration switches currently selected.  The
  1246.        table below shows the four configuration flags that can be selected
  1247.        from this menu:
  1248.  
  1249.  
  1250.  
  1251.  
  1252.                                                                           19│
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.        Programmer's Editor
  1259.        ───────────────────
  1260.  
  1261.                  Configuration
  1262.                  Switch              Flag
  1263.                  ──────────────────────────────────
  1264.                  Compress            Cmp / Exp
  1265.                  Sound               Snd
  1266.                  Verify              Ver
  1267.                  ──────────────────────────────────
  1268.        
  1269.        
  1270.        2.7.1  Compress
  1271.        
  1272.        The Compress/Expand flags are used to denote whether the file will be
  1273.        compressed or left as it appears.  By using the compress feature
  1274.        (Cmp), the document will be from 20 to 70% smaller in size when saved
  1275.        to disk.
  1276.        
  1277.        
  1278.        2.7.2  Sound
  1279.        
  1280.        When the Sound flag is switched on (displayed in the mode flag area),
  1281.        the speaker is left on to make audible sounds when acknowledging
  1282.        specific input (such as accepting a filename during the save document
  1283.        process), when displaying error messages or signifying that a string
  1284.        has been found during a search function.  There may be a desire to
  1285.        turn the sound off while using the Editor and this function will
  1286.        permit this to happen.
  1287.        
  1288.        
  1289.        2.7.3  Verify
  1290.        
  1291.        The last mode flag, Verify, is used by the Find & Replace function.
  1292.        There may be times that a global search is desired but a selective
  1293.        replacement of the search value is necessary.  By selecting and
  1294.        toggling the Verify switch, when the Find & Replace function is used,
  1295.        each time the searched for string is found, you will be prompted for a
  1296.        y/n answer to a prompt to replace the found string highlighted on the
  1297.        screen.
  1298.        
  1299.        
  1300.        2.8  Line
  1301.        
  1302.        The Line pull down menu provides more general editing functions.  Ten
  1303.        functions are provided.  The first and second functions are used to
  1304.        insert blank lines into the file at the current cursor location.  The
  1305.        first of the two functions will insert 1 blank line whereas the second
  1306.        function will allow you to specify the number of lines to insert.  The
  1307.        next function will allow you to duplicate the current line that the
  1308.        cursor is positioned on.  The Goto function will allow you to specify
  1309.        which line to place at the top of the editing window.  The Delete and
  1310.        Delete Lines functions are similar to the Insert functions of this
  1311.        menu.  Again, the first of the two functions will allow you to delete
  1312.        the line that the cursor is placed on and the second function, Delete
  1313.        Lines, will allow you to specify the number of lines to delete.  The
  1314.        Split function is similar to the Split Line function.  The line that
  1315.  
  1316.  
  1317.  
  1318.        │20
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.                                                              Usage Guidelines
  1325.                                                              ────────────────
  1326.  
  1327.        the cursor is on will be split into two parts with the part to the
  1328.        right of the cursor moving to the line below the cursor.  The Join
  1329.        function is the exact opposite of the Split function.  The line below
  1330.        the will joined to the current line starting at the point where the
  1331.        cursor is positioned.
  1332.        
  1333.        
  1334.        2.8.1  Insert
  1335.        
  1336.        A new blank line is inserted into the file below the line the cursor
  1337.        is currently pointing to.  All of the lines below the current position
  1338.        are moved down one line.  Function quick key:  F3.
  1339.        
  1340.        
  1341.        2.8.2  Insert Lines
  1342.        
  1343.        After selecting this function, a dialogue window will be opened in
  1344.        which you can enter the number of blank lines that are to be inserted
  1345.        into the file below the current cursor position.  All of the lines
  1346.        below the current position are moved down accordingly.
  1347.        
  1348.        
  1349.        2.8.3  Duplicate
  1350.        
  1351.        This will duplicate the line at current cursor position.  All lines
  1352.        below the current cursor line will be moved down one line into the
  1353.        file to prevent the duplicate line from overwriting the next line.
  1354.        Function quick key:  F7.
  1355.        
  1356.        It should be noted that the cursor can be in any position on the
  1357.        current line.
  1358.        
  1359.        
  1360.        2.8.4  Goto
  1361.        
  1362.        When this function is invoked, a dialogue window will be opened which
  1363.        will request a line number that is to become the current line being
  1364.        edited.  Function quick key:  Alt+F4.
  1365.        
  1366.        The prompt will only accept a numeric value between 1 and the last
  1367.        line contained in the document (inclusive).
  1368.        
  1369.        
  1370.        2.8.5  Delete
  1371.        
  1372.        This function will delete the line that the cursor is currently
  1373.        located on.  The former line will be saved with the Delete items if it
  1374.        has been deleted by mistake.  Function quick key:  F6.
  1375.        
  1376.        The lines below the line being deleted will be moved up one position
  1377.        to replace the line deleted.
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.                                                                           21│
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.        Programmer's Editor
  1391.        ───────────────────
  1392.  
  1393.        2.8.6  Delete Lines
  1394.        
  1395.        After selecting this function, a dialogue window will be opened in
  1396.        which you can enter the number of lines that are to be deleted
  1397.        starting from the current cursor position.  All of the lines below the
  1398.        current position are moved up accordingly.
  1399.        
  1400.        
  1401.        2.8.7  Split
  1402.        
  1403.        The current line will be split into two separate lines starting at the
  1404.        current cursor position.  The first half of the line will occupy the
  1405.        same line in the file and the second half of the line will occupy a
  1406.        new line in the file.  All lines below the current cursor position
  1407.        will be moved down one line to prevent the second half of the line
  1408.        from overwriting the line below the current cursor position.  Function
  1409.        quick key:  F5.
  1410.        
  1411.        
  1412.        2.8.8  Join
  1413.        
  1414.        This function essentially moves the line below the current cursor to
  1415.        the line the cursor occupies with the first character of the line
  1416.        below starting at the column the cursor occupies.  Function quick key:
  1417.        Alt+F6.
  1418.        
  1419.        It works in a similar fashion to Delete Line but only deletes the
  1420.        portion of the line to the right of the cursor while bringing up the
  1421.        line below it and joining it to the current line at the current cursor
  1422.        position.
  1423.        
  1424.        
  1425.        2.9  Key
  1426.        
  1427.        The Key pull down menu provides five functions.  The first is used to
  1428.        define the Alternate Key definitions.   You will first be prompted for
  1429.        the Alternate Key and then for the Alternate Key string that is
  1430.        associated with the key.  To use the Alternate Key definition, you
  1431.        only need to place to cursor in the desired position and press the
  1432.        Alt+key to have the string inserted into the file.  Valid Alternate
  1433.        Keys are: A-Z, 0-9, -, =.  The Insert function is used to turn the
  1434.        Insert mode on and off.  The Delete function is used to delete the
  1435.        current character that the cursor is placed under.  The Swap Case
  1436.        function is used to swap the case of the character if it is a normal
  1437.        alphabet character.  The Swap Letter function is used to swap the
  1438.        letters of the current letter with the one to the right of the cursor.
  1439.        
  1440.        
  1441.        2.9.1  Alternate
  1442.        
  1443.        ProgEd allows you to define alternate key values that work in
  1444.        conjunction to the regular keyboard.  By pressing the Alt key + x and
  1445.        then a valid Alternate Key, you will be able to include a string of
  1446.        text within the document.  The dialogue window is used to enter the
  1447.  
  1448.  
  1449.  
  1450.        │22
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.                                                              Usage Guidelines
  1457.                                                              ────────────────
  1458.  
  1459.        alternate key and the string value.  This function is somewhat similar
  1460.        to keyboard macros that are found in other application programs.
  1461.        Function quick key:  Shift+F10.
  1462.        
  1463.        You will first be prompted for the alternate key that you wish to
  1464.        define or change.  If the key that you entered is valid, the current
  1465.        alternate key definition will then be presented in the prompt window
  1466.        and you can either edit the definition or change it completely.
  1467.        
  1468.        Valid alternate keys are:
  1469.        
  1470.             0 - 9, A - Z, -, =
  1471.        
  1472.        
  1473.        2.9.2  Erase
  1474.        
  1475.        When using the Mouse, you can quickly select text within a line being
  1476.        displayed by pressing the left Mouse button and dragging the Mouse
  1477.        along the line.  You can then use the Key Erase function to erase the
  1478.        text highlighted.  Alternately, you can press the space bar to perform
  1479.        the same task.
  1480.        
  1481.        
  1482.        2.9.3  Insert
  1483.        
  1484.        If you want to go from overtype mode to insert mode you can use this
  1485.        function to toggle the typing mode.  This is the equivalent of
  1486.        pressing the Ins key.  The text cursor will change its shape depending
  1487.        on the current typing mode.  When in overtype mode, the text cursor is
  1488.        its normal shape at the bottom of the character.  When it insert mode,
  1489.        the cursor changes its shape to a full flashing block.
  1490.        
  1491.        
  1492.        2.9.4  Delete
  1493.        
  1494.        To quickly delete text within a line on the screen, you can quickly
  1495.        select text within a line being displayed by pressing the left Mouse
  1496.        button and dragging the Mouse along the line.  You can then use the
  1497.        Key Delete function to delete the text highlighted.  Alternately, you
  1498.        can press the Del key to perform the same task.
  1499.        
  1500.        
  1501.        2.9.5  Copy
  1502.        
  1503.        To copy text within a line on the screen to another, you can select
  1504.        text within a line being displayed by pressing the left Mouse button
  1505.        and dragging the Mouse along the line after you have placed the text
  1506.        cursor to the position where you want to copy the text.  You can then
  1507.        use the Key Copy function to copy the text highlighted.  If you have
  1508.        toggled from overtype mode to insert, the text highlighted will be
  1509.        inserted at the current cursor location instead of overwriting the
  1510.        existing text.
  1511.  
  1512.  
  1513.  
  1514.  
  1515.  
  1516.                                                                           23│
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522.        Programmer's Editor
  1523.        ───────────────────
  1524.  
  1525.        2.9.6  Swap Case
  1526.        
  1527.        This function will convert lower case letters into upper case and vice
  1528.        versa.  This is major convenience when the Caps Lock has been left on
  1529.        by mistake and all the letters on a line are in the wrong case.
  1530.        Function quick key:  Alt+F7.
  1531.        
  1532.        The cursor points to the character to be converted.  This function
  1533.        does not have to be pressed each time a character is to be converted
  1534.        when an entire line is to be converted.
  1535.        
  1536.        After the letter has been converted the cursor moves to the next
  1537.        letter to the right.
  1538.        
  1539.        
  1540.        2.9.7  Swap Letter
  1541.        
  1542.        This function causes two letters are swapped.  The cursor points to
  1543.        the first character.  This function also works with spaces.  Function
  1544.        quick key:  Alt+F6.
  1545.        
  1546.        If the cursor is pointing to the last character on the line, no swap
  1547.        will take place.
  1548.        
  1549.        
  1550.        2.10  Window
  1551.        
  1552.        From within the Programmer's Editor, it is possible to view two files
  1553.        at the same time.  By using the Window functions you can split the
  1554.        current file into two windows or you can load a second file into
  1555.        memory.
  1556.        
  1557.        
  1558.        2.10.1  Open
  1559.        
  1560.        The Window Open function is used to load a second file into the Editor
  1561.        into a window at the bottom of the display.  The function will open a
  1562.        dialogue window in hwich you can enter the file that you wish to load.
  1563.        The focus of the Editor will be in the newly opened window on the
  1564.        bottom of the display.  An indicator at the top of the display will
  1565.        state that you are in Window 2.  If you wish to move to the first
  1566.        window, you can use the Window Jump function to jump between the two
  1567.        windows.
  1568.        
  1569.        
  1570.        2.10.2  Close
  1571.        
  1572.        When you finished with a window, you can close the window by using the
  1573.        Window Close function.  Caution should be used with this function
  1574.        since it will not prompt you before closing the window since it
  1575.        assumes that you want to close the window without any regard to
  1576.        changes made in the window.  If you want to save the contents of the
  1577.        window and close it, you should use either of the File Save functions.
  1578.  
  1579.  
  1580.  
  1581.  
  1582.        │24
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.                                                              Usage Guidelines
  1589.                                                              ────────────────
  1590.  
  1591.        2.10.3  Split
  1592.        
  1593.        When you want to work on the current file within two windows, you can
  1594.        use function to perform the task.  The Editor will open the second
  1595.        window with the file being displayed at the current location.  The
  1596.        other window's display will be frozen while you are making changes
  1597.        within the current window.
  1598.        
  1599.        2.10.4  Jump
  1600.        
  1601.        The Window Jump function is used to jump between two opened windows.
  1602.        If you are currently in Window 1 and you select this function, the
  1603.        Editor will change its focus from Window 1 to Window 2.  It will
  1604.        denote this by changing the Window Indicator in the top right hand
  1605.        corner of the screen.
  1606.        3.0  Print
  1607.        
  1608.        3.1  Print File
  1609.        
  1610.        This function is used to send single file to the printer.  For a
  1611.        single file, after using either the PgDn/PgUp or cursor keys to
  1612.        highlight the file to be printed, pressing Print will cause the file
  1613.        to be read into memory for printing. Once it has been read in, it will
  1614.        be sent to the printer.  When the file has been completely printed,
  1615.        control will be passed back to the menu.
  1616.        
  1617.        While a document is printing, pressing the Ctrl+Break keys will cause
  1618.        the printing to be cancelled after the current line has been printed.
  1619.        The printing of the rest of the document will ignored.
  1620.        
  1621.        3.2  Page
  1622.        
  1623.        When a file has finished printing and the output is still in the
  1624.        continuous forms tractor, this function can be used to advance the
  1625.        output past the tractor arms.
  1626.        
  1627.        
  1628.        4.0  Accessing Help
  1629.        
  1630.        Within the Programmer's Editor is a Help Facility.  To access the Help
  1631.        Facility you press Ctrl+H.  A prompt will ask you to press the
  1632.        function key that you wish help information for.  If the key is
  1633.        defined for the area in which you invoke the Help Facility, the help
  1634.        information will be display within the Help Window.  Depending on the
  1635.        information, more than one page may be accessible.  To access the
  1636.        subsequent pages, you can either press the PgDn or PgUp keys or click
  1637.        the Mouse cursor on the up or down arrows on the scroll bar of the
  1638.        window.
  1639.        
  1640.        
  1641.        5.0  Mouse and Keyboard Usage
  1642.        
  1643.        The usage of a Mouse is fully supported within the Programmer's
  1644.        Editor.  This is one of the unique characteristics of the Editor and
  1645.  
  1646.  
  1647.  
  1648.                                                                           25│
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.        Programmer's Editor
  1655.        ───────────────────
  1656.  
  1657.        can actually increase the editing speed.  When you are within the
  1658.        actual Editor itself, you can use the Mouse to access the pull down
  1659.        menus, page through the file or move the text cursor to the desired
  1660.        location within the editing window.
  1661.        
  1662.        When using the Mouse with prompt windows, the following conventions
  1663.        are used.  Pressing the left Mouse button is the equivalent of
  1664.        pressing the Esc key and pressing the right Mouse button is the
  1665.        equivalent of pressing the <┘ key.
  1666.        
  1667.        When working with the directory file list, you can use the Mouse to
  1668.        select a file within the file list simply by moving the Mouse cursor
  1669.        to the file desired within the list and clicking either Mouse button.
  1670.        This will cause the highlight bar to move to the file that was clicked
  1671.        on.  To view subsequent pages of the directory list, you can click the
  1672.        Mouse cursor on the scroll bar either above or below the scroll bar
  1673.        elevator.  Clicking the Mouse cursor above the scroll bar elevator is
  1674.        the equivalent of pressing the PgUp key and conversely, clicking the
  1675.        cursor below the elevator is the same as pressing the PgDn key.
  1676.        
  1677.        When entering text at a prompt, you have a multitude of editing
  1678.        options which you can you use.  The following editing options are
  1679.        available for use:
  1680.        
  1681.        Key                 Function
  1682.        ──────────────────────────────────────────────────────────────────────
  1683.        Cursor Right        Moves the cursor right one character.
  1684.        Cursor Left         Moves the cursor left one character.
  1685.        Ctrl+Cursor Right   Moves the cursor right to the beginning of the
  1686.                            next word.
  1687.        Ctrl+Cursor Left    Moves the cursor left to the beginning of the
  1688.                            previous word.
  1689.        Ins                 Changes the text cursor to a full block to
  1690.                            indicate Insert Mode is on.  Pressing the Ins key
  1691.                            a subsequent time will cancel Insert Mode and
  1692.                            returning the text cursor to normal size.
  1693.        Del                 Will delete the character currently above the text
  1694.                            cursor.
  1695.        Ctrl+End            Will delete all text starting at the current
  1696.                            cursor position to the end of the line.
  1697.        Backspace           Will delete the character immediately to the left
  1698.                            of the text cursor.
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711.  
  1712.  
  1713.  
  1714.        │26
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720.                                                              Usage Guidelines
  1721.                                                              ────────────────
  1722.  
  1723.        6.0  Editor Limits
  1724.        
  1725.        The following describe the maximum limits of the Programmer's Editor:
  1726.        
  1727.        Maximum Lines:           5000      (default unless changed through the
  1728.                                           environment variable, see 10.0
  1729.                                           Configuring the Programmer's
  1730.                                           Editor)
  1731.        Maximum Line Length:     255 characters
  1732.        Maximum Undelete Stack:  32 items
  1733.        Maximum Number of Files
  1734.        within Directory List:   255
  1735.        7.0  Configuring the Programmer's Editor
  1736.        
  1737.        There are ways of configuring the Programmer's Editor to best suit you
  1738.        system.  The following environment variables can be defined for use by
  1739.        the Programmer's Editor:
  1740.        
  1741.        PROGED         Maximum number of lines within editor (should be no
  1742.                       larger than 5000)
  1743.        TMP            Path where temporary files are created
  1744.        8.0  Support Files
  1745.        
  1746.        The following support files are provided with the Programmer's Editor:
  1747.        
  1748.        BAS.INI        BASIC Source File Initialization Profile
  1749.                       Valid Extensions:  .BAS
  1750.        C.INI          C Source File Initialization Profile
  1751.                       Valid Extensions:  .C, .H
  1752.        FOR.INI        FORTRAN Source File Initialization Profile
  1753.                       Valid Extensions:  .FOR
  1754.        MAKE.INI       MAKE File Initialization Profile
  1755.                       Valid Extensions:  .MAK
  1756.        MASM.INI       Macro Assembler Source File Initialization Profile
  1757.                       Valid Extensions:  .ASM, .INC, .MAC
  1758.        PAS.INI        Pascal Source File Initialization Profile
  1759.                       Valid Extensions:  .PAS, .INT
  1760.        PROGED.HLP     Programmer's Editor Help Facility
  1761.        
  1762.        
  1763.        C Source File Initialization Defaults (C.INI):
  1764.        
  1765.             Right Margin:       132
  1766.             Tab Stops:          1, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40,
  1767.                                 44, 48, 52, 56, 73
  1768.             File Compression:   On
  1769.             Sound:              On
  1770.  
  1771.  
  1772.  
  1773.  
  1774.  
  1775.  
  1776.  
  1777.  
  1778.  
  1779.  
  1780.                                                                           27│
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.        Programmer's Editor
  1787.        ───────────────────
  1788.  
  1789.             Alternate Keys Defined:
  1790.        
  1791.             Key  Definition
  1792.             ──────────────────
  1793.             W    while (
  1794.             E    else
  1795.             R    register
  1796.             T    typedef
  1797.             U    unsigned
  1798.             I    if (
  1799.             O    int
  1800.             P    printf(
  1801.             A    double
  1802.             S    switch (
  1803.             D    do
  1804.             F    for (
  1805.             G    float
  1806.             K    short
  1807.             L    long
  1808.             X    sizeof(
  1809.             C    case
  1810.             V    void
  1811.             B    break;
  1812.             N    NULL
  1813.             1    #define
  1814.             2    #if
  1815.             3    #include <
  1816.             4    #ifndef
  1817.             -    ->
  1818.        
  1819.        MAKE File Initialization Defaults (MAKE.INI):
  1820.        
  1821.             Right Margin:       120
  1822.             Tab Stops:          1, 5, 10, 15, 20, 25, 30, 35, 40,
  1823.                                 45, 50, 55, 60, 65, 70, 75
  1824.             File Compression:   Off
  1825.             Sound:              On
  1826.        
  1827.             
  1828.        Macro Assembler Source File Initialization Defaults (MASM.INI):
  1829.        
  1830.             Right Margin:       100
  1831.             Tab Stops:          1, 9, 17, 33, 36, 57, 65, 73
  1832.             File Compression:   On
  1833.             Sound:              On
  1834.  
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845.  
  1846.        │28
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852.                                                              Usage Guidelines
  1853.                                                              ────────────────
  1854.  
  1855.             Alternate Keys Defined:
  1856.        
  1857.             Key  Definition
  1858.             ──────────────────
  1859.             Q    EQU
  1860.             W    REP
  1861.             E    END
  1862.             R    RET
  1863.             T    TEST
  1864.             Y    PUSH
  1865.             U    OUT
  1866.             I    INC
  1867.             O    ORG
  1868.             P    POP
  1869.             A    ADD
  1870.             S    SUB
  1871.             D    DEC
  1872.             F    CLI
  1873.             G    STI
  1874.             H    IN
  1875.             J    JMP
  1876.             K    JMP     SHORT
  1877.             L    LOOP
  1878.             Z    JZ
  1879.             X    XOR
  1880.             C    CMP
  1881.             V    CALL
  1882.             B    AND
  1883.             N    NOT
  1884.             M    MOV
  1885.             1    DB
  1886.             2    DW
  1887.             3    DIV
  1888.             4    JNZ
  1889.             5    JC
  1890.             6    JL
  1891.             7    JA
  1892.             8    MUL
  1893.             9    PAGE
  1894.             0    PROC
  1895.        
  1896.        
  1897.        Pascal Source File Initialization Defaults (PAS.INI):
  1898.        
  1899.             Right Margin:       132
  1900.             Tab Stops:          1, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30,
  1901.                                 33, 36, 39, 42, 45, 48, 64
  1902.             File Compression:   On
  1903.             Sound:              On
  1904.  
  1905.  
  1906.  
  1907.  
  1908.  
  1909.  
  1910.  
  1911.  
  1912.                                                                           29│
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918.        Programmer's Editor
  1919.        ───────────────────
  1920.  
  1921.             Alternate Keys Defined:
  1922.        
  1923.             Key  Definition
  1924.             ──────────────────
  1925.             W    WITH
  1926.             E    END;
  1927.             R    REPEAT
  1928.             T    THEN
  1929.             U    UNTIL
  1930.             I    IF
  1931.             O    OF
  1932.             P    PROCEDURE
  1933.             A    ARRAY[
  1934.             S    STRING(
  1935.             D    DO
  1936.             F    FOR
  1937.             L    LSTRING(
  1938.             C    CASE
  1939.             V    VAR
  1940.             B    BEGIN
  1941.             N    NOT
  1942.             3    {$PAGE+}
  1943.             4    {$INCLUDE:'
  1944.             =    :=
  1945.        9.0  Using the File List
  1946.        
  1947.        When within the Main Menu or similar menu, the current file or
  1948.        directory list will be displayed on the screen at all times.  To
  1949.        select a file within the list or to view remaining files, you can use
  1950.        the general cursor keys.  The PgUp and PgDn keys can be used to page
  1951.        through the file list if more than 50 files are within the list.  The
  1952.        cursor arrow keys can be used to move the highlight bar from one file
  1953.        to the next.
  1954.        
  1955.        If you are using a Mouse, the Mouse can be used instead of the cursor
  1956.        keys.  To select a file within the file list you only need to click
  1957.        the Mouse cursor on the desired file.  To view alternate pages, you
  1958.        only need to click the Mouse cursor on the scroll either above
  1959.        (equivalent to PgUp) or below (equivalent to PgDn) the scroll bar.
  1960.  
  1961.  
  1962.  
  1963.  
  1964.  
  1965.  
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971.  
  1972.  
  1973.  
  1974.  
  1975.  
  1976.  
  1977.  
  1978.        │30
  1979.  
  1980.  
  1981.