Browse Source

Plan 9 from Bell Labs 2004-06-17

David du Colombier 20 years ago
parent
commit
61d2035bec

+ 0 - 3
386/include/ape/math.h

@@ -71,7 +71,4 @@ extern double yn(int, double);
 }
 #endif
 
-#define isnan(x) isNaN(x)
-#define isinf(x) isInf(x)
-
 #endif /* __MATH */

+ 58 - 21
dist/replica/_plan9.db

@@ -505,7 +505,7 @@
 386/include - 20000000775 sys sys 953243048 0
 386/include/ape - 20000000775 sys sys 944946041 0
 386/include/ape/float.h - 664 sys sys 969656988 1643
-386/include/ape/math.h - 664 sys sys 1078495286 2176
+386/include/ape/math.h - 664 sys sys 1087406385 2123
 386/include/ape/stdarg.h - 664 sys sys 944946040 276
 386/include/ape/ureg.h - 664 sys sys 944946041 812
 386/include/u.h - 664 sys sys 1042604326 1450
@@ -2804,7 +2804,7 @@ lib/tftpd - 20000000775 sys sys 944944178 0
 lib/unicode - 664 sys sys 958440028 223312
 lib/unicode.notice - 664 sys sys 958504386 1398
 lib/units - 664 sys sys 1071415518 9997
-lib/vgadb - 664 sys sys 1081485565 27918
+lib/vgadb - 664 sys sys 1087406071 28009
 lib/volcanoes - 664 sys sys 944944024 119831
 lib/words - 664 sys sys 1014923442 247097
 lp - 20000000775 sys sys 958199268 0
@@ -3339,7 +3339,7 @@ sys/doc/venti/venti.pdf - 755 sys sys 1020384352 139090
 sys/doc/venti/venti.ps - 664 sys sys 1019852320 2012620
 sys/games - 20000000775 sys sys 952648872 0
 sys/games/lib - 20000000775 sys sys 952648879 0
-sys/games/lib/fortunes - 664 sys sys 1084332868 248449
+sys/games/lib/fortunes - 664 sys sys 1087406051 248598
 sys/include - 20000000775 sys sys 1016902416 0
 sys/include/9p.h - 664 sys sys 1044836327 4309
 sys/include/String.h - 664 sys sys 1055701304 1291
@@ -3400,7 +3400,7 @@ sys/include/ape/sys/types.h - 664 sys sys 1068478175 993
 sys/include/ape/sys/uio.h - 664 sys sys 944948759 636
 sys/include/ape/sys/un.h - 664 sys sys 944948759 1011
 sys/include/ape/sys/utsname.h - 664 sys sys 944948759 279
-sys/include/ape/sys/wait.h - 664 sys sys 944948759 537
+sys/include/ape/sys/wait.h - 664 sys sys 1087406385 610
 sys/include/ape/termios.h - 664 sys sys 944948760 2745
 sys/include/ape/time.h - 664 sys sys 944948760 1016
 sys/include/ape/u.h - 664 sys sys 1038237538 399
@@ -3992,7 +3992,7 @@ sys/lib/man/secindex - 775 sys sys 956337727 322
 sys/lib/man/title - 664 sys sys 1019915894 746
 sys/lib/man/trademarks - 664 sys sys 958527089 1838
 sys/lib/mimetype - 664 sys sys 1084319210 5694
-sys/lib/newuser - 775 sys sys 1018386991 1229
+sys/lib/newuser - 775 sys sys 1087407313 1242
 sys/lib/plumb - 20000000775 sys sys 944957365 0
 sys/lib/plumb/basic - 664 sys sys 1070330856 2930
 sys/lib/plumb/fileaddr - 664 sys sys 944957365 88
@@ -4692,7 +4692,7 @@ sys/man/1/lens - 664 sys sys 1029431866 1230
 sys/man/1/lex - 664 sys sys 1032058565 1520
 sys/man/1/look - 664 sys sys 944959673 1348
 sys/man/1/lp - 664 sys sys 1015024739 3304
-sys/man/1/ls - 664 sys sys 1079372922 2897
+sys/man/1/ls - 664 sys sys 1087406208 2898
 sys/man/1/mail - 664 sys sys 1050078464 2158
 sys/man/1/man - 664 sys sys 1059484724 1740
 sys/man/1/marshal - 664 sys sys 1079970326 3150
@@ -4707,7 +4707,7 @@ sys/man/1/news - 664 sys sys 1015024739 1148
 sys/man/1/nm - 664 sys sys 944959673 1539
 sys/man/1/ns - 664 sys sys 944959677 893
 sys/man/1/p - 664 sys sys 944959673 504
-sys/man/1/page - 664 sys sys 1079029945 5717
+sys/man/1/page - 664 sys sys 1087406047 5839
 sys/man/1/passwd - 664 sys sys 1068823217 1377
 sys/man/1/patch - 664 sys sys 1067804449 2176
 sys/man/1/pcc - 664 sys sys 1015024740 3478
@@ -5069,7 +5069,7 @@ sys/man/8/cpurc - 664 sys sys 971455510 1275
 sys/man/8/cron - 664 sys sys 1063858596 1867
 sys/man/8/dhcpd - 664 sys sys 1032654987 5237
 sys/man/8/drawterm - 664 sys sys 958419689 2458
-sys/man/8/fossilcons - 664 sys sys 1087005584 17784
+sys/man/8/fossilcons - 664 sys sys 1087406046 17788
 sys/man/8/fs - 664 sys sys 1055701170 15029
 sys/man/8/fsconfig - 664 sys sys 1045501600 8142
 sys/man/8/httpd - 664 sys sys 1065640802 6426
@@ -5104,7 +5104,7 @@ sys/man/8/scuzz - 664 sys sys 984709640 7916
 sys/man/8/secstore - 664 sys sys 1064807283 1306
 sys/man/8/securenet - 664 sys sys 954305552 3160
 sys/man/8/send - 664 sys sys 1045501634 2168
-sys/man/8/smtp - 664 sys sys 1067722775 4709
+sys/man/8/smtp - 664 sys sys 1087406045 4703
 sys/man/8/snoopy - 664 sys sys 1057752980 3802
 sys/man/8/stats - 664 sys sys 1067722908 4291
 sys/man/8/stub - 664 sys sys 1044830500 943
@@ -5269,7 +5269,7 @@ sys/src/9/ip/ipifc.c - 664 sys sys 1079538100 34297
 sys/src/9/ip/ipmux.c - 664 sys sys 1047260566 15362
 sys/src/9/ip/iproute.c - 664 sys sys 1049423192 14763
 sys/src/9/ip/ipv6.c - 664 sys sys 1047951328 14433
-sys/src/9/ip/ipv6.h - 664 sys sys 1082604125 4260
+sys/src/9/ip/ipv6.h - 664 sys sys 1087406259 4321
 sys/src/9/ip/loopbackmedium.c - 664 sys sys 1055701769 1671
 sys/src/9/ip/netdevmedium.c - 664 sys sys 1045063517 2675
 sys/src/9/ip/netlog.c - 664 sys sys 1026847568 4003
@@ -6054,14 +6054,14 @@ sys/src/ape/lib/ap/plan9/9read.c - 664 sys sys 1014921986 169
 sys/src/ape/lib/ap/plan9/9readn.c - 664 sys sys 1070330880 221
 sys/src/ape/lib/ap/plan9/9wait.c - 664 sys sys 1014921986 1517
 sys/src/ape/lib/ap/plan9/9write.c - 664 sys sys 1014921986 171
-sys/src/ape/lib/ap/plan9/_buf.c - 664 sys sys 1072835434 9924
+sys/src/ape/lib/ap/plan9/_buf.c - 664 sys sys 1087406385 9922
 sys/src/ape/lib/ap/plan9/_dirconv.c - 664 sys sys 1014921985 1419
 sys/src/ape/lib/ap/plan9/_envsetup.c - 664 sys sys 1048644333 2198
 sys/src/ape/lib/ap/plan9/_errno.c - 664 sys sys 1014921985 3909
 sys/src/ape/lib/ap/plan9/_exit.c - 664 sys sys 1014921983 875
 sys/src/ape/lib/ap/plan9/_fcall.c - 664 sys sys 1014921983 6036
 sys/src/ape/lib/ap/plan9/_fdinfo.c - 664 sys sys 1038237526 2883
-sys/src/ape/lib/ap/plan9/_getpw.c - 664 sys sys 1014921984 3222
+sys/src/ape/lib/ap/plan9/_getpw.c - 664 sys sys 1087406759 3288
 sys/src/ape/lib/ap/plan9/_nap.c - 664 sys sys 1014921985 266
 sys/src/ape/lib/ap/plan9/access.c - 664 sys sys 1014921983 904
 sys/src/ape/lib/ap/plan9/acid.c - 664 sys sys 1014921985 729
@@ -6151,7 +6151,7 @@ sys/src/ape/lib/ap/plan9/umask.c - 664 sys sys 1014921985 182
 sys/src/ape/lib/ap/plan9/uname.c - 664 sys sys 1014921985 408
 sys/src/ape/lib/ap/plan9/unlink.c - 664 sys sys 1038237528 1505
 sys/src/ape/lib/ap/plan9/utime.c - 664 sys sys 1046643007 469
