home *** CD-ROM | disk | FTP | other *** search
/ Boston 2 / boston-2.iso / DOS / PROGRAM / DATABASE / FBASE / FBASE.DOC < prev    next >
Text File  |  1993-12-01  |  20KB  |  730 lines

  1.                       
  2.  
  3.               ╔══════════════════════════════════════════════════╗
  4.               ║                                                  ║
  5.               ║   FREEBASE - Free Form Database Program  v1.2    ║
  6.               ║                                                  ║
  7.               ║              -- by Glynn Shaffer  --             ║
  8.               ║                                                  ║
  9.               ╚══════════════════════════════════════════════════╝
  10.  
  11.  
  12.         Documentation File for FREEBASE version 1.2    Mar 28, 1988
  13.  
  14.         Comments may be directed to the author:
  15.  
  16.              Glynn Shaffer
  17.              701 Carquinez Way
  18.              Martinez, CA  94553
  19.                                  or via MARBBS  415-229-2743
  20.                                                 300/1200  24 hrs
  21.  
  22. {help  
  23. ~
  24.  
  25.     FREEBASE is a free form data base program that features:
  26.  
  27.  
  28.  >  FREE FORM data entry using any ASCII text editor.
  29.  
  30.  >  RAPID SEARCH and unlimited narrowing of the search records by subsequent
  31.     searches using case insensitive search strings.
  32.  
  33.  >  Ability to PRINT search records.
  34.  
  35.  >  Ability to WRITE search records to a disk file.
  36.  
  37.  >  KEYWORDS to link records.
  38.  
  39.  
  40.     The default filename is ADDR.DB   It may be loaded initially by 
  41.  
  42.     just pressing <cr>.
  43.     
  44.  
  45. {help 
  46. ~
  47.     FREEBASE v1.2  HELP SCREEN
  48.  
  49.                                                                               
  50.                            ╔════╗   ╔════╗                                    
  51.                    HELP    ║ F1 ║   ║ F2 ║    NEW FILE                        
  52.                            ╚════╝   ╚════╝    Input a new Data File           
  53.                            ╔════╗   ╔════╗                                    
  54.     SEARCH for a String    ║ F3 ║   ║ F4 ║    SEARCH for a String             
  55.          in ALL Records    ╚════╝   ╚════╝    in Search Records ONLY          
  56.                            ╔════╗   ╔════╗                                    
  57.  DISPLAY Search Records    ║ F5 ║   ║ F6 ║    DELETE Search Record            
  58.                            ╚════╝   ╚════╝           from que                 
  59.                            ╔════╗   ╔════╗                                    
  60.    WRITE Search Records    ║ F7 ║   ║ F8 ║    PRINT Search Records            
  61.          to a Disk File    ╚════╝   ╚════╝                                    
  62.                            ╔════╗   ╔════╗                                    
  63.          KEYWORD Search    ║ F9 ║   ║ F10║    Temporary DOS                   
  64.                            ╚════╝   ╚════╝    Type 'EXIT'to Return            
  65.                                                                               
  66. ══════════════════════════════════════════════════════════════════════════════
  67.     Command ?                                             F1 or Esc to EXIT
  68. {
  69. ~
  70.  
  71.     ╔════╗
  72.     ║ F1 ║    HELP
  73.     ╚════╝
  74.  
  75.  
  76.     -- COMMAND MENU with HELP
  77.  
  78.     Pressing the F1 key will bring up the HELP screen shown on the previous
  79.     page.
  80.  
  81.     At this point you may enter any other Function Key Command.
  82.  
  83.     Pressing F1 again or Esc will return you to the Records display screen.
  84.  
  85.  
  86.     Pressing Esc while viewing records will bring up the Command prompt
  87.     without the HELP SCREEN.
  88.  
  89.     Pressing Esc again will EXIT the program.
  90.  
  91. {
  92. ~
  93.  
  94.     ╔════╗                         
  95.     ║ F2 ║    NEW FILE             
  96.     ╚════╝    Input a new Data File
  97.  
  98.  
  99.     -- NEW FILE MENU
  100.  
  101.     Pressing F2 will bring up a DIRectory listing of all data files with
  102.     an extension of .DB and a prompt asking for a DATA filename to load.
  103.  
  104.     It is NOT necessary to type the extension of any .DB file,
  105.     just the FILENAME  (no period).
  106.  
  107.     Files with ANY extension may be loaded.  Type the FULL filename.
  108.  
  109.     Data files must be on the logged drive or in the current subdirectory.
  110.  
  111.     FBASE.EXE may be on another drive or in another subdirectory, but
  112.     the DOS PATH must be set to include that drive or subdirectory.
  113.  
  114. {
  115. ~
  116.  
  117.     ╔════╗
  118.     ║ F3 ║    SEARCH for a String 
  119.     ╚════╝         in ALL Records 
  120.  
  121.  
  122.     -- SEARCH MENU
  123.  
  124.     Pressing F3 will bring a prompt asking for a SEARCH string.
  125.  
  126.     The search string is not case sensitive, SMITH, Smith or smith will 
  127.     bring up all records containing the word Smith.
  128.  
  129.     The search string should be long enough to eliminate unwanted records 
  130.     but should be as short as possible for speedy searches.
  131.  
  132.     All matching records are placed in a circular que and are displayed 
  133.     after the end of the search.
  134.  
  135.     They may be examined by using Page Down or Page Up.
  136.  
  137. {
  138. ~
  139.  
  140.     ╔════╗                         
  141.     ║ F4 ║    SEARCH for a String  
  142.     ╚════╝    in Search Records ONLY
  143.  
  144.  
  145.     -- SECOND SEARCH MENU
  146.  
  147.     Pressing F4 brings up a prompt asking for a SECOND SEARCH STRING.
  148.  
  149.     This time only the records found in the circular que are scanned for
  150.     a matching string.
  151.  
  152.     The Status Lines show the records being scanned and matches found.
  153.  
  154.     The matching records are again placed in a circular que and may be
  155.     viewed by using Page Down or Page Up.
  156.  
  157.     The F4 key may be used as many times as necessary to narrow the
  158.     Search Records.
  159.  
  160. {
  161. ~
  162.  
  163.     ╔════╗
  164.     ║ F5 ║    DISPLAY Search Records
  165.     ╚════╝
  166.  
  167.  
  168.     -- DISPLAY RECORDS          - default mode after most functions.
  169.  
  170.     Pressing F5 will display ALL records if there is no que of matching
  171.     SEARCH RECORDS. 
  172.  
  173.     If there is a que of Search Records then they are displayed.
  174.  
  175.     Page Down or Page Up will allow you to examine each record.
  176.  
  177.  
  178.     Pressing Esc while viewing records will bring up the Command prompt
  179.  
  180.     without the HELP SCREEN.   F5 will return you to the Record Display.
  181.  
  182.  
  183. {
  184. ~
  185.  
  186.     ╔════╗
  187.     ║ F6 ║    DELETE Search Record 
  188.     ╚════╝           from que      
  189.  
  190.  
  191.     -- DELETE RECORD
  192.  
  193.     Pressing F6 will allow you to delete the currently displayed record from 
  194.     the que.
  195.  
  196.     It will ask if you want to delete this record and you must answer Y or y. 
  197.     Any other key will abort the deletion.
  198.  
  199.     NO RECORDS are deleted from your original DATA File, only from the
  200.     SEARCH RECORDS que.
  201.  
  202.     If you accidentally delete a record that you wanted, you will have to
  203.     build a new que by initiating a new search with the F3 key.
  204.  
  205.  
  206. {
  207. ~
  208.  
  209.     ╔════╗
  210.     ║ F7 ║    WRITE Search Records 
  211.     ╚════╝          to a Disk File 
  212.  
  213.  
  214.     -- WRITE DISK FILE
  215.  
  216.     Pressing F7 will bring up a prompt asking for a new file name for 
  217.     the records.
  218.  
  219.     ALL records in the SEARCH RECORDS que will be placed into the new file. 
  220.  
  221.     The file may then be loaded back into FREEBASE with the F2 key or
  222.     may be merged into a word-processing file or another database file.
  223.  
  224.     If there are NO records in the Search Records Que then ALL records are
  225.     written to the new file along with EndOfRecord markers and EndOfFile 
  226.     marker.
  227.                 Useful for formatting standard ASCII files to be edited for 
  228.                 FREEBASE files
  229. {
  230. ~
  231.  
  232.     ╔════╗
  233.     ║ F8 ║    PRINT Search Records
  234.     ╚════╝
  235.  
  236.  
  237.     -- PRINT Search Records
  238.  
  239.     Pressing F8 will print all SEARCH records.
  240.  
  241.     Lines containing a RESERVED CHARACTER, back apostrophe (`), tilde ( ),
  242.     left curly bracket ({), or right curly bracket ( ) will not be printed.
  243.  
  244.     A blank line will also not be printed.
  245.     If you DO want to print a blank line it must contain at least one space.
  246.  
  247.     This will allow both screen and printer formatting.
  248.  
  249.  
  250.  
  251.  
  252. {
  253. ~
  254.  
  255.     ╔════╗
  256.     ║ F9 ║    KEYWORD Search
  257.     ╚════╝
  258.  
  259.  
  260.     -- KEYWORD Search Menu
  261.  
  262.     Pressing F9 brings up a prompt asking for a Keyword.
  263.  
  264.     The keyword that is entered will have the KEYWORD reserved character ({)
  265.     added automatically and will search ALL records.
  266.  
  267.     This search is identical to the F3 search, except only the {keywords
  268.     are searched.
  269.  
  270.     This key input is very useful for MENU type databases.
  271.  
  272.  
  273.  
  274.  
  275. {
  276. ~
  277.  
  278.     ╔════╗
  279.     ║ F10║    Temporary DOS        
  280.     ╚════╝    Type 'EXIT'to Return 
  281.  
  282.  
  283.     -- TEMPORARY RETURN TO DOS 
  284.  
  285.     Pressing F10 will temporarily suspend program operation and return
  286.     you to the DOS prompt.
  287.  
  288.     DOS commands such as DIR may be used or another program may be run.
  289.  
  290.     Database .DB files may be edited using your favorite text editor,
  291.     then re-loaded into FREEBASE by the F2 key.
  292.  
  293.     Typing   EXIT  will return you to FREEBASE.
  294.  
  295.     Since FREEBASE is not a TSR program, this is an excellent way to
  296.     keep it in the background, ready to bring up your database information
  297.     quickly.
  298. {
  299. ~
  300.  
  301.     -- BUILDING A DATA BASE FILE
  302.  
  303.     Any ASCII wordprocessor or text editor may be used to create a 
  304.  
  305.     free form data base file.  I highly recommend  EDIT345.  The  numbered
  306.  
  307.     lines make it easy to keep track of screen records, since each record
  308.  
  309.     is 23 lines and EDIT345 displays 23 lines.
  310.  
  311.  >  The first 21 lines are available for your data base information.
  312.  
  313.  >  A Keyword marker ({) MAY be on line 22.
  314.  
  315.  >  An EndOfRecord marker (tilde) MUST be on the bottom line, line 23.
  316.  
  317.     Only FOUR characters are reserved for use by FREEBASE.
  318.  
  319.     The TILDE, BACK APOSTROPHE  and  Left and Right CURLY BRACKETS.
  320.  
  321. {
  322. ~
  323.  
  324.     Reserved Character --
  325.  
  326.  
  327.  
  328.  
  329. --- The TILDE ( ) is used for an END OF RECORD marker and may be used on
  330.  
  331.     any line up to and including line 23, but it must be the  only character
  332.  
  333.     on the line.  Other characters on a line with a tilde will not be 
  334.  
  335.     included if you WRITE the Search Records to a new file.
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344. {
  345. ~
  346.  
  347.     Reserved Character --
  348.  
  349.  
  350.  
  351.  
  352. --- The BACK APOSTROPHE (`) is used only if you have a keyword list at
  353.  
  354.     the beginning of your data file.  A search using keywords will
  355.  
  356.     always bring up the keyword list as the first record found and
  357.  
  358.     displayed at the end of the search, and this is probably not what
  359.  
  360.     you are really interested in finding.  So the keyword list is tagged
  361.  
  362.     with a back apostrophe and the next record is displayed at the end
  363.  
  364.     of the search.
  365.  
  366.  >  The back apostrophe must be on the FIRST line of the record.
  367. {
  368. ~
  369.  
  370.     Reserved Character --
  371.  
  372.  
  373.  
  374.  
  375. --- The Left Curly Bracket ({) is used as a marker for KEYWORDS
  376.  
  377.     The Keywords should be placed on the line preceeding the EndOf Record
  378.  
  379.     marker or line 22 for a full screen record. 
  380.  
  381.  
  382.     Altho any character may be used as a keyword marker, only those
  383.  
  384.     Keywords marked with a left curly bracket ({) will be searched 
  385.  
  386.     using the F9 Key and will not be visible in the record.
  387.  
  388.     Keywords are entered as a search string: {help or {food  for example.
  389.  
  390. {
  391. ~
  392.  
  393.     Reserved Character --
  394.  
  395.  
  396.  
  397.  
  398. --- The Right Curly Bracket ( ) is used as an EndOfFile marker.
  399.  
  400.     If it is omitted the last record in the file may not be loaded.
  401.  
  402.     The marker should be followed by a carriage return-line feed, or
  403.  
  404.     a blank line.
  405.                     
  406.     Any other characters in the IBM extended character
  407.     set may be used as part of the database record.
  408.  
  409.  
  410.  
  411.  
  412.  
  413. {
  414. ~
  415.  
  416.     The default data file is  ADDR.DB  but other data files or ASCII text
  417.     files may be loaded initially or by use of the F2 function key.
  418.  
  419.     Data files are limited to 100 records of 21 lines each, 80 characters 
  420.     per line,  with a Keyword marker on line 22, and an EndOfRecord marker
  421.     on line 23.
  422.  
  423.     Each record MUST end with a tilde, (EndOfRecord) marker.
  424.  
  425.     Other than those limitations, any text can go into a data record.
  426.     Name-Address-Telephone data, recipes, VCR tape data, customer lists,
  427.     coin or stamp collection data, miscellaneous notes or reminders,
  428.     just about any database that will fit into 21 lines per record.
  429.  
  430.     Think of it as a cardfile with 100 blank cards that may be filled
  431.     with any information that you may want to retrieve rapidly.
  432.  
  433.  
  434.  
  435.  
  436. {
  437. ~
  438.  
  439.     Data may be searched by straight text or by use of hidden KEYWORDS
  440.  
  441.     in each data record. 
  442.  
  443.  
  444.     The EndOfRecord marker (tilde) should be placed on line 23 of the 
  445.  
  446.     data file for a FULL screen record, but may be placed on any line 
  447.  
  448.     before line 23 for shorter records.  The EndOfRecord marker should
  449.  
  450.     be the only thing on the line.
  451.  
  452.     Keywords should be marked by a curly left bracket so that you
  453.  
  454.     may enter {help  or {food as a search string,  for example.
  455.  
  456.     The Keywords should be placed on line 22 of the record or on the
  457.  
  458.     line immediately BEFORE the EndOfRecord marker for shorter records.
  459. {
  460. ~
  461.  
  462.     Load this file (FBASE.DOC) and the other demonstration database files 
  463.  
  464.     into your favorite word processor or text editor for examples of
  465.  
  466.     keywords and EndOfRecord markers.
  467.  
  468.  
  469.     The sample Address database file (ADDR.DB) may be edited to include
  470.    
  471.     your own  Name and Address records if you do not already have them in 
  472.  
  473.     an ASCII text file that can be loaded into FreeBase.
  474.  
  475.     ASCII text files that are loaded into FreeBase may be written to a 
  476.  
  477.     new file.  Keyword markers, EndOfRecord markers and EndOfFile Markers
  478.  
  479.     will be automatically added.  The file will undoubtedly require further
  480.  
  481.     editing, but at least the Reserved Character markers will be in place.
  482. {
  483. ~
  484.  
  485.     -- KEYWORDS
  486.  
  487.     Line 22 of the data base record is reserved for keywords.
  488.  
  489.     Keywords should have a distinctive marker so that searches will
  490.  
  491.     not pick up the same words in text.  The left curly bracket ({)
  492.  
  493.     is the reserved character for keywords.
  494.  
  495.  
  496.     The F9 function key automatically adds this character to the
  497.  
  498.     to the input SEARCH string.
  499.  
  500.  
  501.     Menus may be created and used efficiently with the F9 key.
  502.  
  503.     The Menu should have all keywords (letters or numbers) on
  504.  
  505. {
  506. ~
  507.  
  508.     line 22 and also the reverse apostrophe on line 1 so that
  509.  
  510.     the menu will be part of the que of each search and can
  511.  
  512.     be used for additional searches.  See the sample file
  513.  
  514.     RECIPE.DB for a demonstration of a MENU type database.
  515.  
  516.     Keywords can also be entered using the F3 key, but you must
  517.  
  518.     enter the left curly bracket before the keyword.
  519.  
  520.     The full keyword does not have to be entered in the search string,
  521.  
  522.     only enough to distinguish it from other keywords.
  523.  
  524.     For instance  {d  would match both  {doctor  and  {dentist 
  525.  
  526.     but  {do  would only match {doctor. 
  527.  
  528. {
  529. ~
  530.  
  531.     -- DATA BASE SIZE
  532.  
  533.     The limit on data base size is 100 RECORDS and a DATA FILE size of
  534.  
  535.     about 45k bytes.  If your data base file grows over 45k it is time to
  536.  
  537.     split it up into 2 separate files.   The smaller files will search
  538.  
  539.     much faster than a larger file and the second file may be quickly 
  540.  
  541.     loaded with the F2 key.  The default file extension is .DB and any
  542.  
  543.     file with this extension may be loaded by typing only the filename
  544.  
  545.     WITHOUT the period or extension.  Other files may be loaded by typing
  546.  
  547.     in the FULL filename AND extension. 
  548.  
  549.  
  550.  
  551. {
  552. ~
  553.  
  554.     -- SPEEDING THE SEARCH
  555.  
  556.     Eventually your data base may grow enough to slow down the search  
  557.  
  558.     considerably.  The data base file should not have any trailing spaces
  559.  
  560.     or blank lines containing 80 spaces if you want maximum speed.
  561.  
  562.     Every character in the file is examined during a search.  It may
  563.  
  564.     be possible to split your data base into two or more smaller 
  565.  
  566.     data bases that can be loaded by using the F2 key.  If not you
  567.  
  568.     can always start looking at the new 386 machines!
  569.  
  570.  
  571.  
  572.  
  573.  
  574. {
  575. ~
  576.  
  577.     -- WHY FREEBASE ? 
  578.  
  579.     This program was created because there was no other Public Domain 
  580.  
  581.     or Shareware that would quite fill the bill.  Similar programs were
  582.  
  583.     too limited in the amount of records handled,  couldn't read in new
  584.  
  585.     files and were difficult or could not import and export ASCII files.  
  586.  
  587.     Standard database programs are far too structured to be of use as
  588.  
  589.     a general database.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597. {
  598. ~
  599.  
  600.     -- WHY NOT ?
  601.  
  602.     A text editor is not included, because everyone has their favorite,
  603.  
  604.     and most built in text entry is a poor substitute for a really good
  605.  
  606.     text editor.  FreeBase provides a quick way to exit to DOS via the
  607.  
  608.     F10 key.  You may then edit the database file with your own, familiar
  609.  
  610.     text editor, and return to FreeBase and load the edited file back in
  611.  
  612.     by using the F2 key.  EDIT345 is my favorite text editor and is ideal
  613.  
  614.     for editing FreeBase data files because of the numbered lines available.
  615.  
  616.  
  617.  
  618.  
  619.  
  620. {
  621. ~
  622.  
  623.     -- WHY NOT ?
  624.  
  625.     FreeBase is also not a TSR program.  Most of us have had more than our
  626.  
  627.     share of problems trying to get TSR's to co-exist.  The DOS shell is
  628.  
  629.     again a good way to have some of the advantages of a TSR without the
  630.  
  631.     problems.  By typing EXIT you can immediately return to FreeBase with
  632.  
  633.     your database and search records intact.
  634.  
  635.  
  636.     FreeBase doesn't have a cut and paste function either.  There are a number
  637.  
  638.     of public domain programs that will do the job if you need that function.
  639.  
  640.     SNIPPER.COM is one that works very well.  
  641.  
  642.  
  643. {
  644. ~
  645.  
  646.     -- WHY NOT ?
  647.  
  648.     FreeBase is NOT an integrated program that tries to do ALL things and ends
  649.  
  650.     up doing NONE of them very well, like many pieces of commercial software.
  651.  
  652.  
  653.     FreeBase IS a Free Form Data Base program with the minimum amount of 
  654.  
  655.     functions that a database program must have, and it works well.
  656.  
  657.     I hope you like it.
  658.  
  659.  
  660.     Comments may be addressed to the author:
  661.  
  662.                 Sysop,  MARBBS -- 415-229-2743 -- 300/1200 -- 24hrs
  663.  
  664.  
  665.  
  666. {
  667. ~
  668.  
  669.     -- HISTORY
  670.  
  671.     FREEBASE was originally written in Z80 assembly language in 1985
  672.  
  673.     Special thanks must go to Richard B. Johnson, sysop of The Program Exchange
  674.  
  675.     for the original concept in his system HELP file.  That program was
  676.  
  677.     revised and renamed  ADDR1.COM.  It was later modified as a video tape
  678.  
  679.     and general purpose database and was called FREEBASE.COM.
  680.  
  681.     The MS-DOS version has been completely rewritten in QuickBASIC v4.0 and 
  682.  
  683.     has several added features.
  684.  
  685.     Special thanks must also go to Bill Moon for his help with the
  686.  
  687.     QuickBASIC compiler.  
  688.  
  689. {
  690. ~
  691.  
  692.  
  693.  
  694.     FREEBASE has been placed in the public domain by the author
  695.     and a $5 registration fee is requested if you use the program 
  696.     and find it to be useful.
  697.  
  698.     In any case, please feel free to copy and share this program with 
  699.     others.
  700.  
  701.     I will only support those who contribute toward the development of this
  702.     SHAREWARE product, but I will accept useful suggestions from ANYBODY!     
  703.                   
  704.                                                                            
  705.     The address to send the registration fee is:                      
  706.                                                                            
  707.  
  708.                                Glynn Shaffer
  709.                                701 Carquinez Way
  710.                                Martinez, CA  94553
  711.  
  712. {
  713. ~
  714. }
  715.  
  716. FREEBASE DOCumentation File version 1.0 created Mar 12, 1988
  717. FREEBASE DOCumentation File version 1.1 revised Mar 19, 1988
  718. FREEBASE DOCumentation File version 1.2 revised Mar 24, 1988
  719. FREEBASE DOCumentation File version 1.2 revised Mar 28, 1988
  720.  
  721.  
  722.  
  723.    
  724.  
  725.  
  726.  
  727. {help 
  728. ~
  729.  
  730.