tMostly path name updates - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit b5fdffeeedd324f234f6229ee02a607760b3bddd
 (DIR) parent 7284df18a883c64721720276dac4f4540440e74c
 (HTM) Author: rsc <devnull@localhost>
       Date:   Mon, 19 Apr 2004 19:22:56 +0000
       
       Mostly path name updates
       
       Diffstat:
         M man/man1/9nm.1                      |       4 ++--
         M man/man1/9sed.1                     |       6 +++---
         M man/man1/acme.1                     |      10 +++++-----
         M man/man1/ascii.1                    |       4 ++--
         M man/man1/basename.1                 |       2 +-
         M man/man1/cal.1                      |       2 +-
         M man/man1/calendar.1                 |       2 +-
         M man/man1/cat.1                      |       4 ++--
         M man/man1/cleanname.1                |       2 +-
         M man/man1/cmp.1                      |       2 +-
         M man/man1/comm.1                     |       2 +-
         M man/man1/date.1                     |       4 ++--
         M man/man1/db.1                       |       2 +-
         M man/man1/dc.1                       |       2 +-
         M man/man1/deroff.1                   |       4 ++--
         M man/man1/dict.1                     |       2 +-
         M man/man1/diff.1                     |       2 +-
         M man/man1/echo.1                     |       2 +-
         M man/man1/ed.1                       |       2 +-
         M man/man1/factor.1                   |       4 ++--
         M man/man1/fmt.1                      |       4 ++--
         M man/man1/fortune.1                  |       2 +-
         M man/man1/freq.1                     |       2 +-
         M man/man1/grep.1                     |       2 +-
         M man/man1/hoc.1                      |       2 +-
         M man/man1/idiff.1                    |       2 +-
         M man/man1/join.1                     |       2 +-
         M man/man1/ls.1                       |       4 ++--
         M man/man1/mc.1                       |       2 +-
         M man/man1/mkdir.1                    |       2 +-
         M man/man1/plumb.1                    |       2 +-
         M man/man1/rc.1                       |       2 +-
         M man/man1/rm.1                       |       2 +-
         M man/man1/sam.1                      |      12 ++++++------
         M man/man1/seq.1                      |       2 +-
         M man/man1/sleep.1                    |       2 +-
         M man/man1/sort.1                     |       2 +-
         M man/man1/spell.1                    |      11 +++++------
         M man/man1/split.1                    |       2 +-
         M man/man1/strings.1                  |       2 +-
         M man/man1/sum.1                      |       6 +++---
         M man/man1/tail.1                     |       2 +-
         M man/man1/tar.1                      |       2 +-
         M man/man1/tee.1                      |       2 +-
         M man/man1/test.1                     |       2 +-
         M man/man1/time.1                     |       2 +-
         M man/man1/touch.1                    |       2 +-
         M man/man1/tr.1                       |       2 +-
         M man/man1/uniq.1                     |       2 +-
         M man/man1/wc.1                       |       2 +-
         M man/man1/xd.1                       |       2 +-
         M man/man1/yacc.1                     |       8 ++++----
         M man/man3/9p.3                       |       4 ++--
         M man/man3/9pcmdbuf.3                 |       4 ++--
         M man/man3/9pfid.3                    |       2 +-
         M man/man3/9pfile.3                   |       2 +-
         M man/man3/abort.3                    |       2 +-
         M man/man3/abs.3                      |       2 +-
         M man/man3/access.3                   |       2 +-
         M man/man3/addpt.3                    |       2 +-
         M man/man3/aes.3                      |       2 +-
         M man/man3/allocimage.3               |       2 +-
         M man/man3/assert.3                   |       2 +-
         M man/man3/atof.3                     |       2 +-
         M man/man3/auth.3                     |       2 +-
         M man/man3/authsrv.3                  |       2 +-
         M man/man3/bin.3                      |       2 +-
         M man/man3/bio.3                      |       2 +-
         M man/man3/blowfish.3                 |       2 +-
         M man/man3/cachechars.3               |       2 +-
         M man/man3/cleanname.3                |       2 +-
         M man/man3/color.3                    |       2 +-
         M man/man3/complete.3                 |       2 +-
         M man/man3/cputime.3                  |       2 +-
         M man/man3/ctype.3                    |       4 ++--
         M man/man3/des.3                      |       2 +-
         M man/man3/dial.3                     |       4 ++--
         M man/man3/dirread.3                  |       2 +-
         M man/man3/draw.3                     |       2 +-
         M man/man3/dsa.3                      |       2 +-
         M man/man3/dup.3                      |       2 +-
         M man/man3/elgamal.3                  |       2 +-
         M man/man3/encode.3                   |       4 ++--
         M man/man3/encrypt.3                  |       2 +-
         M man/man3/errstr.3                   |       4 ++--
         M man/man3/event.3                    |       2 +-
         M man/man3/exec.3                     |       4 ++--
         M man/man3/exits.3                    |       2 +-
         M man/man3/fcall.3                    |       2 +-
         M man/man3/flate.3                    |       2 +-
         M man/man3/fmtinstall.3               |       2 +-
         M man/man3/fork.3                     |       4 ++--
         M man/man3/frame.3                    |       2 +-
         M man/man3/genrandom.3                |       2 +-
         M man/man3/getcallerpc.3              |       2 +-
         M man/man3/getenv.3                   |       2 +-
         M man/man3/getfcr.3                   |       2 +-
         M man/man3/getfields.3                |       2 +-
         M man/man3/getpid.3                   |       2 +-
         M man/man3/getuser.3                  |       2 +-
         M man/man3/getwd.3                    |       2 +-
         M man/man3/graphics.3                 |       2 +-
         M man/man3/html.3                     |       2 +-
         M man/man3/hypot.3                    |       2 +-
         M man/man3/intmap.3                   |       2 +-
         M man/man3/ioproc.3                   |       2 +-
         M man/man3/ip.3                       |       2 +-
         M man/man3/isalpharune.3              |       2 +-
         M man/man3/keyboard.3                 |       2 +-
         M man/man3/lock.3                     |       6 +++---
         M man/man3/mach-file.3                |       2 +-
         M man/man3/mach-map.3                 |       2 +-
         M man/man3/mach-stack.3               |       2 +-
         M man/man3/mach-swap.3                |       2 +-
         M man/man3/mach-symbol.3              |       2 +-
         M man/man3/mach.3                     |       2 +-
         M man/man3/malloc.3                   |       2 +-
         M man/man3/memdraw.3                  |       2 +-
         M man/man3/memlayer.3                 |       2 +-
         M man/man3/mktemp.3                   |       2 +-
         M man/man3/mouse.3                    |       2 +-
         M man/man3/mp.3                       |       2 +-
         M man/man3/nan.3                      |       2 +-
         M man/man3/notify.3                   |       4 ++--
         M man/man3/open.3                     |       2 +-
         M man/man3/pipe.3                     |       2 +-
         M man/man3/plumb.3                    |       2 +-
         M man/man3/pool.3                     |       4 ++--
         M man/man3/postnote.3                 |       2 +-
         M man/man3/prime.3                    |       2 +-
         M man/man3/quote.3                    |       4 ++--
         M man/man3/rand.3                     |      10 +++++-----
         M man/man3/rc4.3                      |       2 +-
         M man/man3/read.3                     |       4 ++--
         M man/man3/readv.3                    |       4 ++--
         M man/man3/regexp.3                   |       2 +-
         M man/man3/remove.3                   |       2 +-
         M man/man3/rendezvous.3               |       2 +-
         M man/man3/rsa.3                      |       2 +-
         M man/man3/rune.3                     |       4 ++--
         M man/man3/runestrcat.3               |       2 +-
         M man/man3/sechash.3                  |       2 +-
         M man/man3/seek.3                     |       2 +-
         M man/man3/setjmp.3                   |       4 ++--
         M man/man3/sleep.3                    |       2 +-
         M man/man3/stat.3                     |       6 +++---
         M man/man3/strcat.3                   |       4 ++--
         M man/man3/string.3                   |       2 +-
         M man/man3/stringsize.3               |       2 +-
         M man/man3/subfont.3                  |       2 +-
         M man/man3/thread.3                   |      18 +++++++++++++-----
         M man/man3/time.3                     |       4 ++--
         M man/man3/wait.3                     |       2 +-
       
       153 files changed, 218 insertions(+), 211 deletions(-)
       ---
 (DIR) diff --git a/man/man1/9nm.1 b/man/man1/9nm.1
       t@@ -1,4 +1,4 @@
       -.TH NM 1
       +.TH 9NM 1
        .SH NAME
        nm \- name list (symbol table)
        .SH SYNOPSIS
       t@@ -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), 
 (DIR) diff --git a/man/man1/9sed.1 b/man/man1/9sed.1
       t@@ -1,8 +1,8 @@
        .TH SED 1
        .SH NAME
       -sed \- stream editor
       +9sed \- stream editor
        .SH SYNOPSIS
       -.B sed
       +.B 9sed
        [
        .B -n
        ]
       t@@ -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), 
 (DIR) diff --git a/man/man1/acme.1 b/man/man1/acme.1
       t@@ -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.
       t@@ -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
 (DIR) diff --git a/man/man1/ascii.1 b/man/man1/ascii.1
       t@@ -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),
 (DIR) diff --git a/man/man1/basename.1 b/man/man1/basename.1
       t@@ -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
 (DIR) diff --git a/man/man1/cal.1 b/man/man1/cal.1
       t@@ -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.
 (DIR) diff --git a/man/man1/calendar.1 b/man/man1/calendar.1
       t@@ -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
 (DIR) diff --git a/man/man1/cat.1 b/man/man1/cat.1
       t@@ -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
 (DIR) diff --git a/man/man1/cleanname.1 b/man/man1/cleanname.1
       t@@ -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).
 (DIR) diff --git a/man/man1/cmp.1 b/man/man1/cmp.1
       t@@ -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
 (DIR) diff --git a/man/man1/comm.1 b/man/man1/comm.1
       t@@ -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), 
 (DIR) diff --git a/man/man1/date.1 b/man/man1/date.1
       t@@ -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
 (DIR) diff --git a/man/man1/db.1 b/man/man1/db.1
       t@@ -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.
 (DIR) diff --git a/man/man1/dc.1 b/man/man1/dc.1
       t@@ -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)
 (DIR) diff --git a/man/man1/deroff.1 b/man/man1/deroff.1
       t@@ -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),
 (DIR) diff --git a/man/man1/dict.1 b/man/man1/dict.1
       t@@ -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.
 (DIR) diff --git a/man/man1/diff.1 b/man/man1/diff.1
       t@@ -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),
 (DIR) diff --git a/man/man1/echo.1 b/man/man1/echo.1
       t@@ -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
 (DIR) diff --git a/man/man1/ed.1 b/man/man1/ed.1
       t@@ -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),
 (DIR) diff --git a/man/man1/factor.1 b/man/man1/factor.1
       t@@ -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
 (DIR) diff --git a/man/man1/fmt.1 b/man/man1/fmt.1
       t@@ -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;
 (DIR) diff --git a/man/man1/fortune.1 b/man/man1/fortune.1
       t@@ -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
 (DIR) diff --git a/man/man1/freq.1 b/man/man1/freq.1
       t@@ -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)
 (DIR) diff --git a/man/man1/grep.1 b/man/man1/grep.1
       t@@ -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),
 (DIR) diff --git a/man/man1/hoc.1 b/man/man1/hoc.1
       t@@ -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)
 (DIR) diff --git a/man/man1/idiff.1 b/man/man1/idiff.1
       t@@ -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
 (DIR) diff --git a/man/man1/join.1 b/man/man1/join.1
       t@@ -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), 
 (DIR) diff --git a/man/man1/ls.1 b/man/man1/ls.1
       t@@ -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)
 (DIR) diff --git a/man/man1/mc.1 b/man/man1/mc.1
       t@@ -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),
 (DIR) diff --git a/man/man1/mkdir.1 b/man/man1/mkdir.1
       t@@ -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.
 (DIR) diff --git a/man/man1/plumb.1 b/man/man1/plumb.1
       t@@ -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),
 (DIR) diff --git a/man/man1/rc.1 b/man/man1/rc.1
       t@@ -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''.
 (DIR) diff --git a/man/man1/rm.1 b/man/man1/rm.1
       t@@ -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)
 (DIR) diff --git a/man/man1/sam.1 b/man/man1/sam.1
       t@@ -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),
 (DIR) diff --git a/man/man1/seq.1 b/man/man1/seq.1
       t@@ -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
 (DIR) diff --git a/man/man1/sleep.1 b/man/man1/sleep.1
       t@@ -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)
 (DIR) diff --git a/man/man1/sort.1 b/man/man1/sort.1
       t@@ -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)
 (DIR) diff --git a/man/man1/spell.1 b/man/man1/spell.1
       t@@ -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
       t@@ -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
 (DIR) diff --git a/man/man1/split.1 b/man/man1/split.1
       t@@ -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),
 (DIR) diff --git a/man/man1/strings.1 b/man/man1/strings.1
       t@@ -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)
 (DIR) diff --git a/man/man1/sum.1 b/man/man1/sum.1
       t@@ -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)
 (DIR) diff --git a/man/man1/tail.1 b/man/man1/tail.1
       t@@ -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
 (DIR) diff --git a/man/man1/tar.1 b/man/man1/tar.1
       t@@ -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),
 (DIR) diff --git a/man/man1/tee.1 b/man/man1/tee.1
       t@@ -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
 (DIR) diff --git a/man/man1/test.1 b/man/man1/test.1
       t@@ -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) 
 (DIR) diff --git a/man/man1/time.1 b/man/man1/time.1
       t@@ -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)
 (DIR) diff --git a/man/man1/touch.1 b/man/man1/touch.1
       t@@ -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),
 (DIR) diff --git a/man/man1/tr.1 b/man/man1/tr.1
       t@@ -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)
 (DIR) diff --git a/man/man1/uniq.1 b/man/man1/uniq.1
       t@@ -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
 (DIR) diff --git a/man/man1/wc.1 b/man/man1/wc.1
       t@@ -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
 (DIR) diff --git a/man/man1/xd.1 b/man/man1/xd.1
       t@@ -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
 (DIR) diff --git a/man/man1/yacc.1 b/man/man1/yacc.1
       t@@ -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
       t@@ -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
 (DIR) diff --git a/man/man3/9p.3 b/man/man3/9p.3
       t@@ -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
       t@@ -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),
 (DIR) diff --git a/man/man3/9pcmdbuf.3 b/man/man3/9pcmdbuf.3
       t@@ -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)
 (DIR) diff --git a/man/man3/9pfid.3 b/man/man3/9pfid.3
       t@@ -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)
 (DIR) diff --git a/man/man3/9pfile.3 b/man/man3/9pfile.3
       t@@ -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
 (DIR) diff --git a/man/man3/abort.3 b/man/man3/abort.3
       t@@ -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
 (DIR) diff --git a/man/man3/abs.3 b/man/man3/abs.3
       t@@ -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
 (DIR) diff --git a/man/man3/access.3 b/man/man3/access.3
       t@@ -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
 (DIR) diff --git a/man/man3/addpt.3 b/man/man3/addpt.3
       t@@ -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)
 (DIR) diff --git a/man/man3/aes.3 b/man/man3/aes.3
       t@@ -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),
 (DIR) diff --git a/man/man3/allocimage.3 b/man/man3/allocimage.3
       t@@ -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),
 (DIR) diff --git a/man/man3/assert.3 b/man/man3/assert.3
       t@@ -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
 (DIR) diff --git a/man/man3/atof.3 b/man/man3/atof.3
       t@@ -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
 (DIR) diff --git a/man/man3/auth.3 b/man/man3/auth.3
       t@@ -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),
 (DIR) diff --git a/man/man3/authsrv.3 b/man/man3/authsrv.3
       t@@ -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),
 (DIR) diff --git a/man/man3/bin.3 b/man/man3/bin.3
       t@@ -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
 (DIR) diff --git a/man/man3/bio.3 b/man/man3/bio.3
       t@@ -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),
 (DIR) diff --git a/man/man3/blowfish.3 b/man/man3/blowfish.3
       t@@ -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),
 (DIR) diff --git a/man/man3/cachechars.3 b/man/man3/cachechars.3
       t@@ -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),
 (DIR) diff --git a/man/man3/cleanname.3 b/man/man3/cleanname.3
       t@@ -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)
 (DIR) diff --git a/man/man3/color.3 b/man/man3/color.3
       t@@ -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),
 (DIR) diff --git a/man/man3/complete.3 b/man/man3/complete.3
       t@@ -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)
 (DIR) diff --git a/man/man3/cputime.3 b/man/man3/cputime.3
       t@@ -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)
 (DIR) diff --git a/man/man3/ctype.3 b/man/man3/ctype.3
       t@@ -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)
 (DIR) diff --git a/man/man3/des.3 b/man/man3/des.3
       t@@ -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),
 (DIR) diff --git a/man/man3/dial.3 b/man/man3/dial.3
       t@@ -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),
 (DIR) diff --git a/man/man3/dirread.3 b/man/man3/dirread.3
       t@@ -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),
 (DIR) diff --git a/man/man3/draw.3 b/man/man3/draw.3
       t@@ -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),
 (DIR) diff --git a/man/man3/dsa.3 b/man/man3/dsa.3
       t@@ -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),
 (DIR) diff --git a/man/man3/dup.3 b/man/man3/dup.3
       t@@ -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)
 (DIR) diff --git a/man/man3/elgamal.3 b/man/man3/elgamal.3
       t@@ -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),
 (DIR) diff --git a/man/man3/encode.3 b/man/man3/encode.3
       t@@ -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
 (DIR) diff --git a/man/man3/encrypt.3 b/man/man3/encrypt.3
       t@@ -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.
 (DIR) diff --git a/man/man3/errstr.3 b/man/man3/errstr.3
       t@@ -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.
 (DIR) diff --git a/man/man3/event.3 b/man/man3/event.3
       t@@ -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),
 (DIR) diff --git a/man/man3/exec.3 b/man/man3/exec.3
       t@@ -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),
 (DIR) diff --git a/man/man3/exits.3 b/man/man3/exits.3
       t@@ -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)
 (DIR) diff --git a/man/man3/fcall.3 b/man/man3/fcall.3
       t@@ -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),
 (DIR) diff --git a/man/man3/flate.3 b/man/man3/flate.3
       t@@ -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
 (DIR) diff --git a/man/man3/fmtinstall.3 b/man/man3/fmtinstall.3
       t@@ -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),
 (DIR) diff --git a/man/man3/fork.3 b/man/man3/fork.3
       t@@ -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),
 (DIR) diff --git a/man/man3/frame.3 b/man/man3/frame.3
       t@@ -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),
 (DIR) diff --git a/man/man3/genrandom.3 b/man/man3/genrandom.3
       t@@ -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)
 (DIR) diff --git a/man/man3/getcallerpc.3 b/man/man3/getcallerpc.3
       t@@ -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
 (DIR) diff --git a/man/man3/getenv.3 b/man/man3/getenv.3
       t@@ -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
 (DIR) diff --git a/man/man3/getfcr.3 b/man/man3/getfcr.3
       t@@ -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
 (DIR) diff --git a/man/man3/getfields.3 b/man/man3/getfields.3
       t@@ -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
 (DIR) diff --git a/man/man3/getpid.3 b/man/man3/getpid.3
       t@@ -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),
 (DIR) diff --git a/man/man3/getuser.3 b/man/man3/getuser.3
       t@@ -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)
 (DIR) diff --git a/man/man3/getwd.3 b/man/man3/getwd.3
       t@@ -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)
 (DIR) diff --git a/man/man3/graphics.3 b/man/man3/graphics.3
       t@@ -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),
 (DIR) diff --git a/man/man3/html.3 b/man/man3/html.3
       t@@ -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
 (DIR) diff --git a/man/man3/hypot.3 b/man/man3/hypot.3
       t@@ -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
 (DIR) diff --git a/man/man3/intmap.3 b/man/man3/intmap.3
       t@@ -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).
 (DIR) diff --git a/man/man3/ioproc.3 b/man/man3/ioproc.3
       t@@ -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),
 (DIR) diff --git a/man/man3/ip.3 b/man/man3/ip.3
       t@@ -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)
 (DIR) diff --git a/man/man3/isalpharune.3 b/man/man3/isalpharune.3
       t@@ -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" .
 (DIR) diff --git a/man/man3/keyboard.3 b/man/man3/keyboard.3
       t@@ -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),
 (DIR) diff --git a/man/man3/lock.3 b/man/man3/lock.3
       t@@ -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
 (DIR) diff --git a/man/man3/mach-file.3 b/man/man3/mach-file.3
       t@@ -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)
 (DIR) diff --git a/man/man3/mach-map.3 b/man/man3/mach-map.3
       t@@ -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)
 (DIR) diff --git a/man/man3/mach-stack.3 b/man/man3/mach-stack.3
       t@@ -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)
 (DIR) diff --git a/man/man3/mach-swap.3 b/man/man3/mach-swap.3
       t@@ -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)
 (DIR) diff --git a/man/man3/mach-symbol.3 b/man/man3/mach-symbol.3
       t@@ -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),
 (DIR) diff --git a/man/man3/mach.3 b/man/man3/mach.3
       t@@ -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),
 (DIR) diff --git a/man/man3/malloc.3 b/man/man3/malloc.3
       t@@ -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
 (DIR) diff --git a/man/man3/memdraw.3 b/man/man3/memdraw.3
       t@@ -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),
 (DIR) diff --git a/man/man3/memlayer.3 b/man/man3/memlayer.3
       t@@ -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),
 (DIR) diff --git a/man/man3/mktemp.3 b/man/man3/mktemp.3
       t@@ -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)
 (DIR) diff --git a/man/man3/mouse.3 b/man/man3/mouse.3
       t@@ -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),
 (DIR) diff --git a/man/man3/mp.3 b/man/man3/mp.3
       t@@ -574,4 +574,4 @@ and
        .I CRTres
        structures respectively.
        .SH SOURCE
       -.B /sys/src/libmp
       +.B /usr/local/plan9/src/libmp
 (DIR) diff --git a/man/man3/nan.3 b/man/man3/nan.3
       t@@ -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
 (DIR) diff --git a/man/man3/notify.3 b/man/man3/notify.3
       t@@ -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
 (DIR) diff --git a/man/man3/open.3 b/man/man3/open.3
       t@@ -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),
 (DIR) diff --git a/man/man3/pipe.3 b/man/man3/pipe.3
       t@@ -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),
 (DIR) diff --git a/man/man3/plumb.3 b/man/man3/plumb.3
       t@@ -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),
 (DIR) diff --git a/man/man3/pool.3 b/man/man3/pool.3
       t@@ -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.
 (DIR) diff --git a/man/man3/postnote.3 b/man/man3/postnote.3
       t@@ -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),
 (DIR) diff --git a/man/man3/prime.3 b/man/man3/prime.3
       t@@ -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),
 (DIR) diff --git a/man/man3/quote.3 b/man/man3/quote.3
       t@@ -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),
 (DIR) diff --git a/man/man3/rand.3 b/man/man3/rand.3
       t@@ -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),
 (DIR) diff --git a/man/man3/rc4.3 b/man/man3/rc4.3
       t@@ -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),
 (DIR) diff --git a/man/man3/read.3 b/man/man3/read.3
       t@@ -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), 
 (DIR) diff --git a/man/man3/readv.3 b/man/man3/readv.3
       t@@ -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)
 (DIR) diff --git a/man/man3/regexp.3 b/man/man3/regexp.3
       t@@ -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
 (DIR) diff --git a/man/man3/remove.3 b/man/man3/remove.3
       t@@ -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),
 (DIR) diff --git a/man/man3/rendezvous.3 b/man/man3/rendezvous.3
       t@@ -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)
 (DIR) diff --git a/man/man3/rsa.3 b/man/man3/rsa.3
       t@@ -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),
 (DIR) diff --git a/man/man3/rune.3 b/man/man3/rune.3
       t@@ -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)
 (DIR) diff --git a/man/man3/runestrcat.3 b/man/man3/runestrcat.3
       t@@ -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),
 (DIR) diff --git a/man/man3/sechash.3 b/man/man3/sechash.3
       t@@ -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),
 (DIR) diff --git a/man/man3/seek.3 b/man/man3/seek.3
       t@@ -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)
 (DIR) diff --git a/man/man3/setjmp.3 b/man/man3/setjmp.3
       t@@ -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
 (DIR) diff --git a/man/man3/sleep.3 b/man/man3/sleep.3
       t@@ -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
 (DIR) diff --git a/man/man3/stat.3 b/man/man3/stat.3
       t@@ -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
 (DIR) diff --git a/man/man3/strcat.3 b/man/man3/strcat.3
       t@@ -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),
 (DIR) diff --git a/man/man3/string.3 b/man/man3/string.3
       t@@ -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)
 (DIR) diff --git a/man/man3/stringsize.3 b/man/man3/stringsize.3
       t@@ -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),
 (DIR) diff --git a/man/man3/subfont.3 b/man/man3/subfont.3
       t@@ -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),
 (DIR) diff --git a/man/man3/thread.3 b/man/man3/thread.3
       t@@ -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>
       t@@ -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
       t@@ -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)
 (DIR) diff --git a/man/man3/time.3 b/man/man3/time.3
       t@@ -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
 (DIR) diff --git a/man/man3/wait.3 b/man/man3/wait.3
       t@@ -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),