-sys/src/ape/lib/ap/plan9/wait.c - 664 sys sys 1043681702 1133
+sys/src/ape/lib/ap/plan9/wait.c - 664 sys sys 1087406384 2131
 sys/src/ape/lib/ap/plan9/write.c - 664 sys sys 1038237529 348
 sys/src/ape/lib/ap/posix - 20000000775 sys sys 1014921981 0
 sys/src/ape/lib/ap/posix/getgrent.c - 664 sys sys 1014921981 945
@@ -6257,7 +6257,7 @@ sys/src/ape/lib/ap/stdio/strtod.c - 664 sys sys 1014921983 14375
 sys/src/ape/lib/ap/stdio/tmpfile.c - 664 sys sys 1014921982 706
 sys/src/ape/lib/ap/stdio/tmpnam.c - 664 sys sys 1014921982 314
 sys/src/ape/lib/ap/stdio/ungetc.c - 664 sys sys 1038237533 491
-sys/src/ape/lib/ap/stdio/vfprintf.c - 664 sys sys 1038237534 14727
+sys/src/ape/lib/ap/stdio/vfprintf.c - 664 sys sys 1087406384 14746
 sys/src/ape/lib/ap/stdio/vfscanf.c - 664 sys sys 1014921983 9100
 sys/src/ape/lib/ap/stdio/vprintf.c - 664 sys sys 1014921983 134
 sys/src/ape/lib/ap/stdio/vsnprintf.c - 664 sys sys 1050684390 277
@@ -6284,7 +6284,7 @@ sys/src/ape/lib/bsd/getprotobyname.c - 664 sys sys 1014921995 1498
 sys/src/ape/lib/bsd/getservbyaddr.c - 664 sys sys 1014921995 308
 sys/src/ape/lib/bsd/getservbyname.c - 664 sys sys 1014921995 1595
 sys/src/ape/lib/bsd/getsockname.c - 664 sys sys 1014921995 847
-sys/src/ape/lib/bsd/gettimeofday.c - 664 sys sys 1063858406 756
+sys/src/ape/lib/bsd/gettimeofday.c - 664 sys sys 1087406384 759
 sys/src/ape/lib/bsd/inet_addr.c - 664 sys sys 1014921995 770
 sys/src/ape/lib/bsd/inet_ntoa.c - 664 sys sys 1014921995 382
 sys/src/ape/lib/bsd/ioctl.c - 664 sys sys 1014921995 561
@@ -7128,7 +7128,7 @@ sys/src/cmd/aux/vga/ch9294.c - 664 sys sys 1014925007 2120
 sys/src/cmd/aux/vga/clgd542x.c - 664 sys sys 1014925007 6916
 sys/src/cmd/aux/vga/clgd546x.c - 664 sys sys 1014925007 7996
 sys/src/cmd/aux/vga/ct65540.c - 664 sys sys 1014925007 5355
-sys/src/cmd/aux/vga/cyber938x.c - 664 sys sys 1081200864 6502
+sys/src/cmd/aux/vga/cyber938x.c - 664 sys sys 1087406072 6543
 sys/src/cmd/aux/vga/data.c - 664 sys sys 1019498850 2200
 sys/src/cmd/aux/vga/db.c - 664 sys sys 1081201695 9430
 sys/src/cmd/aux/vga/error.c - 664 sys sys 1014925008 745
@@ -9781,7 +9781,7 @@ sys/src/cmd/ndb/convM2DNS.c - 664 sys sys 1060612175 7248
 sys/src/cmd/ndb/cs.c - 664 sys sys 1080572749 32985
 sys/src/cmd/ndb/csgetval.c - 664 sys sys 957402051 1051
 sys/src/cmd/ndb/csquery.c - 664 sys sys 1014926159 1062
-sys/src/cmd/ndb/dblookup.c - 664 sys sys 1078927860 18090
+sys/src/cmd/ndb/dblookup.c - 664 sys sys 1087406287 18127
 sys/src/cmd/ndb/dn.c - 664 sys sys 1079918815 26961
 sys/src/cmd/ndb/dnarea.c - 664 sys sys 1055701929 2126
 sys/src/cmd/ndb/dnnotify.c - 664 sys sys 1055701929 3062
@@ -9814,13 +9814,13 @@ sys/src/cmd/page/gs.c - 664 sys sys 1038517813 6544
 sys/src/cmd/page/mkfile - 664 sys sys 1035998247 411
 sys/src/cmd/page/nrotate.c - 664 sys sys 944961365 5806
 sys/src/cmd/page/page.c - 664 sys sys 1069793855 4413
-sys/src/cmd/page/page.h - 664 sys sys 1078973385 2111
+sys/src/cmd/page/page.h - 664 sys sys 1087406048 2129
 sys/src/cmd/page/pdf.c - 664 sys sys 1038517814 2884
 sys/src/cmd/page/pdfprolog.ps - 664 sys sys 1035695487 699
 sys/src/cmd/page/ps.c - 664 sys sys 1045505467 9176
 sys/src/cmd/page/rotate.c - 664 sys sys 1079029957 9971
 sys/src/cmd/page/util.c - 664 sys sys 944961364 2090
-sys/src/cmd/page/view.c - 664 sys sys 1079029958 22326
+sys/src/cmd/page/view.c - 664 sys sys 1087406048 22740
 sys/src/cmd/paqfs - 20000000775 sys sys 1017696804 0
 sys/src/cmd/paqfs/mkfile - 664 sys sys 1032060366 228
 sys/src/cmd/paqfs/mkpaqfs.c - 664 sys sys 1072729575 8836
@@ -10444,7 +10444,7 @@ sys/src/cmd/ssh/ssh.h - 664 sys sys 1048179595 6054
 sys/src/cmd/ssh/sshnet.c - 664 sys sys 1078840016 17641
 sys/src/cmd/ssh/sshserve.c - 664 sys sys 1062091020 5786
 sys/src/cmd/ssh/util.c - 664 sys sys 1063858753 4478
-sys/src/cmd/stats.c - 664 sys sys 1074086705 28191
+sys/src/cmd/stats.c - 664 sys sys 1087406219 27828
 sys/src/cmd/strings.c - 664 sys sys 944961364 1216
 sys/src/cmd/strip.c - 664 sys sys 1014926661 3306
 sys/src/cmd/sum.c - 664 sys sys 1014926615 5548
@@ -10949,7 +10949,7 @@ sys/src/cmd/upas/smtp/rfc822.y - 664 sys sys 1064589606 13417
 sys/src/cmd/upas/smtp/rmtdns.c - 664 sys sys 1015013150 1069
 sys/src/cmd/upas/smtp/smtp.c - 664 sys sys 1072561144 18914
 sys/src/cmd/upas/smtp/smtp.h - 664 sys sys 1064589597 1084
-sys/src/cmd/upas/smtp/smtpd.c - 664 sys sys 1079323038 27764
+sys/src/cmd/upas/smtp/smtpd.c - 664 sys sys 1087421671 27665
 sys/src/cmd/upas/smtp/smtpd.h - 664 sys sys 1067722781 1111
 sys/src/cmd/upas/smtp/smtpd.y - 664 sys sys 1061836986 6949
 sys/src/cmd/upas/smtp/spam.c - 664 sys sys 1067722785 9661
@@ -12430,3 +12430,40 @@ usr/glenda/lib/profile - 664 glenda glenda 1021580005 847
 usr/glenda/readme.acme - 664 glenda glenda 1019860628 4753
 usr/glenda/readme.rio - 664 glenda glenda 1019860628 6370
 usr/glenda/tmp - 20000000775 glenda glenda 1018802620 0
+386/bin/awk - 775 sys sys 1087442510 320903
+386/bin/eqn - 775 sys sys 1087442511 242933
+386/bin/grap - 775 sys sys 1087442511 279661
+386/bin/gs - 775 sys sys 1087442533 11131703
+386/bin/page - 775 sys sys 1087442536 229962
+386/bin/pic - 775 sys sys 1087442536 304721
+386/bin/spin - 775 sys sys 1087442537 654792
+386/bin/stats - 775 sys sys 1087442538 188279
+386/bin/ape/basename - 775 sys sys 1087442501 132681
+386/bin/ape/diff - 775 sys sys 1087442501 349070
+386/bin/ape/diff3 - 775 sys sys 1087442502 187486
+386/bin/ape/dirname - 775 sys sys 1087442502 132460
+386/bin/ape/expr - 775 sys sys 1087442502 142097
+386/bin/ape/kill - 775 sys sys 1087442503 138039
+386/bin/ape/make - 775 sys sys 1087442503 208223
+386/bin/ape/patch - 775 sys sys 1087442504 301544
+386/bin/ape/sed - 775 sys sys 1087442504 158112
+386/bin/ape/sh - 775 sys sys 1087442505 476536
+386/bin/ape/uname - 775 sys sys 1087442505 132510
+386/bin/aux/download - 775 sys sys 1087442506 176016
+386/bin/aux/lpdaemon - 775 sys sys 1087442506 167430
+386/bin/aux/lpdsend - 775 sys sys 1087442507 153635
+386/bin/aux/postgif - 775 sys sys 1087442507 175380
+386/bin/aux/postprint - 775 sys sys 1087442507 160041
+386/bin/aux/postreverse - 775 sys sys 1087442508 164726
+386/bin/aux/posttek - 775 sys sys 1087442508 163239
+386/bin/aux/tcpostio - 775 sys sys 1087442508 200175
+386/bin/aux/vga - 775 sys sys 1087442509 300332
+386/bin/ndb/dns - 775 sys sys 1087442534 217609
+386/bin/ndb/dnsdebug - 775 sys sys 1087442534 192208
+386/bin/ndb/dnstcp - 775 sys sys 1087442535 190845
+386/bin/troff - 775 sys sys 1087442539 357239
+386/bin/upas/smtpd - 775 sys sys 1087442539 323781
+386/bin/upas/unesc - 775 sys sys 1087442540 132079
+386/lib/ape/libap.a - 664 sys sys 1087442542 806922
+386/lib/ape/libbsd.a - 664 sys sys 1087442542 179270
+386/lib/ape/libfmt.a - 664 sys sys 1087442542 147014

