By following the directions here you should be able to bring up the software on the tape in a very short period of time, ranging from an hour (if you have a standard version 6 system and can use the precompiled binaries), to about 6 hours (if you have a version 6 or 7 system which requires recompilation.)
To extract the tape you will need a 800 BPI tape drive and a file system with 12000 blocks of free space. If your tape was written with tar or cpio, then extracting the tape is straightforward. If it was written with tp (the default) then some work will be required to fully unpack the tape. Unless you will be using tp here skip the next paragraph.
First extract the file create from the tape by doing:
tp xm ./create
This is a shell script of mkdir commands. Run the script and then do
tp xm
This will take several minutes. When it completes, you will have a skeletal tape. In most directories on the tape will be a file cont.a which is an archive of the contents of that directory. The best thing to do is to unarchive all the files so you can look at things easily. The find command
find . -name cont.a -a -print
will print the names of all the cont.a files. For each such file, change into its directory and do
ar x cont.a rm cont.a
You can omit the rm if you have tons of space. If you have a very old ar, you may have to use the ar in misc.
The first thing to determine is which version of UNIX you are running, and how much impact modifications you have made to the system will have on the software here.
This is the new version of UNIX which has just been released by Bell Laboratories. Most of the software here has been running on version 7 for several months at Berkeley.
The binaries on the distribution tape will NOT run on version 7, as they were compiled on a PDP-11 version 6 system. Thus you must recompile from the source for a version 7 system. This will not be hard since almost all of the software thinks it is running on version 7. The one exception is the Pascal system, which has not been run on version 7 (since we don't have version 7 on our PDP-11s yet).
If you have a standard version 6 UNIX system then you can just use the binaries on the tape and avoid the bother of recompiling. In fact, unless you have a late-model C compiler compilation may be troublesome or impossible.
On a ``standard'' system the getuid system call returns the user id in the low byte of its result word. If this is the case on your system, then you should have no trouble installing the binaries supplied.
If you have a version 6 UNIX system which has 16 bit user id's (such as the systems at Berkeley) then you will have to modify the upgrade/libretro version 7 simulator library and recompile the programs here.
If you have a PWB/UNIX system, the binaries supplied here should work (as far as I know). If they don't the make and cc from PWB should be adequate to recompile to repair any problems.
The following are the major files and directories which will be created as you install the tape:
/bin/csh | This is the new shell. It is not placed in the directory /usr/ucb because it is often linked to /bin/makesh, which is on a different file system than /usr/ucb on most systems. |
---|---|
/etc/htmp | For version 6 systems, this forms a data base which simulates version 7 environments, storing home directories and (most importantly) terminal types for each terminal. |
/etc/termcap | This is a data base describing terminals, and is used by the ex editor, and the tset program. |
/etc/ttytype | This file maps terminal ports to their types, and indicates which ports are not hard wired. The tset program uses this to initialize the terminal type at login. |
/usr/include/retrofit | On version 6 systems, a directory of header files used to simulate version 7 UNIX. |
/usr/lib/Mail.help* | Help files for Mail. |
/usr/lib/Mail.rc | A startup file for Mail. |
/usr/lib/ex2.0preserve | Preserve command for ex. |
/usr/lib/ex2.0recover | Recover command for ex. |
/usr/lib/ex2.0strings | Error messages for ex. |
/usr/lib/how_p* | Help files for Pascal. |
/usr/lib/libretro.a | Library simulating some version 7 calls on version 6. |
/usr/lib/libtermlib.a | Library providing terminal independent functions. |
/usr/lib/me | [Directory] The dynamically loaded parts of the -me macros are placed here. |
/usr/lib/pi1.2strings | Error messages for pi, the Pascal translator. |
/usr/lib/pi1:2strings | Messages for two process pi for 34's and 40's. |
/usr/lib/pi1 | Second pass of two process pi translator. |
/usr/lib/*px_header | Header files which pi prepends to obj files. |
/usr/lib/tabset | [Directory] Terminal initialization files for tset. |
/usr/lib/tmac.e | The -me macros themselves, on version 6 systems. |
/usr/lib/tmac/tmac.e | The -me macros themselves, on version 7 systems. |
/usr/msgs | [Directory] The msgs program places messages here. |
/usr/preserve | [Directory] Editor temporaries are preserved here after system crashes. |
/usr/ucb | [Directory] Most of the binaries on the tape are placed here. They can be linked elsewhere (i.e. /usr/bin) but the makefiles which create the tape software expect them in /usr/ucb so they should be left there also. |
Now follow the following procedure:
Mail, csh, ex, me
mv /usr/ucb/pi34 /usr/ucb/pi mv /usr/ucb/px34 /usr/ucb/px mv /usr/ucb/pxp34 /usr/ucb/pxp
/usr/lib/ex2.0preserve -a
alias staff bill kurt eric
The modifications to the standard i/o library src/libNS, the Berkeley network src/net, and the finger program src/finger.c are not installed by the above procedure.
The standard I/O library modifications may require some care to make as several slightly different versions of this library are extant. See the READ_ME file in the src/libNS directory.
If you wish to run the Berkeley network, read the material in the src/net directory. The network is not hard to set up, but this will require a bit of preparation.
The finger program requires preparation of some data bases, and perhaps modifications to the login program as well as to finger itself to work. See the comments at the beginning of the program src/finger.c and its manual page for details.
/etc/termcap | If you get have or get terminals which aren't described in this data base, you will have to add entries. The manual page for termcap explains how to write new entries. |
---|---|
/etc/ttytype | This file tells the types of hardwired ports and which lines are dialups, and is used with tset. It must be edited when the system configuration changes. |
/usr/preserve |
Editor temporaries are saved here after a system crash,
when /usr/lib/ex2.0preserve is run out of /etc/rc.
If no one cleans this directory out, it can get very
large. You can periodically run a find command of the form
|
/usr/msgs | Must be cleaned out periodically (every few months). |