home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume3 / turbo_tools / part0 next >
Encoding:
Internet Message Format  |  1986-11-30  |  3.2 KB

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