+ 58 - 58
dist/replica/plan9.db

@@ -29,21 +29,21 @@
 386/bin/acid - 775 sys sys 1085076972 371882
 386/bin/acme - 775 sys sys 1086836655 424880
 386/bin/ape - 20000000775 sys sys 1016944144 0
-386/bin/ape/basename - 775 sys sys 1071245280 133877
+386/bin/ape/basename - 775 sys sys 1087442501 132681
 386/bin/ape/cc - 775 sys sys 1085076973 68304
-386/bin/ape/diff - 775 sys sys 1071245281 348833
-386/bin/ape/diff3 - 775 sys sys 1071245282 186855
-386/bin/ape/dirname - 775 sys sys 1071245282 133656
-386/bin/ape/expr - 775 sys sys 1071245283 143297
-386/bin/ape/kill - 775 sys sys 1071245283 139225
-386/bin/ape/make - 775 sys sys 1071245284 207848
-386/bin/ape/patch - 775 sys sys 1071245285 301457
+386/bin/ape/diff - 775 sys sys 1087442501 349070
+386/bin/ape/diff3 - 775 sys sys 1087442502 187486
+386/bin/ape/dirname - 775 sys sys 1087442502 132460
+386/bin/ape/expr - 775 sys sys 1087442502 142097
+386/bin/ape/kill - 775 sys sys 1087442503 138039
+386/bin/ape/make - 775 sys sys 1087442503 208223
+386/bin/ape/patch - 775 sys sys 1087442504 301544
 386/bin/ape/psh - 775 sys sys 1042220689 34
-386/bin/ape/sed - 775 sys sys 1071245286 159351
-386/bin/ape/sh - 775 sys sys 1071245287 476439
+386/bin/ape/sed - 775 sys sys 1087442504 158112
+386/bin/ape/sh - 775 sys sys 1087442505 476536
 386/bin/ape/stty - 775 sys sys 1085076973 41013
 386/bin/ape/tar - 775 sys sys 1085076974 59875
-386/bin/ape/uname - 775 sys sys 1071245288 133706
+386/bin/ape/uname - 775 sys sys 1087442505 132510
 386/bin/aquarela - 775 sys sys 1064598027 319170
 386/bin/ar - 775 sys sys 1085076974 109700
 386/bin/archfs - 775 sys sys 1086923024 138783
@@ -102,7 +102,7 @@
 386/bin/aux/data2s - 775 sys sys 1085076990 58501
 386/bin/aux/depend - 775 sys sys 1085076991 143665
 386/bin/aux/disksim - 775 sys sys 1086923026 142348
-386/bin/aux/download - 775 sys sys 1071245289 177517
+386/bin/aux/download - 775 sys sys 1087442506 176016
 386/bin/aux/faxreceive - 775 sys sys 1085076991 81973
 386/bin/aux/faxsend - 775 sys sys 1085076992 87471
 386/bin/aux/flashfs - 775 sys sys 1086923026 158321
@@ -114,8 +114,8 @@
 386/bin/aux/lines - 775 sys sys 1085076993 58460
 386/bin/aux/listen - 775 sys sys 1085076994 104854
 386/bin/aux/listen1 - 775 sys sys 1085076994 91430
-386/bin/aux/lpdaemon - 775 sys sys 1071245290 166954
-386/bin/aux/lpdsend - 775 sys sys 1071245290 155010
+386/bin/aux/lpdaemon - 775 sys sys 1087442506 167430
+386/bin/aux/lpdsend - 775 sys sys 1087442507 153635
 386/bin/aux/lpsend - 775 sys sys 1085076994 52497
 386/bin/aux/mapd - 775 sys sys 1085076995 190822
 386/bin/aux/mkflashfs - 775 sys sys 1085076995 65396
@@ -133,10 +133,10 @@
 386/bin/aux/pcnfsd - 775 sys sys 1085077002 126987
 386/bin/aux/portmap - 775 sys sys 1085077002 141765
 386/bin/aux/portmapper - 775 sys sys 1085077003 125873
-386/bin/aux/postgif - 775 sys sys 1071245292 176711
-386/bin/aux/postprint - 775 sys sys 1071245292 161360
-386/bin/aux/postreverse - 775 sys sys 1071245293 166125
-386/bin/aux/posttek - 775 sys sys 1071245294 164558
+386/bin/aux/postgif - 775 sys sys 1087442507 175380
+386/bin/aux/postprint - 775 sys sys 1087442507 160041
+386/bin/aux/postreverse - 775 sys sys 1087442508 164726
+386/bin/aux/posttek - 775 sys sys 1087442508 163239
 386/bin/aux/rdwr - 775 sys sys 1085077003 38275
 386/bin/aux/reboot - 775 sys sys 1085077004 58332
 386/bin/aux/samterm - 775 sys sys 1085077004 245843
@@ -145,20 +145,20 @@
 386/bin/aux/ssh_genkey - 775 sys sys 1045537957 194629
 386/bin/aux/sshserve - 775 sys sys 1085077007 251118
 386/bin/aux/stub - 775 sys sys 1086923027 132993
-386/bin/aux/tcpostio - 775 sys sys 1071245296 199664
+386/bin/aux/tcpostio - 775 sys sys 1087442508 200175
 386/bin/aux/text2post - 775 sys sys 1085077008 76406
 386/bin/aux/timesync - 775 sys sys 1085077008 126318
 386/bin/aux/tr2post - 775 sys sys 1085077009 174655
 386/bin/aux/trampoline - 775 sys sys 1085077009 81287
 386/bin/aux/typepasswd - 775 sys sys 1085077010 67426
-386/bin/aux/vga - 775 sys sys 1085077011 300321
+386/bin/aux/vga - 775 sys sys 1087442509 300332
 386/bin/aux/vmmousepoll - 775 sys sys 1032480572 41434
 386/bin/aux/vmware - 775 sys sys 1049428256 453
 386/bin/aux/vmwarefs - 775 sys sys 1045537962 102172
 386/bin/aux/write - 775 sys sys 1085077011 4188
 386/bin/aux/zerotrunc - 775 sys sys 1057551514 58154
 386/bin/awd - 775 sys sys 1085077011 5029
-386/bin/awk - 775 sys sys 1071245297 320327
+386/bin/awk - 775 sys sys 1087442510 320903
 386/bin/basename - 775 sys sys 1085077011 37856
 386/bin/bc - 775 sys sys 1085077012 79712
 386/bin/bind - 775 sys sys 1085077012 57577
@@ -221,7 +221,7 @@
 386/bin/du - 775 sys sys 1085077037 68337
 386/bin/echo - 775 sys sys 1085077038 55323
 386/bin/ed - 775 sys sys 1085077038 91066
-386/bin/eqn - 775 sys sys 1071245302 244127
+386/bin/eqn - 775 sys sys 1087442511 242933
 386/bin/execnet - 775 sys sys 1086923028 169987
 386/bin/exportfs - 775 sys sys 1085077040 159178
 386/bin/ext2srv - 775 sys sys 1086923028 172062
@@ -248,10 +248,10 @@
 386/bin/ftpfs - 775 sys sys 1085077059 145999
 386/bin/getmap - 775 sys sys 1085077059 63150
 386/bin/gif - 775 sys sys 1085077060 155975
-386/bin/grap - 775 sys sys 1071245308 279167
+386/bin/grap - 775 sys sys 1087442511 279661
 386/bin/graph - 775 sys sys 1085077060 127266
 386/bin/grep - 775 sys sys 1085077060 77099
-386/bin/gs - 775 sys sys 1071245334 11134067
+386/bin/gs - 775 sys sys 1087442533 11131703
 386/bin/gunzip - 775 sys sys 1085077061 78252
 386/bin/gview - 775 sys sys 1085077061 235276
 386/bin/gzip - 775 sys sys 1085077061 82899
