aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-04-19 19:22:56 +0000
committerrsc <devnull@localhost>2004-04-19 19:22:56 +0000
commitb5fdffeeedd324f234f6229ee02a607760b3bddd (patch)
tree5650e48e336cdd565199b8b60124c66e4a904788 /man
parent7284df18a883c64721720276dac4f4540440e74c (diff)
downloadplan9port-b5fdffeeedd324f234f6229ee02a607760b3bddd.tar.gz
plan9port-b5fdffeeedd324f234f6229ee02a607760b3bddd.tar.bz2
plan9port-b5fdffeeedd324f234f6229ee02a607760b3bddd.zip
Mostly path name updates
Diffstat (limited to 'man')
-rw-r--r--man/man1/9nm.14
-rw-r--r--man/man1/9sed.16
-rw-r--r--man/man1/acme.110
-rw-r--r--man/man1/ascii.14
-rw-r--r--man/man1/basename.12
-rw-r--r--man/man1/cal.12
-rw-r--r--man/man1/calendar.12
-rw-r--r--man/man1/cat.14
-rw-r--r--man/man1/cleanname.12
-rw-r--r--man/man1/cmp.12
-rw-r--r--man/man1/comm.12
-rw-r--r--man/man1/date.14
-rw-r--r--man/man1/db.12
-rw-r--r--man/man1/dc.12
-rw-r--r--man/man1/deroff.14
-rw-r--r--man/man1/dict.12
-rw-r--r--man/man1/diff.12
-rw-r--r--man/man1/echo.12
-rw-r--r--man/man1/ed.12
-rw-r--r--man/man1/factor.14
-rw-r--r--man/man1/fmt.14
-rw-r--r--man/man1/fortune.12
-rw-r--r--man/man1/freq.12
-rw-r--r--man/man1/grep.12
-rw-r--r--man/man1/hoc.12
-rw-r--r--man/man1/idiff.12
-rw-r--r--man/man1/join.12
-rw-r--r--man/man1/ls.14
-rw-r--r--man/man1/mc.12
-rw-r--r--man/man1/mkdir.12
-rw-r--r--man/man1/plumb.12
-rw-r--r--man/man1/rc.12
-rw-r--r--man/man1/rm.12
-rw-r--r--man/man1/sam.112
-rw-r--r--man/man1/seq.12
-rw-r--r--man/man1/sleep.12
-rw-r--r--man/man1/sort.12
-rw-r--r--man/man1/spell.111
-rw-r--r--man/man1/split.12
-rw-r--r--man/man1/strings.12
-rw-r--r--man/man1/sum.16
-rw-r--r--man/man1/tail.12
-rw-r--r--man/man1/tar.12
-rw-r--r--man/man1/tee.12
-rw-r--r--man/man1/test.12
-rw-r--r--man/man1/time.12
-rw-r--r--man/man1/touch.12
-rw-r--r--man/man1/tr.12
-rw-r--r--man/man1/uniq.12
-rw-r--r--man/man1/wc.12
-rw-r--r--man/man1/xd.12
-rw-r--r--man/man1/yacc.18
-rw-r--r--man/man3/9p.34
-rw-r--r--man/man3/9pcmdbuf.34
-rw-r--r--man/man3/9pfid.32
-rw-r--r--man/man3/9pfile.32
-rw-r--r--man/man3/abort.32
-rw-r--r--man/man3/abs.32
-rw-r--r--man/man3/access.32
-rw-r--r--man/man3/addpt.32
-rw-r--r--man/man3/aes.32
-rw-r--r--man/man3/allocimage.32
-rw-r--r--man/man3/assert.32
-rw-r--r--man/man3/atof.32
-rw-r--r--man/man3/auth.32
-rw-r--r--man/man3/authsrv.32
-rw-r--r--man/man3/bin.32
-rw-r--r--man/man3/bio.32
-rw-r--r--man/man3/blowfish.32
-rw-r--r--man/man3/cachechars.32
-rw-r--r--man/man3/cleanname.32
-rw-r--r--man/man3/color.32
-rw-r--r--man/man3/complete.32
-rw-r--r--man/man3/cputime.32
-rw-r--r--man/man3/ctype.34
-rw-r--r--man/man3/des.32
-rw-r--r--man/man3/dial.34
-rw-r--r--man/man3/dirread.32
-rw-r--r--man/man3/draw.32
-rw-r--r--man/man3/dsa.32
-rw-r--r--man/man3/dup.32
-rw-r--r--man/man3/elgamal.32
-rw-r--r--man/man3/encode.34
-rw-r--r--man/man3/encrypt.32
-rw-r--r--man/man3/errstr.34
-rw-r--r--man/man3/event.32
-rw-r--r--man/man3/exec.34
-rw-r--r--man/man3/exits.32
-rw-r--r--man/man3/fcall.32
-rw-r--r--man/man3/flate.32
-rw-r--r--man/man3/fmtinstall.32
-rw-r--r--man/man3/fork.34
-rw-r--r--man/man3/frame.32
-rw-r--r--man/man3/genrandom.32
-rw-r--r--man/man3/getcallerpc.32
-rw-r--r--man/man3/getenv.32
-rw-r--r--man/man3/getfcr.32
-rw-r--r--man/man3/getfields.32
-rw-r--r--man/man3/getpid.32
-rw-r--r--man/man3/getuser.32
-rw-r--r--man/man3/getwd.32
-rw-r--r--man/man3/graphics.32
-rw-r--r--man/man3/html.32
-rw-r--r--man/man3/hypot.32
-rw-r--r--man/man3/intmap.32
-rw-r--r--man/man3/ioproc.32
-rw-r--r--man/man3/ip.32
-rw-r--r--man/man3/isalpharune.32
-rw-r--r--man/man3/keyboard.32
-rw-r--r--man/man3/lock.36
-rw-r--r--man/man3/mach-file.32
-rw-r--r--man/man3/mach-map.32
-rw-r--r--man/man3/mach-stack.32
-rw-r--r--man/man3/mach-swap.32
-rw-r--r--man/man3/mach-symbol.32
-rw-r--r--man/man3/mach.32
-rw-r--r--man/man3/malloc.32
-rw-r--r--man/man3/memdraw.32
-rw-r--r--man/man3/memlayer.32
-rw-r--r--man/man3/mktemp.32
-rw-r--r--man/man3/mouse.32
-rw-r--r--man/man3/mp.32
-rw-r--r--man/man3/nan.32
-rw-r--r--man/man3/notify.34
-rw-r--r--man/man3/open.32
-rw-r--r--man/man3/pipe.32
-rw-r--r--man/man3/plumb.32
-rw-r--r--man/man3/pool.34
-rw-r--r--man/man3/postnote.32
-rw-r--r--man/man3/prime.32
-rw-r--r--man/man3/quote.34
-rw-r--r--man/man3/rand.310
-rw-r--r--man/man3/rc4.32
-rw-r--r--man/man3/read.34
-rw-r--r--man/man3/readv.34
-rw-r--r--man/man3/regexp.32
-rw-r--r--man/man3/remove.32
-rw-r--r--man/man3/rendezvous.32
-rw-r--r--man/man3/rsa.32
-rw-r--r--man/man3/rune.34
-rw-r--r--man/man3/runestrcat.32
-rw-r--r--man/man3/sechash.32
-rw-r--r--man/man3/seek.32
-rw-r--r--man/man3/setjmp.34
-rw-r--r--man/man3/sleep.32
-rw-r--r--man/man3/stat.36
-rw-r--r--man/man3/strcat.34
-rw-r--r--man/man3/string.32
-rw-r--r--man/man3/stringsize.32
-rw-r--r--man/man3/subfont.32
-rw-r--r--man/man3/thread.318
-rw-r--r--man/man3/time.34
-rw-r--r--man/man3/wait.32
153 files changed, 218 insertions, 211 deletions
diff --git a/man/man1/9nm.1 b/man/man1/9nm.1
index f9faad54..5841043c 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 @@ Don't sort; print in symbol-table order.
.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 3b5ac181..2f4345ca 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 5cae0036..359799bb 100644
--- a/man/man1/acme.1
+++ b/man/man1/acme.1
@@ -448,15 +448,15 @@ will produce the output
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 @@ source for applications
.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 47fd3550..05cec0f8 100644
--- a/man/man1/ascii.1
+++ b/man/man1/ascii.1
@@ -151,9 +151,9 @@ See the start of the Greek alphabet's encoding in the Unicode Standard.
.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 c72638f1..e954cef9 100644
--- a/man/man1/basename.1
+++ b/man/man1/basename.1
@@ -32,4 +32,4 @@ up to but not including the final slash.
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 7ac5b996..17462686 100644
--- a/man/man1/cal.1
+++ b/man/man1/cal.1
@@ -35,7 +35,7 @@ Try
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 e6832d3c..1c6b3be1 100644
--- a/man/man1/calendar.1
+++ b/man/man1/calendar.1
@@ -50,4 +50,4 @@ To have your calendar mailed to you every day, use
.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 eeb43bcc..3b24bdde 100644
--- a/man/man1/cat.1
+++ b/man/man1/cat.1
@@ -63,9 +63,9 @@ for each line of input, which can be helpful when
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 41c06c00..d017ce5b 100644
--- a/man/man1/cleanname.1
+++ b/man/man1/cleanname.1
@@ -27,6 +27,6 @@ unrooted names are prefixed with
.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 e48d0766..5023b6ad 100644
--- a/man/man1/cmp.1
+++ b/man/man1/cmp.1
@@ -42,7 +42,7 @@ with
.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 2fd883c0..68e5f47a 100644
--- a/man/man1/comm.1
+++ b/man/man1/comm.1
@@ -39,7 +39,7 @@ comm -12 file1 file2
.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 3d232baa..cdc02285 100644
--- a/man/man1/date.1
+++ b/man/man1/date.1
@@ -53,6 +53,6 @@ into
.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 a0ed941c..10d38cb2 100644
--- a/man/man1/db.1
+++ b/man/man1/db.1
@@ -952,7 +952,7 @@ BUGS section.
.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 0f2c13a5..1f62dfb4 100644
--- a/man/man1/dc.1
+++ b/man/man1/dc.1
@@ -233,7 +233,7 @@ lyx
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 f62b174d..2097a80d 100644
--- a/man/man1/deroff.1
+++ b/man/man1/deroff.1
@@ -91,9 +91,9 @@ does for
.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 5fc47634..1665ea7c 100644
--- a/man/man1/dict.1
+++ b/man/man1/dict.1
@@ -148,7 +148,7 @@ Other files in
.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 404c74f0..c1b5e849 100644
--- a/man/man1/diff.1
+++ b/man/man1/diff.1
@@ -130,7 +130,7 @@ differences.
.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 86e6cd39..9a75eec4 100644
--- a/man/man1/echo.1
+++ b/man/man1/echo.1
@@ -17,7 +17,7 @@ Option
.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 adb79fb7..7b88f11d 100644
--- a/man/man1/ed.1
+++ b/man/man1/ed.1
@@ -669,7 +669,7 @@ and all characters after the last newline.
.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 2d9b5a09..2ce13794 100644
--- a/man/man1/factor.1
+++ b/man/man1/factor.1
@@ -61,6 +61,6 @@ if
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 51186001..997b71be 100644
--- a/man/man1/fmt.1
+++ b/man/man1/fmt.1
@@ -81,9 +81,9 @@ Use
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 dfae7186..371c1d68 100644
--- a/man/man1/fortune.1
+++ b/man/man1/fortune.1
@@ -20,4 +20,4 @@ otherwise it is selected from
.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 eee4e295..fd326a25 100644
--- a/man/man1/freq.1
+++ b/man/man1/freq.1
@@ -34,7 +34,7 @@ If any options are given, the
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 a266c494..e58d0d97 100644
--- a/man/man1/grep.1
+++ b/man/man1/grep.1
@@ -91,7 +91,7 @@ An expression starting with '*'
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 68a42a6a..87694f57 100644
--- a/man/man1/hoc.1
+++ b/man/man1/hoc.1
@@ -131,7 +131,7 @@ func gcd(a, b) {
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 5cb22600..d497939c 100644
--- a/man/man1/idiff.1
+++ b/man/man1/idiff.1
@@ -61,7 +61,7 @@ passed through to
.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 379eec7f..2cf079f2 100644
--- a/man/man1/join.1
+++ b/man/man1/join.1
@@ -128,7 +128,7 @@ tr : ' ' </adm/users | sort -k 3 3 >temp
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 e33f7273..35981ab2 100644
--- a/man/man1/ls.1
+++ b/man/man1/ls.1
@@ -153,9 +153,9 @@ if the file is executable;
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 c53bcca3..1618befc 100644
--- a/man/man1/mc.1
+++ b/man/man1/mc.1
@@ -31,7 +31,7 @@ each input line ending in a colon
.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 89e53eaa..7bae8cee 100644
--- a/man/man1/mkdir.1
+++ b/man/man1/mkdir.1
@@ -26,7 +26,7 @@ and does not complain if the target directory already exists.
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 6c51d68b..0cee82db 100644
--- a/man/man1/plumb.1
+++ b/man/man1/plumb.1
@@ -85,7 +85,7 @@ default rules file
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 b296a48a..b294bee8 100644
--- a/man/man1/rc.1
+++ b/man/man1/rc.1
@@ -939,7 +939,7 @@ Print debugging information (internal form of commands
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 c5786f92..97893960 100644
--- a/man/man1/rm.1
+++ b/man/man1/rm.1
@@ -23,6 +23,6 @@ Recursively delete the
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 0ba20335..b4194b4b 100644
--- a/man/man1/sam.1
+++ b/man/man1/sam.1
@@ -853,27 +853,27 @@ The answer
.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 60d1f12a..73796c26 100644
--- a/man/man1/seq.1
+++ b/man/man1/seq.1
@@ -64,7 +64,7 @@ seq -w 0 .05 .1
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 61169e96..6416bc1d 100644
--- a/man/man1/sleep.1
+++ b/man/man1/sleep.1
@@ -26,6 +26,6 @@ while (){
}
.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 6dded61a..4400f0a7 100644
--- a/man/man1/sort.1
+++ b/man/man1/sort.1
@@ -238,7 +238,7 @@ come out in their original order.
.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 8298452c..3b25f834 100644
--- a/man/man1/spell.1
+++ b/man/man1/spell.1
@@ -60,12 +60,11 @@ Agglutinated variants are shunned: `crewmember' and `backyard'
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 @@ It expects one word per line on standard input,
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 ffb012d7..6e7f7ebf 100644
--- a/man/man1/split.1
+++ b/man/man1/split.1
@@ -74,7 +74,7 @@ Ignore case in option
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 d72ffbb1..2f3af533 100644
--- a/man/man1/strings.1
+++ b/man/man1/strings.1
@@ -23,6 +23,6 @@ of the string. If the string is longer than 70 runes the line is
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 d981c8c7..6eaa1efe 100644
--- a/man/man1/sum.1
+++ b/man/man1/sum.1
@@ -67,11 +67,11 @@ are given,
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 b2d880b6..6cae088a 100644
--- a/man/man1/tail.1
+++ b/man/man1/tail.1
@@ -72,7 +72,7 @@ data accumulate as it grows.
.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 8ef56d06..00ac0414 100644
--- a/man/man1/tar.1
+++ b/man/man1/tar.1
@@ -101,7 +101,7 @@ can be used to copy hierarchies thus:
@{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 d237fb7f..57ca9ba1 100644
--- a/man/man1/tee.1
+++ b/man/man1/tee.1
@@ -25,4 +25,4 @@ Append the output to the
.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 86f0cd34..d5473a35 100644
--- a/man/man1/test.1
+++ b/man/man1/test.1
@@ -206,6 +206,6 @@ is in the current directory.
.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 2c6b834b..03f24371 100644
--- a/man/man1/time.1
+++ b/man/man1/time.1
@@ -16,6 +16,6 @@ reports on standard error the program's elapsed user time,
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 ac5937ec..3b074896 100644
--- a/man/man1/touch.1
+++ b/man/man1/touch.1
@@ -25,7 +25,7 @@ it will be created unless option
.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 0e11f5b9..a597ba17 100644
--- a/man/man1/tr.1
+++ b/man/man1/tr.1
@@ -92,6 +92,6 @@ tr -cs A-Za-z '
\&' <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 65fcd49f..64a302e8 100644
--- a/man/man1/uniq.1
+++ b/man/man1/uniq.1
@@ -51,7 +51,7 @@ The first
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 1c9768fc..684f4fb4 100644
--- a/man/man1/wc.1
+++ b/man/man1/wc.1
@@ -35,7 +35,7 @@ Otherwise, lines, words and bytes
.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 cc2d394f..933faea1 100644
--- a/man/man1/xd.1
+++ b/man/man1/xd.1
@@ -79,7 +79,7 @@ Reverse (swab) the order of bytes in each group of 4 before printing.
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 a965f953..08d51b79 100644
--- a/man/man1/yacc.1
+++ b/man/man1/yacc.1
@@ -123,7 +123,7 @@ statement in an interpreter.
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 @@ temporary file
.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 e3859b1d..9e755735 100644
--- a/man/man3/9p.3
+++ b/man/man3/9p.3
@@ -725,7 +725,7 @@ option to increment
.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 @@ and
.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 f0b2f7e5..d6a78b92 100644
--- a/man/man3/9pcmdbuf.3
+++ b/man/man3/9pcmdbuf.3
@@ -108,9 +108,9 @@ is often simply
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 62047caf..2852baf2 100644
--- a/man/man3/9pfid.3
+++ b/man/man3/9pfid.3
@@ -198,7 +198,7 @@ and
.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 1b0824d1..083b6550 100644
--- a/man/man3/9pfile.3
+++ b/man/man3/9pfile.3
@@ -216,7 +216,7 @@ closefile(f);
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 7b00a4d9..2615f5b5 100644
--- a/man/man3/abort.3
+++ b/man/man3/abort.3
@@ -15,4 +15,4 @@ void abort(void)
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 cd393f02..46dbd929 100644
--- a/man/man3/abs.3
+++ b/man/man3/abs.3
@@ -20,7 +20,7 @@ and
.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 5067db71..d98d88a5 100644
--- a/man/man3/access.3
+++ b/man/man3/access.3
@@ -44,7 +44,7 @@ and
.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 79bba0b1..e249c08a 100644
--- a/man/man3/addpt.3
+++ b/man/man3/addpt.3
@@ -183,6 +183,6 @@ and
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 51d68d20..df8ff29c 100644
--- a/man/man3/aes.3
+++ b/man/man3/aes.3
@@ -37,7 +37,7 @@ of
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 eb55055e..26365dce 100644
--- a/man/man3/allocimage.3
+++ b/man/man3/allocimage.3
@@ -331,7 +331,7 @@ To allocate a single-pixel replicated image that may be used to paint a region r
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 135560f5..82c43d08 100644
--- a/man/man3/assert.3
+++ b/man/man3/assert.3
@@ -22,4 +22,4 @@ when
.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 2ab2f3f9..f242036e 100644
--- a/man/man3/atof.3
+++ b/man/man3/atof.3
@@ -127,7 +127,7 @@ Therefore, it may be necessary to back up the input stream one character
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 56ab65f5..1fe81f97 100644
--- a/man/man3/auth.3
+++ b/man/man3/auth.3
@@ -385,7 +385,7 @@ Similary
.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 d9286dc0..c8f3330d 100644
--- a/man/man3/authsrv.3
+++ b/man/man3/authsrv.3
@@ -211,7 +211,7 @@ sends a ticket request message and then uses
.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 819f29e0..1d1e3208 100644
--- a/man/man3/bin.3
+++ b/man/man3/bin.3
@@ -89,7 +89,7 @@ The chunks are
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 43162a1c..7f6c05f3 100644
--- a/man/man3/bio.3
+++ b/man/man3/bio.3
@@ -307,7 +307,7 @@ When reading, this is the number of bytes still available from the last
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 ca7914fc..5938e351 100644
--- a/man/man3/blowfish.3
+++ b/man/man3/blowfish.3
@@ -38,7 +38,7 @@ length of the key in bytes, and an initialization vector of 8 bytes
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 41bbfb27..46bff616 100644
--- a/man/man3/cachechars.3
+++ b/man/man3/cachechars.3
@@ -300,7 +300,7 @@ is set to the font age at each use.
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 7decd18d..27818ef2 100644
--- a/man/man3/cleanname.3
+++ b/man/man3/cleanname.3
@@ -29,6 +29,6 @@ Therefore
.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 4bf6e812..7d772b5e 100644
--- a/man/man3/color.3
+++ b/man/man3/color.3
@@ -47,7 +47,7 @@ and
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 1f5b866d..b1478ddc 100644
--- a/man/man3/complete.3
+++ b/man/man3/complete.3
@@ -91,7 +91,7 @@ and
.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 badea40c..5acf671a 100644
--- a/man/man3/cputime.3
+++ b/man/man3/cputime.3
@@ -29,6 +29,6 @@ These functions read
.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 28b92c13..bb3f3327 100644
--- a/man/man3/ctype.3
+++ b/man/man3/ctype.3
@@ -145,12 +145,12 @@ and
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 f264a8d6..5d4d1333 100644
--- a/man/man3/des.3
+++ b/man/man3/des.3
@@ -130,7 +130,7 @@ using
.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 ea745afb..b26e65c6 100644
--- a/man/man3/dial.3
+++ b/man/man3/dial.3
@@ -315,8 +315,8 @@ bekremvax(void)
}
.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 0910d223..4258509a 100644
--- a/man/man3/dirread.3
+++ b/man/man3/dirread.3
@@ -83,7 +83,7 @@ structures filled in
.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 31baacb6..6ad6d375 100644
--- a/man/man3/draw.3
+++ b/man/man3/draw.3
@@ -801,7 +801,7 @@ to a serial line) according to whether
.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 f645dd88..b1af55e0 100644
--- a/man/man3/dsa.3
+++ b/man/man3/dsa.3
@@ -119,7 +119,7 @@ and
.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 108d6246..e3cee43b 100644
--- a/man/man3/dup.3
+++ b/man/man3/dup.3
@@ -33,7 +33,7 @@ requires that
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 58a95e28..204b85e7 100644
--- a/man/man3/elgamal.3
+++ b/man/man3/elgamal.3
@@ -111,7 +111,7 @@ and
.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 c756b271..1a93e37b 100644
--- a/man/man3/encode.3
+++ b/man/man3/encode.3
@@ -80,6 +80,6 @@ For example, to display a 15 byte array as hex:
.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 18e026cb..50d00bfb 100644
--- a/man/man3/encrypt.3
+++ b/man/man3/encrypt.3
@@ -59,7 +59,7 @@ hexadecimal numbers,
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 138bec3e..1a888978 100644
--- a/man/man3/errstr.3
+++ b/man/man3/errstr.3
@@ -74,9 +74,9 @@ The string returned from
.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 86da820c..7982b70a 100644
--- a/man/man3/event.3
+++ b/man/man3/event.3
@@ -375,7 +375,7 @@ If
.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 bf10cb5d..48868616 100644
--- a/man/man3/exec.3
+++ b/man/man3/exec.3
@@ -142,9 +142,9 @@ the return register (e.g.
.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 c5fcf9e1..2591ff11 100644
--- a/man/man3/exits.3
+++ b/man/man3/exits.3
@@ -75,7 +75,7 @@ returns 0 if that limit has been reached.
.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 bc7f8873..2e09ddac 100644
--- a/man/man3/fcall.3
+++ b/man/man3/fcall.3
@@ -349,7 +349,7 @@ multiple times, if necessary, to read an entire 9P message into
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 75574873..8383539b 100644
--- a/man/man3/flate.3
+++ b/man/man3/flate.3
@@ -204,4 +204,4 @@ The initial value of
.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 49833999..cc4884a8 100644
--- a/man/man3/fmtinstall.3
+++ b/man/man3/fmtinstall.3
@@ -362,7 +362,7 @@ main(...)
}
.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 e2be5b96..e17f0d67 100644
--- a/man/man3/fork.3
+++ b/man/man3/fork.3
@@ -155,9 +155,9 @@ will sleep, if necessary, until required process resources are available.
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 f43b02b1..db004df9 100644
--- a/man/man3/frame.3
+++ b/man/man3/frame.3
@@ -355,7 +355,7 @@ to paint a region of the frame defined by the
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 22cad7d7..f8952e45 100644
--- a/man/man3/genrandom.3
+++ b/man/man3/genrandom.3
@@ -39,6 +39,6 @@ Both functions may be passed to
(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 8fc86d8c..c275fb50 100644
--- a/man/man3/getcallerpc.3
+++ b/man/man3/getcallerpc.3
@@ -31,7 +31,7 @@ main(int argc, char *argv[])
}
.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 15ad6f3e..315407c6 100644
--- a/man/man3/getenv.3
+++ b/man/man3/getenv.3
@@ -36,7 +36,7 @@ to it. The terminating
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 42634634..577180a7 100644
--- a/man/man3/getfcr.3
+++ b/man/man3/getfcr.3
@@ -122,4 +122,4 @@ setfcr(fcr);
.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 897fbeb3..e39c775b 100644
--- a/man/man3/getfields.3
+++ b/man/man3/getfields.3
@@ -87,7 +87,7 @@ with
.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 a1cc50fb..44837f69 100644
--- a/man/man3/getpid.3
+++ b/man/man3/getpid.3
@@ -29,7 +29,7 @@ reads
.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 cde4b2b7..e09c4a49 100644
--- a/man/man3/getuser.3
+++ b/man/man3/getuser.3
@@ -31,7 +31,7 @@ Unlike
.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 24bdc833..6b053fda 100644
--- a/man/man3/getwd.3
+++ b/man/man3/getwd.3
@@ -21,7 +21,7 @@ places no more than
.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 372b1377..68245377 100644
--- a/man/man3/graphics.3
+++ b/man/man3/graphics.3
@@ -617,7 +617,7 @@ if(gengetwindow(display, "/tmp/winname",
.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 8de7b121..be239f78 100644
--- a/man/man3/html.3
+++ b/man/man3/html.3
@@ -1409,7 +1409,7 @@ would not otherwise fit), and
.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 f8a3062c..a539c72e 100644
--- a/man/man3/hypot.3
+++ b/man/man3/hypot.3
@@ -18,4 +18,4 @@ returns
.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 df38ce7e..443f4e46 100644
--- a/man/man3/intmap.3
+++ b/man/man3/intmap.3
@@ -120,7 +120,7 @@ are used by the 9P library to implement
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 9753b90e..ae21758e 100644
--- a/man/man3/ioproc.3
+++ b/man/man3/ioproc.3
@@ -170,7 +170,7 @@ ioread(Ioproc *io, int fd, void *a, long n)
}
.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 f7f07153..b133adf8 100644
--- a/man/man3/ip.3
+++ b/man/man3/ip.3
@@ -330,6 +330,6 @@ if the network is multipoint or
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 4e38c5ef..07d99554 100644
--- a/man/man3/isalpharune.3
+++ b/man/man3/isalpharune.3
@@ -45,7 +45,7 @@ The names are self-explanatory.
.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 ae7a2248..b90f18b6 100644
--- a/man/man3/keyboard.3
+++ b/man/man3/keyboard.3
@@ -92,7 +92,7 @@ and frees the
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 5d4d56d6..d989d18c 100644
--- a/man/man3/lock.3
+++ b/man/man3/lock.3
@@ -199,11 +199,11 @@ atomically decrements the
.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 9af4f115..f235815e 100644
--- a/man/man3/mach-file.3
+++ b/man/man3/mach-file.3
@@ -146,7 +146,7 @@ should be freed via
.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 a3685b62..8175e138 100644
--- a/man/man3/mach-map.3
+++ b/man/man3/mach-map.3
@@ -411,7 +411,7 @@ and
.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 e4befbbd..e17c6cb0 100644
--- a/man/man3/mach-stack.3
+++ b/man/man3/mach-stack.3
@@ -132,6 +132,6 @@ trace(Map *map, ulong pc, ulong callerpc,
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 bf232953..50271f6c 100644
--- a/man/man3/mach-swap.3
+++ b/man/man3/mach-swap.3
@@ -112,6 +112,6 @@ expects a 64-bit floating-point value whose high 32-bits are in
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 6588df97..ad208ce0 100644
--- a/man/man3/mach-symbol.3
+++ b/man/man3/mach-symbol.3
@@ -320,7 +320,7 @@ When an error occurs, a message describing it is stored
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 62807e82..38918523 100644
--- a/man/man3/mach.3
+++ b/man/man3/mach.3
@@ -74,7 +74,7 @@ in a particular byte order.
.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 281df7c5..54e9ecc8 100644
--- a/man/man3/malloc.3
+++ b/man/man3/malloc.3
@@ -146,7 +146,7 @@ block allocated by the
.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 9d0f2ec8..78c4859c 100644
--- a/man/man3/memdraw.3
+++ b/man/man3/memdraw.3
@@ -433,7 +433,7 @@ In the kernel,
.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 bf97fbf0..523253a8 100644
--- a/man/man3/memlayer.3
+++ b/man/man3/memlayer.3
@@ -296,7 +296,7 @@ are in compressed image format
(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 a86bcbee..9ab13cba 100644
--- a/man/man3/mktemp.3
+++ b/man/man3/mktemp.3
@@ -34,7 +34,7 @@ If no such name can be generated,
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 6c5e3a3e..8d2eca28 100644
--- a/man/man3/mouse.3
+++ b/man/man3/mouse.3
@@ -240,7 +240,7 @@ creating backing store for the menu, writing the menu directly on the display, a
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 71a43450..420f0ba6 100644
--- a/man/man3/mp.3
+++ b/man/man3/mp.3
@@ -574,4 +574,4 @@ and
.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 b0280125..2c77af00 100644
--- a/man/man3/nan.3
+++ b/man/man3/nan.3
@@ -41,4 +41,4 @@ else negative infinity.
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 29f03fee..0286ea8f 100644
--- a/man/man3/notify.3
+++ b/man/man3/notify.3
@@ -229,9 +229,9 @@ and
.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 01d29c2b..46b4fe58 100644
--- a/man/man3/open.3
+++ b/man/man3/open.3
@@ -138,7 +138,7 @@ Files are closed automatically upon termination of a process;
.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 e47da6a6..06d37694 100644
--- a/man/man3/pipe.3
+++ b/man/man3/pipe.3
@@ -57,7 +57,7 @@ When all the data has been read from a pipe and the writer has closed the pipe o
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 dbb55d13..f75acb39 100644
--- a/man/man3/plumb.3
+++ b/man/man3/plumb.3
@@ -227,7 +227,7 @@ and deletes it from the list, returning the resulting list.
.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 af683c9c..12be5792 100644
--- a/man/man3/pool.3
+++ b/man/man3/pool.3
@@ -320,10 +320,10 @@ is set,
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 cd7ff6c8..fed339bd 100644
--- a/man/man3/postnote.3
+++ b/man/man3/postnote.3
@@ -39,7 +39,7 @@ delivered to that process.
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 db22e5bb..9a595730 100644
--- a/man/man3/prime.3
+++ b/man/man3/prime.3
@@ -91,7 +91,7 @@ The random seed used is also returned, so that skeptics
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 e529c38e..286cdd90 100644
--- a/man/man3/quote.3
+++ b/man/man3/quote.3
@@ -157,9 +157,9 @@ in
.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 0027f507..3f3e0061 100644
--- a/man/man3/rand.3
+++ b/man/man3/rand.3
@@ -156,15 +156,15 @@ to return a uniform
.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 a395146b..ba848d90 100644
--- a/man/man3/rc4.3
+++ b/man/man3/rc4.3
@@ -41,7 +41,7 @@ The
.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 8f465591..aa35c659 100644
--- a/man/man3/read.3
+++ b/man/man3/read.3
@@ -81,9 +81,9 @@ permit multiprocess programs to execute multiple concurrent
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 2c59e36f..d74957e3 100644
--- a/man/man3/readv.3
+++ b/man/man3/readv.3
@@ -63,9 +63,9 @@ and
.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 d332cdd2..92f07015 100644
--- a/man/man3/regexp.3
+++ b/man/man3/regexp.3
@@ -194,7 +194,7 @@ fields of the
.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 a4495b08..ff195b93 100644
--- a/man/man3/remove.3
+++ b/man/man3/remove.3
@@ -18,7 +18,7 @@ If
.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 5143c2ff..97128ce1 100644
--- a/man/man3/rendezvous.3
+++ b/man/man3/rendezvous.3
@@ -48,7 +48,7 @@ If a rendezvous is interrupted the return value is
.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 c1386293..56ad4c7e 100644
--- a/man/man3/rsa.3
+++ b/man/man3/rsa.3
@@ -187,7 +187,7 @@ and
.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 120563be..46895307 100644
--- a/man/man3/rune.3
+++ b/man/man3/rune.3
@@ -182,9 +182,9 @@ is the null string,
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 a7938357..f5210c2a 100644
--- a/man/man3/runestrcat.3
+++ b/man/man3/runestrcat.3
@@ -58,7 +58,7 @@ These functions are rune string analogues of
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 51204ab5..9f9f58e3 100644
--- a/man/man3/sechash.3
+++ b/man/man3/sechash.3
@@ -140,7 +140,7 @@ All four routines return a pointer to a newly
.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 93435559..33966385 100644
--- a/man/man3/seek.3
+++ b/man/man3/seek.3
@@ -37,7 +37,7 @@ The new file offset value is returned.
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 eb5a5bd3..b451c296 100644
--- a/man/man3/setjmp.3
+++ b/man/man3/setjmp.3
@@ -86,9 +86,9 @@ setlabel(void)
}
.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 0f43e50e..1872ab51 100644
--- a/man/man3/sleep.3
+++ b/man/man3/sleep.3
@@ -37,7 +37,7 @@ A zero argument clears the alarm.
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 273c6f8c..a815550e 100644
--- a/man/man3/stat.3
+++ b/man/man3/stat.3
@@ -281,14 +281,14 @@ it is not necessary to use
.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 239df400..6e16158d 100644
--- a/man/man3/strcat.3
+++ b/man/man3/strcat.3
@@ -243,10 +243,10 @@ returns
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 3ac364c8..0782b260 100644
--- a/man/man3/string.3
+++ b/man/man3/string.3
@@ -231,6 +231,6 @@ will recursively read through files included with
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 0e4e3ca6..ac57f4a8 100644
--- a/man/man3/stringsize.3
+++ b/man/man3/stringsize.3
@@ -55,7 +55,7 @@ are analogous, but accept an array of runes rather than
.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 8a42c252..980b93b2 100644
--- a/man/man3/subfont.3
+++ b/man/man3/subfont.3
@@ -222,7 +222,7 @@ to
.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 57f60a80..84ca69f8 100644
--- a/man/man3/thread.3
+++ b/man/man3/thread.3
@@ -43,6 +43,14 @@ threadwaitchan,
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 @@ struct Alt {
};
.fi
.de XX
-.ift .sp 0.5
-.ifn .sp
+.if t .sp 0.5
+.if n .sp
..
.PP
.nf
@@ -562,15 +570,15 @@ same rendezvous group; do not change the rendezvous
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 e5983954..90ec7311 100644
--- a/man/man3/time.3
+++ b/man/man3/time.3
@@ -33,9 +33,9 @@ opening that file when
.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 b9fb7571..b8b5c7fd 100644
--- a/man/man3/wait.3
+++ b/man/man3/wait.3
@@ -104,7 +104,7 @@ If the calling process has no living children,
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),