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