[net.lang.pascal] Software Tools in Pascal

clewis@mnetor.UUCP (Chris Lewis) (05/22/85)

I have finally gotten around to reading in my tape of Kernighan
and Plauger's "Software Tools in Pascal" software sources.  I had typed
it in several years ago and got it to work quite well on a VM/CMS
Rel 6. system using Pascal/VS:  

	- It should be portable to newer SP CMS's without any changes
	- It should run under MVS Pascal/VS provided you modify
	  the initialization and file I/O primitives somewhat.
	- It should be modifiable to run on any Pascal system
	  provided it supports separate compilation (each generic
	  subfunction was linked rather than included), include files,
	  strings (of some sort) and reasonable I/O (eg: "open-by-name").

These tools support command line I/O redirection and proper "getargs"
(particularly with SP3 when the REX interfaces will allow you to
avoid tokenization and uppercasing).  You can even write an EXEC
to simulate the UNIX shell w.r.t. pipes on VM/CMS!

These are the tools I had running (some of these are not from
the Swtools book):

	Define		define handler
	DeskCalculator	desk calculator
	Echo
	Expand		"expand" input "picture"
	Grep	
	Kwic		kwic index program
	Macro		macro and define expansion
	Rot		"rotate" a picture
	Screen		prints table of characters
	Sort		generic sort merge
	SortDriv	   "     "     "
	SW		extended swtools editor (has alternate strings and
			\(\) stuff).
	swch		sort of a "sed"
	SWTr		more or less UNIX "tr"
	Unique		uniq
	Wc		word count


All of the prerequisite library functions and procedures are also
included.  There are 125 Pascal sources in all plus various header
files and CMS MACLIBs.  There is no assembler.

The only major program that I had not entered was the text formatter
and the manual pages.

Please send me mail if you are interested in this software.  If sufficient
interest is shown I will post it.  This software will be distributed
"as is" without support except for some suggestions on my part.  You 
will probably need the swtools book if you intend to port this to 
something other than VM/CMS.  VM/CMS people may find this software
rather useful (considering what you poor sods have to work with without
it).
-- 
Chris Lewis,
UUCP: {allegra, linus, ihnp4}!utzoo!mnetor!clewis
BELL: (416)-475-8980 ext. 321

clewis@mnetor.UUCP (Chris Lewis) (05/22/85)

I have finally gotten around to reading in my tape of Kernighan
and Plauger's "Software Tools in Pascal" software sources.  I had typed
it in several years ago and got it to work quite well on a VM/CMS
Rel 6. system using Pascal/VS:  

	- It should be portable to newer SP CMS's without any changes
	- It should run under MVS Pascal/VS provided you modify
	  the initialization and file I/O primitives somewhat.
	- It should be modifiable to run on any Pascal system
	  provided it supports separate compilation (each generic
	  subfunction was linked rather than included), include files,
	  strings (of some sort) and reasonable I/O (eg: "open-by-name").

These tools support command line I/O redirection and proper "getargs"
(particularly with SP3 when the REX interfaces will allow you to
avoid tokenization and uppercasing).  You can even write an EXEC
to simulate the UNIX shell w.r.t. pipes on VM/CMS!

These are the tools I had running (some of these are not from
the Swtools book):

	Define		define handler
	DeskCalculator	desk calculator
	Echo
	Expand		"expand" input "picture"
	Grep	
	Kwic		kwic index program
	Macro		macro and define expansion
	Rot		"rotate" a picture
	Screen		prints table of characters
	Sort		generic sort merge
	SortDriv	   "     "     "
	SW		extended swtools editor (has alternate strings and
			\(\) stuff).
	swch		sort of a "sed"
	SWTr		more or less UNIX "tr"
	Unique		uniq
	Wc		word count


All of the prerequisite library functions and procedures are also
included.  There are 125 Pascal sources in all plus various header
files and CMS MACLIBs.  There is no assembler.

The only major program that I had not entered was the text formatter
and the manual pages.  There is also a set of banner fonts (somehow
I lost the driver - but it should be obvious).

Please send me mail if you are interested in this software.  If sufficient
interest is shown I will post it.  This software will be distributed
"as is" without support except for some suggestions on my part.  You 
will probably need the swtools book if you intend to port this to 
something other than VM/CMS.  VM/CMS people may find this software
rather useful (considering what you poor sods have to work with without
it).
-- 
Chris Lewis,
UUCP: {allegra, linus, ihnp4}!utzoo!mnetor!clewis
BELL: (416)-475-8980 ext. 321
-- 
Chris Lewis,
UUCP: {allegra, linus, ihnp4}!utzoo!mnetor!clewis
BELL: (416)-475-8980 ext. 321