@@ -322,10 +322,10 @@
 386/bin/ndb - 20000000775 sys sys 985743147 0
 386/bin/ndb/cs - 775 sys sys 1085077080 146839
 386/bin/ndb/csquery - 775 sys sys 1085077080 59444
-386/bin/ndb/dns - 775 sys sys 1085077081 217609
-386/bin/ndb/dnsdebug - 775 sys sys 1085077081 192208
+386/bin/ndb/dns - 775 sys sys 1087442534 217609
+386/bin/ndb/dnsdebug - 775 sys sys 1087442534 192208
 386/bin/ndb/dnsquery - 775 sys sys 1085077082 61758
-386/bin/ndb/dnstcp - 775 sys sys 1085077082 190845
+386/bin/ndb/dnstcp - 775 sys sys 1087442535 190845
 386/bin/ndb/ipquery - 775 sys sys 1085077082 93134
 386/bin/ndb/mkdb - 775 sys sys 1085077082 61950
 386/bin/ndb/mkhash - 775 sys sys 1085077083 81983
@@ -339,12 +339,12 @@
 386/bin/nntpfs - 775 sys sys 1086923029 159031
 386/bin/ns - 775 sys sys 1085077086 63226
 386/bin/p - 775 sys sys 1085077086 62948
-386/bin/page - 775 sys sys 1085077086 229583
+386/bin/page - 775 sys sys 1087442536 229962
 386/bin/paqfs - 775 sys sys 1085077087 105566
 386/bin/passwd - 775 sys sys 1085077087 81627
 386/bin/pbd - 775 sys sys 1085077087 4661
 386/bin/pcc - 775 sys sys 1085077087 65827
-386/bin/pic - 775 sys sys 1071245341 304118
+386/bin/pic - 775 sys sys 1087442536 304721
 386/bin/pipefile - 775 sys sys 1085077087 39368
 386/bin/plot - 775 sys sys 1085077088 219548
 386/bin/plumb - 775 sys sys 1085077088 64937
@@ -391,14 +391,14 @@
 386/bin/sniffer - 775 sys sys 1038443185 99028
 386/bin/snoopy - 775 sys sys 1085077098 152766
 386/bin/sort - 775 sys sys 1085077099 80213
-386/bin/spin - 775 sys sys 1071245348 654328
+386/bin/spin - 775 sys sys 1087442537 654792
 386/bin/split - 775 sys sys 1085077099 73388
 386/bin/srv - 775 sys sys 1085077099 80398
 386/bin/srvfs - 775 sys sys 1085077099 39578
 386/bin/srvold9p - 775 sys sys 1085077100 128139
 386/bin/ssh - 775 sys sys 1085077100 210573
 386/bin/sshnet - 775 sys sys 1086923031 281102
-386/bin/stats - 775 sys sys 1085077101 188503
+386/bin/stats - 775 sys sys 1087442538 188279
 386/bin/strings - 775 sys sys 1085077101 60090
 386/bin/strip - 775 sys sys 1085077101 59994
 386/bin/sum - 775 sys sys 1085077102 39447
@@ -423,7 +423,7 @@
 386/bin/tprof - 775 sys sys 1085077108 271255
 386/bin/tr - 775 sys sys 1085077108 60009
 386/bin/trace - 775 sys sys 1085077109 178355
-386/bin/troff - 775 sys sys 1071245358 356719
+386/bin/troff - 775 sys sys 1087442539 357239
 386/bin/troff2html - 775 sys sys 1085077109 80041
 386/bin/tweak - 775 sys sys 1085077109 190079
 386/bin/unicode - 775 sys sys 1085077109 60489
@@ -454,11 +454,11 @@
 386/bin/upas/scanmail - 775 sys sys 1085077115 126758
 386/bin/upas/send - 775 sys sys 1085077116 189534
 386/bin/upas/smtp - 775 sys sys 1085077116 271187
-386/bin/upas/smtpd - 775 sys sys 1085077117 325152
+386/bin/upas/smtpd - 775 sys sys 1087442539 323781
 386/bin/upas/spam - 775 sys sys 1064598366 36
 386/bin/upas/testscan - 775 sys sys 1085077117 81626
 386/bin/upas/token - 775 sys sys 1085077117 75518
-386/bin/upas/unesc - 775 sys sys 1075097691 133345
+386/bin/upas/unesc - 775 sys sys 1087442540 132079
 386/bin/upas/unspam - 775 sys sys 1064598367 38
 386/bin/upas/vf - 775 sys sys 1085077117 90562
 386/bin/usb - 20000000775 sys sys 1019538890 0
@@ -505,7 +505,7 @@
 386/include - 20000000775 sys sys 953243048 0
 386/include/ape - 20000000775 sys sys 944946041 0
 386/include/ape/float.h - 664 sys sys 969656988 1643
-386/include/ape/math.h - 664 sys sys 1078495286 2176
+386/include/ape/math.h - 664 sys sys 1087406385 2123
 386/include/ape/stdarg.h - 664 sys sys 944946040 276
 386/include/ape/ureg.h - 664 sys sys 944946041 812
 386/include/u.h - 664 sys sys 1042604326 1450
@@ -515,10 +515,10 @@
 386/lib - 20000000775 sys sys 1016826328 0
 386/lib/ape - 20000000775 sys sys 944969312 0
 386/lib/ape/lib9.a - 664 sys sys 1038237538 6378
-386/lib/ape/libap.a - 664 sys sys 1085077136 805714
-386/lib/ape/libbsd.a - 664 sys sys 1085077137 179270
+386/lib/ape/libap.a - 664 sys sys 1087442542 806922
+386/lib/ape/libbsd.a - 664 sys sys 1087442542 179270
 386/lib/ape/libdraw.a - 664 sys sys 1085077138 574254
-386/lib/ape/libfmt.a - 664 sys sys 1085077138 147014
+386/lib/ape/libfmt.a - 664 sys sys 1087442542 147014
 386/lib/ape/libl.a - 664 sys sys 1085077138 9420
 386/lib/ape/libnet.a - 664 sys sys 1073851263 16950
 386/lib/ape/libregexp.a - 664 sys sys 1085077139 47502
@@ -2804,7 +2804,7 @@ lib/tftpd - 20000000775 sys sys 944944178 0
 lib/unicode - 664 sys sys 958440028 223312
 lib/unicode.notice - 664 sys sys 958504386 1398
 lib/units - 664 sys sys 1071415518 9997
-lib/vgadb - 664 sys sys 1081485565 27918
+lib/vgadb - 664 sys sys 1087406071 28009
 lib/volcanoes - 664 sys sys 944944024 119831
 lib/words - 664 sys sys 1014923442 247097
 lp - 20000000775 sys sys 958199268 0
@@ -3339,7 +3339,7 @@ sys/doc/venti/venti.pdf - 755 sys sys 1020384352 139090
 sys/doc/venti/venti.ps - 664 sys sys 1019852320 2012620
 sys/games - 20000000775 sys sys 952648872 0
 sys/games/lib - 20000000775 sys sys 952648879 0
-sys/games/lib/fortunes - 664 sys sys 1084332868 248449
+sys/games/lib/fortunes - 664 sys sys 1087406051 248598
 sys/include - 20000000775 sys sys 1016902416 0
 sys/include/9p.h - 664 sys sys 1044836327 4309
 sys/include/String.h - 664 sys sys 1055701304 1291
@@ -3400,7 +3400,7 @@ sys/include/ape/sys/types.h - 664 sys sys 1068478175 993
 sys/include/ape/sys/uio.h - 664 sys sys 944948759 636
 sys/include/ape/sys/un.h - 664 sys sys 944948759 1011
 sys/include/ape/sys/utsname.h - 664 sys sys 944948759 279
-sys/include/ape/sys/wait.h - 664 sys sys 944948759 537
+sys/include/ape/sys/wait.h - 664 sys sys 1087406385 610
 sys/include/ape/termios.h - 664 sys sys 944948760 2745
 sys/include/ape/time.h - 664 sys sys 944948760 1016
 sys/include/ape/u.h - 664 sys sys 1038237538 399
@@ -3992,7 +3992,7 @@ sys/lib/man/secindex - 775 sys sys 956337727 322
 sys/lib/man/title - 664 sys sys 1019915894 746
 sys/lib/man/trademarks - 664 sys sys 958527089 1838
 sys/lib/mimetype - 664 sys sys 1084319210 5694
-sys/lib/newuser - 775 sys sys 1018386991 1229
+sys/lib/newuser - 775 sys sys 1087407313 1242
 sys/lib/plumb - 20000000775 sys sys 944957365 0
 sys/lib/plumb/basic - 664 sys sys 1070330856 2930
 sys/lib/plumb/fileaddr - 664 sys sys 944957365 88
@@ -4692,7 +4692,7 @@ sys/man/1/lens - 664 sys sys 1029431866 1230
 sys/man/1/lex - 664 sys sys 1032058565 1520
 sys/man/1/look - 664 sys sys 944959673 1348
 sys/man/1/lp - 664 sys sys 1015024739 3304
