Mostly path name updates
diff --git a/man/man1/9nm.1 b/man/man1/9nm.1
index f9faad5..5841043 100644
--- a/man/man1/9nm.1
+++ b/man/man1/9nm.1
@@ -1,4 +1,4 @@
-.TH NM 1
+.TH 9NM 1
.SH NAME
nm \- name list (symbol table)
.SH SYNOPSIS
@@ -94,7 +94,7 @@
.B -u
Print only undefined symbols.
.SH SOURCE
-.B /sys/src/cmd/nm.c
+.B /usr/local/plan9/src/cmd/nm.c
.SH SEE ALSO
.IR ar (1),
.IR 2l (1),
diff --git a/man/man1/9sed.1 b/man/man1/9sed.1
index 3b5ac18..2f4345c 100644
--- a/man/man1/9sed.1
+++ b/man/man1/9sed.1
@@ -1,8 +1,8 @@
.TH SED 1
.SH NAME
-sed \- stream editor
+9sed \- stream editor
.SH SYNOPSIS
-.B sed
+.B 9sed
[
.B -n
]
@@ -366,7 +366,7 @@
Delete all but one of each group of empty lines from a
formatted manuscript.
.SH SOURCE
-.B /sys/src/cmd/sed.c
+.B /usr/local/plan9/src/cmd/sed.c
.SH SEE ALSO
.IR ed (1),
.IR grep (1),
diff --git a/man/man1/acme.1 b/man/man1/acme.1
index 5cae003..359799b 100644
--- a/man/man1/acme.1
+++ b/man/man1/acme.1
@@ -448,15 +448,15 @@
in a (possibly newly-created) window labeled
.BR /adm/+Errors ;
in a window containing
-.B /sys/src/cmd/sam/sam.c
+.B /usr/local/plan9/src/cmd/sam/sam.c
executing
.B mk
will run
.IR mk (1)
in
-.BR /sys/src/cmd/sam ,
+.BR /usr/local/plan9/src/cmd/sam ,
producing output in a window labeled
-.BR /sys/src/cmd/sam/+Errors .
+.BR /usr/local/plan9/src/cmd/sam/+Errors .
The environment of such commands contains the variable
.B $%
with value set to the filename of the window in which the command is run.
@@ -660,11 +660,11 @@
.B /acme/*/mips
MIPS-specific binaries for applications
.SH SOURCE
-.B /sys/src/cmd/acme
+.B /usr/local/plan9/src/cmd/acme
.br
.B /acme/bin/source/win
.br
-.B /sys/src/cmd/awd.c
+.B /usr/local/plan9/src/cmd/awd.c
.SH SEE ALSO
.IR acme (4)
.br
diff --git a/man/man1/ascii.1 b/man/man1/ascii.1
index 47fd355..05cec0f 100644
--- a/man/man1/ascii.1
+++ b/man/man1/ascii.1
@@ -151,9 +151,9 @@
.B /lib/unicode
table of characters and descriptions.
.SH SOURCE
-.B /sys/src/cmd/ascii.c
+.B /usr/local/plan9/src/cmd/ascii.c
.br
-.B /sys/src/cmd/unicode.c
+.B /usr/local/plan9/src/cmd/unicode.c
.SH "SEE ALSO"
.IR look (1)
.IR tcs (1),
diff --git a/man/man1/basename.1 b/man/man1/basename.1
index c72638f..e954cef 100644
--- a/man/man1/basename.1
+++ b/man/man1/basename.1
@@ -32,4 +32,4 @@
If the string contains no slash,
a period and newline are printed.
.SH SOURCE
-.B /sys/src/cmd/basename.c
+.B /usr/local/plan9/src/cmd/basename.c
diff --git a/man/man1/cal.1 b/man/man1/cal.1
index 7ac5b99..1746268 100644
--- a/man/man1/cal.1
+++ b/man/man1/cal.1
@@ -35,7 +35,7 @@
cal sep 1752
.EE
.SH SOURCE
-.B /sys/src/cmd/cal.c
+.B /usr/local/plan9/src/cmd/cal.c
.SH BUGS
The year is always considered to start in January even though this
is historically naive.
diff --git a/man/man1/calendar.1 b/man/man1/calendar.1
index e6832d3..1c6b3be 100644
--- a/man/man1/calendar.1
+++ b/man/man1/calendar.1
@@ -50,4 +50,4 @@
.B /usr/$user/lib/calendar
personal calendar
.SH SOURCE
-.B /sys/src/cmd/calendar.c
+.B /usr/local/plan9/src/cmd/calendar.c
diff --git a/man/man1/cat.1 b/man/man1/cat.1
index eeb43bc..3b24bdd 100644
--- a/man/man1/cat.1
+++ b/man/man1/cat.1
@@ -63,9 +63,9 @@
preparing input to programs that expect line-at-a-time data.
It never reads any more data from the input than it prints to the output.
.SH SOURCE
-.B /sys/src/cmd/cat.c
+.B /usr/local/plan9/src/cmd/cat.c
.br
-.B /sys/src/cmd/read.c
+.B /usr/local/plan9/src/cmd/read.c
.SH SEE ALSO
.IR cp (1)
.SH DIAGNOSTICS
diff --git a/man/man1/cleanname.1 b/man/man1/cleanname.1
index 41c06c0..d017ce5 100644
--- a/man/man1/cleanname.1
+++ b/man/man1/cleanname.1
@@ -27,6 +27,6 @@
.IB pwd /
before processing.
.SH SOURCE
-.B /sys/src/cmd/cleanname.c
+.B /usr/local/plan9/src/cmd/cleanname.c
.SH SEE ALSO
.IR cleanname (2).
diff --git a/man/man1/cmp.1 b/man/man1/cmp.1
index e48d076..5023b6a 100644
--- a/man/man1/cmp.1
+++ b/man/man1/cmp.1
@@ -42,7 +42,7 @@
.BR 0 ,
octal; with anything else, decimal.
.SH SOURCE
-.B /sys/src/cmd/cmp.c
+.B /usr/local/plan9/src/cmd/cmp.c
.SH "SEE ALSO"
.IR diff (1)
.SH DIAGNOSTICS
diff --git a/man/man1/comm.1 b/man/man1/comm.1
index 2fd883c..68e5f47 100644
--- a/man/man1/comm.1
+++ b/man/man1/comm.1
@@ -39,7 +39,7 @@
.IP
Print lines common to two sorted files.
.SH SOURCE
-.B /sys/src/cmd/comm.c
+.B /usr/local/plan9/src/cmd/comm.c
.SH "SEE ALSO"
.IR sort (1),
.IR cmp (1),
diff --git a/man/man1/date.1 b/man/man1/date.1
index 3d232ba..cdc0228 100644
--- a/man/man1/date.1
+++ b/man/man1/date.1
@@ -53,6 +53,6 @@
.I Clock
draws a simple analog clock in its window.
.SH SOURCE
-.B /sys/src/cmd/date.c
+.B /usr/local/plan9/src/cmd/date.c
.br
-.B /sys/src/cmd/clock.c
+.B /usr/local/plan9/src/cmd/clock.c
diff --git a/man/man1/db.1 b/man/man1/db.1
index a0ed941..10d38cb 100644
--- a/man/man1/db.1
+++ b/man/man1/db.1
@@ -952,7 +952,7 @@
.IR 9nm (1),
.IR acid (1)
.SH SOURCE
-.B /sys/src/cmd/db
+.B /usr/local/plan9/src/cmd/db
.SH DIAGNOSTICS
Exit status is 0, unless the last command failed or
returned non-zero status.
diff --git a/man/man1/dc.1 b/man/man1/dc.1
index 0f2c13a..1f62dfb 100644
--- a/man/man1/dc.1
+++ b/man/man1/dc.1
@@ -233,7 +233,7 @@
Print the first ten values of
.IR n !
.SH SOURCE
-.B /sys/src/cmd/dc.c
+.B /usr/local/plan9/src/cmd/dc.c
.SH "SEE ALSO"
.IR bc (1),
.IR hoc (1)
diff --git a/man/man1/deroff.1 b/man/man1/deroff.1
index f62b174..2097a80 100644
--- a/man/man1/deroff.1
+++ b/man/man1/deroff.1
@@ -91,9 +91,9 @@
.I troff
files.
.SH SOURCE
-.B /sys/src/cmd/deroff.c
+.B /usr/local/plan9/src/cmd/deroff.c
.br
-.B /sys/src/cmd/tex/local/delatex.c
+.B /usr/local/plan9/src/cmd/tex/local/delatex.c
.SH "SEE ALSO"
.IR troff (1),
.IR tex (1),
diff --git a/man/man1/dict.1 b/man/man1/dict.1
index 5fc4763..1665ea7 100644
--- a/man/man1/dict.1
+++ b/man/man1/dict.1
@@ -148,7 +148,7 @@
.SH "SEE ALSO"
.IR regexp (6)
.SH SOURCE
-.B /sys/src/cmd/dict
+.B /usr/local/plan9/src/cmd/dict
.SH BUGS
A font with wide coverage of the Unicode Standard
should be used for best results.
diff --git a/man/man1/diff.1 b/man/man1/diff.1
index 404c74f..c1b5e84 100644
--- a/man/man1/diff.1
+++ b/man/man1/diff.1
@@ -130,7 +130,7 @@
.SH FILES
.B /tmp/diff[12]
.SH SOURCE
-.B /sys/src/cmd/diff
+.B /usr/local/plan9/src/cmd/diff
.SH "SEE ALSO"
.IR cmp (1),
.IR comm (1),
diff --git a/man/man1/echo.1 b/man/man1/echo.1
index 86e6cd3..9a75eec 100644
--- a/man/man1/echo.1
+++ b/man/man1/echo.1
@@ -17,7 +17,7 @@
.B -n
suppresses the newline.
.SH SOURCE
-.B /sys/src/cmd/echo.c
+.B /usr/local/plan9/src/cmd/echo.c
.SH DIAGNOSTICS
If
.I echo
diff --git a/man/man1/ed.1 b/man/man1/ed.1
index adb79fb..7b88f11 100644
--- a/man/man1/ed.1
+++ b/man/man1/ed.1
@@ -669,7 +669,7 @@
.B ed.hup
\ \ work is saved here if terminal hangs up
.SH SOURCE
-.B /sys/src/cmd/ed.c
+.B /usr/local/plan9/src/cmd/ed.c
.SH "SEE ALSO"
.IR sam (1),
.IR sed (1),
diff --git a/man/man1/factor.1 b/man/man1/factor.1
index 2d9b5a0..2ce1379 100644
--- a/man/man1/factor.1
+++ b/man/man1/factor.1
@@ -61,6 +61,6 @@
is missing, it reads the starting number from the
standard input.
.SH SOURCE
-.B /sys/src/cmd/factor.c
+.B /usr/local/plan9/src/cmd/factor.c
.br
-.B /sys/src/cmd/primes.c
+.B /usr/local/plan9/src/cmd/primes.c
diff --git a/man/man1/fmt.1 b/man/man1/fmt.1
index 5118600..997b71b 100644
--- a/man/man1/fmt.1
+++ b/man/man1/fmt.1
@@ -81,9 +81,9 @@
as the base URL for the document when displaying anchors; sets
.BI -a .
.SH SOURCE
-.B /sys/src/cmd/fmt.c
+.B /usr/local/plan9/src/cmd/fmt.c
.PP
-.B /sys/src/cmd/htmlfmt
+.B /usr/local/plan9/src/cmd/htmlfmt
.SH BUGS
.I Htmlfmt
makes no attempt to render the two-dimensional geometry of tables;
diff --git a/man/man1/fortune.1 b/man/man1/fortune.1
index dfae718..371c1d6 100644
--- a/man/man1/fortune.1
+++ b/man/man1/fortune.1
@@ -20,4 +20,4 @@
.B /sys/games/lib/fortunes.index
\ \ fast lookup table, maintained automatically
.SH SOURCE
-.B /sys/src/cmd/fortune.c
+.B /usr/local/plan9/src/cmd/fortune.c
diff --git a/man/man1/freq.1 b/man/man1/freq.1
index eee4e29..fd326a2 100644
--- a/man/man1/freq.1
+++ b/man/man1/freq.1
@@ -34,7 +34,7 @@
flags specify a subset of value formats: decimal, hex, octal, and
character, respectively.
.SH SOURCE
-.B /sys/src/cmd/freq.c
+.B /usr/local/plan9/src/cmd/freq.c
.SH SEE ALSO
.IR utf (6),
.IR wc (1)
diff --git a/man/man1/grep.1 b/man/man1/grep.1
index a266c49..e58d0d9 100644
--- a/man/man1/grep.1
+++ b/man/man1/grep.1
@@ -91,7 +91,7 @@
will treat the rest of the expression
as literal characters.
.SH SOURCE
-.B /sys/src/cmd/grep
+.B /usr/local/plan9/src/cmd/grep
.SH SEE ALSO
.IR ed (1),
.IR awk (1),
diff --git a/man/man1/hoc.1 b/man/man1/hoc.1
index 68a42a6..87694f5 100644
--- a/man/man1/hoc.1
+++ b/man/man1/hoc.1
@@ -131,7 +131,7 @@
for(i=1; i<12; i++) print gcd(i,12)
.EE
.SH SOURCE
-.B /sys/src/cmd/hoc
+.B /usr/local/plan9/src/cmd/hoc
.SH "SEE ALSO"
.IR bc (1),
.IR dc (1)
diff --git a/man/man1/idiff.1 b/man/man1/idiff.1
index 5cb2260..d497939 100644
--- a/man/man1/idiff.1
+++ b/man/man1/idiff.1
@@ -61,7 +61,7 @@
.SH FILES
.B /tmp/idiff.*
.SH SOURCE
-.B /sys/src/cmd/idiff.c
+.B /usr/local/plan9/src/cmd/idiff.c
.SH "SEE ALSO
.IR diff (1)
.br
diff --git a/man/man1/join.1 b/man/man1/join.1
index 379eec7..2cf079f 100644
--- a/man/man1/join.1
+++ b/man/man1/join.1
@@ -128,7 +128,7 @@
join -1 3 -2 3 -o 1.1,2.1 temp temp | awk '$1 < $2'
Print all pairs of users with identical userids.
.SH SOURCE
-.B /sys/src/cmd/join.c
+.B /usr/local/plan9/src/cmd/join.c
.SH "SEE ALSO"
.IR sort (1),
.IR comm (1),
diff --git a/man/man1/ls.1 b/man/man1/ls.1
index e33f727..35981ab 100644
--- a/man/man1/ls.1
+++ b/man/man1/ls.1
@@ -153,9 +153,9 @@
if none of the above permissions is granted.
.PD
.SH SOURCE
-.B /sys/src/cmd/ls.c
+.B /usr/local/plan9/src/cmd/ls.c
.br
-.B /rc/bin/lc
+.B /usr/local/plan9/bin/lc
.SH SEE ALSO
.IR stat (2)
.IR mc (1)
diff --git a/man/man1/mc.1 b/man/man1/mc.1
index c53bcca..1618bef 100644
--- a/man/man1/mc.1
+++ b/man/man1/mc.1
@@ -31,7 +31,7 @@
.L :
is printed separately.
.SH SOURCE
-.B /sys/src/cmd/mc.c
+.B /usr/local/plan9/src/cmd/mc.c
.SH "SEE ALSO"
.IR rio (1),
.IR pr (1),
diff --git a/man/man1/mkdir.1 b/man/man1/mkdir.1
index 89e53ea..7bae8ce 100644
--- a/man/man1/mkdir.1
+++ b/man/man1/mkdir.1
@@ -26,7 +26,7 @@
in
.IR rc (1)
.SH SOURCE
-.B /sys/src/cmd/mkdir.c
+.B /usr/local/plan9/src/cmd/mkdir.c
.SH DIAGNOSTICS
.I Mkdir
returns null exit status if all directories were successfully made.
diff --git a/man/man1/plumb.1 b/man/man1/plumb.1
index 6c51d68..0cee82d 100644
--- a/man/man1/plumb.1
+++ b/man/man1/plumb.1
@@ -85,7 +85,7 @@
mount point for
.IR plumber (4).
.SH SOURCE
-.B /sys/src/cmd/plumb
+.B /usr/local/plan9/src/cmd/plumb
.SH "SEE ALSO"
.IR plumb (2),
.IR plumber (4),
diff --git a/man/man1/rc.1 b/man/man1/rc.1
index b296a48..b294bee 100644
--- a/man/man1/rc.1
+++ b/man/man1/rc.1
@@ -939,7 +939,7 @@
as they are executed).
.PD
.SH SOURCE
-.B /sys/src/cmd/rc
+.B /usr/local/plan9/src/cmd/rc
.SH "SEE ALSO"
Tom Duff,
``Rc \- The Plan 9 Shell''.
diff --git a/man/man1/rm.1 b/man/man1/rm.1
index c5786f9..9789396 100644
--- a/man/man1/rm.1
+++ b/man/man1/rm.1
@@ -23,6 +23,6 @@
entire contents of a directory
and the directory itself.
.SH SOURCE
-.B /sys/src/cmd/rm.c
+.B /usr/local/plan9/src/cmd/rm.c
.SH "SEE ALSO"
.IR remove (2)
diff --git a/man/man1/sam.1 b/man/man1/sam.1
index 0ba2033..b4194b4 100644
--- a/man/man1/sam.1
+++ b/man/man1/sam.1
@@ -853,27 +853,27 @@
.L y
causes writing; anything else skips the file.
.SH FILES
-.TF /sys/src/cmd/samterm
+.TF /usr/local/plan9/src/cmd/samterm
.TP
.B $home/sam.save
.TP
.B $home/sam.err
.TP
-.B /sys/lib/samsave
+.B /usr/local/plan9/bin/samsave
the program called to unpack
.BR $home/sam.save .
.SH SOURCE
-.TF /sys/src/cmd/samterm
+.TF /usr/local/plan9/src/cmd/samterm
.TP
-.B /sys/src/cmd/sam
+.B /usr/local/plan9/src/cmd/sam
source for
.I sam
itself
.TP
-.B /sys/src/cmd/samterm
+.B /usr/local/plan9/src/cmd/samterm
source for the separate terminal part
.TP
-.B /rc/bin/B
+.B /usr/local/plan9/bin/B
.SH SEE ALSO
.IR ed (1),
.IR sed (1),
diff --git a/man/man1/seq.1 b/man/man1/seq.1
index 60d1f12..73796c2 100644
--- a/man/man1/seq.1
+++ b/man/man1/seq.1
@@ -64,7 +64,7 @@
Print
.BR "0.00 0.05 0.10" .
.SH SOURCE
-.B /sys/src/cmd/seq.c
+.B /usr/local/plan9/src/cmd/seq.c
.SH BUGS
Option
.B -w
diff --git a/man/man1/sleep.1 b/man/man1/sleep.1
index 61169e9..6416bc1 100644
--- a/man/man1/sleep.1
+++ b/man/man1/sleep.1
@@ -26,6 +26,6 @@
}
.EE
.SH SOURCE
-.B /sys/src/cmd/sleep.c
+.B /usr/local/plan9/src/cmd/sleep.c
.SH "SEE ALSO"
.IR sleep (2)
diff --git a/man/man1/sort.1 b/man/man1/sort.1
index 6dded61..4400f0a 100644
--- a/man/man1/sort.1
+++ b/man/man1/sort.1
@@ -238,7 +238,7 @@
.SH FILES
.BI /tmp/sort. <pid>.<ordinal>
.SH SOURCE
-.B /sys/src/cmd/sort.c
+.B /usr/local/plan9/src/cmd/sort.c
.SH SEE ALSO
.IR uniq (1),
.IR look (1)
diff --git a/man/man1/spell.1 b/man/man1/spell.1
index 8298452..3b25f83 100644
--- a/man/man1/spell.1
+++ b/man/man1/spell.1
@@ -60,12 +60,11 @@
cede to `crew member' and `back yard' (noun) or `back-yard'
(adjective).
.SH FILES
-.TF /sys/lib/brspell
.TP
-.B /sys/lib/amspell
+.B /usr/local/plan9/lib/amspell
American spelling list
.TP
-.B /sys/lib/brspell
+.B /usr/local/plan9/lib/brspell
British spelling list
.TP
.B /bin/aux/sprog
@@ -74,12 +73,12 @@
and takes the same arguments as
.IR spell .
.SH SOURCE
-.TF /sys/src/cmd/spell
+.TF /usr/local/plan9/src/cmd/spell
.TP
-.B /rc/bin/spell
+.B /usr/local/plan9/bin/spell
the script
.TP
-.B /sys/src/cmd/spell
+.B /usr/local/plan9/src/cmd/spell
source for
.I sprog
.SH SEE ALSO
diff --git a/man/man1/split.1 b/man/man1/split.1
index ffb012d..6e7f7eb 100644
--- a/man/man1/split.1
+++ b/man/man1/split.1
@@ -74,7 +74,7 @@
force output file names (excluding the suffix)
to lower case.
.SH SOURCE
-.B /sys/src/cmd/split.c
+.B /usr/local/plan9/src/cmd/split.c
.SH SEE ALSO
.IR sed (1),
.IR awk (1),
diff --git a/man/man1/strings.1 b/man/man1/strings.1
index d72ffbb..2f3af53 100644
--- a/man/man1/strings.1
+++ b/man/man1/strings.1
@@ -23,6 +23,6 @@
terminated by three dots and the printing is resumed on the next
line with the offset of the continuation line.
.SH SOURCE
-.B /sys/src/cmd/strings.c
+.B /usr/local/plan9/src/cmd/strings.c
.SH SEE ALSO
.IR nm (1)
diff --git a/man/man1/sum.1 b/man/man1/sum.1
index d981c8c..6eaa1ef 100644
--- a/man/man1/sum.1
+++ b/man/man1/sum.1
@@ -67,11 +67,11 @@
the standard input is
summed.
.SH SOURCE
-.B /sys/src/cmd/sum.c
+.B /usr/local/plan9/src/cmd/sum.c
.br
-.B /sys/src/cmd/md5sum.c
+.B /usr/local/plan9/src/cmd/md5sum.c
.br
-.B /sys/src/cmd/sha1sum.c
+.B /usr/local/plan9/src/cmd/sha1sum.c
.SH "SEE ALSO"
.IR cmp (1),
.IR wc (1)
diff --git a/man/man1/tail.1 b/man/man1/tail.1
index b2d880b..6cae088 100644
--- a/man/man1/tail.1
+++ b/man/man1/tail.1
@@ -72,7 +72,7 @@
.B sed 10q file
Print the first 10 lines of a file.
.SH SOURCE
-.B /sys/src/cmd/tail.c
+.B /usr/local/plan9/src/cmd/tail.c
.SH BUGS
Tails relative to the end of the file
are treasured up in a buffer, and thus
diff --git a/man/man1/tar.1 b/man/man1/tar.1
index 8ef56d0..00ac041 100644
--- a/man/man1/tar.1
+++ b/man/man1/tar.1
@@ -101,7 +101,7 @@
@{cd fromdir && tar cp .} | @{cd todir && tar xT}
.EE
.SH SOURCE
-.B /sys/src/cmd/tar.c
+.B /usr/local/plan9/src/cmd/tar.c
.SH SEE ALSO
.IR ar (1),
.IR bundle (1),
diff --git a/man/man1/tee.1 b/man/man1/tee.1
index d237fb7..57ca9ba 100644
--- a/man/man1/tee.1
+++ b/man/man1/tee.1
@@ -25,4 +25,4 @@
.I files
rather than rewriting them.
.SH SOURCE
-.B /sys/src/cmd/tee.c
+.B /usr/local/plan9/src/cmd/tee.c
diff --git a/man/man1/test.1 b/man/man1/test.1
index 86f0cd3..d5473a3 100644
--- a/man/man1/test.1
+++ b/man/man1/test.1
@@ -206,6 +206,6 @@
.IP
.B test -f abc -o -d abc
.SH SOURCE
-.B /sys/src/cmd/test.c
+.B /usr/local/plan9/src/cmd/test.c
.SH "SEE ALSO"
.IR rc (1)
diff --git a/man/man1/time.1 b/man/man1/time.1
index 2c6b834..03f2437 100644
--- a/man/man1/time.1
+++ b/man/man1/time.1
@@ -16,6 +16,6 @@
system time, and real time, in seconds,
followed by the command line.
.SH SOURCE
-.B /sys/src/cmd/time.c
+.B /usr/local/plan9/src/cmd/time.c
.SH "SEE ALSO"
.IR prof (1)
diff --git a/man/man1/touch.1 b/man/man1/touch.1
index ac5937e..3b07489 100644
--- a/man/man1/touch.1
+++ b/man/man1/touch.1
@@ -25,7 +25,7 @@
.B -c
is present.
.SH SOURCE
-.B /sys/src/cmd/touch.c
+.B /usr/local/plan9/src/cmd/touch.c
.SH SEE ALSO
.IR ls (1),
.IR stat (2),
diff --git a/man/man1/tr.1 b/man/man1/tr.1
index 0e11f5b..a597ba1 100644
--- a/man/man1/tr.1
+++ b/man/man1/tr.1
@@ -92,6 +92,6 @@
\&' <file1 >file2
.EE
.SH SOURCE
-.B /sys/src/cmd/tr.c
+.B /usr/local/plan9/src/cmd/tr.c
.SH "SEE ALSO"
.IR sed (1)
diff --git a/man/man1/uniq.1 b/man/man1/uniq.1
index 65fcd49..64a302e 100644
--- a/man/man1/uniq.1
+++ b/man/man1/uniq.1
@@ -51,7 +51,7 @@
characters are ignored.
Fields are skipped before characters.
.SH SOURCE
-.B /sys/src/cmd/uniq.c
+.B /usr/local/plan9/src/cmd/uniq.c
.SH "SEE ALSO"
.IR sort (1)
.SH BUGS
diff --git a/man/man1/wc.1 b/man/man1/wc.1
index 1c9768f..684f4fb 100644
--- a/man/man1/wc.1
+++ b/man/man1/wc.1
@@ -35,7 +35,7 @@
.RB ( -lwc )
are reported.
.SH SOURCE
-.B /sys/src/cmd/wc.c
+.B /usr/local/plan9/src/cmd/wc.c
.SH BUGS
The Unicode Standard has many blank characters scattered through it,
but
diff --git a/man/man1/xd.1 b/man/man1/xd.1
index cc2d394..933faea 100644
--- a/man/man1/xd.1
+++ b/man/man1/xd.1
@@ -79,7 +79,7 @@
Print repeating groups of identical 16-byte sequences as the first group
followed by an asterisk.
.SH SOURCE
-.B /sys/src/cmd/xd.c
+.B /usr/local/plan9/src/cmd/xd.c
.SH "SEE ALSO"
.IR db (1)
.SH BUGS
diff --git a/man/man1/yacc.1 b/man/man1/yacc.1
index a965f95..08d51b7 100644
--- a/man/man1/yacc.1
+++ b/man/man1/yacc.1
@@ -123,7 +123,7 @@
Finally, some undocumented inner workings of the parser have been
changed, which may affect programs that know too much about its structure.
.SH FILES
-.TF /sys/lib/yaccpars
+.TF y.debug.xxxxx
.TP
.B y.output
.TP
@@ -139,13 +139,13 @@
.B y.acts.*
temporary file
.TP
-.B /sys/lib/yaccpar
+.B /usr/local/plan9/lib/yaccpar
parser prototype
.TP
-.B /sys/lib/yaccpars
+.B /usr/local/plan9/lib/yaccpars
parser prototype using stdio
.SH SOURCE
-.B /sys/src/cmd/yacc.c
+.B /usr/local/plan9/src/cmd/yacc.c
.SH "SEE ALSO"
.IR lex (1)
.br
diff --git a/man/man3/9p.3 b/man/man3/9p.3
index e3859b1..9e75573 100644
--- a/man/man3/9p.3
+++ b/man/man3/9p.3
@@ -725,7 +725,7 @@
.IR nntpfs (4),
.IR snap (4),
and
-.B /sys/src/lib9p/ramfs.c
+.B /usr/local/plan9/src/lib9p/ramfs.c
are good examples of simple single-threaded file servers.
.IR Webfs (4)
and
@@ -748,7 +748,7 @@
.IR nntpfs )
or is maintained elsewhere.
.SH SOURCE
-.B /sys/src/lib9p
+.B /usr/local/plan9/src/lib9p
.SH SEE ALSO
.IR 9pfid (3),
.IR 9pfile (3),
diff --git a/man/man3/9pcmdbuf.3 b/man/man3/9pcmdbuf.3
index f0b2f7e..d6a78b9 100644
--- a/man/man3/9pcmdbuf.3
+++ b/man/man3/9pcmdbuf.3
@@ -108,9 +108,9 @@
This interface is not used in any distributed 9P servers.
It was lifted from the Plan 9 kernel.
Almost any kernel driver
-.RB ( /sys/src/9/*/dev*.c )
+.RB ( /usr/local/plan9/src/9/*/dev*.c )
is a good example.
.SH SOURCE
-.B /sys/src/lib9p/parse.c
+.B /usr/local/plan9/src/lib9p/parse.c
.SH SEE ALSO
.IR 9p (3)
diff --git a/man/man3/9pfid.3 b/man/man3/9pfid.3
index 62047ca..2852baf 100644
--- a/man/man3/9pfid.3
+++ b/man/man3/9pfid.3
@@ -198,7 +198,7 @@
.B Req
structures.
.SH SOURCE
-.B /sys/src/lib9p
+.B /usr/local/plan9/src/lib9p
.SH SEE ALSO
.IR 9p (3),
.IR 9pfile (3)
diff --git a/man/man3/9pfile.3 b/man/man3/9pfile.3
index 1b0824d..083b655 100644
--- a/man/man3/9pfile.3
+++ b/man/man3/9pfile.3
@@ -216,7 +216,7 @@
return nf;
.EE
.SH SOURCE
-.B /sys/src/lib9p/file.c
+.B /usr/local/plan9/src/lib9p/file.c
.SH SEE ALSO
.IR 9p (3)
.SH BUGS
diff --git a/man/man3/abort.3 b/man/man3/abort.3
index 7b00a4d..2615f5b 100644
--- a/man/man3/abort.3
+++ b/man/man3/abort.3
@@ -15,4 +15,4 @@
causes an access fault, causing the current process to enter the `Broken' state.
The process can then be inspected by a debugger.
.SH SOURCE
-.B /sys/src/libc/9sys/abort.c
+.B /usr/local/plan9/src/libc/9sys/abort.c
diff --git a/man/man3/abs.3 b/man/man3/abs.3
index cd393f0..46dbd92 100644
--- a/man/man3/abs.3
+++ b/man/man3/abs.3
@@ -20,7 +20,7 @@
.I labs
does the same for a long.
.SH SOURCE
-.B /sys/src/libc/port/abs.c
+.B /usr/local/plan9/src/libc/port/abs.c
.SH SEE ALSO
.IR floor (3)
for
diff --git a/man/man3/access.3 b/man/man3/access.3
index 5067db7..d98d88a 100644
--- a/man/man3/access.3
+++ b/man/man3/access.3
@@ -44,7 +44,7 @@
.BR AREAD =4.
.PP
.SH SOURCE
-.B /sys/src/libc/9sys/access.c
+.B /usr/local/plan9/src/libc/9sys/access.c
.SH SEE ALSO
.IR stat (3)
.SH DIAGNOSTICS
diff --git a/man/man3/addpt.3 b/man/man3/addpt.3
index 79bba0b..e249c08 100644
--- a/man/man3/addpt.3
+++ b/man/man3/addpt.3
@@ -183,6 +183,6 @@
give the width (Δx) and height (Δy) of a Rectangle.
They are implemented as macros.
.SH SOURCE
-.B /sys/src/libdraw
+.B /usr/local/plan9/src/libdraw
.SH SEE ALSO
.IR graphics (3)
diff --git a/man/man3/aes.3 b/man/man3/aes.3
index 51d68d2..df8ff29 100644
--- a/man/man3/aes.3
+++ b/man/man3/aes.3
@@ -37,7 +37,7 @@
bytes should random enough to be unlikely to be reused but does not need to be
cryptographically strongly unpredictable.
.SH SOURCE
-.B /sys/src/libsec
+.B /usr/local/plan9/src/libsec
.SH SEE ALSO
.IR mp (3),
.IR blowfish (3),
diff --git a/man/man3/allocimage.3 b/man/man3/allocimage.3
index eb55055..26365dc 100644
--- a/man/man3/allocimage.3
+++ b/man/man3/allocimage.3
@@ -331,7 +331,7 @@
red = allocimage(display, Rect(0, 0, 1, 1), RGB24, 1, DRed);
.EE
.SH SOURCE
-.B /sys/src/libdraw
+.B /usr/local/plan9/src/libdraw
.SH "SEE ALSO"
.IR graphics (3),
.IR draw (3),
diff --git a/man/man3/assert.3 b/man/man3/assert.3
index 135560f..82c43d0 100644
--- a/man/man3/assert.3
+++ b/man/man3/assert.3
@@ -22,4 +22,4 @@
.I cond
is false.
.SH SOURCE
-.B /sys/src/libc/port/_assert.c
+.B /usr/local/plan9/src/libc/port/_assert.c
diff --git a/man/man3/atof.3 b/man/man3/atof.3
index 2ab2f3f..f242036 100644
--- a/man/man3/atof.3
+++ b/man/man3/atof.3
@@ -127,7 +127,7 @@
after calling
.IR charstod .
.SH SOURCE
-.B /sys/src/libc/port
+.B /usr/local/plan9/src/libc/port
.SH SEE ALSO
.IR fscanf (3)
.SH DIAGNOSTICS
diff --git a/man/man3/auth.3 b/man/man3/auth.3
index 56ab65f..1fe81f9 100644
--- a/man/man3/auth.3
+++ b/man/man3/auth.3
@@ -385,7 +385,7 @@
.I auth_freechal
frees a challenge/response state.
.SH SOURCE
-.B /sys/src/libauth
+.B /usr/local/plan9/src/libauth
.SH SEE ALSO
.IR factotum (4),
.IR authsrv (3),
diff --git a/man/man3/authsrv.3 b/man/man3/authsrv.3
index d9286dc..c8f3330 100644
--- a/man/man3/authsrv.3
+++ b/man/man3/authsrv.3
@@ -211,7 +211,7 @@
.I _asgetresp
to recieve an answer.
.SH SOURCE
-.B /sys/src/libauthsrv
+.B /usr/local/plan9/src/libauthsrv
.SH SEE ALSO
.IR passwd (1),
.IR cons (3),
diff --git a/man/man3/bin.3 b/man/man3/bin.3
index 819f29e..1d1e320 100644
--- a/man/man3/bin.3
+++ b/man/man3/bin.3
@@ -89,7 +89,7 @@
upon a call to
.IR binfree .
.SH SOURCE
-.B /sys/src/libbin
+.B /usr/local/plan9/src/libbin
.SH SEE ALSO
.IR malloc (3)
.SH DIAGNOSTICS
diff --git a/man/man3/bio.3 b/man/man3/bio.3
index 43162a1..7f6c05f 100644
--- a/man/man3/bio.3
+++ b/man/man3/bio.3
@@ -307,7 +307,7 @@
read on the file; when writing, it is the number of bytes ready to be
written.
.SH SOURCE
-.B /sys/src/libbio
+.B /usr/local/plan9/src/libbio
.SH SEE ALSO
.IR open (3),
.IR print (3),
diff --git a/man/man3/blowfish.3 b/man/man3/blowfish.3
index ca7914f..5938e35 100644
--- a/man/man3/blowfish.3
+++ b/man/man3/blowfish.3
@@ -38,7 +38,7 @@
functions take a BFstate structure, a data buffer, and a length, which
must be a multiple of eight bytes as padding is currently unsupported.
.SH SOURCE
-.B /sys/src/libsec
+.B /usr/local/plan9/src/libsec
.SH SEE ALSO
.IR mp (3),
.IR aes (3),
diff --git a/man/man3/cachechars.3 b/man/man3/cachechars.3
index 41bbfb2..46bff61 100644
--- a/man/man3/cachechars.3
+++ b/man/man3/cachechars.3
@@ -300,7 +300,7 @@
Thus, characters or subfonts with small ages are the best candidates
for replacement when the cache is full.
.SH SOURCE
-.B /sys/src/libdraw
+.B /usr/local/plan9/src/libdraw
.SH SEE ALSO
.IR graphics (3),
.IR allocimage (3),
diff --git a/man/man3/cleanname.3 b/man/man3/cleanname.3
index 7decd18..27818ef 100644
--- a/man/man3/cleanname.3
+++ b/man/man3/cleanname.3
@@ -29,6 +29,6 @@
.I filename
must contain room for at least two bytes.
.SH SOURCE
-.B /sys/src/libc/port/cleanname.c
+.B /usr/local/plan9/src/libc/port/cleanname.c
.SH SEE ALSO
.IR cleanname (1)
diff --git a/man/man3/color.3 b/man/man3/color.3
index 4bf6e81..7d772b5 100644
--- a/man/man3/color.3
+++ b/man/man3/color.3
@@ -47,7 +47,7 @@
library routines that
take colors as arguments.
.SH SOURCE
-.B /sys/src/libdraw
+.B /usr/local/plan9/src/libdraw
.SH SEE ALSO
.IR graphics (3),
.IR allocimage (3),
diff --git a/man/man3/complete.3 b/man/man3/complete.3
index 1f5b866..b1478dd 100644
--- a/man/man3/complete.3
+++ b/man/man3/complete.3
@@ -91,7 +91,7 @@
.IR acme (1),
file name completion is triggered by a control-F character or an Insert character.
.SH SOURCE
-.B /sys/src/libcomplete
+.B /usr/local/plan9/src/libcomplete
.SH SEE ALSO
.IR rio (1),
.IR acme (1)
diff --git a/man/man3/cputime.3 b/man/man3/cputime.3
index badea40..5acf671 100644
--- a/man/man3/cputime.3
+++ b/man/man3/cputime.3
@@ -29,6 +29,6 @@
.BR /dev/cputime ,
opening that file when they are first called.
.SH SOURCE
-.B /sys/src/libc/9sys
+.B /usr/local/plan9/src/libc/9sys
.SH SEE ALSO
.IR cons (3)
diff --git a/man/man3/ctype.3 b/man/man3/ctype.3
index 28b92c1..bb3f332 100644
--- a/man/man3/ctype.3
+++ b/man/man3/ctype.3
@@ -145,12 +145,12 @@
are corresponding macros which should only be used when it
is known that the argument is upper case or lower case, respectively.
.SH SOURCE
-.TF /sys/src/libc/port/ctype.c
+.TF /usr/local/plan9/src/libc/port/ctype.c
.TP
.B /sys/include/ctype.h
for the macros.
.TP
-.B /sys/src/libc/port/ctype.c
+.B /usr/local/plan9/src/libc/port/ctype.c
for the tables.
.SH "SEE ALSO
.IR isalpharune (3)
diff --git a/man/man3/des.3 b/man/man3/des.3
index f264a8d..5d4d133 100644
--- a/man/man3/des.3
+++ b/man/man3/des.3
@@ -130,7 +130,7 @@
.IR key_setup .
.PP
.SH SOURCE
-.B /sys/src/libsec
+.B /usr/local/plan9/src/libsec
.SH SEE ALSO
.IR mp (3),
.IR aes (3),
diff --git a/man/man3/dial.3 b/man/man3/dial.3
index ea745af..b26e65c 100644
--- a/man/man3/dial.3
+++ b/man/man3/dial.3
@@ -315,8 +315,8 @@
}
.EE
.SH SOURCE
-.BR /sys/src/libc/9sys ,
-.B /sys/src/libc/port
+.BR /usr/local/plan9/src/libc/9sys ,
+.B /usr/local/plan9/src/libc/port
.SH "SEE ALSO"
.IR auth (3),
.IR ip (3),
diff --git a/man/man3/dirread.3 b/man/man3/dirread.3
index 0910d22..4258509 100644
--- a/man/man3/dirread.3
+++ b/man/man3/dirread.3
@@ -83,7 +83,7 @@
.BR buf .
The file offset is advanced by the number of bytes actually read.
.SH SOURCE
-.B /sys/src/libc/9sys/dirread.c
+.B /usr/local/plan9/src/libc/9sys/dirread.c
.SH SEE ALSO
.IR intro (3),
.IR open (3),
diff --git a/man/man3/draw.3 b/man/man3/draw.3
index 31baacb..6ad6d37 100644
--- a/man/man3/draw.3
+++ b/man/man3/draw.3
@@ -801,7 +801,7 @@
.I on
is non-zero.
.SH SOURCE
-.B /sys/src/libdraw
+.B /usr/local/plan9/src/libdraw
.SH SEE ALSO
.IR graphics (3),
.IR stringsize (3),
diff --git a/man/man3/dsa.3 b/man/man3/dsa.3
index f645dd8..b1af55e 100644
--- a/man/man3/dsa.3
+++ b/man/man3/dsa.3
@@ -119,7 +119,7 @@
.I dsasigfree
are provided to manage signature storage.
.SH SOURCE
-.B /sys/src/libsec
+.B /usr/local/plan9/src/libsec
.SH SEE ALSO
.IR mp (3),
.IR aes (3),
diff --git a/man/man3/dup.3 b/man/man3/dup.3
index 108d624..e3cee43 100644
--- a/man/man3/dup.3
+++ b/man/man3/dup.3
@@ -33,7 +33,7 @@
be no greater than 20 more than the highest file descriptor ever used by
the program.
.SH SOURCE
-.B /sys/src/libc/9syscall
+.B /usr/local/plan9/src/libc/9syscall
.SH SEE ALSO
.IR intro (3),
.IR dup (3)
diff --git a/man/man3/elgamal.3 b/man/man3/elgamal.3
index 58a95e2..204b85e 100644
--- a/man/man3/elgamal.3
+++ b/man/man3/elgamal.3
@@ -111,7 +111,7 @@
.I egsigfree
are provided to manage signature storage.
.SH SOURCE
-.B /sys/src/libsec
+.B /usr/local/plan9/src/libsec
.SH SEE ALSO
.IR mp (3),
.IR aes (3),
diff --git a/man/man3/encode.3 b/man/man3/encode.3
index c756b27..1a93e37 100644
--- a/man/man3/encode.3
+++ b/man/man3/encode.3
@@ -80,6 +80,6 @@
.EE
.SH SOURCE
-.B /sys/src/libc/port/u32.c
+.B /usr/local/plan9/src/libc/port/u32.c
.br
-.B /sys/src/libc/port/u64.c
+.B /usr/local/plan9/src/libc/port/u64.c
diff --git a/man/man3/encrypt.3 b/man/man3/encrypt.3
index 18e026c..50d00bf 100644
--- a/man/man3/encrypt.3
+++ b/man/man3/encrypt.3
@@ -59,7 +59,7 @@
and the string is copied into
.IR data .
.SH SOURCE
-.B /sys/src/libc/port
+.B /usr/local/plan9/src/libc/port
.SH DIAGNOSTICS
These routines return 1 if the data was encrypted,
and 0 if the encryption fails.
diff --git a/man/man3/errstr.3 b/man/man3/errstr.3
index 138bec3..1a88897 100644
--- a/man/man3/errstr.3
+++ b/man/man3/errstr.3
@@ -74,9 +74,9 @@
.I errstr
is discarded.
.SH SOURCE
-.B /sys/src/libc/9syscall
+.B /usr/local/plan9/src/libc/9syscall
.br
-.B /sys/src/libc/9sys/werrstr.c
+.B /usr/local/plan9/src/libc/9sys/werrstr.c
.SH DIAGNOSTICS
.I Errstr
always returns 0.
diff --git a/man/man3/event.3 b/man/man3/event.3
index 86da820..7982b70 100644
--- a/man/man3/event.3
+++ b/man/man3/event.3
@@ -375,7 +375,7 @@
.B c
is nil, it restores the image to the default arrow.
.SH SOURCE
-.B /sys/src/libdraw
+.B /usr/local/plan9/src/libdraw
.SH "SEE ALSO"
.IR rio (1),
.IR graphics (3),
diff --git a/man/man3/exec.3 b/man/man3/exec.3
index bf10cb5..4886861 100644
--- a/man/man3/exec.3
+++ b/man/man3/exec.3
@@ -142,9 +142,9 @@
.B R0
on the 68020) contains the address of the clock.
.SH SOURCE
-.B /sys/src/libc/9syscall
+.B /usr/local/plan9/src/libc/9syscall
.br
-.B /sys/src/libc/port/execl.c
+.B /usr/local/plan9/src/libc/port/execl.c
.SH SEE ALSO
.IR prof (1),
.IR intro (3),
diff --git a/man/man3/exits.3 b/man/man3/exits.3
index c5fcf9e..2591ff1 100644
--- a/man/man3/exits.3
+++ b/man/man3/exits.3
@@ -75,7 +75,7 @@
.I Atexitdont
cancels a previous registration of an exit function.
.SH SOURCE
-.B /sys/src/libc/port/atexit.c
+.B /usr/local/plan9/src/libc/port/atexit.c
.SH "SEE ALSO"
.IR fork (3),
.IR wait (3)
diff --git a/man/man3/fcall.3 b/man/man3/fcall.3
index bc7f887..2e09dda 100644
--- a/man/man3/fcall.3
+++ b/man/man3/fcall.3
@@ -349,7 +349,7 @@
The return value is 0 for end of file, or -1 for error; it does not return
partial messages.
.SH SOURCE
-.B /sys/src/libc/9sys
+.B /usr/local/plan9/src/libc/9sys
.SH SEE ALSO
.IR intro (3),
.IR 9p (3),
diff --git a/man/man3/flate.3 b/man/man3/flate.3
index 7557487..8383539 100644
--- a/man/man3/flate.3
+++ b/man/man3/flate.3
@@ -204,4 +204,4 @@
.I adler
(that is, its value after seeing zero bytes) should be 1.
.SH SOURCE
-.B /sys/src/libflate
+.B /usr/local/plan9/src/libflate
diff --git a/man/man3/fmtinstall.3 b/man/man3/fmtinstall.3
index 4983399..cc4884a 100644
--- a/man/man3/fmtinstall.3
+++ b/man/man3/fmtinstall.3
@@ -362,7 +362,7 @@
}
.EE
.SH SOURCE
-.B /sys/src/libc/fmt
+.B /usr/local/plan9/src/libc/fmt
.SH SEE ALSO
.IR print (3),
.IR utf (6),
diff --git a/man/man3/fork.3 b/man/man3/fork.3
index e2be5b9..e17f0d6 100644
--- a/man/man3/fork.3
+++ b/man/man3/fork.3
@@ -155,9 +155,9 @@
is just a call of
.BR rfork(RFFDG|RFREND|RFPROC) .
.SH SOURCE
-.B /sys/src/libc/9syscall
+.B /usr/local/plan9/src/libc/9syscall
.br
-.B /sys/src/libc/9sys/fork.c
+.B /usr/local/plan9/src/libc/9sys/fork.c
.SH SEE ALSO
.IR intro (3),
.IR proc (3),
diff --git a/man/man3/frame.3 b/man/man3/frame.3
index f43b02b..db004df 100644
--- a/man/man3/frame.3
+++ b/man/man3/frame.3
@@ -355,7 +355,7 @@
and
.IR p1 .
.SH SOURCE
-.B /sys/src/libframe
+.B /usr/local/plan9/src/libframe
.SH SEE ALSO
.IR graphics (3),
.IR draw (3),
diff --git a/man/man3/genrandom.3 b/man/man3/genrandom.3
index 22cad7d..f8952e4 100644
--- a/man/man3/genrandom.3
+++ b/man/man3/genrandom.3
@@ -39,6 +39,6 @@
(see
.IR mp (3)).
.SH SOURCE
-.B /sys/src/libsec
+.B /usr/local/plan9/src/libsec
.SH SEE ALSO
.IR mp (3)
diff --git a/man/man3/getcallerpc.3 b/man/man3/getcallerpc.3
index 8fc86d8..c275fb5 100644
--- a/man/man3/getcallerpc.3
+++ b/man/man3/getcallerpc.3
@@ -31,7 +31,7 @@
}
.EE
.SH SOURCE
-.B /sys/src/libc/$objtype/getcallerpc.[cs]
+.B /usr/local/plan9/src/libc/$objtype/getcallerpc.[cs]
.SH BUGS
The
.I firstarg
diff --git a/man/man3/getenv.3 b/man/man3/getenv.3
index 15ad6f3..315407c 100644
--- a/man/man3/getenv.3
+++ b/man/man3/getenv.3
@@ -36,7 +36,7 @@
is not written.
If the file value cannot be written, \-1 is returned.
.SH SOURCE
-.B /sys/src/libc/9sys
+.B /usr/local/plan9/src/libc/9sys
.SH SEE ALSO
.IR env (3)
.SH DIAGNOSTICS
diff --git a/man/man3/getfcr.3 b/man/man3/getfcr.3
index 4263463..577180a 100644
--- a/man/man3/getfcr.3
+++ b/man/man3/getfcr.3
@@ -122,4 +122,4 @@
.ft
.EE
.SH SOURCE
-.B /sys/src/libc/$objtype/getfcr.s
+.B /usr/local/plan9/src/libc/$objtype/getfcr.s
diff --git a/man/man3/getfields.3 b/man/man3/getfields.3
index 897fbeb..e39c775 100644
--- a/man/man3/getfields.3
+++ b/man/man3/getfields.3
@@ -87,7 +87,7 @@
.I delims
set to \f5"\et\er\en "\fP.
.SH SOURCE
-.B /sys/src/libc/port/tokenize.c
+.B /usr/local/plan9/src/libc/port/tokenize.c
.SH SEE ALSO
.I strtok
in
diff --git a/man/man3/getpid.3 b/man/man3/getpid.3
index a1cc50f..44837f6 100644
--- a/man/man3/getpid.3
+++ b/man/man3/getpid.3
@@ -29,7 +29,7 @@
.IR cons (3))
and converts it to get the id of the parent of the current process.
.SH SOURCE
-.B /sys/src/libc/9sys
+.B /usr/local/plan9/src/libc/9sys
.SH SEE ALSO
.IR intro (3),
.IR cons (3),
diff --git a/man/man3/getuser.3 b/man/man3/getuser.3
index cde4b2b..e09c4a4 100644
--- a/man/man3/getuser.3
+++ b/man/man3/getuser.3
@@ -31,7 +31,7 @@
.I sysname
caches the string, reading the file only once.
.SH SOURCE
-.B /sys/src/libc/port/getuser.c
+.B /usr/local/plan9/src/libc/port/getuser.c
.SH SEE ALSO
.IR intro (3),
.IR cons (3)
diff --git a/man/man3/getwd.3 b/man/man3/getwd.3
index 24bdc83..6b053fd 100644
--- a/man/man3/getwd.3
+++ b/man/man3/getwd.3
@@ -21,7 +21,7 @@
.I size
bytes in the buffer provided.
.SH SOURCE
-.B /sys/src/libc/9sys/getwd.c
+.B /usr/local/plan9/src/libc/9sys/getwd.c
.SH "SEE ALSO"
.IR pwd (1),
.IR fd2path (3)
diff --git a/man/man3/graphics.3 b/man/man3/graphics.3
index 372b137..6824537 100644
--- a/man/man3/graphics.3
+++ b/man/man3/graphics.3
@@ -617,7 +617,7 @@
.SH FILES
.BR /lib/font/bit " directory of fonts
.SH SOURCE
-.B /sys/src/libdraw
+.B /usr/local/plan9/src/libdraw
.SH "SEE ALSO"
.IR rio (1),
.IR addpt (3),
diff --git a/man/man3/html.3 b/man/man3/html.3
index 8de7b12..be239f7 100644
--- a/man/man3/html.3
+++ b/man/man3/html.3
@@ -1409,7 +1409,7 @@
.B FRvscrollauto
(the frame gets a vertical scrollbar only if required).
.SH SOURCE
-.B /sys/src/libhtml
+.B /usr/local/plan9/src/libhtml
.SH SEE ALSO
.IR fmt (1)
.PP
diff --git a/man/man3/hypot.3 b/man/man3/hypot.3
index f8a3062..a539c72 100644
--- a/man/man3/hypot.3
+++ b/man/man3/hypot.3
@@ -18,4 +18,4 @@
.EE
taking precautions against unwarranted overflows.
.SH SOURCE
-.B /sys/src/libc/port/hypot.c
+.B /usr/local/plan9/src/libc/port/hypot.c
diff --git a/man/man3/intmap.3 b/man/man3/intmap.3
index df38ce7..443f4e4 100644
--- a/man/man3/intmap.3
+++ b/man/man3/intmap.3
@@ -120,7 +120,7 @@
and
.BR Reqpool s.
.SH SOURCE
-.B /sys/src/lib9p/intmap.c
+.B /usr/local/plan9/src/lib9p/intmap.c
.SH SEE ALSO
.IR 9p (3),
.IR 9pfid (3).
diff --git a/man/man3/ioproc.3 b/man/man3/ioproc.3
index 9753b90..ae21758 100644
--- a/man/man3/ioproc.3
+++ b/man/man3/ioproc.3
@@ -170,7 +170,7 @@
}
.EE
.SH SOURCE
-.B /sys/src/libthread/io*.c
+.B /usr/local/plan9/src/libthread/io*.c
.SH SEE ALSO
.IR dial (3),
.IR open (3),
diff --git a/man/man3/ip.3 b/man/man3/ip.3
index f7f0715..b133adf 100644
--- a/man/man3/ip.3
+++ b/man/man3/ip.3
@@ -330,6 +330,6 @@
the remote address if the network is
point to point.
.SH SOURCE
-.B /sys/src/libip
+.B /usr/local/plan9/src/libip
.SH SEE ALSO
.IR print (3)
diff --git a/man/man3/isalpharune.3 b/man/man3/isalpharune.3
index 4e38c5e..07d9955 100644
--- a/man/man3/isalpharune.3
+++ b/man/man3/isalpharune.3
@@ -45,7 +45,7 @@
.PP
The case-conversion routines return the character unchanged if it has no case.
.SH SOURCE
-.B /sys/src/libc/port/runetype.c
+.B /usr/local/plan9/src/libc/port/runetype.c
.SH "SEE ALSO
.IR ctype (3) ,
.IR "The Unicode Standard" .
diff --git a/man/man3/keyboard.3 b/man/man3/keyboard.3
index ae7a224..b90f18b 100644
--- a/man/man3/keyboard.3
+++ b/man/man3/keyboard.3
@@ -92,7 +92,7 @@
structure.
.PP
.SH SOURCE
-.B /sys/src/libdraw
+.B /usr/local/plan9/src/libdraw
.SH SEE ALSO
.IR graphics (3),
.IR draw (3),
diff --git a/man/man3/lock.3 b/man/man3/lock.3
index 5d4d56d..d989d18 100644
--- a/man/man3/lock.3
+++ b/man/man3/lock.3
@@ -199,11 +199,11 @@
.B Ref
and returns zero if the resulting value is zero, non-zero otherwise.
.SH SOURCE
-.B /sys/src/libc/port/lock.c
+.B /usr/local/plan9/src/libc/port/lock.c
.br
-.B /sys/src/libc/9sys/qlock.c
+.B /usr/local/plan9/src/libc/9sys/qlock.c
.br
-.B /sys/src/libthread/ref.c
+.B /usr/local/plan9/src/libthread/ref.c
.SH SEE ALSO
.I rfork
in
diff --git a/man/man3/mach-file.3 b/man/man3/mach-file.3
index 9af4f11..f235815 100644
--- a/man/man3/mach-file.3
+++ b/man/man3/mach-file.3
@@ -146,7 +146,7 @@
.IR free (3)
when no longer needed.
.SH SOURCE
-.B /sys/src/libmach
+.B /usr/local/plan9/src/libmach
.SH "SEE ALSO"
.IR mach (3),
.IR mach-map (3)
diff --git a/man/man3/mach-map.3 b/man/man3/mach-map.3
index a3685b6..8175e13 100644
--- a/man/man3/mach-map.3
+++ b/man/man3/mach-map.3
@@ -411,7 +411,7 @@
.I rput
function families as necessary.
.SH SOURCE
-.B /sys/src/libmach
+.B /usr/local/plan9/src/libmach
.SH "SEE ALSO"
.IR mach (3),
.IR mach-file (3)
diff --git a/man/man3/mach-stack.3 b/man/man3/mach-stack.3
index e4befbb..e17c6cb 100644
--- a/man/man3/mach-stack.3
+++ b/man/man3/mach-stack.3
@@ -132,6 +132,6 @@
print("no stack frame\n");
.RE
.SH SOURCE
-.B /sys/src/libmach
+.B /usr/local/plan9/src/libmach
.SH SEE ALSO
.IR mach (3)
diff --git a/man/man3/mach-swap.3 b/man/man3/mach-swap.3
index bf23295..50271f6 100644
--- a/man/man3/mach-swap.3
+++ b/man/man3/mach-swap.3
@@ -112,6 +112,6 @@
and low 32-bits are in
.IR lo .
.SH SOURCE
-.B /sys/src/libmach
+.B /usr/local/plan9/src/libmach
.SH "SEE ALSO"
.IR mach (3)
diff --git a/man/man3/mach-symbol.3 b/man/man3/mach-symbol.3
index 6588df9..ad208ce 100644
--- a/man/man3/mach-symbol.3
+++ b/man/man3/mach-symbol.3
@@ -320,7 +320,7 @@
in the system error buffer where it is available via
.IR errstr .
.SH SOURCE
-.B /sys/src/libmach
+.B /usr/local/plan9/src/libmach
.SH "SEE ALSO"
.IR mach (3),
.IR mach-file (3),
diff --git a/man/man3/mach.3 b/man/man3/mach.3
index 62807e8..3891852 100644
--- a/man/man3/mach.3
+++ b/man/man3/mach.3
@@ -74,7 +74,7 @@
.I Mach-symbol (3)
describes the interface to debugging symbol information.
.SH SOURCE
-.B /sys/src/libmach
+.B /usr/local/plan9/src/libmach
.SH "SEE ALSO
.IR mach-file (3),
.IR mach-map (3),
diff --git a/man/man3/malloc.3 b/man/man3/malloc.3
index 281df7c..54e9ecc 100644
--- a/man/man3/malloc.3
+++ b/man/man3/malloc.3
@@ -146,7 +146,7 @@
.IR pool (3)
routines.
.SH SOURCE
-.B /sys/src/libc/port/malloc.c
+.B /usr/local/plan9/src/libc/port/malloc.c
.SH SEE ALSO
.IR leak (1),
.I trump
diff --git a/man/man3/memdraw.3 b/man/man3/memdraw.3
index 9d0f2ec..78c4859 100644
--- a/man/man3/memdraw.3
+++ b/man/man3/memdraw.3
@@ -433,7 +433,7 @@
.I iprint
prints to a serial line rather than the screen, for obvious reasons.
.SH SOURCE
-.B /sys/src/libmemdraw
+.B /usr/local/plan9/src/libmemdraw
.SH SEE ALSO
.IR addpt (3),
.IR color (3),
diff --git a/man/man3/memlayer.3 b/man/man3/memlayer.3
index bf97fbf..523253a 100644
--- a/man/man3/memlayer.3
+++ b/man/man3/memlayer.3
@@ -296,7 +296,7 @@
(see
.IR image (6)).
.SH SOURCE
-.B /sys/src/libmemlayer
+.B /usr/local/plan9/src/libmemlayer
.SH SEE ALSO
.IR graphics (3),
.IR memdraw (3),
diff --git a/man/man3/mktemp.3 b/man/man3/mktemp.3
index a86bcbe..9ab13cb 100644
--- a/man/man3/mktemp.3
+++ b/man/man3/mktemp.3
@@ -34,7 +34,7 @@
returns
\f5"/"\f1 .
.SH SOURCE
-.B /sys/src/libc/port/mktemp.c
+.B /usr/local/plan9/src/libc/port/mktemp.c
.SH "SEE ALSO"
.IR getpid (3),
.IR access (3)
diff --git a/man/man3/mouse.3 b/man/man3/mouse.3
index 6c5e3a3..8d2eca2 100644
--- a/man/man3/mouse.3
+++ b/man/man3/mouse.3
@@ -240,7 +240,7 @@
restoring the display when the menu is removed.
.PP
.SH SOURCE
-.B /sys/src/libdraw
+.B /usr/local/plan9/src/libdraw
.SH SEE ALSO
.IR graphics (3),
.IR draw (3),
diff --git a/man/man3/mp.3 b/man/man3/mp.3
index 71a4345..420f0ba 100644
--- a/man/man3/mp.3
+++ b/man/man3/mp.3
@@ -574,4 +574,4 @@
.I CRTres
structures respectively.
.SH SOURCE
-.B /sys/src/libmp
+.B /usr/local/plan9/src/libmp
diff --git a/man/man3/nan.3 b/man/man3/nan.3
index b028012..2c77af0 100644
--- a/man/man3/nan.3
+++ b/man/man3/nan.3
@@ -41,4 +41,4 @@
returns true if its first argument is infinity
with the same sign as the second argument.
.SH SOURCE
-.B /sys/src/libc/port/nan.c
+.B /usr/local/plan9/src/libc/port/nan.c
diff --git a/man/man3/notify.3 b/man/man3/notify.3
index 29f03fe..0286ea8 100644
--- a/man/man3/notify.3
+++ b/man/man3/notify.3
@@ -229,9 +229,9 @@
.I fptrap
portions of the notes are machine-dependent.
.SH SOURCE
-.B /sys/src/libc/9syscall
+.B /usr/local/plan9/src/libc/9syscall
.br
-.B /sys/src/libc/port/atnotify.c
+.B /usr/local/plan9/src/libc/port/atnotify.c
.SH SEE ALSO
.IR intro (3),
.I notejmp
diff --git a/man/man3/open.3 b/man/man3/open.3
index 01d29c2..46b4fe5 100644
--- a/man/man3/open.3
+++ b/man/man3/open.3
@@ -138,7 +138,7 @@
.I close
allows the file descriptor to be reused.
.SH SOURCE
-.B /sys/src/libc/9syscall
+.B /usr/local/plan9/src/libc/9syscall
.SH SEE ALSO
.IR intro (3),
.IR bind (3),
diff --git a/man/man3/pipe.3 b/man/man3/pipe.3
index e47da6a..06d3769 100644
--- a/man/man3/pipe.3
+++ b/man/man3/pipe.3
@@ -57,7 +57,7 @@
will return 0 bytes. Writes to a pipe with no reader will generate a note
.BR "sys: write on closed pipe" .
.SH SOURCE
-.B /sys/src/libc/9syscall
+.B /usr/local/plan9/src/libc/9syscall
.SH SEE ALSO
.IR intro (3),
.IR read (3),
diff --git a/man/man3/plumb.3 b/man/man3/plumb.3
index dbb55d1..f75acb3 100644
--- a/man/man3/plumb.3
+++ b/man/man3/plumb.3
@@ -227,7 +227,7 @@
.I Plumbdelattr
is a no-op if no such attribute exists.
.SH SOURCE
-.B /sys/src/libplumb
+.B /usr/local/plan9/src/libplumb
.SH SEE ALSO
.IR plumb (1),
.IR event (3),
diff --git a/man/man3/pool.3 b/man/man3/pool.3
index af683c9..12be579 100644
--- a/man/man3/pool.3
+++ b/man/man3/pool.3
@@ -320,10 +320,10 @@
fills the passed block with garbage rather than
return it to the free pool.
.SH SOURCE
-.B /sys/src/libc/port/pool.c
+.B /usr/local/plan9/src/libc/port/pool.c
.SH SEE ALSO
.IR malloc (3),
.IR brk (3)
.PP
-.B /sys/src/libc/port/malloc.c
+.B /usr/local/plan9/src/libc/port/malloc.c
is a complete example.
diff --git a/man/man3/postnote.3 b/man/man3/postnote.3
index cd7ff6c..fed339b 100644
--- a/man/man3/postnote.3
+++ b/man/man3/postnote.3
@@ -39,7 +39,7 @@
If the write is successful, zero is returned.
Otherwise \-1 is returned.
.SH SOURCE
-.B /sys/src/libc/9sys/postnote.c
+.B /usr/local/plan9/src/libc/9sys/postnote.c
.SH "SEE ALSO"
.IR notify (3),
.IR intro (3),
diff --git a/man/man3/prime.3 b/man/man3/prime.3
index db22e5b..9a59573 100644
--- a/man/man3/prime.3
+++ b/man/man3/prime.3
@@ -91,7 +91,7 @@
can later confirm the computation. Be patient; this is a
slow algorithm.
.SH SOURCE
-.B /sys/src/libsec
+.B /usr/local/plan9/src/libsec
.SH SEE ALSO
.IR aes (3)
.IR blowfish (3),
diff --git a/man/man3/quote.3 b/man/man3/quote.3
index e529c38..286cdd9 100644
--- a/man/man3/quote.3
+++ b/man/man3/quote.3
@@ -157,9 +157,9 @@
.IR print (3)
format strings.
.SH SOURCE
-.B /sys/src/libc/port/quote.c
+.B /usr/local/plan9/src/libc/port/quote.c
.br
-.B /sys/src/libc/fmt/fmtquote.c
+.B /usr/local/plan9/src/libc/fmt/fmtquote.c
.SH "SEE ALSO
.IR rc (1),
.IR malloc (3),
diff --git a/man/man3/rand.3 b/man/man3/rand.3
index 0027f50..3f3e006 100644
--- a/man/man3/rand.3
+++ b/man/man3/rand.3
@@ -156,15 +156,15 @@
.IR x ,
.RI 0≤ x < val ≤ 2\u\s732\s10\d-1.
.SH SOURCE
-.B /sys/src/libc/port/*rand.c
+.B /usr/local/plan9/src/libc/port/*rand.c
.br
-.B /sys/src/libc/9sys/truerand.c
+.B /usr/local/plan9/src/libc/9sys/truerand.c
.br
-.B /sys/src/libsec/port/genrandom.c
+.B /usr/local/plan9/src/libsec/port/genrandom.c
.br
-.B /sys/src/libsec/port/prng.c
+.B /usr/local/plan9/src/libsec/port/prng.c
.br
-.B /sys/src/libsec/port/*fastrand.c
+.B /usr/local/plan9/src/libsec/port/*fastrand.c
.SH "SEE ALSO
.IR cons (3),
.IR mp (3),
diff --git a/man/man3/rc4.3 b/man/man3/rc4.3
index a395146..ba848d9 100644
--- a/man/man3/rc4.3
+++ b/man/man3/rc4.3
@@ -41,7 +41,7 @@
.I RC4state
structure keeps track of the algorithm.
.SH SOURCE
-.B /sys/src/libsec
+.B /usr/local/plan9/src/libsec
.SH SEE ALSO
.IR mp (3),
.IR aes (3),
diff --git a/man/man3/read.3 b/man/man3/read.3
index 8f46559..aa35c65 100644
--- a/man/man3/read.3
+++ b/man/man3/read.3
@@ -81,9 +81,9 @@
read and write operations on the same file descriptor
without interference.
.SH SOURCE
-.B /sys/src/libc/9syscall
+.B /usr/local/plan9/src/libc/9syscall
.br
-.B /sys/src/libc/port/readn.c
+.B /usr/local/plan9/src/libc/port/readn.c
.SH SEE ALSO
.IR intro (3),
.IR open (3),
diff --git a/man/man3/readv.3 b/man/man3/readv.3
index 2c59e36..d74957e 100644
--- a/man/man3/readv.3
+++ b/man/man3/readv.3
@@ -63,9 +63,9 @@
.I pwritev
are the analogous write routines.
.SH SOURCE
-.B /sys/src/libc/9sys/readv.c
+.B /usr/local/plan9/src/libc/9sys/readv.c
.br
-.B /sys/src/libc/9sys/writev.c
+.B /usr/local/plan9/src/libc/9sys/writev.c
.SH SEE ALSO
.IR intro (3),
.IR read (3)
diff --git a/man/man3/regexp.3 b/man/man3/regexp.3
index d332cdd..92f0701 100644
--- a/man/man3/regexp.3
+++ b/man/man3/regexp.3
@@ -194,7 +194,7 @@
.I match
array elements should be used.
.SH SOURCE
-.B /sys/src/libregexp
+.B /usr/local/plan9/src/libregexp
.SH "SEE ALSO"
.IR grep (1)
.SH DIAGNOSTICS
diff --git a/man/man3/remove.3 b/man/man3/remove.3
index a4495b0..ff195b9 100644
--- a/man/man3/remove.3
+++ b/man/man3/remove.3
@@ -18,7 +18,7 @@
.I file
is a directory, it must be empty.
.SH SOURCE
-.B /sys/src/libc/9syscall
+.B /usr/local/plan9/src/libc/9syscall
.SH SEE ALSO
.IR intro (3),
.IR remove (5),
diff --git a/man/man3/rendezvous.3 b/man/man3/rendezvous.3
index 5143c2f..97128ce 100644
--- a/man/man3/rendezvous.3
+++ b/man/man3/rendezvous.3
@@ -48,7 +48,7 @@
.BR ~0 ,
so that value should not be used in normal communication.
.SH SOURCE
-.B /sys/src/libc/9syscall
+.B /usr/local/plan9/src/libc/9syscall
.SH SEE ALSO
.IR segattach (3),
.IR fork (3)
diff --git a/man/man3/rsa.3 b/man/man3/rsa.3
index c138629..56ad4c7 100644
--- a/man/man3/rsa.3
+++ b/man/man3/rsa.3
@@ -187,7 +187,7 @@
.BI * len
is undefined.
.SH SOURCE
-.B /sys/src/libsec
+.B /usr/local/plan9/src/libsec
.SH SEE ALSO
.IR mp (3),
.IR aes (3),
diff --git a/man/man3/rune.3 b/man/man3/rune.3
index 120563b..4689530 100644
--- a/man/man3/rune.3
+++ b/man/man3/rune.3
@@ -182,9 +182,9 @@
returns
.IR s1 .
.SH SOURCE
-.B /sys/src/libc/port/rune.c
+.B /usr/local/plan9/src/libc/port/rune.c
.br
-.B /sys/src/libc/port/utfrune.c
+.B /usr/local/plan9/src/libc/port/utfrune.c
.SH SEE ALSO
.IR utf (6),
.IR tcs (1)
diff --git a/man/man3/runestrcat.3 b/man/man3/runestrcat.3
index a793835..f5210c2 100644
--- a/man/man3/runestrcat.3
+++ b/man/man3/runestrcat.3
@@ -58,7 +58,7 @@
the corresponding functions in
.IR strcat (3).
.SH SOURCE
-.B /sys/src/libc/port
+.B /usr/local/plan9/src/libc/port
.SH SEE ALSO
.IR memory (3),
.IR rune (3),
diff --git a/man/man3/sechash.3 b/man/man3/sechash.3
index 51204ab..9f9f58e 100644
--- a/man/man3/sechash.3
+++ b/man/man3/sechash.3
@@ -140,7 +140,7 @@
.IR malloc (3)'d
object.
.SH SOURCE
-.B /sys/src/libsec
+.B /usr/local/plan9/src/libsec
.SH SEE ALSO
.IR aes (3),
.IR blowfish (3),
diff --git a/man/man3/seek.3 b/man/man3/seek.3
index 9343555..3396638 100644
--- a/man/man3/seek.3
+++ b/man/man3/seek.3
@@ -37,7 +37,7 @@
Seeking in a directory is not allowed.
Seeking in a pipe is a no-op.
.SH SOURCE
-.B /sys/src/libc/9syscall
+.B /usr/local/plan9/src/libc/9syscall
.SH SEE ALSO
.IR intro (3),
.IR open (3)
diff --git a/man/man3/setjmp.3 b/man/man3/setjmp.3
index eb5a5bd..b451c29 100644
--- a/man/man3/setjmp.3
+++ b/man/man3/setjmp.3
@@ -86,9 +86,9 @@
}
.EE
.SH SOURCE
-.B /sys/src/libc/$objtype/setjmp.s
+.B /usr/local/plan9/src/libc/$objtype/setjmp.s
.br
-.B /sys/src/libc/$objtype/notejmp.c
+.B /usr/local/plan9/src/libc/$objtype/notejmp.c
.SH SEE ALSO
.IR notify (3)
.SH BUGS
diff --git a/man/man3/sleep.3 b/man/man3/sleep.3
index 0f43e50..1872ab5 100644
--- a/man/man3/sleep.3
+++ b/man/man3/sleep.3
@@ -37,7 +37,7 @@
The return value is the amount of time previously remaining in
the alarm clock.
.SH SOURCE
-.B /sys/src/libc/9syscall
+.B /usr/local/plan9/src/libc/9syscall
.SH SEE ALSO
.IR intro (3)
.SH DIAGNOSTICS
diff --git a/man/man3/stat.3 b/man/man3/stat.3
index 273c6f8..a815550 100644
--- a/man/man3/stat.3
+++ b/man/man3/stat.3
@@ -281,14 +281,14 @@
.I stat
to retrieve the initial values first.
.SH SOURCE
-.TF /sys/src/libc/9syscall
+.TF /usr/local/plan9/src/libc/9syscall
.TP
-.B /sys/src/libc/9syscall
+.B /usr/local/plan9/src/libc/9syscall
for the
.RB non- dir
routines
.TP
-.B /sys/src/libc/9sys
+.B /usr/local/plan9/src/libc/9sys
for the routines prefixed
.B dir
.SH SEE ALSO
diff --git a/man/man3/strcat.3 b/man/man3/strcat.3
index 239df40..6e16158 100644
--- a/man/man3/strcat.3
+++ b/man/man3/strcat.3
@@ -243,10 +243,10 @@
operates analogously, but ignores ASCII case differences when comparing strings.
.SH SOURCE
All these routines have portable C implementations in
-.BR /sys/src/libc/port .
+.BR /usr/local/plan9/src/libc/port .
Many also have machine-dependent assembly language
implementations in
-.BR /sys/src/libc/$objtype .
+.BR /usr/local/plan9/src/libc/$objtype .
.SH SEE ALSO
.IR memory (3),
.IR rune (3),
diff --git a/man/man3/string.3 b/man/man3/string.3
index 3ac364c..0782b26 100644
--- a/man/man3/string.3
+++ b/man/man3/string.3
@@ -231,6 +231,6 @@
and discard all other lines beginning with
.BR # .
.SH SOURCE
-.B /sys/src/libString
+.B /usr/local/plan9/src/libString
.SH SEE ALSO
.IR bio (3)
diff --git a/man/man3/stringsize.3 b/man/man3/stringsize.3
index 0e4e3ca..ac57f4a 100644
--- a/man/man3/stringsize.3
+++ b/man/man3/stringsize.3
@@ -55,7 +55,7 @@
.SH FILES
.BR /lib/font/bit " directory of fonts
.SH SOURCE
-.B /sys/src/libdraw
+.B /usr/local/plan9/src/libdraw
.SH "SEE ALSO"
.IR addpt (3),
.IR cachechars (3),
diff --git a/man/man3/subfont.3 b/man/man3/subfont.3
index 8a42c25..980b93b 100644
--- a/man/man3/subfont.3
+++ b/man/man3/subfont.3
@@ -222,7 +222,7 @@
.B /lib/font/bit
bitmap font file tree
.SH SOURCE
-.B /sys/src/libdraw
+.B /usr/local/plan9/src/libdraw
.SH SEE ALSO
.IR graphics (3),
.IR allocimage (3),
diff --git a/man/man3/thread.3 b/man/man3/thread.3
index 57f60a8..84ca69f 100644
--- a/man/man3/thread.3
+++ b/man/man3/thread.3
@@ -43,6 +43,14 @@
yield \- thread and proc management
.SH SYNOPSIS
.PP
+.de EX
+.nf
+.ft B
+..
+.de EE
+.fi
+.ft R
+..
.EX
.ta 4n +4n +4n +4n +4n +4n +4n
#include <u.h>
@@ -66,8 +74,8 @@
};
.fi
.de XX
-.ift .sp 0.5
-.ifn .sp
+.if t .sp 0.5
+.if n .sp
..
.PP
.nf
@@ -562,15 +570,15 @@
group with
.IR rfork .
.SH FILES
-.B /sys/lib/acid/thread
+.B /usr/local/plan9/acid/thread
contains useful
.IR acid (1)
functions for debugging threaded programs.
.PP
-.B /sys/src/libthread/example.c
+.B /usr/local/plan9/src/libthread/example.c
contains a full example program.
.SH SOURCE
-.B /sys/src/libthread
+.B /usr/local/plan9/src/libthread
.SH SEE ALSO
.IR intro (3),
.IR ioproc (3)
diff --git a/man/man3/time.3 b/man/man3/time.3
index e598395..90ec731 100644
--- a/man/man3/time.3
+++ b/man/man3/time.3
@@ -33,9 +33,9 @@
.I they
are first called.
.SH SOURCE
-.B /sys/src/libc/9sys/time.c
+.B /usr/local/plan9/src/libc/9sys/time.c
.br
-.B /sys/src/libc/9sys/nsec.c
+.B /usr/local/plan9/src/libc/9sys/nsec.c
.SH SEE ALSO
.IR cons (3)
.SH DIAGNOSTICS
diff --git a/man/man3/wait.3 b/man/man3/wait.3
index b9fb757..b8b5c7f 100644
--- a/man/man3/wait.3
+++ b/man/man3/wait.3
@@ -104,7 +104,7 @@
returns
.BR -1 .
.SH SOURCE
-.B /sys/src/libc/9syscall
+.B /usr/local/plan9/src/libc/9syscall
.SH "SEE ALSO"
.IR fork (3),
.IR exits (3),