home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / wp / bb725.zip / BB.DOC < prev    next >
Text File  |  1987-04-21  |  52KB  |  1,493 lines

  1.                       ██████████
  2.                     ██████████████
  3.                    ███ · ████ · ███
  4.                     ██████████████
  5.                     ██████  ██████
  6.                      ████████████
  7.                        ████████
  8.                       ██││││││██
  9.                        ████████
  10.                    ██▄          ▄██
  11.                     ▀██▄      ▄██▀
  12.                       ▀██▄  ▄██▀
  13.                     ▀████▀
  14.                     ▄████▄
  15.                       ▄██▀  ▀██▄
  16.                     ▄██▀      ▀██▄
  17.                    ██▀          ▀██
  18.  
  19.                     ┌────────────┐
  20.                     │ BLACKBEARD │
  21.                     └────────────┘
  22.  
  23.                 User Supported Software
  24.  
  25.  
  26.                      VERSION LOG
  27.                      BLACKBEARD
  28.  
  29.       version  remarks
  30.       --------------------------------------------------------------
  31.       7.25     Changed Unable to open BB.PST message to using
  32.            internal BB.PST when memory resident, also
  33.            adjust neon sign for memory resident.  This
  34.            version also available in 44 row x 132 col
  35.            mode (Everex style).
  36.  
  37.       7.24     Changed Unable to open BB.PST message to using
  38.            internal BB.PST (See set BB.PST)
  39.  
  40.       7.23     Set delimeter up arrow works correctly
  41.  
  42.            Ascii chart up/down arrows work as expected.
  43.  
  44.       7.22     Clear paste buffer error fixed to not create and
  45.            leave open the paste file.
  46.  
  47.            BB.PST not written to file if no symbol is found.
  48.            Avoides accumulation of a lot of extraneous files all
  49.            over the disk.
  50.  
  51.            Justification algorithm on lines with .?!  produces
  52.            neater text now.
  53.  
  54.       7.21     First widely available neon sign/Hollywood version.
  55.            Only change was to color of Walk of Fame heads.
  56.  
  57.       7.20     Reverse search when at col 1 works now.
  58.  
  59.            Return puts correct col number in status line.
  60.  
  61.            Click when entering keystroke macros.
  62.  
  63.            Original Skull & Crossbone version is gone Walk of
  64.            Fame added to acknowledge contributers to Blackbeard
  65.            development.  This includes those individuals who
  66.            have developed pieces of Blackbeard or have provided
  67.            "easily replicatable bugs" for these especially
  68.            tenacious bugs.
  69.  
  70.       7.X &    These versions are beta versions that were developed
  71.       7.0 -    while using new "C" compiler. They were available for
  72.       7.1+     limited distribution. Avoid use of these versions.
  73.            The first official 7.* version will be 7.2, available
  74.            3-87.
  75.  
  76.       6.51     Insert file fixed so DTA error does not occur.
  77.  
  78.            Paste buffer is written to BBPST set file.  If not
  79.            present uses the current directory.
  80.  
  81.            Blink options menu to avoid non-display when contrast
  82.            not easily set.
  83.  
  84.            Menu selections can be made by using the appropriate
  85.            keystroke on the menu.  For example, ^F on the Find
  86.            Replace menu activates Find.
  87.  
  88.            Paragraph readjust recognizes ?  and !
  89.  
  90.            Color selection of the window and status line in
  91.            monochrome mode.  Default status line color is
  92.            reverse video.
  93.  
  94.            "Number of the window" appears in window selection
  95.            (αF6).
  96.  
  97.            Bug fix so "dir" works in DOS window.  The problem
  98.            actually occurs because of the ANSI.SYS device
  99.            driver.  Blackbeard has been enhanced to decipher
  100.            ANSI cursor movements (not fun!, but it works).
  101.  
  102.            Registration Fee increase to $20.00
  103.  
  104.            Logo changed to "Hollywood" neon sign version instead
  105.            of skull & crossbones.  Walk of Fame added to
  106.            acknowledge contributers to Blackbeard development.
  107.            This includes those individuals who have developed
  108.            pieces of Blackbeard or have provided "easily
  109.            replicatable bugs" for these especially tenacious
  110.            bugs.
  111.  
  112.       6.50     New C compiler "used".  Blackbeard is "c source code
  113.            compatible - with minor adjustments".  (This version
  114.            is a beta version for the time being)
  115.  
  116.            Many new features have been added:
  117.  
  118.            1. Regular expression search added (toggle on options
  119.               menu).  The file RE.HLP contains commands to use
  120.               the regular expression.
  121.            2. Terminate & Stay Resident still present but
  122.               probably does not work.  The paste buffer is
  123.               almost for sure a problem.  Fix is forthcoming
  124.               (6.51).
  125.            3. Dumb terminal emulator removed.
  126.            4. Bug fix to options menu (not noticeable)
  127.            5. Insert Tab character works as per IEEE suggestion,
  128.               now a toggle in options menu.  Really works in
  129.               6.51.
  130.            6. First semi-virtual Paste buffer -- upto 2000 lines
  131.               or so, which is usually 80000 bytes (much larger
  132.               than 6500 bytes).
  133.            7. Faster read file routine; old routine could read
  134.               about 30000 bytes per second; new routine reads
  135.               about 50000 bps.
  136.            8. "String replacement/language sensitive editing"
  137.               feature.  Poor documentation will be improved
  138.               eventually.
  139.            9. Configurable word delimeter array added for
  140.               right_word, left_word, delete_word &
  141.               delete_upto_delim.  Function to delete up to next
  142.               delimeter (- on keypad).
  143.  
  144.       6.45     Last fix to old BB version.  Fix includes misc bugs,
  145.            including mystery file scrambling problem (the
  146.            Bullendonk-Cooper bug).
  147.  
  148.       6.44     Insert file and Switch to window with deleted file;
  149.            works correctly now.
  150.  
  151.       6.43     Goto start marker
  152.  
  153.       6.42     Bug fix to "left word".
  154.  
  155.            Nicer search and replace displays.
  156.  
  157.            Fixed possible bug in read/write virtual memory
  158.            buffer (I have never seen this bug occur, but it is
  159.            theoretically possible)
  160.  
  161.            Insert file function
  162.  
  163.            Reverse Search & Repeat Reverse Search
  164.  
  165.       6.41     Bug fix to searching!?  Should make it healthier.
  166.            Tended to disrupt cut & paste.
  167.  
  168.       6.4      Bug fix so case insensitive search works.  Also
  169.            somewhat faster (!?)
  170.  
  171.       6.3      Fixed bug in adjust_paragraph when display tabs and
  172.            justify options are on.  Also checks for period and
  173.            makes sure there are two or more spaces after a
  174.            period.  Available: July 4, 1986.
  175.  
  176.       6.2      Prompt line editing using arrows, backspace, Home,
  177.            End Up arrow (to retrieve previous data), Ins and
  178.            Del.  Better Ctrl-C trapping.  αJ is EMACS style
  179.            return -- break line and go to start of next line.
  180.  
  181.       6.1      Backup up file (non-catastrophic) bug fix
  182.  
  183.       6.0      Expanded code size (C medium model).
  184.  
  185.       5.42     Minor EOF check fixes ; non-official release
  186.  
  187.       5.41     =xxxxx works correctly again.  Reading file for CR LF
  188.            no ^Z terminated files works correctly.
  189.  
  190.       5.40     Even better EOF checking (lines not EOF terminated
  191.            properly do not display last two characters -- this
  192.            bug cannot be fixed) Fixed bug in automatic backup
  193.            that caused no automatic backups to be made.  Changed
  194.            delete word to match word right.
  195.  
  196.       5.34     Better EOF checking!  Permits ^Z in the middle of
  197.            lines in the middle of files.  Lines greater than 254
  198.            characters detected and editing aborted.  Insert
  199.            number does insert/replace number depending upon
  200.            insert/replace mode toggle.  Delete word modified to
  201.            delete only next punctuation of next alphanumerics,
  202.            note: does not delete next word as defined by word
  203.            right.
  204.  
  205.       5.33     Infinite beep bug fixed (again).  Larger Memory
  206.            Requirements about 148K.  Find & Replace bug when
  207.            performed after end of file fixed.  Avoids running
  208.            DOS commands when resident to avoid system lockup.
  209.  
  210.       5.32     Dumb terminal bug fixed.
  211.  
  212.       5.31     Infinite beep bug fixed.  Resident Abort (αZ)
  213.            editing "eof" bug fixed.
  214.  
  215.       5.30     "Random bugs" exterminated.  First dumb terminal
  216.            emulator (to be expanded in subsequent versions).
  217.  
  218.       5.22     Improved read/write file movement.  Check for valid
  219.            reentrant points before "popping-up" resident
  220.            Blackbeard (beep).  ("Random bugs" - avoid use)
  221.  
  222.       5.21     Bug fix to finding files under version PC-DOS 3.0 and
  223.            some versions of MS-DOS 2.11 (Other DOS versions
  224.            appear to work ok).  Bug fix to LF ^Z terminated
  225.            files.  Escape to exit search and filename prompt.
  226.            "cold" start resets "everything." Improved search to
  227.            avoid writing when no changes have been made.
  228.            (4-1-86)
  229.  
  230.       5.20     Conditional search & replace requires Y to replace.
  231.  
  232.       5.19     Pop-up Blackbeard "warm" (α=) or "cold" (α-); Bug fix
  233.            to insert number routine (bug entered around version
  234.            5.17).
  235.  
  236.       5.18     Sound (beeps) for error messages.
  237.  
  238.       5.17     Improved adjust paragraph routines.
  239.  
  240.       5.16     Bug fix in non CRLF EOF terminated files.
  241.  
  242.       5.15     Bug fix in pop-up directory and select window (αF6)
  243.            command interaction.
  244.  
  245.       5.14     DOS window bug fix that didn't display last line when
  246.            kill buffer overflowed.
  247.  
  248.       5.13     New paragraph adjust for "bulleted" paragraphs.
  249.  
  250.       5.12     Better file reading, so file date isn't always
  251.            updated.  Files can be used with "make."
  252.  
  253.       5.10     First somewhat available memory resident version.
  254.  
  255.       5.00     Memory Resident Version (Preliminary)
  256.  
  257.       4.74     Fixed Bug reading EOF terminated files.  Improved
  258.            Repeat Key and Keystroke Macro interaction.
  259.  
  260.       4.73     Recognize video mode after exit to DOS (12-18-85)
  261.  
  262.       4.72     Repeat key feature added.
  263.  
  264.       4.71     Bug fix to delete_line routine.
  265.  
  266.       4.7      Official virtual memory release version.  (12-16-85)
  267.  
  268.       4.6      Improved manual.  Bug fix to pop-directory and switch
  269.            to file command.
  270.  
  271.       4.5      Limited release version.  Contains manual on disk.
  272.  
  273.       4.4      132 column mode for Everex card.  Adjustable virtual
  274.            memory limits.
  275.  
  276.       4.3      Pop-up directory to open wild card file names.  Beta
  277.            test version.  Avoid use.
  278.  
  279.       4.2      Tab display.  Beta test version.  Avoid use.
  280.  
  281.       4.1      Keyboard remapping.  Beta test version.  Avoid use.
  282.  
  283.       4.0      Virtual memory added.  File size limited by disk
  284.            space.  Beta test version.  Avoid use.
  285.  
  286.       3.7      Beta test version.  Avoid use.
  287.  
  288.       3.6      First distributed release.  Works well.  Cutting past
  289.            the end of a line will lock up the computer (versions
  290.            3.6 - 4.6; fixed in 4.7 and above).
  291.  
  292.       pre-3.6  Pre release versions never distributed as user
  293.            supported software.  Avoid the use of these most have
  294.            some bugs.
  295.  
  296.  
  297.       INTRODUCTION
  298.  
  299.          Blackbeard is a programmer's editor.  It performs the
  300.       editing tasks a programmer needs, in as fast and efficient
  301.       manner as possible.  It works the way you expect it to.  The
  302.       primary use for Blackbeard is for source code editing and it
  303.       does all the things you would expect.  It also has some word
  304.       processing features; these were used to create this
  305.       documentation.
  306.  
  307.       Distribution and Registration
  308.  
  309.          Software copyright violation is rampant.  This is why we
  310.       have created Blackbeard.  Because Blackbeard is a superior
  311.       text editor and available for free distribution, there should
  312.       be little need to pirate copyrighted software to obtain
  313.       advanced text editing features.  Please feel free to give
  314.       Blackbeard to your friends.  We are counting on you as a
  315.       participant in the largest distribution network in the nation
  316.       (the owners and users of PCs) to make Blackbeard a popular
  317.       product.  With strong user support, Blackbeard will be
  318.       enhanced with new features and capabilities making it the
  319.       editor of choice.
  320.  
  321.          For twenty (20) dollars you can become a registered owner
  322.       of Blackbeard.  For your $20.00 you will appease your
  323.       conscience about using unregistered software, provide support
  324.       for future enhancements, receive a distinctive Blackbeard
  325.       collectable, a registration sticker, and a copy of the latest
  326.       version of Blackbeard.  The file FORM.TXT can be used as an
  327.       order form.
  328.  
  329.  
  330.                SEND A CHECK MADE OUT TO BLACKBEARD TO:
  331.  
  332.               Blackbeard
  333.               1198 E. Baseline St.  Suite 113
  334.               San Bernardino, California  92410
  335.  
  336.  
  337.                We thank you for your support.
  338.  
  339.       DOCUMENTATION
  340.  
  341.          Blackbeard does not come with a voluminous manual.  The
  342.       design team decided that a good editor should not need a large
  343.       reference manual; most of the documentation is built in.  This
  344.       file explans the features of Blackbeard.
  345.  
  346.          The Blackbeard diskette should have the following files:
  347.  
  348.            File              Description
  349.            -------------------------------------------------------
  350.            bb.exe            This is the Blackbeard program.
  351.  
  352.            bbc.exe           Blackbeard key binding compiler
  353.  
  354.            bbf.exe           Blackbeard text formatter.  See
  355.                      BBF.DOC instructions.  Turns
  356.                      Blackbeard into a full-featured
  357.                      word processor.
  358.  
  359.            bb.cfg            Blackbeard configuration file
  360.  
  361.            bb.key            Blackbeard key binding file
  362.  
  363.            read.me           Blackbeard release notes
  364.  
  365.            bb.doc            Blackbeard manual
  366.  
  367.            bbf.doc           Blackbeard formatter manual
  368.  
  369.            bbc.doc           Blackbeard key binding compiler
  370.                      manual
  371.  
  372.            bbkeys.txt        Blackbeard key binding file ready
  373.                      for compilation.
  374.  
  375.            m_bb.msc          Blackbeard Mouse systems button and
  376.                      movement defintion file
  377.  
  378.            m_bb.com          Blackbeard Mouse systems compiled
  379.                      menu file.
  380.  
  381.            form.txt          Blackbeard order form.
  382.  
  383.          Note: a version of Blackbeard for the Everex card 44x132
  384.       mode is available upon request.
  385.  
  386.       SETTING UP AND RUNNING BLACKBEARD
  387.  
  388.       Running Blackbeard
  389.  
  390.          To run Blackbeard type:
  391.  
  392.         BB
  393.  
  394.          The screen clears and Blackbeard information appears with a
  395.       request for a filename at the last line of the screen.
  396.       Pressing enter displays a directory of files from which you
  397.       may select a file to edit (see the menus section for how to
  398.       use menus).  See the "Memory Residence" section to install
  399.       Blackbeard as a "pop-up" editor.
  400.  
  401.          You can give Blackbeard a filename upon startup:
  402.  
  403.         BB <filename>
  404.  
  405.          Blackbeard will then display your file.
  406.  
  407.       Status Line
  408.  
  409.          The last line of the screen contains the status
  410.       information.  It looks like:
  411.  
  412.       Line   1  Col    0  <DMIWSTN> Kill     0 Paste     0 C:\filename 846
  413.  
  414.          The status line tells you the line and column you are
  415.       working on.  The letter inside brackets indicate the current
  416.       editing settings.  The possible letters and meanings are
  417.       described in the following chart:
  418.  
  419.       Letter   Meaning
  420.          D     Drawing mode on
  421.          M     Keystroke macro recording on
  422.          I     Insert mode on
  423.          W     Word wrap on
  424.          B     Bullet mode on (and word wrap on)
  425.          S     Case sensitive search on
  426.          T     Auto-tab on
  427.          N     Auto-insert on
  428.  
  429.       Kill followed by the size of the text in the delete buffer.
  430.       Paste followed by the size of text in the paste buffer.  The
  431.       name of the file you are editing followed by its size.
  432.  
  433.       Help and command menus
  434.  
  435.          To access the menus and learn the commands press the
  436.       escape <Esc> key and the menu will pop-up.  You can execute a
  437.       command or select any submenus by positioning the cursor on
  438.       the item (using the keypad keys) and pressing the Enter key
  439.       (<─┘).  To exit a menu without choosing an item press the
  440.       escape key.  The menu action occurs where the cursor was
  441.       before you entered the menu.  With few exceptions the menu
  442.       commands have their direct keyboard counterparts described to
  443.       the right of the English command description.  The direct
  444.       commands use the keyboard letters and the shift () , Alt (α),
  445.       and control (Ctrl) keys.  The following describes how they are
  446.       shown:
  447.  
  448.            ^R - means Ctrl-R
  449.            R - means Shift-R
  450.            αR - means Alt-R
  451.  
  452.          The function keys are designated as F1 - F10.
  453.  
  454.       Prompt Line
  455.  
  456.          Blackbeard will prompt you for various editing strings on
  457.       the status line.  This includes search/replace string and new
  458.       filename.  Blackbeard has a built in prompt line editor.
  459.       Prompt line editing uses arrows, backspace, Home, End Up
  460.       arrow (to retrieve previous data), Ins and Del.  The Esc key
  461.       aborts the prompt and enter to complete the prompt.
  462.  
  463.       CONFIGURATION
  464.  
  465.          When Blackbeard starts up it looks for five files: the
  466.       configuration file (BB.CFG), the key binding file (BB.KEY),
  467.       the macro file (BB.MAC), the paste buffer (BB.PST), and the
  468.       language file (BB.LNG).
  469.          With the exception of the Paste file, Blackbeard looks in
  470.       the current subdirectory for these files.  If there is not a
  471.       file in the current subdirectory, Blackbeard will look at the
  472.       file defined in the DOS environment by the appropriate
  473.       symbol.  This allows you to keep one configuration file and
  474.       use Blackbeard from any disk or directory.  To set the default
  475.       Blackbeard file use the following command:
  476.  
  477.          SET BBCFG=<filename>
  478.  
  479.          for example:  SET BBCFG=C:\BB\BB.CFG
  480.  
  481.          The appropriate symbols are:
  482.  
  483.          BBCFG - Configuration file.
  484.          BBKEY - Key binding file.
  485.          BBMAC - Macro file.
  486.          BBPST - Paste file.
  487.          BBLNG - Language file.
  488.  
  489.          For the paste buffer, Blackbeard looks first for the symbol
  490.          BBPST.  If found, the paste filename defined by the set
  491.          statement is used.  If not the paste file, a message is
  492.          issued and the paste buffer is limited in size and not
  493.          paged out to a file.
  494.  
  495.       Configuration File
  496.  
  497.          Blackbeard keeps a configuration file that allows you to
  498.       customize the following areas:
  499.  
  500.         -  all items from the OPTIONS MENU
  501.         -  all items from the SETTINGS MENU
  502.         -  Window colors
  503.         -  WIndow sizes
  504.         -  the status line settings
  505.  
  506.          Blackbeard looks in the current subdirectory for a file
  507.       named BB.CFG.  This file sets the configuration setttings.  If
  508.       there is not a file named BB.CFG in the current subdirectory,
  509.       Blackbeard will look in the BB DOS environment subdirectory
  510.       for this file, if it is found it will use the filename
  511.       supplied with the symbol.  This will let you keep one
  512.       configuration file and use Blackbeard from any disk or
  513.       directory.
  514.  
  515.          See the OPTIONS/SETTINGS menu for the read and save
  516.       configuration commands.  These commands will request a
  517.       filename and default to the current path and BB.CFG filename
  518.       if none is given.
  519.  
  520.       Macro file
  521.  
  522.          Blackbeard allows you to define and save keyboard macros.
  523.       Blackbeard looks in the current subdirectory for a file named
  524.       BB.MAC.  This file contains your macros.  If there is not a
  525.       file named BB.MAC in the current subdirectory, Blackbeard will
  526.       look in the BB DOS environment subdirectory for this file, if
  527.       it is found it will use the filename supplied with the symbol.
  528.  
  529.          See the macros menu for the read and save macro commands.
  530.       To read in macro files with different filenames simply enter
  531.       the desired file name to the read file prompt.  These commands
  532.       will request a filename and default to the current path and
  533.       BB.CFG filename if none is given.
  534.  
  535.       Key binding File
  536.  
  537.          Blackbeard keeps a key binding file that will allow you to
  538.       redefine the keystrokes: Blackbeard looks in the current
  539.       subdirectory for a file named BB.KEY.  This file defines the
  540.       keyboard binding.  If there is not a file named BB.KEY in the
  541.       current subdirectory, Blackbeard will look in the BB DOS
  542.       environment subdirectory for this file, if it is found it will
  543.       use the filename supplied with the symbol.  This will let you
  544.       keep one keyboard file and use Blackbeard from any disk or
  545.       directory.
  546.  
  547.          See the OPTIONS/SETTINGS/KEYS menu for the read and save
  548.       key bindings commands.  These commands will request a filename
  549.       and default to the current path and BB.KEY filename if none is
  550.       given.
  551.  
  552.       Other configuration
  553.  
  554.          If you are using the IBM monochrome adapter or a
  555.       color/graphics adapter with a color monitor, you will not have
  556.       to configure Blackbeard for your system.  If you are using
  557.       Blackbeard with a color/graphics adapter and a monochrome
  558.       monitor, you will have to configure Blackbeard so that it does
  559.       not use color.  To do this run Blackbeard, press αF9 (to turn
  560.       off color) and save your configuration using the configuration
  561.       menu.
  562.  
  563.       HOW BLACKBEARD HANDLES FILES
  564.  
  565.       Virtually virtual memory
  566.  
  567.          Blackbeard uses a virtually virtual memory method to handle
  568.       large files.  This means it pages the file in and out of
  569.       memory.  The messages Reading file and Writing file appear on
  570.       the status line to indicate when Blackbeard is paging the
  571.       file.  Blackbeard uses to two buffers to keep track of your
  572.       file.  One that keeps track of every line in the file and one
  573.       that pages your file in and out.  Blackbeard's file size is
  574.       limited by the number of lines.  The default is about 8000
  575.       lines (this is large enough for almost all text files).
  576.       However, you can tell Blackbeard how to distribute its vitrual
  577.       memory buffers.  The line buffer's size ranges from 4000 to
  578.       about 24000.  The default is 8000.  It should be set to the
  579.       maximum expected file size (in terms of lines) you will edit.
  580.       To set the line limit run Blackbeard with either of the
  581.       following commands:
  582.  
  583.          BB =# of lines or
  584.          BB <filename> =# of lines
  585.  
  586.          Example:
  587.  
  588.          BB read.me =20000
  589.  
  590.          will run Blackbeard such that it can accept files that have
  591.       up to 20000 lines.
  592.  
  593.       Backup
  594.  
  595.          Blackbeard can create a backup file, at startup.
  596.       Blackbeard will copy the original file to a .BAK file.  While
  597.       editing, Blackbeard will page your file in and out of memory.
  598.       If the computer should crash while editing; the edited file
  599.       may be unusable.  The default is not to provide a backup file.
  600.  
  601.       File saving
  602.  
  603.          Blackbeard always works on the current file.  When you
  604.       change to a window that contains a different file, the file in
  605.       the previous window is saved and the new file is read in and
  606.       you are positioned where you left off.  Every time you change
  607.       to a window with a different file (or one of the three special
  608.       purpose windows), Blackbeard saves the file.  This means you
  609.       cannot go back to your original text.  (If automatic backup is
  610.       on, a backup is made when you enter a new file with the new
  611.       file command).
  612.  
  613.       Memory Residence
  614.       /* THIS FEATURE HAS BEEN REMOVED WITH VERSION 7.+ */
  615.  
  616.          Blackbeard can be loaded in the background and popped up
  617.       (like Borland's Sidekick).  It uses up about 150k bytes of
  618.       memory.  To load Blackbeard in the background execute
  619.       Blackbeard with the following command:
  620.  
  621.       BB =r
  622.  
  623.          You can specify a number of lines with BB =r#####
  624.  
  625.          Once Blackbeard is loaded in the background it is popped up
  626.       with the file you were last editing with the ALT = (α=) key.
  627.       It will resume editing where you last left off.  Popping
  628.       Blackbeard up with ALT - (α-) pops up Blackbeard and you are
  629.       queried for a new filename.
  630.  
  631.          Notes about operating Blackbeard in the background:
  632.  
  633.          o  When popped up from the command prompt, the DOS window
  634.         and DOS exit commands do not work.  They work fine when
  635.         popped up behind another program.
  636.  
  637.          o  Beware of popping Blackbeard up behind a graphics
  638.         program.
  639.  
  640.  
  641.       COMMANDS
  642.  
  643.          The remainder of this document describes all the Blackbeard
  644.       commands and their original key binding by categories.
  645.  
  646.       CURSOR MOVEMENT
  647.  
  648.          This section defines the commands to move the cursor and
  649.       window about.
  650.  
  651.          COL LEFT  (->)
  652.         Moves the cursor left one column.  When the cursor
  653.         reaches the window edge, the window is scrolled.
  654.  
  655.          COL RIGHT  (<-)
  656.         Moves the cursor right one column.  When the cursor
  657.         reaches the window edge, the window is scrolled.
  658.  
  659.          ROW UP ()
  660.         Moves the cursor up one line.  If the cursor is at the
  661.         top of the window, then the window moves up a line.
  662.  
  663.          ROW DOWN  ()
  664.         Moves the cursor down one line.  If the cursor is at the
  665.         bottom of the window, then the window moves down a line.
  666.  
  667.          HOME  (Home)
  668.         Moves the cursor to the upper left corner of the window.
  669.  
  670.          END OF SCREEN  (End)
  671.         Moves the cursor to the lower left corner of the window.
  672.  
  673.          PAGE UP  (PgUp)
  674.         Moves the window up the length of the window.
  675.  
  676.          PAGE DOWN  (PgDn)
  677.         Moves the window down the length of the window.
  678.  
  679.          START OF FILE  (^PgUp)
  680.         Moves to the start of the file.
  681.  
  682.          END OF FILE  (^PgDn)
  683.         Moves to the end of the file.
  684.  
  685.          WORD RIGHT  (^->)
  686.         Moves the cursor a word to the right.  If the next word
  687.         is not in the window, then the window is repositioned
  688.         with the word centered in the window.
  689.  
  690.          WORD LEFT  (^<-)
  691.         Moves the cursor a word to the left.  If the next word
  692.         is not in the window, then the window is repositioned
  693.         with the word centered in the window.
  694.  
  695.          LEFT OF SCREEN  (^Home)
  696.         Puts the cursor at the left edge of the window.
  697.  
  698.          RIGHT OF SCREEN  (^End)
  699.         Puts the cursor at the right edge of the window.
  700.  
  701.          END OF LINE  (^E)
  702.         Places the cursor at the end of the line.  This may
  703.         involve shifting the window to the right.
  704.  
  705.          GOTO  (^G)
  706.         Goto a specified line of the file.  If the line is
  707.         greater than the number of lines in the file, END OF
  708.         FILE is performed.
  709.  
  710.          TAB  (->| or ^I)
  711.         If fixed tabs are on, the cursor moves right to the next
  712.         tab.  If fixed tabs are off, the cursor moves to the
  713.         right by the tab size columns. If tab insert is on
  714.         then tab size spaces are inserted.
  715.  
  716.          TAB LEFT  (|<- or ^O)
  717.         If fixed tabs are on, the cursor moves left to the next
  718.         tab.  If fixed tabs are off, the cursor moves to the
  719.         left by the tab size columns.
  720.  
  721.          RETURN  (^Enter or ^J)
  722.         Shifts the window to the left edge and place the cursor
  723.         in the first column and down a line.
  724.  
  725.       EDIT
  726.  
  727.          Standard editing operations are available.  The kill buffer
  728.       contains about the last 25 deleted lines.
  729.  
  730.          INSERT/OVERSTRIKE  (Ins)
  731.         Toggles insert and overstrike character mode.
  732.  
  733.          DELETE CHAR  (Del)
  734.         Deletes the current character.
  735.  
  736.          DELETE LINE  (^D)
  737.         Deletes the current line to the Kill buffer.
  738.  
  739.          BACKSPACE  (Backspace or ^H)
  740.         Deletes the previous character.  If the cursor is at
  741.         column one, nothing happens.
  742.  
  743.          BREAK LINE  (^K - mnemonic is krack)
  744.         Breaks the line at the current cursor position.
  745.  
  746.          INSERT LINE  (^I)
  747.         Inserts a line at the current cursor positon.
  748.  
  749.          RETURN & INSERT LINE  (Enter or ^M)
  750.         Performs RETURN and INSERT LINE.
  751.  
  752.          UNDELETE LINE  (^U)
  753.         Inserts a line from the Kill buffer at the current
  754.         line.  That line is deleted from the Kill buffer.
  755.  
  756.          DELETE TO EOL  (^W - mnemonic is waste)
  757.         Deletes the rest of the line.  Undo will undo this
  758.         function.
  759.  
  760.          YANK LINE  (^Y)
  761.         Inserts a line from the Kill buffer at the current
  762.         line.  This allows multiple insertion of the same
  763.         deleted line.  It works as a quick cut and paste.
  764.  
  765.          DELETE BLOCK  (αD)
  766.         Deletes a marked block.
  767.  
  768.          JOIN LINE  (αK)
  769.         Joins the next line to the current line.  A space
  770.         separates the lines.
  771.  
  772.          UNDO  (αU)
  773.         Restores the line to the last edited state.
  774.  
  775.          BREAK & NEXT LINE (αJ)
  776.         Breaks the current line and set cursor to next line
  777.  
  778.          SELF INSERT
  779.         Inserts the character.
  780.  
  781.          DELETE WORD  (^Backspace)
  782.         Deletes the next word.
  783.  
  784.       FILE
  785.  
  786.          BACKUP FILE  (α1)
  787.         Copies the current file to a file with the same name but
  788.         with a .BAK extension.
  789.  
  790.          NEW FILE  (^N)
  791.         Opens a new file to edit in the current window.  If no
  792.         filename is given, a pop-up menu displays a directory.
  793.         Wildcards in the filename can constrain the directory.
  794.         Select the file to edit using the standard menu keys.
  795.         Esc if you do not want to select a file.
  796.  
  797.          WRITE FILE  (αW)
  798.         Write out the file
  799.  
  800.          REREAD FILE  (αN)
  801.         Rereads the file.
  802.  
  803.          SWITCH TO FILE  (αG)
  804.         Switchs to the file under the cursor.  The filename is
  805.         delimited by a non-file character.
  806.  
  807.          INSERT FILE
  808.         Will insert the specified file before the current line.
  809.  
  810.       WINDOWS
  811.  
  812.          Blackbeard is a windowed editor with 13 windows; 10 for
  813.       normal editing, and three for special purposes.  You can edit
  814.       one or more files in the general editing windows.  To edit a
  815.       different file in a window just bring up the window using Ctrl
  816.       and one of the function (F1-F10) keys and press ^N to edit a
  817.       different file.  Note that this does not affect any other
  818.       windows; only the current window you are in.  The current file
  819.       will "follow you around" to the un-initialized windows that
  820.       you move to.  You can select, re-size, and color windows from
  821.       the window sub menu.
  822.  
  823.       ┌─────────────────────────────────────────────────────────────────┐
  824.       │                  Windows and their default sizes                │
  825.       ├──────────────────────────────────────┬──────────────────────────┤
  826.       │  ^F1 - Main window; full screen      │    αF1 - DOS window      │
  827.       │  ^F2 - full screen                   │    αF3 - Paste window    │
  828.       │  ^F3 - left half of screen           │    αF4 - Kill window     │
  829.       │  ^F4 - right half of screen          │                          │
  830.       │  ^F5 - top half of screen            │                          │
  831.       │  ^F6 - bottom half of screen         │                          │
  832.       │  ^F7 - left half of screen           │                          │
  833.       │  ^F8 - right half of screen          │                          │
  834.       │  ^F9 - full screen                   │                          │
  835.       │  ^F10 - full screen                  │                          │
  836.       └──────────────────────────────────────┴──────────────────────────┘
  837.  
  838.  
  839.          WINDOW 1 (^F1)
  840.         Selects window 1.
  841.  
  842.          WINDOW 2 (^F2)
  843.         Selects window 2.
  844.  
  845.          WINDOW 3 (^F3)
  846.         Selects window 3.
  847.  
  848.          WINDOW 4 (^F4)
  849.         Selects window 4.
  850.  
  851.          WINDOW 5 (^F5)
  852.         Selects window 5.
  853.  
  854.          WINDOW 6 (^F6)
  855.         Selects window 6.
  856.  
  857.          WINDOW 7 (^F7)
  858.         Selects window 7.
  859.  
  860.          WINDOW 8 (^F8)
  861.         Selects window 8.
  862.  
  863.          WINDOW 9 (^F9)
  864.         Selects window 9.
  865.  
  866.          WINDOW 10 (^F10)
  867.         Selects window 10.
  868.  
  869.          EXPAND  (αF5)
  870.         Expands the current window to a full screen.
  871.  
  872.          SELECT  (αF6)
  873.         Displays a pop-up menu of windows and their files.
  874.         Select the window desired.  Esc to stay in the current
  875.         window.
  876.  
  877.          MOVE/FRAME  (αF7)
  878.         Moves the current window.  Frame changes the size of the
  879.         window by moving the lower right corner of the window.
  880.         Enter switches modes.  Esc completes moving/framing.
  881.  
  882.          COLOR/B&W  (αF9)
  883.         Turns color on and off.
  884.  
  885.          SELECT COLOR  (αF10)
  886.         Selects the foreground and background color of the
  887.         current window.
  888.  
  889.          KILL WINDOW  (αF4)
  890.         The kill window contains deleted text, which is edited
  891.         like any other window.
  892.  
  893.          PASTE WINDOW  (αF3 or F10)
  894.         The paste window contains the paste buffer which has the
  895.         text you have cut out.  It may be edited like any other
  896.         window.
  897.  
  898.          DOS WINDOW  (αF1)
  899.         The DOS window allows you to interact with DOS in a
  900.         windowed environment.
  901.  
  902.            ┌───────────────────────────────────────────────────────┐
  903.            │ Use caution when in the "DOS window" (αF1). All line  │
  904.            │ oriented commands such as compilers and linkers will  │
  905.            │ work OK. Some programs will trash you royal, use      │
  906.            │ the "exit to DOS" function αF2 for these.             │
  907.            └───────────────────────────────────────────────────────┘
  908.  
  909.  
  910.       FIND & REPLACE
  911.          This section explains how to find strings and replace them
  912.          with other strings.
  913.  
  914.          FIND  (^F)
  915.         Searches the file for a string.  It searchs forward from
  916.         the current position to the end of the file.  You can
  917.         enter special characters into a search string by
  918.         pressing the control key or using the Alt key and the
  919.         numeric keypad.  Esc and Enter abort searching.  To
  920.         enter the character code for Escape use the Alt key pad
  921.         (in num lock mode) and enter 27 (the code for escape).
  922.  
  923.          FIND & REPLACE  (^R)
  924.         Find a string and replaces one string with another.  The
  925.         replacements can be conditional, meaning Blackbeard will
  926.         ask you whether you actually want to replace the string
  927.         before it replaces it.  Replacements can be global,
  928.         meaning replace every occurrence of the string from the
  929.         current cursor position to the end of the file.
  930.  
  931.          REPEAT FIND  (αF)
  932.         Repeats the last search.
  933.  
  934.          REPEAT REPLACE  (αR)
  935.         Repeats the last replace.
  936.  
  937.          SEARCH REVERSE (^S)
  938.         Searchs the file for the requested string from the
  939.         current cursor position backward to the start of the
  940.         file.
  941.  
  942.          REPEAT SEARCH REVERSE (αS)
  943.         Repeats the last search reverse
  944.  
  945.       Regular Expression Search
  946.          The following characters are used to perform reqular
  947.       expression searching.  This set matches the grep utility very
  948.       closely.  We will be integrating a help facility in to the
  949.       search function very soon now.  For now this is what you get.
  950.       This search information is also contained on the distribution
  951.       diskette in the file re.hlp.
  952.  
  953.          x     An ordinary character (not mentioned below) matches
  954.            that character.
  955.  
  956.          \     The backslash quotes any character.  \"\\$\" matches
  957.            a dollar-sign.
  958.  
  959.          ^     A circumflex at the beginning of an expression
  960.            matches the beginning of a line.
  961.  
  962.          $     A dollar-sign at the end of an expression matches the
  963.            end of a line.
  964.  
  965.          .     A period matches any character except \"new-line\".
  966.  
  967.          :a    A colon matches a class of characters described by
  968.            the following
  969.  
  970.          :d    character.  \":a\" matches any alphabetic, \":d\"
  971.            matches digits,
  972.  
  973.          :n    \":n\" matches alphanumerics, \": \" matches spaces,
  974.            tabs, and
  975.  
  976.          :    other control characters, such as new-line.
  977.  
  978.          *    An expression followed by an asterisk matches zero or
  979.           more occurrances of that expression: \"fo*\" matches
  980.           \"f\", \"fo\" \"foo\", etc.
  981.  
  982.          +    An expression followed by a plus sign matches one or
  983.           more occurrances of that expression: \"fo+\" matches
  984.           \"fo\", etc.
  985.  
  986.          -    An expression followed by a minus sign optionally
  987.           matches the expression.
  988.  
  989.          []   A string enclosed in square brackets matches any
  990.           character in that string, but no others.  If the first
  991.           character in the string is a circumflex, the
  992.           expression matches any character except \"new-line\"
  993.           and the characters in the string.  For example,
  994.           \"[xyz]\" matches \"xx\" and \"zyx\", while \"[^xyz]\"
  995.           matches \"abc\" but not \"axb\".  A range of
  996.           characters may be specified by two characters
  997.           separated by \"-\".  Note that, [a-z] matches
  998.           alphabetics, while [z-a] never matches.
  999.  
  1000.       The concatenation of regular expressions is a regular
  1001.       expression.
  1002.  
  1003.       CUT & PASTE
  1004.  
  1005.          There are two types of regions: columns and ragged text.
  1006.       For columns, "mark start" marks the upper left corner and
  1007.       "mark end" marks the lower right corner of the block.  For
  1008.       ragged text, "mark start" marks the start of a region, and
  1009.       "mark end" marks the end of a region.  If "mark start" is
  1010.       pressed with the cursor position after the marked region it
  1011.       extends the region; the converse is true with respect to "mark
  1012.       end." Try it and you will get used to how it works; it works
  1013.       like you would expect it to.
  1014.  
  1015.          MARK START  (F1)
  1016.         Marks the start of a region.
  1017.  
  1018.          MARK END  (F2)
  1019.         Marks the end of a region.
  1020.  
  1021.          GRAB  (F3)
  1022.         Copies the region to the paste buffer.
  1023.  
  1024.          CUT  (F4)
  1025.         Cuts out the region to the paste buffer.
  1026.  
  1027.          SHIFT LEFT  (F5)
  1028.         Shifts the selected lines left by tab size characters.
  1029.  
  1030.          SHIFT RIGHT  (F6)
  1031.         Shifts the selected lines right by tab size characters.
  1032.  
  1033.          COPY  (F7)
  1034.         Copys contents of paste buffer into the current file.
  1035.  
  1036.          PASTE  (F8)
  1037.         Cuts the contents of the paste buffer into the current
  1038.         file.
  1039.  
  1040.          UNMARK  (F9)
  1041.         Resets the markers.
  1042.  
  1043.          PASTE WINDOW  (F10)
  1044.         Selects the paste window for editing.
  1045.  
  1046.          CLEAR PASTE  (F9)
  1047.         Empties the paste buffer.
  1048.  
  1049.       COLUMNS
  1050.  
  1051.          There are two types of regions: columns and ragged text.
  1052.       For columns, "mark start" marks the upper left corner and
  1053.       "mark end" marks the lower right corner of the block.  For
  1054.       ragged text, "mark start" marks the start of a region, and
  1055.       "mark end" marks the end of a region.  If "mark start" is
  1056.       pressed with the cursor position after the marked region it
  1057.       extends the region; the converse is true with respect to "mark
  1058.       end." Try it and you will get used to how it works; it works
  1059.       like you would expect it to.
  1060.  
  1061.          MARK COL START  (F1)
  1062.         Marks the upper left corner of the column.
  1063.  
  1064.          MARK COL END  (F2)
  1065.         Marks the lower right corner of the column.
  1066.  
  1067.          GRAB COL  (F3)
  1068.         Copies the column to the paste buffer.
  1069.  
  1070.          CUT COL  (F4)
  1071.         Cuts the column into the paste buffer.
  1072.  
  1073.          REMOVE COL  (F5)
  1074.         Copies the column to the paste buffer and clears the
  1075.         column in the current file.
  1076.  
  1077.          REPLACE COL  (F6)
  1078.         Overlays the paste buffer column-wise at the current
  1079.         cursor position.
  1080.  
  1081.          COPY COL  (F7)
  1082.         Inserts the paste buffer column-wise at the current
  1083.         cursor positon.
  1084.  
  1085.          PASTE COL  (F8)
  1086.         Inserts the paste buffer column-wise at the current
  1087.         cursor positon and deletes it from the paste buffer
  1088.  
  1089.          CLEAR PASTE  (F9)
  1090.         Empties the paste buffer.
  1091.  
  1092.          SHIFT LEFT  (F5)
  1093.         Shifts the selected lines at the current column to the
  1094.         left tab size columns.
  1095.  
  1096.          SHIFT RIGHT  (F6)
  1097.         Shifts the selected lines at the current column to the
  1098.         right tab size columns.
  1099.  
  1100.          UNMARK  (F9)
  1101.         Clears the markers.
  1102.  
  1103.          PASTE WINDOW  (F10)
  1104.         Selects the paste window for editing.
  1105.  
  1106.       MACROS
  1107.  
  1108.          One of the most powerful Blackbeard features is the
  1109.       keystroke macro capability invoked by pressing ^V.  When ^V is
  1110.       pressed Blackbeard starts remembering keystrokes that you
  1111.       press until ^V is pressed again (the number of keystrokes
  1112.       remembered is about 500).  To reexecute this remembered
  1113.       sequence of keystrokes press ^X.  Blackbeard allows you to
  1114.       name your macros; delete macros you have named; execute named
  1115.       macros; save the macros to a file and read them back in.
  1116.  
  1117.          DEFINE MACRO  (^V)
  1118.         Starts and stops keystroke remembering
  1119.  
  1120.          EXECUTE MACRO  (^X)
  1121.         Executes the current keystroke macro
  1122.  
  1123.          NAME MACRO  (αV)
  1124.         Assigns a name to the current keystroke macro.
  1125.  
  1126.          WRITE MACROS
  1127.         Writes the named macros to a file.  If no filename is
  1128.         given BB.MAC is assumed.
  1129.  
  1130.          READ MACROS
  1131.         Reads in a macro file.  If no filename is given BB.MAC
  1132.         is assumed.
  1133.  
  1134.          EXECUTE NAMED MACRO  (αX)
  1135.         A menu of named macros appears.  Select the desired
  1136.         macro to execute.  This macro now becomes the current
  1137.         macro.
  1138.  
  1139.          DELETE MACRO  (αM)
  1140.         A menu of named macros appears.  Select the macro you
  1141.         want to delete.
  1142.  
  1143.       WORD PROCESSING
  1144.  
  1145.          This section describes the word processing functions.
  1146.  
  1147.          ADJUST PARAGRAPH  (^P)
  1148.         Reformats from the beginning of the current line to the
  1149.         next empty line or the end of the file using the current
  1150.         right margin and the indention level of the following
  1151.         line.  This allows the first line to be a different
  1152.         format than the rest of the paragraph.
  1153.  
  1154.          ADJUST SPECIAL  (αP)
  1155.         Reformats the same as ADJUST PARAGRAPH, except when
  1156.         justifying no spaces are inserted between the first and
  1157.         second word.  This is very useful for bulletted
  1158.         paragraphs.
  1159.  
  1160.          ADJUST BLOCK
  1161.         Reformats from the beginning of the current line to the
  1162.         next empty line or the end of the file using the current
  1163.         right margin and the indention level of the current
  1164.         line.
  1165.  
  1166.          CENTER LINE  (αC)
  1167.         Centers the line.
  1168.  
  1169.          TRANSPOSE  (^T)
  1170.         Swaps the current character with the next character.
  1171.  
  1172.          CHANGE CASE  (αT)
  1173.         Changes the current chararter's case according to the
  1174.         change case mode.
  1175.  
  1176.          CHANGE CASE REGION  (F10)
  1177.         Changes a select region of text to the change case mode.
  1178.  
  1179.          BULLET  (^B)
  1180.         Set an indent column for word wrap.  Wrapped wors are be
  1181.         indented to this column rather than the first column or
  1182.         current line's start column.
  1183.  
  1184.          BULLET OFF  (αB)
  1185.         Turns bullet mode off.
  1186.  
  1187.  
  1188.       OPTIONS/SETTINGS/KEYS/STATUS LINE
  1189.  
  1190.          The options and status line menus work different from the
  1191.       command menu.  The are toggle menus with ON shown as high
  1192.       intensity and OFF as normal intensity.  To toggle an item use
  1193.       the enter key.  Exit with escape.
  1194.  
  1195.          OPTIONS  (^A)
  1196.         Brings up the options menu.  It contains the following
  1197.         information.
  1198.  
  1199.            Insert characters - select insert or overstrike
  1200.                        character insertion
  1201.  
  1202.            Word wrap - words typed past the right margin (see
  1203.                    SETTINGS menu) are wrapped to the next
  1204.                    line.
  1205.  
  1206.            Case sensitive search - Consider (ON) or ignore (OFF)
  1207.                        case when searching for a
  1208.                        string.
  1209.  
  1210.            Auto-tab - Align the cursor to the column of the
  1211.                   current line when inserting lines,
  1212.                   deleting line, and word wrapping.  Return
  1213.                   when in auto-insert and auto-tab uses the
  1214.                   column of the previous line unless the
  1215.                   line is blank where it uses the last
  1216.                   indent value.
  1217.  
  1218.            Auto-insert - Return inserts a line (ON) or simply
  1219.                  goes to the next line (OFF)
  1220.  
  1221.            Fixed-tab - Interpret the tab key as increasing the
  1222.                    indent level (OFF) or as jumping to fixed
  1223.                    tab locations (ON) (tabs are toggled on
  1224.                    and off with αI).
  1225.  
  1226.            Justify - Perform justification (by inserting extra
  1227.                  spaces) when word wrapping and adjusting
  1228.                  paragraphs.
  1229.  
  1230.            Display tabs - Indicates whether to perform a
  1231.                   tab-to-space translation when
  1232.                   displaying the file.  ON means tabs
  1233.                   are not translated, but displayed as
  1234.                   the tab character.  OFF means tabs are
  1235.                   translated to the appropriate white
  1236.                   space
  1237.  
  1238.            Auto backup - ON indicates that a backup of you file
  1239.                  is written to the same filename with a
  1240.                  .BAK extension when you edit the file.
  1241.                  OFF means no backup is made.
  1242.  
  1243.            Regular Expression Search - ON indicates regular
  1244.                            expression searching is
  1245.                            performed.  Off indicates
  1246.                            normal search
  1247.  
  1248.            Insert tabs - On means when the tab function is
  1249.                  executed a tab is inserted.  Off means
  1250.                  the tab only moves the cursor to the
  1251.                  next tab position.
  1252.  
  1253.         WRITE CONFIG
  1254.            Writes the configuration to the filename specified.
  1255.            If none is given BB.CFG is assumed.
  1256.  
  1257.         READ CONFIG
  1258.            Writes the configuration to the filename specified.
  1259.            If none is given BB.CFG is assumed.
  1260.  
  1261.         SETTINGS  (αA)
  1262.            Brings up the settings menu.  It contains the
  1263.            following information.
  1264.  
  1265.            Right margin - Sets the right margin used for word
  1266.                   wrap and paragraph reformatting.
  1267.  
  1268.            Tab size - Sets the tab size used for shifting text
  1269.                   left or right and also used to move the
  1270.                   cursor when the tab function is executed
  1271.                   in non-fixed mode.
  1272.  
  1273.            Line size - Sets the size of the line for line
  1274.                    drawing mode.  0 = dashed line; 1 =
  1275.                    single width; 2 = double width.
  1276.  
  1277.            Case mode - Set the change case mode used with change
  1278.                    case and change case region.  0 = Flip
  1279.                    case; 1 = Upper case; 2 = Lower case
  1280.  
  1281.            Insert number - Sets the number to insert with the
  1282.                    insert number function.
  1283.  
  1284.         STATUS
  1285.            Brings up the status line menu.
  1286.  
  1287.         STATUS COLOR
  1288.            Selects the foreground and background color of the
  1289.            status line.
  1290.  
  1291.         SET DELIMETERS
  1292.            Sets the characters that define what are to be
  1293.            delimeters between words.  Works with right_word,
  1294.            left_word and delete_word and another delimeted type
  1295.            of command.
  1296.  
  1297.        KEY BINDING
  1298.  
  1299.          Information about binding the keys is contained in the file
  1300.       BBC.DOC.
  1301.  
  1302.       Commands
  1303.  
  1304.         SHOW BINDINGS  (α2)
  1305.            Displays the current key to function bindings.
  1306.  
  1307.         WRITE BINDINGS
  1308.            Writes the key bindings to the specified file.  If no
  1309.            filename is given BB.KEY is used.
  1310.  
  1311.         READ BINDINGS
  1312.            Read the key bindings from the specified file.  If no
  1313.            filename is given BB.KEY is used.
  1314.  
  1315.       MISCELLANEOUS
  1316.          There are many miscellaneous functions to satisfy
  1317.       specialized needs.  This section describes these functions.
  1318.  
  1319.         NULL
  1320.            This function does nothing.
  1321.  
  1322.         MENUS  (Esc)
  1323.            Calls up the command menus.
  1324.  
  1325.         REPEAT MENU COMMAND  (αE)
  1326.            Repeats the last menu command.  This key is bound to
  1327.            one of the mouse buttons.
  1328.  
  1329.         EXIT  (^Z)
  1330.            Saves the file and exits Blackbeard
  1331.  
  1332.         ABORT  (αZ)
  1333.            Exits Blackbeard without saving the current file.
  1334.            Useful if you selected a strange file to edit or want
  1335.            to start over.
  1336.  
  1337.         EXIT TO DOS  (αF2)
  1338.            Saves the file; keeps Blackbeard memory resident and
  1339.            returns to DOS.  To return to Blackbeard type EXIT at
  1340.            the DOS prompt.
  1341.  
  1342.         REPEAT KEY (α4)
  1343.            Repeats a key a selected number of times.  You are
  1344.            prompted for the repeat count and then the key to
  1345.            repeat.  To interrupt repeat hit any key.
  1346.  
  1347.         TAB TOGGLE  (αI)
  1348.            Sets and resets a tab stop in fixed tab mode.
  1349.  
  1350.         ASCII CHART  (^C)
  1351.            Displays an ascii chart with DECIMAL, HEX and
  1352.            Character.  Scroll the chart with the left, right, up
  1353.            and down arrows.  Esc to exit.
  1354.  
  1355.         INSERT SPECIAL CHAR  (^Q)
  1356.            Inserts any ascii character specified by number.  If
  1357.            no value is input the character 0 or NUL is
  1358.            inserted.  This is very useful for putting in special
  1359.            printer escape sequences.  The ALT key and the
  1360.            numeric keypad can also perform this function for
  1361.            certain characters, but not the Ctrl keys.
  1362.  
  1363.         LAST DOS COMMAND  (αL)
  1364.            Displays the last DOS command executed in the DOS
  1365.            window.
  1366.  
  1367.         LINE DRAWING  (αQ)
  1368.            BLACKBEARD has a line drawing capability which can be
  1369.            used to make boxes, organization charts, and other
  1370.            line oriented pictures.  It is not a true graphics
  1371.            feature, but instead uses the IBM PC line
  1372.            characters.  You can think of the line drawing as a
  1373.            crude pen plotter.  Press αQ to drop the pen (the αQ
  1374.            is really a toggle, which raises or loweres the
  1375.            pen).  At this point, any cursor movements using the
  1376.            cursor keys will cause a line to be drawn.  You can
  1377.            use the four arrow keys to move left, right, up, and
  1378.            down.  In addition, you can use the four corner keys
  1379.            (1,3,7,9) to move along a diagonal, but the diagonal
  1380.            lines are not as well formed as the horizontal and
  1381.            vertical line.  Here is a sample picture :
  1382.  
  1383.                   ┌───────────┐        ┌─────────────┐
  1384.                   │ Box 1     ├────────┤  Box 2      │
  1385.                   │           │        │             │
  1386.                   └───────────┘        └─────────────┘
  1387.  
  1388.               The boxes are formed by dropping the pen (αQ),
  1389.            moving the cursor, and then lifting the pen (αQ
  1390.            again).
  1391.  
  1392.               The line drawing characters will only print on
  1393.            printers which support the IBM PC character set (such
  1394.            as the IBM Graphics printer, the STAR SG-10, and some
  1395.            EPSONS).  If you do not have one of the correct
  1396.            printers, you can still do some line drawing using a
  1397.            different line width.  BLACKBEARD supports three line
  1398.            widths: 0, 1, and 2.  The picture above is using line
  1399.            width 1, while this (═══════) is line width 2.  Most
  1400.            printers actually print the line width 2 as line
  1401.            width 1.  If this is true of your printer, then line
  1402.            width 2 is useful mainly for on screen text.  Line
  1403.            width 0 draws lines using the standard ASCII
  1404.            characters.  The characters are hyphens (---) for
  1405.            horizontal lines, bars (|) for vertical lines, and
  1406.            plus (+) for corner connectors.  Here is a line width
  1407.            0 box :
  1408.  
  1409.                  +-----------+     +-----------+
  1410.                  |           |     |           |
  1411.                  | Line 0    +-----+  Boxes    |
  1412.                  |           |     |           |
  1413.                  +-----------+     +-----------+
  1414.  
  1415.               These will print on nearly any printer.
  1416.  
  1417.            A few tips for using boxes.  A good way is to build
  1418.            your boxes, and then fill them with text with insert
  1419.            mode off.  The INS key toggle insert mode.  The flags
  1420.            on the bottom status line show an I for insert mode.
  1421.            Insert mode is turned off when the I is not visible.
  1422.  
  1423.       String Replacement/Language Sensitive Editing
  1424.  
  1425.          Blackbead reads in the file BB.LNG (or the file associated
  1426.       with the symbol BBLNG) if present into a "language" window.
  1427.       When the expand language function is executed the symbol at
  1428.       the current cursor position is looked up in this window.  A
  1429.       symbol is designated with either a > or < sign.  If the symbol
  1430.       is designated with a < then the symbol is replaced by the set
  1431.       of lines that follow the symbol upto the next > or < sign or
  1432.       end of file.  If the symbol is designated with a >, then you
  1433.       are prompted for which replacement you want to make from the
  1434.       lines that follow the symbol.  The current BB.LNG file is for
  1435.       most of ADA.
  1436.  
  1437.          There is a limit of about 250 lines in the BB.LNG file.
  1438.  
  1439.          This part of Blackbeard is somewhat experimental (not in
  1440.       terms of reliability but in terms of probability of change).
  1441.  
  1442.       THE MOUSE
  1443.          A mouse is a productive device for cursor movement and
  1444.       command selection.  The mouse makes interaction with the
  1445.       screen simpler, faster, and more spontaneous.
  1446.  
  1447.          Moving the mouse is as natural as moving your hand.  As you
  1448.       move the mouse, the cursor moves on the screen.
  1449.  
  1450.          The right button on the mouse calls up the menu.  The left
  1451.       button selects items.  The pop-up menu is is placed at the
  1452.       cursor location, your eye's focal point.  The menu is the
  1453.       inverse color of the current window.  The menu item currently
  1454.       selected is the color of the current window.
  1455.  
  1456.          When the cursor is positioned over a menu item, pressing
  1457.       the left button selects a command.
  1458.  
  1459.          The right button on the mouse escapes from the menu without
  1460.       selecting an item.  This button also returns to the main mouse
  1461.       menu from within a sub-menu.
  1462.  
  1463.          Blackbeard now includes an INTEGRAL MOUSE DRIVER for the
  1464.       Microsoft Mouse.  The mouse will be automatically available,
  1465.       if the Mouse driver is loaded.  These buttons correspond to
  1466.       Blackbeard commands.
  1467.  
  1468.       Mouse
  1469.       Button      Key         Typical function
  1470.       Left        Enter or    RETURN & INSERT LINE
  1471.               ^M
  1472.  
  1473.       Right       Esc         MENUS
  1474.  
  1475.          Mouse movements are tranlsated into cursor movements; the
  1476.       left button translates to enter selects menu items; the right
  1477.       button translates to escape pop-ups and exits menus.
  1478.  
  1479.       Mouse Systems
  1480.  
  1481.          The Blackbeard distribution diskette includes a mouse menu
  1482.       driver for the Mouse Systems Mouse.  To use the mouse install
  1483.       the PC mouse menu driver by running MOUSESYS (described in
  1484.       your Mouse Systems Manual).  Run the Blackbeard menu program
  1485.       with the following command:
  1486.  
  1487.         M_BB
  1488.  
  1489.          Mouse movements are tranlsated into cursor movements; the
  1490.       left button translates to enter selects menu items; the right
  1491.       button translates to escape pop-ups and exits menus.
  1492.  
  1493.