-sys/man/1/ls - 664 sys sys 1079372922 2897
+sys/man/1/ls - 664 sys sys 1087406208 2898
 sys/man/1/mail - 664 sys sys 1050078464 2158
 sys/man/1/man - 664 sys sys 1059484724 1740
 sys/man/1/marshal - 664 sys sys 1079970326 3150
@@ -4707,7 +4707,7 @@ sys/man/1/news - 664 sys sys 1015024739 1148
 sys/man/1/nm - 664 sys sys 944959673 1539
 sys/man/1/ns - 664 sys sys 944959677 893
 sys/man/1/p - 664 sys sys 944959673 504
-sys/man/1/page - 664 sys sys 1079029945 5717
+sys/man/1/page - 664 sys sys 1087406047 5839
 sys/man/1/passwd - 664 sys sys 1068823217 1377
 sys/man/1/patch - 664 sys sys 1067804449 2176
 sys/man/1/pcc - 664 sys sys 1015024740 3478
@@ -5069,7 +5069,7 @@ sys/man/8/cpurc - 664 sys sys 971455510 1275
 sys/man/8/cron - 664 sys sys 1063858596 1867
 sys/man/8/dhcpd - 664 sys sys 1032654987 5237
 sys/man/8/drawterm - 664 sys sys 958419689 2458
-sys/man/8/fossilcons - 664 sys sys 1087005584 17784
+sys/man/8/fossilcons - 664 sys sys 1087406046 17788
 sys/man/8/fs - 664 sys sys 1055701170 15029
 sys/man/8/fsconfig - 664 sys sys 1045501600 8142
 sys/man/8/httpd - 664 sys sys 1065640802 6426
@@ -5104,7 +5104,7 @@ sys/man/8/scuzz - 664 sys sys 984709640 7916
 sys/man/8/secstore - 664 sys sys 1064807283 1306
 sys/man/8/securenet - 664 sys sys 954305552 3160
 sys/man/8/send - 664 sys sys 1045501634 2168
-sys/man/8/smtp - 664 sys sys 1067722775 4709
+sys/man/8/smtp - 664 sys sys 1087406045 4703
 sys/man/8/snoopy - 664 sys sys 1057752980 3802
 sys/man/8/stats - 664 sys sys 1067722908 4291
 sys/man/8/stub - 664 sys sys 1044830500 943
@@ -5269,7 +5269,7 @@ sys/src/9/ip/ipifc.c - 664 sys sys 1079538100 34297
 sys/src/9/ip/ipmux.c - 664 sys sys 1047260566 15362
 sys/src/9/ip/iproute.c - 664 sys sys 1049423192 14763
 sys/src/9/ip/ipv6.c - 664 sys sys 1047951328 14433
-sys/src/9/ip/ipv6.h - 664 sys sys 1082604125 4260
+sys/src/9/ip/ipv6.h - 664 sys sys 1087406259 4321
 sys/src/9/ip/loopbackmedium.c - 664 sys sys 1055701769 1671
 sys/src/9/ip/netdevmedium.c - 664 sys sys 1045063517 2675
 sys/src/9/ip/netlog.c - 664 sys sys 1026847568 4003
@@ -6054,14 +6054,14 @@ sys/src/ape/lib/ap/plan9/9read.c - 664 sys sys 1014921986 169
 sys/src/ape/lib/ap/plan9/9readn.c - 664 sys sys 1070330880 221
 sys/src/ape/lib/ap/plan9/9wait.c - 664 sys sys 1014921986 1517
 sys/src/ape/lib/ap/plan9/9write.c - 664 sys sys 1014921986 171
-sys/src/ape/lib/ap/plan9/_buf.c - 664 sys sys 1072835434 9924
+sys/src/ape/lib/ap/plan9/_buf.c - 664 sys sys 1087406385 9922
 sys/src/ape/lib/ap/plan9/_dirconv.c - 664 sys sys 1014921985 1419
 sys/src/ape/lib/ap/plan9/_envsetup.c - 664 sys sys 1048644333 2198
 sys/src/ape/lib/ap/plan9/_errno.c - 664 sys sys 1014921985 3909
 sys/src/ape/lib/ap/plan9/_exit.c - 664 sys sys 1014921983 875
 sys/src/ape/lib/ap/plan9/_fcall.c - 664 sys sys 1014921983 6036
 sys/src/ape/lib/ap/plan9/_fdinfo.c - 664 sys sys 1038237526 2883
-sys/src/ape/lib/ap/plan9/_getpw.c - 664 sys sys 1014921984 3222
+sys/src/ape/lib/ap/plan9/_getpw.c - 664 sys sys 1087406759 3288
 sys/src/ape/lib/ap/plan9/_nap.c - 664 sys sys 1014921985 266
 sys/src/ape/lib/ap/plan9/access.c - 664 sys sys 1014921983 904
 sys/src/ape/lib/ap/plan9/acid.c - 664 sys sys 1014921985 729
@@ -6151,7 +6151,7 @@ sys/src/ape/lib/ap/plan9/umask.c - 664 sys sys 1014921985 182
 sys/src/ape/lib/ap/plan9/uname.c - 664 sys sys 1014921985 408
 sys/src/ape/lib/ap/plan9/unlink.c - 664 sys sys 1038237528 1505
 sys/src/ape/lib/ap/plan9/utime.c - 664 sys sys 1046643007 469
-sys/src/ape/lib/ap/plan9/wait.c - 664 sys sys 1043681702 1133
+sys/src/ape/lib/ap/plan9/wait.c - 664 sys sys 1087406384 2131
 sys/src/ape/lib/ap/plan9/write.c - 664 sys sys 1038237529 348
 sys/src/ape/lib/ap/posix - 20000000775 sys sys 1014921981 0
 sys/src/ape/lib/ap/posix/getgrent.c - 664 sys sys 1014921981 945
@@ -6257,7 +6257,7 @@ sys/src/ape/lib/ap/stdio/strtod.c - 664 sys sys 1014921983 14375
 sys/src/ape/lib/ap/stdio/tmpfile.c - 664 sys sys 1014921982 706
 sys/src/ape/lib/ap/stdio/tmpnam.c - 664 sys sys 1014921982 314
 sys/src/ape/lib/ap/stdio/ungetc.c - 664 sys sys 1038237533 491
-sys/src/ape/lib/ap/stdio/vfprintf.c - 664 sys sys 1038237534 14727
+sys/src/ape/lib/ap/stdio/vfprintf.c - 664 sys sys 1087406384 14746
 sys/src/ape/lib/ap/stdio/vfscanf.c - 664 sys sys 1014921983 9100
 sys/src/ape/lib/ap/stdio/vprintf.c - 664 sys sys 1014921983 134
 sys/src/ape/lib/ap/stdio/vsnprintf.c - 664 sys sys 1050684390 277
@@ -6284,7 +6284,7 @@ sys/src/ape/lib/bsd/getprotobyname.c - 664 sys sys 1014921995 1498
 sys/src/ape/lib/bsd/getservbyaddr.c - 664 sys sys 1014921995 308
 sys/src/ape/lib/bsd/getservbyname.c - 664 sys sys 1014921995 1595
 sys/src/ape/lib/bsd/getsockname.c - 664 sys sys 1014921995 847
-sys/src/ape/lib/bsd/gettimeofday.c - 664 sys sys 1063858406 756
+sys/src/ape/lib/bsd/gettimeofday.c - 664 sys sys 1087406384 759
 sys/src/ape/lib/bsd/inet_addr.c - 664 sys sys 1014921995 770
 sys/src/ape/lib/bsd/inet_ntoa.c - 664 sys sys 1014921995 382
 sys/src/ape/lib/bsd/ioctl.c - 664 sys sys 1014921995 561
@@ -7128,7 +7128,7 @@ sys/src/cmd/aux/vga/ch9294.c - 664 sys sys 1014925007 2120
 sys/src/cmd/aux/vga/clgd542x.c - 664 sys sys 1014925007 6916
 sys/src/cmd/aux/vga/clgd546x.c - 664 sys sys 1014925007 7996
 sys/src/cmd/aux/vga/ct65540.c - 664 sys sys 1014925007 5355
-sys/src/cmd/aux/vga/cyber938x.c - 664 sys sys 1081200864 6502
+sys/src/cmd/aux/vga/cyber938x.c - 664 sys sys 1087406072 6543
 sys/src/cmd/aux/vga/data.c - 664 sys sys 1019498850 2200
 sys/src/cmd/aux/vga/db.c - 664 sys sys 1081201695 9430
 sys/src/cmd/aux/vga/error.c - 664 sys sys 1014925008 745
@@ -9781,7 +9781,7 @@ sys/src/cmd/ndb/convM2DNS.c - 664 sys sys 1060612175 7248
 sys/src/cmd/ndb/cs.c - 664 sys sys 1080572749 32985
 sys/src/cmd/ndb/csgetval.c - 664 sys sys 957402051 1051
 sys/src/cmd/ndb/csquery.c - 664 sys sys 1014926159 1062
