- The man command and tmac.an nroff macros are missing
# cat /usr/bin/man
nroff -man /usr/doc/man/man$1/$2.$1
# cat /usr/lib/tmac.an
.pl 80
.nr in 5
.de i0
.in \n(in
..
.de lp
.i0
.ta \\$2+1
.in \\$1
.ti -\\$2
..
.de s1
.sp 1
.ne 4
..
.de s2
.sp 1
..
.de s3
.sp 1
..
.de fo
'sp 2
'tl ''- % -''
'bp
..
.de th
.de x1
'sp 2
'tl '\\$1(\\$2)'\\$3'\\$1(\\$2)'
'sp 2
\\..
.wh -5 fo
.wh 0 x1
.in \n(in
..
.de sh
.s1
.ne 5
.ti 0
\\$1
.br
..
.de bd
\\$1
..
.de bn
\\$1\\t
..
.de it
.li
\\$1
..
.de dt
.ta 8 16 24 32 40 48 56 64
..
.ds b B
.ds G G
.ds a '
.ds - -
.ds _ _
.ds v |
.ds p J
.ds r
.ds g `
.ds X X
.ds u u
.ds > ->
.ds | - You have to use chdir instead of the familiar and shorter form cd
ed /usr/source/s2/sh.c
# ed sh.c
11594
561
if(equal(cp1, "chdir")) {
c
if(equal(cp1, "chdir") || equal(cp1, "cd")) {
.
w
11614
q
and consult /usr/source/s2/run on how to install the sh. - The script /usr/sys/run won't build the kernel with the latest files in /usr/sys/ken and /usr/sys/dmr
Wednesday, February 11, 2009
Some tweaks on vanilla V6 UNIX
Install UNIX v6 on SIMH from distribution tape
1. Download the file v6.tape.gz
# wget http://www.tuhs.org/Archive/PDP-11/Distributions/research/Ken_Wellsch_v6/v6.tape.gz
2. gunzip it and enblock it
# gunzip v6.tape.gz
# enblock < tv6.tape > dist.tap
3. Create the 4 RK05 disk
# dd if=/dev/zero of=unix0_v6_rk05.dsk count=4872 # root
# dd if=/dev/zero of=unix0_v6_rk05.dsk count=4872 # src
# dd if=/dev/zero of=unix0_v6_rk05.dsk count=4872 # doc
# dd if=/dev/zero of=unix0_v6_rk05.dsk count=4872 # spare
4. Create SIMH command script v6.simh, this sets the cpu type and attaches the RK05 disk images and tape image
# cat v6.simh
set cpu 11/40
set cpu idle
set tto 7b
att rk0 unix0_v6_rk05.dsk
att rk1 unix1_v6_rk05.dsk
att rk2 unix2_v6_rk05.dsk
att tm0 disk.tag
5. Create SIMH command script boot-tm.simh, this will copy first 512 bytes of the tape to address 0
# cat boot-tm.simh
d 100000 012700
d 100002 172526
d 100004 010040
d 100006 012740
d 100010 060003
d 100012 000777
go 100000
6. Boot from the tape image disk.tag
# pdp11 v6.simh
PDP-11 simulator V3.8-0
Disabling XQ
sim> do boot-tm.simh
type ^E to get the simh console, and
sim> go 0
to boot from the tape boot program just copied.
7. Consult SETTING UP UNIX − Sixth Edition for further instructions.
Subscribe to:
Posts (Atom)
