home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / ENTERPRS / CPM / UTILS / S / TURBTOOL.ARC / README < prev    next >
Text File  |  1989-09-27  |  4KB  |  71 lines

  1. TURBTOOL.LBR DOCUMENTATION
  2.  
  3. This library contains the source from the book "Software Tools in Pascal" 
  4. by B.W. Kernighan and  P.J. Plauger, Addison-Wesley.  It has been adapted
  5. for Turbo Pascal.
  6.  
  7. How to Implement:
  8.  
  9.   Compile SHELL.PAS with the CMD option
  10.   Execute SHELL
  11.  
  12. Accepts redirection, but not pipes.
  13. Bill McGee, 613-828-9130
  14.  
  15. Notes: The version using TURBO is fast enough to make this a useful set of 
  16.        tools for file manipulation.
  17.  
  18.           ------Further Modifications------
  19.  
  20. The primitives in this version are basically the UCSD Pascal versions
  21. presented in the book, with modifications for Turbo Pascal.
  22.  
  23. This version has been modified for use under Turbo Pascal v. 3.0
  24. under CP/M-86.  There are no system dependent statements in the code
  25. to the best of my knowledge, so it should work under MS-DOS as well.
  26.  
  27. The original version (typed in by Bill McGee) was set up for CP/M-80 and
  28. used the CHAIN capability of Turbo Pascal.  I have eliminated that
  29. feature in favor of using INCLUDE files.  There is not enough memory
  30. available in a CP/M-80 system for this version, but one could modify
  31. the include file list to eliminate unwanted features or to make more
  32. than one version, (e.g. break out EDIT, FORMAT, and DEFINE).
  33.  
  34. There was really only one change required to the McGee's original to get
  35. it to work with version 3.0.  A readln(TRM) had to be added in the
  36. subroutine GETKBD.  The change to CP/M-86 required replacing all calls
  37. to the procedure BDOS(0,0) with HALT.  This change works with the CP/M-80
  38. version of Turbo Pascal v. 3.0 as well.  Thus, as anyone can see, all of
  39. the hard work was done by Bill.
  40.  
  41. (Adaption to version 3.0 of Turbo Pascal by Jim Potter, (505) 662-5804.)
  42.  
  43. Please note that this is copyright software.  The following notice has
  44. been included with each file and should not be removed.
  45.  
  46. +-------------------------------------------------------------------------+
  47. |       Copyright (c) 1981                                                |
  48. |       By:     Bell Telephone Laboratories, Inc. and                     |
  49. |               Whitesmith's Ltd.,                                        |
  50. |                                                                         |
  51. |       This software is derived from the book                            |
  52. |               "Software Tools in Pascal", by                            |
  53. |               Brian W. Kernighan and P. J. Plauger                      |
  54. |               Addison-Wesley, 1981                                      |
  55. |               ISBN 0-201-10342-7                                        |
  56. |                                                                         |
  57. |       Right is hereby granted to freely distribute or duplicate this    |
  58. |       software, providing distribution or duplication is not for profit |
  59. |       or other commercial gain and that this copyright notice remains   |
  60. |       intact.                                                           |
  61. +-------------------------------------------------------------------------+
  62.  
  63. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  64. Notes by Luis Basto
  65.  
  66. A couple of lines in the file SHELL.PAS was corrupted during transfer.  I have
  67. re-constructed them as best as possible.  The files will compile and as noted 
  68. above the entire 8 chapters cannot be compiled under CP/M-80 but you can make a
  69. useful subset by commenting out unneeded features or make 2 versions of SHELL.
  70. Please upload any fixes or comments.  Enjoy.
  71.