-sys/src/cmd/ndb/dblookup.c - 664 sys sys 1078927860 18090
+sys/src/cmd/ndb/dblookup.c - 664 sys sys 1087406287 18127
 sys/src/cmd/ndb/dn.c - 664 sys sys 1079918815 26961
 sys/src/cmd/ndb/dnarea.c - 664 sys sys 1055701929 2126
 sys/src/cmd/ndb/dnnotify.c - 664 sys sys 1055701929 3062
@@ -9814,13 +9814,13 @@ sys/src/cmd/page/gs.c - 664 sys sys 1038517813 6544
 sys/src/cmd/page/mkfile - 664 sys sys 1035998247 411
 sys/src/cmd/page/nrotate.c - 664 sys sys 944961365 5806
 sys/src/cmd/page/page.c - 664 sys sys 1069793855 4413
-sys/src/cmd/page/page.h - 664 sys sys 1078973385 2111
+sys/src/cmd/page/page.h - 664 sys sys 1087406048 2129
 sys/src/cmd/page/pdf.c - 664 sys sys 1038517814 2884
 sys/src/cmd/page/pdfprolog.ps - 664 sys sys 1035695487 699
 sys/src/cmd/page/ps.c - 664 sys sys 1045505467 9176
 sys/src/cmd/page/rotate.c - 664 sys sys 1079029957 9971
 sys/src/cmd/page/util.c - 664 sys sys 944961364 2090
-sys/src/cmd/page/view.c - 664 sys sys 1079029958 22326
+sys/src/cmd/page/view.c - 664 sys sys 1087406048 22740
 sys/src/cmd/paqfs - 20000000775 sys sys 1017696804 0
 sys/src/cmd/paqfs/mkfile - 664 sys sys 1032060366 228
 sys/src/cmd/paqfs/mkpaqfs.c - 664 sys sys 1072729575 8836
@@ -10444,7 +10444,7 @@ sys/src/cmd/ssh/ssh.h - 664 sys sys 1048179595 6054
 sys/src/cmd/ssh/sshnet.c - 664 sys sys 1078840016 17641
 sys/src/cmd/ssh/sshserve.c - 664 sys sys 1062091020 5786
 sys/src/cmd/ssh/util.c - 664 sys sys 1063858753 4478
-sys/src/cmd/stats.c - 664 sys sys 1074086705 28191
+sys/src/cmd/stats.c - 664 sys sys 1087406219 27828
 sys/src/cmd/strings.c - 664 sys sys 944961364 1216
 sys/src/cmd/strip.c - 664 sys sys 1014926661 3306
 sys/src/cmd/sum.c - 664 sys sys 1014926615 5548
@@ -10949,7 +10949,7 @@ sys/src/cmd/upas/smtp/rfc822.y - 664 sys sys 1064589606 13417
 sys/src/cmd/upas/smtp/rmtdns.c - 664 sys sys 1015013150 1069
 sys/src/cmd/upas/smtp/smtp.c - 664 sys sys 1072561144 18914
 sys/src/cmd/upas/smtp/smtp.h - 664 sys sys 1064589597 1084
-sys/src/cmd/upas/smtp/smtpd.c - 664 sys sys 1079323038 27764
+sys/src/cmd/upas/smtp/smtpd.c - 664 sys sys 1087421671 27665
 sys/src/cmd/upas/smtp/smtpd.h - 664 sys sys 1067722781 1111
 sys/src/cmd/upas/smtp/smtpd.y - 664 sys sys 1061836986 6949
 sys/src/cmd/upas/smtp/spam.c - 664 sys sys 1067722785 9661

+ 58 - 0
dist/replica/plan9.log

@@ -15631,3 +15631,61 @@
 1087011029 1 c 386/bin/fossil/flfmt - 775 sys sys 1087009455 243794
 1087011029 2 c 386/bin/fossil/fossil - 775 sys sys 1087009456 358640
 1087011029 3 a 386/bin/fossil/last - 775 sys sys 1087009456 61307
+1087407102 0 c 386/include/ape/math.h - 664 sys sys 1087406385 2123
+1087407102 1 c lib/vgadb - 664 sys sys 1087406071 28009
+1087407102 2 c sys/games/lib/fortunes - 664 sys sys 1087406051 248598
+1087407102 3 c sys/include/ape/sys/wait.h - 664 sys sys 1087406385 610
+1087407102 4 c sys/man/1/ls - 664 sys sys 1087406208 2898
+1087407102 5 c sys/man/1/page - 664 sys sys 1087406047 5839
+1087407102 6 c sys/man/8/fossilcons - 664 sys sys 1087406046 17788
+1087407102 7 c sys/man/8/smtp - 664 sys sys 1087406045 4703
+1087407102 8 c sys/src/9/ip/ipv6.h - 664 sys sys 1087406259 4321
+1087407102 9 c sys/src/ape/lib/ap/plan9/_buf.c - 664 sys sys 1087406385 9922
+1087407102 10 c sys/src/ape/lib/ap/plan9/_getpw.c - 664 sys sys 1087406759 3288
+1087407102 11 c sys/src/ape/lib/ap/plan9/wait.c - 664 sys sys 1087406384 2131
+1087407102 12 c sys/src/ape/lib/ap/stdio/vfprintf.c - 664 sys sys 1087406384 14746
+1087407102 13 c sys/src/ape/lib/bsd/gettimeofday.c - 664 sys sys 1087406384 759
+1087407102 14 c sys/src/cmd/aux/vga/cyber938x.c - 664 sys sys 1087406072 6543
+1087407102 15 c sys/src/cmd/ndb/dblookup.c - 664 sys sys 1087406287 18127
+1087407102 16 c sys/src/cmd/page/page.h - 664 sys sys 1087406048 2129
+1087407102 17 c sys/src/cmd/page/view.c - 664 sys sys 1087406048 22740
+1087407102 18 c sys/src/cmd/stats.c - 664 sys sys 1087406219 27828
+1087408903 0 c sys/lib/newuser - 775 sys sys 1087407313 1242
+1087423305 0 c sys/src/cmd/upas/smtp/smtpd.c - 664 sys sys 1087421671 27665
+1087443110 0 c 386/bin/awk - 775 sys sys 1087442510 320903
+1087443110 1 c 386/bin/eqn - 775 sys sys 1087442511 242933
+1087443110 2 c 386/bin/grap - 775 sys sys 1087442511 279661
+1087443110 3 c 386/bin/gs - 775 sys sys 1087442533 11131703
+1087443110 4 c 386/bin/page - 775 sys sys 1087442536 229962
+1087443110 5 c 386/bin/pic - 775 sys sys 1087442536 304721
+1087443110 6 c 386/bin/spin - 775 sys sys 1087442537 654792
+1087443110 7 c 386/bin/stats - 775 sys sys 1087442538 188279
+1087443110 8 c 386/bin/ape/basename - 775 sys sys 1087442501 132681
+1087443110 9 c 386/bin/ape/diff - 775 sys sys 1087442501 349070
+1087443110 10 c 386/bin/ape/diff3 - 775 sys sys 1087442502 187486
+1087443110 11 c 386/bin/ape/dirname - 775 sys sys 1087442502 132460
+1087443110 12 c 386/bin/ape/expr - 775 sys sys 1087442502 142097
+1087443110 13 c 386/bin/ape/kill - 775 sys sys 1087442503 138039
+1087443110 14 c 386/bin/ape/make - 775 sys sys 1087442503 208223
+1087443110 15 c 386/bin/ape/patch - 775 sys sys 1087442504 301544
+1087443110 16 c 386/bin/ape/sed - 775 sys sys 1087442504 158112
+1087443110 17 c 386/bin/ape/sh - 775 sys sys 1087442505 476536
+1087443110 18 c 386/bin/ape/uname - 775 sys sys 1087442505 132510
+1087443110 19 c 386/bin/aux/download - 775 sys sys 1087442506 176016
+1087443110 20 c 386/bin/aux/lpdaemon - 775 sys sys 1087442506 167430
+1087443110 21 c 386/bin/aux/lpdsend - 775 sys sys 1087442507 153635
+1087443110 22 c 386/bin/aux/postgif - 775 sys sys 1087442507 175380
+1087443110 23 c 386/bin/aux/postprint - 775 sys sys 1087442507 160041
+1087443110 24 c 386/bin/aux/postreverse - 775 sys sys 1087442508 164726
+1087443110 25 c 386/bin/aux/posttek - 775 sys sys 1087442508 163239
+1087443110 26 c 386/bin/aux/tcpostio - 775 sys sys 1087442508 200175
+1087443110 27 c 386/bin/aux/vga - 775 sys sys 1087442509 300332
+1087443110 28 c 386/bin/ndb/dns - 775 sys sys 1087442534 217609
+1087443110 29 c 386/bin/ndb/dnsdebug - 775 sys sys 1087442534 192208
+1087443110 30 c 386/bin/ndb/dnstcp - 775 sys sys 1087442535 190845
+1087443110 31 c 386/bin/troff - 775 sys sys 1087442539 357239
+1087443110 32 c 386/bin/upas/smtpd - 775 sys sys 1087442539 323781
+1087443110 33 c 386/bin/upas/unesc - 775 sys sys 1087442540 132079
+1087443110 34 c 386/lib/ape/libap.a - 664 sys sys 1087442542 806922
+1087443110 35 c 386/lib/ape/libbsd.a - 664 sys sys 1087442542 179270
+1087443110 36 c 386/lib/ape/libfmt.a - 664 sys sys 1087442542 147014

