xref: /csrg-svn/local/toolchest/ksh/INSTALL (revision 35112)
1*35112Smarc  As you've probably noticed, this Toolchest product has been delivered
2*35112Smarc  in multiple directories, "src" with source code, and "fmt" or "unfmt" for
3*35112Smarc  formatted or unformatted documentation.  This file outlines the steps
4*35112Smarc  needed to install the product on an AT&T 3B20 computer running UNIX(r)
5*35112Smarc  System V Release 2.  Installation on other machines may differ and
6*35112Smarc  is the responsibility of the installer to reconcile.
7*35112Smarc
8*35112Smarc
9*35112SmarcProduct:
10*35112Smarc	ksh-i - Korn Shell-International
11*35112Smarc
12*35112SmarcPrerequisites:
13*35112Smarc	This package requires the following facilities to
14*35112Smarc	be available on your machine, before installation and use:
15*35112Smarc
16*35112Smarc	This package requires no special UNIX System facilities.
17*35112Smarc
18*35112SmarcTo read before installing:
19*35112Smarc	After unbundling, please scan the documentation and any
20*35112Smarc	included README files.  These will contain useful infor-
21*35112Smarc	mation needed to build the product.
22*35112Smarc
23*35112SmarcTo make the source:
24*35112Smarc	We recommend expanding and building tools in two separate
25*35112Smarc	directories, one for source and one for documents.
26*35112Smarc
27*35112Smarc	Begin by unbundling the source files.  The following script
28*35112Smarc	can be used to expand a bundle type:
29*35112Smarc
30*35112Smarc		for i in *.b
31*35112Smarc		do
32*35112Smarc			sh ./$i
33*35112Smarc		done
34*35112Smarc
35*35112Smarc	Edit the makefile and change any references
36*35112Smarc	to values that match your installation's needs.
37*35112Smarc
38*35112Smarc	Execute:
39*35112Smarc		make
40*35112Smarc
41*35112Smarc	and wait a while.
42*35112Smarc
43*35112SmarcTo create the documentation:
44*35112Smarc	The documents, if requested in nroff format, can be created
45*35112Smarc	by issuing the following commands:
46*35112Smarc
47*35112Smarc		nroff -mm sh.memo | col > sh.memo.M
48*35112Smarc		nroff -man sh.1 | col > sh.1.M
49*35112Smarc
50*35112SmarcFile Sizes:
51*35112Smarc	The following is output from "wc" and can be checked against
52*35112Smarc	the files you received:
53*35112Smarc
54*35112Smarc    Dir: .
55*35112Smarc              119    938   5405 COMPATIBILITY
56*35112Smarc               54    235   1537 INSTALL
57*35112Smarc              162    767   4743 Makefile
58*35112Smarc               90    856   4950 README
59*35112Smarc              247   1822  10722 RELEASE
60*35112Smarc               55    129    886 getopts
61*35112Smarc              197    551   3938 ksh.mk
62*35112Smarc              197    551   3938 makefile
63*35112Smarc               31    116    651 substring
64*35112Smarc    Dir: ./jsh
65*35112Smarc               28     68    440 defs.c
66*35112Smarc               48    109    859 defs.h
67*35112Smarc              152    308   2369 jsh.c
68*35112Smarc               29     55    394 makefile
69*35112Smarc               99    205   1470 mpx.c
70*35112Smarc    Dir: ./sh
71*35112Smarc              112    307   1985 Makefile
72*35112Smarc              105    222   1913 apollo.c
73*35112Smarc              587   1384  10694 args.c
74*35112Smarc              217    482   3778 blok.c
75*35112Smarc               77    234   1565 brkincr.h
76*35112Smarc             1313   2799  24531 builtin.c
77*35112Smarc              122    401   2954 builtins.h
78*35112Smarc              839   1920  14997 cmd.c
79*35112Smarc              227   1213   4849 ctype.c
80*35112Smarc               89    229   1624 defs.c
81*35112Smarc              377   1173   8300 defs.h
82*35112Smarc              100    227   1590 echo.c
83*35112Smarc             1139   3079  21384 edit.c
84*35112Smarc              131    584   3588 edit.h
85*35112Smarc              210    493   3551 editlib.c
86*35112Smarc             1124   2594  19525 emacs.c
87*35112Smarc              195    481   3575 error.c
88*35112Smarc              329    702   5290 expand.c
89*35112Smarc              242    487   3792 fault.c
90*35112Smarc               35    111    755 flags.h
91*35112Smarc              818   2121  15275 history.c
92*35112Smarc               80    288   1864 history.h
93*35112Smarc              752   1703  12374 io.c
94*35112Smarc              134    412   2819 io.h
95*35112Smarc             1411   3167  24743 jobs.c
96*35112Smarc              127    440   2555 jobs.h
97*35112Smarc              848   1780  14100 macro.c
98*35112Smarc              698   1756  13551 main.c
99*35112Smarc              443   1061   7553 makefile
100*35112Smarc               31     93    627 makelib
101*35112Smarc              175    676   4808 makesh
102*35112Smarc              157    335   2313 mode.h
103*35112Smarc              633   2045  15403 msg.c
104*35112Smarc             1025   2344  18976 name.c
105*35112Smarc              175    784   5254 name.h
106*35112Smarc               67    214   1434 national.h
107*35112Smarc              274    642   4281 print.c
108*35112Smarc              918   2206  16946 service.c
109*35112Smarc              116    374   2890 shtype.h
110*35112Smarc              113    227   1776 stak.c
111*35112Smarc               96    315   1918 stak.h
112*35112Smarc              291    671   4755 stdio.c
113*35112Smarc              157    415   2546 string.c
114*35112Smarc              398   1315   8729 suid_exec.c
115*35112Smarc              115    342   2247 sym.h
116*35112Smarc               27    111    657 syscall.s
117*35112Smarc              310    627   5149 test.c
118*35112Smarc               44    124    860 test.h
119*35112Smarc               31    108    681 timeout.h
120*35112Smarc              245    632   5205 vfork.c
121*35112Smarc             2456   6775  45522 vi.c
122*35112Smarc              516   1226   9056 word.c
123*35112Smarc              863   1952  17846 xec.c
124*35112Smarc    Dir: ./shlib
125*35112Smarc              138    370   2620 adjust.c
126*35112Smarc              328    833   5664 arith.c
127*35112Smarc              322    976   6794 assign.c
128*35112Smarc              114    325   2234 assnum.c
129*35112Smarc              122    401   2954 builtins.h
130*35112Smarc               95    273   1666 cannon.c
131*35112Smarc               81    233   1454 chkid.c
132*35112Smarc               85    228   1418 convert.c
133*35112Smarc               74    210   1293 failed.c
134*35112Smarc              336   1066   7309 findnod.c
135*35112Smarc               35    111    755 flags.h
136*35112Smarc               68    218   1446 gettree.c
137*35112Smarc              204    487   3542 gmatch.c
138*35112Smarc              158    547   3484 growaray.c
139*35112Smarc               62    143    917 gsort.c
140*35112Smarc              151    463   3098 linknod.c
141*35112Smarc              144    251   2029 makefile
142*35112Smarc              175    784   5254 name.h
143*35112Smarc              140    437   2893 namscan.c
144*35112Smarc               67    214   1434 national.h
145*35112Smarc               94    276   1696 rjust.c
146*35112Smarc              116    374   2890 shtype.h
147*35112Smarc              186    493   3443 tilde.c
148*35112Smarc              103    296   2053 unassign.c
149*35112Smarc              118    365   2212 utos.c
150*35112Smarc              115    374   2536 valup.c
151