Commit | Line | Data |
---|---|---|
54711834 BJ |
1 | .ND |
2 | .ce | |
3 | Berkeley UNIX Software Tape | |
4 | .sp 3 | |
5 | .SH | |
6 | Extracting the data from this tape: | |
7 | .LP | |
8 | Most of the data on this tape has been archived to reduce the number | |
9 | of files so that tp will write this tape. You should extract | |
10 | the data from the libraries. This will require about 10000 blocks | |
11 | of storage if you don't remove each "cont.a" after you extract it. | |
12 | .SH | |
13 | What is on this tape: | |
14 | .LP | |
15 | This tape includes sources and binaries for a quantity of UC | |
16 | Berkeley software. The major items on this tape are the instructional Pascal | |
17 | system and the text editor "ex". Other software here includes a modified shell, | |
18 | a new shell, new commands, and a "star trek" game. | |
19 | Machine readable documentation is included for all programs. | |
20 | The "Pascal User's Manual" and the "Ex reference manual" need a | |
21 | phototypesetter if readable copies are to be produced. | |
22 | .SH | |
23 | Pascal: | |
24 | .LP | |
25 | The Pascal system has been used for a year for instruction here. | |
26 | It has undergone a number of improvements in the last six months, | |
27 | but is quite stable. We use it for undergraduate and graduate instruction. | |
28 | .LP | |
29 | The Pascal system requires separate I/D space; that | |
30 | is, an 11/45 or 11/70 host. To run the Pascal stuff right away | |
31 | you will also need floating point hardware -- it is possible | |
32 | to run Pascal without floating point hardware but it requires | |
33 | adding a system call to replace the "mfpi" instruction that doesn't | |
34 | work on the 11/45's and 11/70's in user mode. | |
35 | .SH | |
36 | Ex: | |
37 | .LP | |
38 | The Ex editor has been in use for about the same length of time as Pascal, | |
39 | and is used by a majority of our users. It has undergone a number of | |
40 | improvements in the last few months. We intend to use ex for the | |
41 | text editing classes at the Computer Center here (for a general campus | |
42 | audience) starting in January. The Pascal documentation uses "ex" | |
43 | in its examples. | |
44 | .SH | |
45 | Installing the software: | |
46 | .LP | |
47 | Compiled binaries have been included for most of the software here. | |
48 | (A few of the routines in the directory s6 include system dependent headers | |
49 | and so binaries would be of no use and are not included.) | |
50 | .LP | |
51 | The major programs "pi", "pxp", "px", and "ex-1.1" have the binaries in | |
52 | the directories with the same names. "Pi", "pxp" and "px" should | |
53 | run as they stand... if you have a non-standard teletype driver "ex" may | |
54 | require some system dependent changes. The binaries in "ex" will run | |
55 | directly on standard or Berkeley-type version 6 UNIX systems. | |
56 | .LP | |
57 | Each major directory includes a file "READ_ME" describing the software | |
58 | in the directory. There is often a shell script "setup" in the directory | |
59 | to perform one time only operations. The script "install" in these | |
60 | directories will place the software in its standard home. | |
61 | .LP | |
62 | For recompilation of these programs you can use the scripts "make*", | |
63 | and "comp" and "load" in the directories. Most directories also | |
64 | have "print" scripts, i.e. "printpi", to make a program listing | |
65 | with utility files and programs in a reasonable order. | |
66 | .LP | |
67 | The suggested way to bring up the software on this tape is to | |
68 | run the install scripts in "pi", "pxp", and "px", and to then | |
69 | install (some or all) of the software from "bin". | |
70 | The editor "ex" can also be installed... this requires probably as | |
71 | much work as all the others combined as it uses some data bases | |
72 | which don't exist on standard UNIX relating to terminal types and | |
73 | capabilities. | |
74 | .LP | |
75 | Note that some of the scripts to make new versions of the software | |
76 | on this tape use the programs in "bin". | |
77 | You can run these scripts easily, without adding all the stuff in "bin" | |
78 | to your "/usr/bin", by using the shell in "ashell". | |
79 | This shell has a number of nice features and was used in making all | |
80 | the software here... the files "errs" in each of the major directories | |
81 | are outputs from the "make*" scripts so you can see how this was done. | |
82 | Documentation for "ashell" is in s6/sh.6. | |
83 | .LP | |
84 | The trek game in "trek" uses the rewritten portable library in "portlib". | |
85 | It (and the program tset) were written by Eric Allman whose address | |
86 | is in the trek setup instructions in "trek". | |
87 | .br | |
88 | .ne 30 | |
89 | .SH | |
90 | Directory contents: | |
91 | .LP | |
92 | .DS | |
93 | .TS | |
94 | lw(10) l. | |
95 | pi Pascal translator source | |
96 | px Pascal interpreter | |
97 | pxp Pascal execution profiler | |
98 | eyacc Modified yacc for Pascal | |
99 | assubs Assembly stuff for Pascal | |
100 | tests Test programs for Pascal | |
101 | pcs Wirth's Pascal-S | |
102 | pxref Pascal cross-refence program | |
103 | opcodes Definition files for Pascal | |
104 | fpterp Sep ID floating point interpreter using FETCHI sys call | |
105 | s? Command software source | |
106 | man? Documents for s? stuff | |
107 | ashell A new shell with some nice features | |
108 | ex-1.1 Ex source | |
109 | exrecover Ex recovery routines (after system crashes) | |
110 | trek Source for a "star trek" game | |
111 | portlib Portable library used by trek | |
112 | exrefm Troff source for "Ex 1.1 Reference Manual" | |
113 | puman Troff source for "UNIX Pascal User's Manual" | |
114 | help Sections from our help command | |
115 | ||
116 | lib Routines for /lib and /usr/lib | |
117 | bin Routines for /usr/bin | |
118 | etc Stuff for /etc | |
119 | .DE | |
120 | .TE | |
121 | .SH | |
122 | If you don't have floating point: | |
123 | .LP | |
124 | If you don't have floating point hardware, and wish to run Pascal, | |
125 | you will need to add a system call to fetch an | |
126 | instruction word when running separate I/D so that the floating | |
127 | point interpreter can work. The system call to be added is "fetchi"... | |
128 | if you can make it system call 61. (decimal) then the binaries on this tape | |
129 | will work immediately. The code for "fetchi" will reside in sys4.c and | |
130 | look like | |
131 | .DS | |
132 | fetchi() | |
133 | { | |
134 | u.u_ar0[R0] = fuiword(u.u_ar0[R0]); | |
135 | } | |
136 | .DE | |
137 | It is used as in: | |
138 | .DS | |
139 | mov $iaddr,r0 | |
140 | sys fetchi | |
141 | .DE | |
142 | to get the contents of location "iaddr", a word in I-space. | |
143 | Look at the floating point interpreter in the directory fpterp for a sample. | |
144 | Don't forget that to make the system call work you must add an entry | |
145 | to the sysent array in sysent.c. | |
146 | .SH | |
147 | Miscellaneous notes: | |
148 | .LP | |
149 | A version 7 C compiler and many of the binaries in "bin" are required | |
150 | to make a new version of "pascal" or "ex". | |
151 | For Pascal the file "nofloat" in this directory should exist... it | |
152 | causes the scripts in the source directories to work slightly differently. | |
153 | .SH | |
154 | Feedback: | |
155 | .LP | |
156 | We would like to hear from all users of the Pascal system and of ex. | |
157 | Reports of problems in bringing this software up, or of bugs in the | |
158 | programs or documentation would be appreciated. We would also | |
159 | appreciate hearing of any local improvements you make. | |
160 | .SH | |
161 | 11/34 or 11/40 Pascal: | |
162 | .LP | |
163 | It is indeed unfortunate that the Pascal system here won't run on an 11/34 | |
164 | or 11/40... the only reason this is true is that the translator "pi" | |
165 | is too large. Pi used to be two pass but was made one pass about a year | |
166 | ago. It is certainly possible to break pi into two passes or two processes | |
167 | communicating through a pipe. If you have an 11/34 or 11/40 and are | |
168 | interested in trying this I will be glad to give you more details. | |
169 | .LP | |
170 | .in +30 | |
171 | Bill Joy | |
172 | .br | |
173 | CS Division | |
174 | .br | |
175 | Department of EE and CS | |
176 | .br | |
177 | UC Berkeley | |
178 | .br | |
179 | Berkeley, California 94704 | |
180 | .sp | |
181 | (415) 524-4510 [HOME] | |
182 | (415) 642-4948 [SCHOOL] |