+ 7 - 5
lib/vgadb

@@ -290,6 +290,7 @@ ctlr
 	0xC0093="Trident TGUI96xx"
 	0xC0044="GL A6.00E"
 	0xC68A5="TVGA BIOS LS  6.0 (08)"		# Sharp Actius A250, Cyber 9525/DVD
+	0xC7E5F="TVGA BIOS 1.14"				# iTuner 
 	link=vga
 	ctlr=cyber938x linear=1
 	hwgc=cyber938xhwgc
@@ -320,15 +321,16 @@ ctlr
 ctlr
 	# vid=0x10C8 did=0x0001		# MagicGraph 128, not supported
 	# vid=0x10C8 did=0x0002		# MagicGraph 128 V, not supported
-	# vid=0x10C8 did=0x0003		# MagicGraph 128 ZV, not supported
+	vid=0x10C8 did=0x0003		# MagicGraph 128 ZV, presotto orking on it
 	# vid=0x10C8 did=0x0083		# MagicGraph 128 ZV+, not supported
 	vid=0x10C8 did=0x0004		# MagicGraph 128 XD
 	vid=0x10C8 did=0x0005		# MagicMedia 256 AV
 	vid=0x10C8 did=0x0006		# MagicMedia 256 ZX
-	0xC0048="MagicGraph 128XD"			# IBM Thinkpad 560X
-	0xC0048="MagicMedia 256AV"			# IBM Thinkpad 600E
-	0xC0048="MagicGraph 256 AV"			# IBM Thinkpad 570, 600E
-	0xC0048="MagicMedia 256ZX"			# IBM Thinkpad 600X
+	0xC0048="MagicGraph 128XD"	# IBM Thinkpad 560X
+	0xC0048="MagicMedia 256AV"	# IBM Thinkpad 600E
+	0xC0048="MagicGraph 256 AV"	# IBM Thinkpad 570, 600E
+	0xC0048="MagicMedia 256ZX"	# IBM Thinkpad 600X
+	0xC0048="MagicMedia 128 V/ZV"	# Micron Transport VLX
 	ctlr=neomagic linear=1
 	hwgc=neomagichwgc
 ctlr

+ 2 - 0
sys/games/lib/fortunes

@@ -4008,3 +4008,5 @@ it's easier to post to 9fans than to think. - boyd
 We assume familiarity with Rubik's Cube, the delights of which cannot be presented adequately in a textual description!  - an algorithms textbook
 If you are idle for more than 1000 hours, the system will log you out.  Please save reviews frequently.
 We lead by following standards. - sape
+-bash: /home/r/.bash_logout: Permission denied
+I am he as you are he as you are me and we are all together. - forsyth after Lennon on authentication

+ 2 - 0
sys/include/ape/sys/wait.h

@@ -20,6 +20,8 @@ extern "C" {
 
 pid_t wait(int *);
 pid_t waitpid(pid_t, int *, int);
+pid_t wait3(int *, int, void *);
+pid_t wait4(pid_t, int *, int, void *);
 
 #ifdef __cplusplus
 }

+ 1 - 0
sys/lib/newuser

@@ -10,6 +10,7 @@ cd $home
 x='$'
 mkdir bin bin/rc bin/mips bin/386
 mkdir lib tmp
+chmod +t tmp
 mkdir /cron/$user
 chmod 775 /cron/$user
 chgrp $user /cron/$user

+ 3 - 4
sys/man/1/ls

@@ -4,13 +4,13 @@ ls, lc \- list contents of directory
 .SH SYNOPSIS
 .B ls
 [
-.B -dlmnpqrstuFQ
+.B -dlmnpqrstuFQT
 ]
 .I name ...
 .PP
 .B lc
 [
-.B -dlmnqrstuFQ
+.B -dlmnqrstuFQT
 ]
 .I name ...
 .SH DESCRIPTION
@@ -90,7 +90,7 @@ and the character
 .B *
 after all executable files.
 .TP
-.B -L
+.B -T
 Print the character
 .B t
 before each file if it has the temporary flag set, and
@@ -159,4 +159,3 @@ if none of the above permissions is granted.
 .SH SEE ALSO
 .IR stat (2)
 .IR mc (1)
-

+ 5 - 1
sys/man/1/page

@@ -163,7 +163,11 @@ Displays the next page.
 .B Prev
 Displays the previous page.
 .TP
-.B Reverse
+.B Zerox
+Displays the current image in a new page window. 
+Useful for selecting important pages from lare documents.
+.TP
+..B Reverse
 Reverses the order in which pages are displayed.
 .TP
 .B Write

+ 1 - 0
sys/man/8/fossilcons

@@ -599,6 +599,7 @@ is automatically executed after each change to the user
 table by the
 .I uname
 command.
+.PP
 .I Who
 prints a list of users attached to each active connection.
 .SS File system configuration

+ 2 - 2
sys/man/8/smtp

@@ -47,7 +47,7 @@ to the users
 on the host at network address
 .I address 
 using the Simple Mail Transfer Protocol.
-.The options are:
+The options are:
 .TP
 .B -d
 turn on debugging to standard error.
@@ -105,7 +105,7 @@ and
 protocols is supported; authenticated connections are permitted to relay.
 .PP
 The options are:
-.TP 1.1i
+.TP
 .B -d
 turns on debugging output to standard error.
 .TP

+ 7 - 4
sys/src/9/ip/ipv6.h

@@ -1,8 +1,11 @@
 #define MIN(a, b) ((a) <= (b) ? (a) : (b))
-#define isv6mcast(addr) ((addr)[0] == 0xff)
-#define islinklocal(addr) ( ((addr)[0] == 0xfe) && ((addr)[1] == 0x80) )
-#define issitelocal(addr) ( ((addr)[0] == 0xfe) && ((addr)[1] == 0xc0) )
-#define isv6global(addr) ( (addr)[0] == 0x20 )
+
+/* rfc 3513 defines the address prefices */
+#define isv6mcast(addr)	  ((addr)[0] == 0xff)
+#define islinklocal(addr) ((addr)[0] == 0xfe && ((addr)[1] & 0xc0) == 0x80)
+#define issitelocal(addr) ((addr)[0] == 0xfe && ((addr)[1] & 0xc0) == 0xc0)
+#define isv6global(addr) (((addr)[0] & 0xe0) == 0x20)
+
 #define optexsts(np) (nhgets((np)->ploadlen) > 24)
 #define issmcast(addr) (memcmp((addr), v6solicitednode, 13) == 0)
 

+ 2 - 2
sys/src/ape/lib/ap/plan9/_buf.c

@@ -284,8 +284,8 @@ select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *timeo
 
 	/* make sure all requested rfds and efds are buffered */
 	if(nfds >= OPEN_MAX)
