home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / db2shl20.zip / DB2SHELL.DOC < prev    next >
Text File  |  1987-02-14  |  7KB  |  166 lines

  1.  
  2.             ==== DOCUMENTATION FOR DB2SHELL.CMD ====
  3.  
  4.                            version 2.0
  5.  
  6.                    A dBASEII(tm) Command File
  7.                           By Jim Gronek
  8.                            05/31/1985
  9.  
  10.         DB2SHELL  is  a  multi-purpose  program  written  in  the
  11. dBASEII  applications language.   DB2SHELL provides most  of  the
  12. capabilities of dBASE at the command level, and MANY capabilities
  13. to enhance your utilization of dBASE,  all under a friendly menu-
  14. driven  'shell' that provides constant feedback,  and control  of
  15. activity.
  16.  
  17.  
  18.         DB2SHELL  was initially derived from the excellent multi-
  19. file set of database management routines included in DB2-CMD.LBR.
  20. There were 41 separate command files,  taking up a minimum of 41K
  21. on  any disk.  On my Hard Disk Kaypro 10,  the set occupied  over
  22. 168K, due to the 4K sector size on the disk.
  23.  
  24.         I  really  liked the concept of  an  all-in-one  database
  25. utility  that  provides  a  more friendly  environment  than  the
  26. standard DBASEII command level.  I didn't like the way it ate  up
  27. space  on my disks,  or the way many of the user update  displays
  28. were presented, hence, DB2SHELL.CMD.
  29.  
  30.         In its first iterations, DB2SHELL was little more than an
  31. expanded and consolidated grouping of the DB2-CMD files.   Around
  32. version 1.3,  DB2SHELL began to take on a life of its own, adding
  33. many  significant  features  that  go  FAR  beyond  the  original
  34. routines.   DB2SHELL  has  become a prime example of what can  be
  35. created from the fruits of the Public Domain.  It is a collection
  36. of techniques gleaned from many authors,  and is certainly beyond
  37. the  capabilities  of  all but the most  experienced  of  dBASEII
  38. programmers to fully understand.
  39.  
  40.         DB2SHELL  provides  all of its capabilities in  only  six
  41. files.  DB2SHELL.CMD is the main program driver, to use just type
  42.  
  43.                     A>DBASE DB2SHELL<cr>.
  44.  
  45.  
  46.         There are three files that YOU must modify to realize the
  47. full capability of the program:
  48.  
  49.         SETPRINT.CMD  - A  command file  containing  the  control
  50. codes for your printer.  Change whatever you need to, you may add
  51. up  to  13  new memory variables,  but do not alter  any  of  the
  52. existing  memory  variable names in SETPRINT.CMD if you  wish  to
  53. maintain compatibility.
  54.  
  55.         APPLMENU.CMD  - A command file containing a list of  YOUR
  56. DBASEII applications.  Use APPLMENU.CMD from this set of files as
  57. an  example.  The same cautions apply about memory variables here
  58. as SETPRINT.CMD.
  59.  
  60.         CLEARSEQ.CMD - A command file containing the CLEAR SCREEN
  61. and CLEAR TO END-OF-LINE control sequences for your terminal.
  62.  
  63.  
  64.             ================ NOTICE =================
  65.  
  66.         DB2SHELL.CMD  has  been encoded to improve its  speed  of
  67. execution and reduce its physical size.  It CANNOT be listed,  or
  68. modified externally.  Only the three support files, SETPRINT.CMD,
  69. APPLMENU.CMD  and  CLEARSEQ.CMD need be  customized  anyway.
  70.  
  71.         The program uses two additional files,  DB2SHELL.HEX  and
  72. TEMPLATE.DBF  for  two of its functions.  If TEMPLATE.DBF is  not
  73. available when needed, DB2SHELL will notify you of that fact, and
  74. allow  you to create it from the menu.  DB2SHELL.HEX is  utilized
  75. for the 'type' routine.
  76.  
  77.         DB2SHELL.CMD  will  run  on any  computer  under  DBASEII
  78. version  2.4  or  2.41.  I doubt that it will execute  under  any
  79. earlier version. Enjoy.
  80.  
  81.           ================ REVISIONS =================
  82.  
  83.         Version  1.1 allows default drives up to 'D',  instead of
  84. 'C',  and fixed a bug in display routine to allow viewing of last
  85. record in database.
  86.  
  87.         Version  1.2 adds the ability to print a 'GRAPH'  of  the
  88. database structure in use.
  89.  
  90.         Version 1.2KP has Kaypro 2/4/10 specific video codes.  It
  91. may  also  run  on  other ADM-3A type  terminals,  but  I  cannot
  92. guarantee success.
  93.  
  94.         Version  1.3 and 1.3KP have numerous coding  improvements
  95. to  speed  execution,  and a bug in the 'compress'  function  was
  96. repaired.
  97.  
  98.         Version 1.4 has numerous coding changes to improve error-
  99. checking,  improve displays,  and speed execution.  Additionally,
  100. version  1.4 incorporates routines from Adam B.  Green's book  on
  101. Advanced dBASEII Programming that formats .CMD files for analysis
  102. and documentation purposes.
  103.  
  104.         Version   1.5  has  improved  cosmetics,   controls   and
  105. functions.  The date entered is now saved to disk as  SYSDATE.MEM
  106. and  is  used to initialize the SET DATE function upon  entry  to
  107. DB2SHELL.  The  system  date is also  validated  accurately.  The
  108. command  file formatter will now process command lines containing
  109. the continuation character (;).  Command files may also be output
  110. with  or  without line numbers.  Menu items have  been  added  to
  111. execute  any dBASE2 command file and to exit from DB2SHELL to any
  112. CP/M  command  line.  The  most significant new  feature  is  the
  113. addition  of  a menu item to create a MailMerge  compatible  file
  114. from any dBASE II file.  The process is entirely menu driven  and
  115. permits  selection  of fields to be included in the output  file.
  116. Also  added screen and line clearing customization by means of  a
  117. command file. Command file independence for applications has been
  118. enhanced  by  saving  all  DB2SHELL  memory  variables  prior  to
  119. invoking  application  command files,  and  restoring  them  upon
  120. return.
  121.  
  122.         Version 1.6 restores the ability to run DB2SHELL from any
  123. disk,  not  just  from A>.  Corrected a nesting bug in  the  CASE
  124. portion of the command file formatter.
  125.  
  126.         Version  2.0 is a major rewrite of parts of the  program.
  127. Some  of  the redundant options have  been  combined,  and  THREE
  128. significant new capabilities have been added:
  129.  
  130.           1.  Menu selectable Directory Display.
  131.  
  132.           2.  The ability to 'type' an ASCII file to the console,
  133. either squeezed or unsqueezed, even from within a library.
  134.  
  135.           3.   The  ability  to  purge  almost  any  database  of
  136. duplicate records.
  137.  
  138.           Version 2.0 also has improved error checking and faster
  139. response time to menu choices.
  140.  
  141.  
  142.                ==== SOURCE CODE AVAILABILITY ====
  143.  
  144.         DB2SHELL is distributed as an encoded file.  It cannot be
  145. listed  or  modified.  The modules for most of the functions  are
  146. available in the original library DB2-CMD.LBR,  but those modules
  147. have   been  'SIGNIFICANTLY'  modified  for  use   in   DB2SHELL.
  148. Additionally,  DB2SHELL  incorporates certain techniques that may
  149. be instructive for the dBASEII Applications Developer.
  150.  
  151.         Unencoded  source code is available for  $15.00,  if  you
  152. pick it up from my RCP/M, or $25.00 on diskette through the U. S.
  153. Mail.  Two versions of the source code will be supplied, one that
  154. is indented and nested, and one that has been 'trimmed' for speed
  155. of  execution.  Send  cash,  check or money order to the  address
  156. listed  below.  Cash  or money order purchases  will  be  shipped
  157. within 48 hours of receipt.  Allow 14 days for personal checks to
  158. clear.
  159.  
  160. Jim Gronek, Sysop
  161. Lost Dutchman's Gold Mine RCP/M
  162. Post Office Box 23866
  163. Phoenix,  Az.  85063
  164. 602-848-6708 300-1200 Baud  24  Hrs, unless in use
  165.  
  166.