-		nfds = OPEN_MAX-1;
-	for(i = 0; i<= nfds; i++)
+		nfds = OPEN_MAX;
+	for(i = 0; i < nfds; i++)
 		if((rfds && FD_ISSET(i, rfds)) || (efds && FD_ISSET(i, efds))){
 			f = &_fdinfo[i];
 			if(!(f->flags&FD_BUFFERED))

+ 6 - 2
sys/src/ape/lib/ap/plan9/_getpw.c

@@ -94,8 +94,12 @@ _getpw(int *pnum, char **pname, char **plist)
 			f4++;
 			if(matchnum)
 				matched = (atoi(f1) == *pnum);
-			else
-				matched = (memcmp(*pname, f2, (f3-f2)-1)==0);
+			else{
+				int length;
+
+				length = f3-f2-1;
+				matched = length==strlen(*pname) && memcmp(*pname, f2, length)==0;
+			}
 			if(matched){
 				/* allocate and fill in a Memo structure */
 				mem = (Memo*)malloc(sizeof(struct Memo));

+ 101 - 41
sys/src/ape/lib/ap/plan9/wait.c

@@ -7,66 +7,126 @@
 #include <stdio.h>
 #include "sys9.h"
 
+/*
+**	PID cache
+*/
+typedef struct wdesc wdesc;
+struct wdesc {
+	pid_t w_pid;
+	Waitmsg *w_msg;
+	wdesc *w_next;
+};
+static wdesc *wd = 0;
+
+static Waitmsg *
+lookpid (pid_t pid) {
+	wdesc **wp0 = &wd, *wp;
+	Waitmsg *msg;
+
+	if (pid == -1) {
+		if (wd == 0)
+			return 0;
+		pid = wd->w_pid;
+	}
+	for (wp = wd; wp; wp = wp->w_next) {
+		if (wp->w_pid == pid) {
+			msg = wp->w_msg;
+			*wp0 = wp->w_next;
+			free (wp);
+			return msg;
+		}
+		wp0 = &(wp->w_next);
+	}
+	return 0;
+}
+
+static void
+addpid (Waitmsg *msg) {
+	wdesc *wp = malloc (sizeof (wdesc));
+
+	wp->w_msg = msg;
+	wp->w_pid = msg->pid;
+	wp->w_next = wd;
+	wd = wp;
+}
+
+pid_t
+wait (int *status) {
+	return wait4(-1, status, 0, 0);
+}
+
 pid_t
-wait(int *stat_loc)
-{
-	return waitpid(-1, stat_loc, 0);
+waitpid (pid_t wpid, int *status, int options) {
+	return wait4(wpid, status, options, 0);
 }
 
 pid_t
-waitpid(int pid, int *stat_loc, int options)
-{
-	int n, i, wfd, r, t, wpid;
-	char *bp, *ep, pname[50];
-	struct stat buf;
+wait3 (int *status, int options, Waitmsg *waitmsg) {
+	return wait4(-1, status, options, waitmsg);
+}
+
+pid_t
+wait4 (pid_t wpid, int *status, int options, Waitmsg *waitmsg) {
 	Waitmsg *w;
 
-	if(options&WNOHANG){
-		sprintf(pname, "/proc/%d/wait", getpid());
-		i = stat(pname, &buf);
-		if(i >=0 && buf.st_size==0)
+	if (options & WNOHANG) {
+		char pname[128];
+		int i;
+		struct stat buf;
+
+		snprintf (pname, sizeof (pname), "/proc/%d/wait", getpid());
+		i = stat (pname, &buf);
+		if (i >= 0 && buf.st_size == 0)
 			return 0;
 	}
-	n = 0;
-	while(n==0){
-		w = _WAIT();
-		if(w == 0){
-			_syserrno();
-			n = -1;
-		}else{
+	if (w = lookpid (wpid)) {
+		waitmsg = w;
+		wpid = w->pid;
+		return wpid;
+	}
+	w = _WAIT();
+	while (w) {
+		if (wpid <= 0) {
+			waitmsg = w;
 			wpid = w->pid;
-			if(pid>0 && wpid!=pid){
-				free(w);
-				continue;
-			}
-			n = wpid;
-			if(stat_loc){
-				r = 0;
-				t = 0;
-				if(w->msg[0]){
+			return wpid;
+		}
+		if (w->pid == wpid) {
+			if (status) {
+				int r = 0;
+				int t = 0;
+				char *bp, *ep;
+
+				if (w->msg[0]) {
 					/* message is 'prog pid:string' */
 					bp = w->msg;
-					while(*bp){
-						if(*bp++ == ':')
+					while (*bp) {
+						if (*bp++ == ':')
 							break;
 					}
-					if(*bp == 0)
+					if (*bp == 0)
 						bp = w->msg;
-					r = strtol(bp, &ep, 10);
-					if(*ep == 0){
-						if(r < 0 || r >= 256)
+					r = strtol (bp, &ep, 10);
+					if (*ep == 0) {
+						if (r < 0 || r >= 256)
 							r = 1;
-					}else{
-						t = _stringsig(bp);
-						if(t == 0)
+					} else {
+						t = _stringsig (bp);
+						if (t == 0)
 							r = 1;
 					}
 				}
-				*stat_loc = (r << 8) | t;
+				*status = (r << 8) | t;
 			}
-			free(w);
+			waitmsg = w;
+			wpid = w->pid;
+			return wpid;
+		} else {
+			addpid (w);
 		}
+		w = _WAIT();
+	}
+	if (w == 0) {
+		_syserrno ();
 	}
-	return n;
 }
-

+ 1 - 1
sys/src/ape/lib/ap/stdio/vfprintf.c

@@ -536,7 +536,7 @@ ocvt_flt(FILE *f, va_list *args, int flags, int width, int precision, char afmt)
 	if(sign) putc('-', f);
 	else if(flags&SIGN) putc('+', f);
 	else if(flags&SPACE) putc(' ', f);
-	if(flags&ZPAD)
+	if((flags&ZPAD) && !(flags&LEFT))
 		while(nout < width){
 			putc('0', f);
 			nout++;

+ 1 - 1
sys/src/ape/lib/bsd/gettimeofday.c

@@ -30,7 +30,7 @@ gettimeofday(struct timeval *tp, struct timezone *tzp)
 	vlong t;
 
 	memset(b, 0, sizeof b);
-	f = _OPEN("/dev/time", 0);
+	f = _OPEN("/dev/bintime", 0);
 	if(f >= 0) {
 		_PREAD(f, b, sizeof(b), 0);
 		_CLOSE(f);

+ 1 - 0
sys/src/cmd/aux/vga/cyber938x.c

@@ -219,6 +219,7 @@ init(Vga* vga, Ctlr* ctlr)
 		break;
 	case 0x4A:				/* Cyber9388 */
 	case 0x5D:				/* CyberBlade */
+	case 0x6A:				/* CyberBlade (iTuner) */
 	case 0x7A:				/* CyberBlade */
 		vga->crt[0x2F] = 0x3F;
 		vga->graphics[0x0F] |= 0x17;

+ 1 - 1
sys/src/cmd/ndb/dblookup.c

@@ -862,7 +862,7 @@ domainlist(int class)
 }
 
 char *v4ptrdom = ".in-addr.arpa";
-char *v6ptrdom = ".ip6.int";
+char *v6ptrdom = ".ip6.arpa";		/* ip6.int deprecated, rfc 3152 */
 
 char *attribs[] = {
 	"ipmask",

+ 1 - 0
sys/src/cmd/page/page.h

@@ -60,6 +60,7 @@ void	setdim(GSInfo*, Rectangle, int, int);
 int	spawnwriter(GSInfo*, Biobuf*);
 Rectangle	screenrect(void);
 void	newwin(void);
+void	zerox(void);
 Rectangle winrect(void);
 void	resize(int, int);
 int	max(int, int);

+ 25 - 0
sys/src/cmd/page/view.c

@@ -249,6 +249,7 @@ enum{
 	Empty1,
 	Next,
 	Prev,
+	Zerox,
 	Empty2,
 	Reverse,
 	Del,
@@ -278,6 +279,7 @@ viewer(Document *dd)
  		"",
  		"next",
  		"prev",
+		"zerox",
  		"", 
  		"reverse",
  		"discard",
@@ -523,6 +525,8 @@ viewer(Document *dd)
 					showpage(page, &menu);
 					nxt = 0;
 					break;
+				case Zerox:	/* prev */
+					zerox();
 					break;
 				case Zin:	/* zoom in */
 					{
@@ -1056,3 +1060,24 @@ screenrect(void)
 	return Rect(atoi(buf+12), atoi(buf+24), atoi(buf+36), atoi(buf+48));
 }
 
+void
+zerox(void)
+{
+	int pfd[2];
+
+	pipe(pfd);
+	switch(rfork(RFFDG|RFREND|RFPROC)) {
+		case -1:
+			wexits("cannot fork in zerox: %r");
+		case 0: 
+			dup(pfd[1], 0);
+			close(pfd[0]);
+			execl("/bin/page", "page", "-w", 0);
+			wexits("cannot exec in zerox: %r\n");
+		default:
+			close(pfd[1]);
+			writeimage(pfd[0], im, 0);
+			close(pfd[0]);
+			break;
+	}
+}

+ 1 - 11
sys/src/cmd/stats.c

@@ -45,6 +45,7 @@ enum
 	InIntr,
 	/* /net/ether0/stats */
 	In		= 0,
+	Link,
 	Out,
 	Err0,
 };
@@ -627,11 +628,6 @@ initmach(Machine *m, char *name)
 
 	snprint(buf, sizeof buf, "%s/net/ether0/stats", mpt);
 	m->etherfd = open(buf, OREAD);
-	if(m->etherfd < 0){
-		/* try the old place - this code will disappear on Nov 18th - presotto */
-		snprint(buf, sizeof buf, "%s/net/ether0/0/stats", mpt);
-		m->etherfd = open(buf, OREAD);
-	}
 	if(loadbuf(m, &m->etherfd) && readnums(m, nelem(m->netetherstats), a, 1))
 		memmove(m->netetherstats, a, sizeof m->netetherstats);
 
@@ -709,12 +705,6 @@ readmach(Machine *m, int init)
 	char buf[32];
 
 	if(m->remote && (m->disable || setjmp(catchalarm))){
-		if(m->disable == 0){
-			snprint(buf, sizeof buf, "%s(dead)", m->name);
-			m->name = estrdup(buf);
-			if(display != nil)	/* else we're still initializing */
-				eresized(0);
-		}
 		if (m->disable++ >= 5)
 			m->disable = 0; /* give it another chance */
 		memmove(m->devsysstat, m->prevsysstat, sizeof m->devsysstat);

+ 0 - 3
sys/src/cmd/upas/smtp/smtpd.c

@@ -421,9 +421,6 @@ senderok(char *rcpt)
 	Sender *snd;
 	Ndbtuple *nt, *next, *first;
 
-	/* internal mail is exempt from this checking */
-	if (strcmp(nci->root, "/net") == 0)
-		return 1;
 	rdsenders();
 	for (snd = sendlist; snd != nil; snd = snd->next) {
 		if (strcmp(rcpt, snd->rcpt) != 0)