Browse Source

Plan 9 from Bell Labs 2005-04-18

David du Colombier 19 years ago
parent
commit
eb9a367042

+ 76 - 45
dist/replica/_plan9.db

@@ -5149,19 +5149,19 @@ sys/man/1/2l - 664 sys sys 1101668051 4365
 sys/man/1/INDEX - 664 sys sys 1104811679 3004
 sys/man/1/INDEX - 664 sys sys 1104811679 3004
 sys/man/1/INDEX.html - 664 sys sys 1104736360 16403
 sys/man/1/INDEX.html - 664 sys sys 1104736360 16403
 sys/man/1/acid - 664 sys sys 1101668051 9727
 sys/man/1/acid - 664 sys sys 1101668051 9727
-sys/man/1/acme - 664 sys sys 1107154713 18033
+sys/man/1/acme - 664 sys sys 1113743325 18097
 sys/man/1/ap - 664 sys sys 1068471657 364
 sys/man/1/ap - 664 sys sys 1068471657 364
 sys/man/1/ar - 664 sys sys 1079397701 3153
 sys/man/1/ar - 664 sys sys 1079397701 3153
-sys/man/1/ascii - 664 sys sys 957920005 2733
+sys/man/1/ascii - 664 sys sys 1113743329 2737
 sys/man/1/awk - 664 sys sys 944959677 10645
 sys/man/1/awk - 664 sys sys 944959677 10645
 sys/man/1/basename - 664 sys sys 944959673 535
 sys/man/1/basename - 664 sys sys 944959673 535
-sys/man/1/bc - 664 sys sys 964455060 3758
+sys/man/1/bc - 664 sys sys 1113743324 3758
 sys/man/1/bind - 664 sys sys 1034195345 3928
 sys/man/1/bind - 664 sys sys 1034195345 3928
 sys/man/1/bitsyload - 664 sys sys 988225301 2883
 sys/man/1/bitsyload - 664 sys sys 988225301 2883
-sys/man/1/bundle - 664 sys sys 944959672 986
-sys/man/1/cal - 664 sys sys 944959673 849
+sys/man/1/bundle - 664 sys sys 1113743325 986
+sys/man/1/cal - 664 sys sys 1113743325 849
 sys/man/1/calendar - 664 sys sys 1104939769 1249
 sys/man/1/calendar - 664 sys sys 1104939769 1249
-sys/man/1/cat - 664 sys sys 1022048090 1335
+sys/man/1/cat - 664 sys sys 1113743325 1338
 sys/man/1/cb - 664 sys sys 1063855627 896
 sys/man/1/cb - 664 sys sys 1063855627 896
 sys/man/1/chgrp - 664 sys sys 944959673 710
 sys/man/1/chgrp - 664 sys sys 944959673 710
 sys/man/1/chmod - 664 sys sys 1079372922 1299
 sys/man/1/chmod - 664 sys sys 1079372922 1299
@@ -5176,20 +5176,20 @@ sys/man/1/cpu - 664 sys sys 1104939775 3540
 sys/man/1/crop - 664 sys sys 984709627 2596
 sys/man/1/crop - 664 sys sys 984709627 2596
 sys/man/1/date - 664 sys sys 969499884 996
 sys/man/1/date - 664 sys sys 969499884 996
 sys/man/1/db - 664 sys sys 1015024738 17862
 sys/man/1/db - 664 sys sys 1015024738 17862
-sys/man/1/dc - 664 sys sys 944959674 4834
+sys/man/1/dc - 664 sys sys 1113743325 4834
 sys/man/1/dd - 664 sys sys 1055693436 3346
 sys/man/1/dd - 664 sys sys 1055693436 3346
 sys/man/1/delkey - 664 sys sys 1109429138 779
 sys/man/1/delkey - 664 sys sys 1109429138 779
-sys/man/1/deroff - 664 sys sys 1017423524 1826
+sys/man/1/deroff - 664 sys sys 1113743324 1826
 sys/man/1/diff - 664 sys sys 1106938097 2960
 sys/man/1/diff - 664 sys sys 1106938097 2960
 sys/man/1/doc2txt - 664 sys sys 1105020018 2077
 sys/man/1/doc2txt - 664 sys sys 1105020018 2077
-sys/man/1/doctype - 664 sys sys 944959673 849
+sys/man/1/doctype - 664 sys sys 1113743325 860
 sys/man/1/du - 664 sys sys 1017166323 1410
 sys/man/1/du - 664 sys sys 1017166323 1410
 sys/man/1/echo - 664 sys sys 1079969656 430
 sys/man/1/echo - 664 sys sys 1079969656 430
 sys/man/1/ed - 664 sys sys 961259286 13916
 sys/man/1/ed - 664 sys sys 961259286 13916
 sys/man/1/emacs - 664 sys sys 944959673 199
 sys/man/1/emacs - 664 sys sys 944959673 199
 sys/man/1/eqn - 664 sys sys 944959675 5655
 sys/man/1/eqn - 664 sys sys 944959675 5655
 sys/man/1/expect - 664 sys sys 1058791094 3023
 sys/man/1/expect - 664 sys sys 1058791094 3023
-sys/man/1/faces - 664 sys sys 1100525422 2317
+sys/man/1/faces - 664 sys sys 1113743326 2395
 sys/man/1/factor - 664 sys sys 957920005 1019
 sys/man/1/factor - 664 sys sys 957920005 1019
 sys/man/1/file - 664 sys sys 1015024739 1578
 sys/man/1/file - 664 sys sys 1015024739 1578
 sys/man/1/filter - 664 sys sys 1041108741 4403
 sys/man/1/filter - 664 sys sys 1041108741 4403
@@ -5206,34 +5206,34 @@ sys/man/1/gzip - 664 sys sys 969499884 3073
 sys/man/1/hget - 664 sys sys 1067722859 1483
 sys/man/1/hget - 664 sys sys 1067722859 1483
 sys/man/1/history - 664 sys sys 1109685635 1709
 sys/man/1/history - 664 sys sys 1109685635 1709
 sys/man/1/hoc - 664 sys sys 944959676 2357
 sys/man/1/hoc - 664 sys sys 944959676 2357
-sys/man/1/idiff - 664 sys sys 1018386774 927
-sys/man/1/join - 664 sys sys 957920006 2562
-sys/man/1/jpg - 664 sys sys 1084933809 4759
+sys/man/1/idiff - 664 sys sys 1113743324 914
+sys/man/1/join - 664 sys sys 1113743324 2561
+sys/man/1/jpg - 664 sys sys 1113743325 4842
 sys/man/1/kbmap - 664 sys sys 1079969760 845
 sys/man/1/kbmap - 664 sys sys 1079969760 845
 sys/man/1/kill - 664 sys sys 1018369246 1193
 sys/man/1/kill - 664 sys sys 1018369246 1193
 sys/man/1/ktrace - 664 sys sys 957920006 1330
 sys/man/1/ktrace - 664 sys sys 957920006 1330
 sys/man/1/leak - 664 sys sys 1017423522 2871
 sys/man/1/leak - 664 sys sys 1017423522 2871
 sys/man/1/lens - 664 sys sys 1029431866 1230
 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 1087406208 2898
+sys/man/1/lex - 664 sys sys 1113743328 1520
+sys/man/1/look - 664 sys sys 1113743326 1357
+sys/man/1/lp - 664 sys sys 1113743326 3329
+sys/man/1/ls - 664 sys sys 1113743327 2890
 sys/man/1/mail - 664 sys sys 1050078464 2158
 sys/man/1/mail - 664 sys sys 1050078464 2158
-sys/man/1/man - 664 sys sys 1110638523 1743
+sys/man/1/man - 664 sys sys 1113743328 1736
 sys/man/1/marshal - 664 sys sys 1079970326 3150
 sys/man/1/marshal - 664 sys sys 1079970326 3150
-sys/man/1/mc - 664 sys sys 1045501392 508
-sys/man/1/mk - 664 sys sys 964455061 13154
+sys/man/1/mc - 664 sys sys 1113743326 552
+sys/man/1/mk - 664 sys sys 1113743328 13198
 sys/man/1/mkdir - 664 sys sys 1082593141 717
 sys/man/1/mkdir - 664 sys sys 1082593141 717
 sys/man/1/mlmgr - 664 sys sys 1045501403 2427
 sys/man/1/mlmgr - 664 sys sys 1045501403 2427
 sys/man/1/ms2html - 664 sys sys 960001562 856
 sys/man/1/ms2html - 664 sys sys 960001562 856
 sys/man/1/nedmail - 664 sys sys 1055704205 11322
 sys/man/1/nedmail - 664 sys sys 1055704205 11322
 sys/man/1/netstat - 664 sys sys 953344523 827
 sys/man/1/netstat - 664 sys sys 953344523 827
-sys/man/1/news - 664 sys sys 1015024739 1148
+sys/man/1/news - 664 sys sys 1113743329 1151
 sys/man/1/nm - 664 sys sys 944959673 1539
 sys/man/1/nm - 664 sys sys 944959673 1539
 sys/man/1/ns - 664 sys sys 944959677 893
 sys/man/1/ns - 664 sys sys 944959677 893
 sys/man/1/p - 664 sys sys 944959673 504
 sys/man/1/p - 664 sys sys 944959673 504
 sys/man/1/page - 664 sys sys 1087829646 5839
 sys/man/1/page - 664 sys sys 1087829646 5839
-sys/man/1/passwd - 664 sys sys 1068823217 1377
+sys/man/1/passwd - 664 sys sys 1113743327 1382
 sys/man/1/patch - 664 sys sys 1067804449 2176
 sys/man/1/patch - 664 sys sys 1067804449 2176
 sys/man/1/pcc - 664 sys sys 1015024740 3478
 sys/man/1/pcc - 664 sys sys 1015024740 3478
 sys/man/1/pic - 664 sys sys 1022625353 8229
 sys/man/1/pic - 664 sys sys 1022625353 8229
@@ -5242,25 +5242,25 @@ sys/man/1/plot - 664 sys sys 944959673 1196
 sys/man/1/plumb - 664 sys sys 957920007 1297
 sys/man/1/plumb - 664 sys sys 957920007 1297
 sys/man/1/pr - 664 sys sys 984709628 1804
 sys/man/1/pr - 664 sys sys 984709628 1804
 sys/man/1/prof - 664 sys sys 1067718952 3561
 sys/man/1/prof - 664 sys sys 1067718952 3561
-sys/man/1/proof - 664 sys sys 950892796 2297
-sys/man/1/ps - 664 sys sys 1019769758 1642
+sys/man/1/proof - 664 sys sys 1113743329 2300
+sys/man/1/ps - 664 sys sys 1113743329 1619
 sys/man/1/ps2pdf - 664 sys sys 1032632098 1359
 sys/man/1/ps2pdf - 664 sys sys 1032632098 1359
 sys/man/1/pwd - 664 sys sys 1104639653 744
 sys/man/1/pwd - 664 sys sys 1104639653 744
-sys/man/1/rc - 664 sys sys 1100894083 19898
-sys/man/1/replica - 664 sys sys 1101668051 6647
+sys/man/1/rc - 664 sys sys 1113743326 19898
+sys/man/1/replica - 664 sys sys 1113743329 6677
 sys/man/1/resample - 664 sys sys 1015024740 1083
 sys/man/1/resample - 664 sys sys 1015024740 1083
 sys/man/1/rio - 664 sys sys 1111181608 14594
 sys/man/1/rio - 664 sys sys 1111181608 14594
 sys/man/1/rm - 664 sys sys 944959673 515
 sys/man/1/rm - 664 sys sys 944959673 515
 sys/man/1/rwd - 664 sys sys 1042469992 2958
 sys/man/1/rwd - 664 sys sys 1042469992 2958
-sys/man/1/sam - 664 sys sys 1111249064 18291
-sys/man/1/secstore - 664 sys sys 1079378118 3763
+sys/man/1/sam - 664 sys sys 1113743327 18295
+sys/man/1/secstore - 664 sys sys 1113743328 3772
 sys/man/1/sed - 664 sys sys 944959674 6884
 sys/man/1/sed - 664 sys sys 944959674 6884
 sys/man/1/seq - 664 sys sys 1063855680 1131
 sys/man/1/seq - 664 sys sys 1063855680 1131
 sys/man/1/size - 664 sys sys 944959674 393
 sys/man/1/size - 664 sys sys 944959674 393
 sys/man/1/sleep - 664 sys sys 944959673 389
 sys/man/1/sleep - 664 sys sys 944959673 389
-sys/man/1/sort - 664 sys sys 944959675 4706
-sys/man/1/spell - 664 sys sys 964455062 1873
-sys/man/1/spin - 664 sys sys 953242867 3588
+sys/man/1/sort - 664 sys sys 1113743328 4719
+sys/man/1/spell - 664 sys sys 1113743329 1876
+sys/man/1/spin - 664 sys sys 1113743327 3620
 sys/man/1/split - 664 sys sys 1038183072 1171
 sys/man/1/split - 664 sys sys 1038183072 1171
 sys/man/1/src - 664 sys sys 954266293 1138
 sys/man/1/src - 664 sys sys 954266293 1138
 sys/man/1/ssh - 664 sys sys 1048643947 6622
 sys/man/1/ssh - 664 sys sys 1048643947 6622
@@ -5269,8 +5269,8 @@ sys/man/1/strings - 664 sys sys 944959675 774
 sys/man/1/strip - 664 sys sys 958580250 448
 sys/man/1/strip - 664 sys sys 958580250 448
 sys/man/1/sum - 664 sys sys 984772442 1390
 sys/man/1/sum - 664 sys sys 984772442 1390
 sys/man/1/syscall - 664 sys sys 1016466457 1439
 sys/man/1/syscall - 664 sys sys 1016466457 1439
-sys/man/1/tail - 664 sys sys 1017679307 1413
-sys/man/1/tar - 664 sys sys 1108996183 3396
+sys/man/1/tail - 664 sys sys 1113743327 1413
+sys/man/1/tar - 664 sys sys 1113743326 3396
 sys/man/1/tbl - 664 sys sys 944959674 4308
 sys/man/1/tbl - 664 sys sys 944959674 4308
 sys/man/1/tcs - 664 sys sys 952627441 2575
 sys/man/1/tcs - 664 sys sys 952627441 2575
 sys/man/1/tee - 664 sys sys 969499886 351
 sys/man/1/tee - 664 sys sys 969499886 351
@@ -5282,16 +5282,16 @@ sys/man/1/touch - 664 sys sys 1018369246 461
 sys/man/1/tr - 664 sys sys 944959675 1730
 sys/man/1/tr - 664 sys sys 944959675 1730
 sys/man/1/trace - 664 sys sys 1077376189 1756
 sys/man/1/trace - 664 sys sys 1077376189 1756
 sys/man/1/troff - 664 sys sys 944959675 3102
 sys/man/1/troff - 664 sys sys 944959675 3102
-sys/man/1/troff2html - 664 sys sys 964455062 1871
+sys/man/1/troff2html - 664 sys sys 1113743328 1924
 sys/man/1/tweak - 664 sys sys 957920008 4762
 sys/man/1/tweak - 664 sys sys 957920008 4762
 sys/man/1/uniq - 664 sys sys 944959674 995
 sys/man/1/uniq - 664 sys sys 944959674 995
-sys/man/1/units - 664 sys sys 944959673 2049
+sys/man/1/units - 664 sys sys 1113743326 2046
 sys/man/1/uptime - 664 sys sys 1074733782 380
 sys/man/1/uptime - 664 sys sys 1074733782 380
 sys/man/1/vac - 664 sys sys 1021579977 3227
 sys/man/1/vac - 664 sys sys 1021579977 3227
 sys/man/1/vi - 664 sys sys 1101668051 2904
 sys/man/1/vi - 664 sys sys 1101668051 2904
 sys/man/1/vnc - 664 sys sys 1045501432 4186
 sys/man/1/vnc - 664 sys sys 1045501432 4186
 sys/man/1/vt - 664 sys sys 1018386774 2210
 sys/man/1/vt - 664 sys sys 1018386774 2210
-sys/man/1/wc - 664 sys sys 944959675 908
+sys/man/1/wc - 664 sys sys 1113743327 908
 sys/man/1/who - 664 sys sys 944959674 332
 sys/man/1/who - 664 sys sys 944959674 332
 sys/man/1/winwatch - 664 sys sys 1113252108 723
 sys/man/1/winwatch - 664 sys sys 1113252108 723
 sys/man/1/xd - 664 sys sys 944959674 1517
 sys/man/1/xd - 664 sys sys 944959674 1517
@@ -5383,7 +5383,7 @@ sys/man/2/lock - 664 sys sys 1048643958 4692
 sys/man/2/mach - 664 sys sys 1080179298 7995
 sys/man/2/mach - 664 sys sys 1080179298 7995
 sys/man/2/malloc - 664 sys sys 1102093069 4763
 sys/man/2/malloc - 664 sys sys 1102093069 4763
 sys/man/2/matrix - 664 sys sys 950892861 6090
 sys/man/2/matrix - 664 sys sys 950892861 6090
-sys/man/2/memdraw - 664 sys sys 1040484074 10144
+sys/man/2/memdraw - 664 sys sys 1113742428 10111
 sys/man/2/memlayer - 664 sys sys 1040484074 6963
 sys/man/2/memlayer - 664 sys sys 1040484074 6963
 sys/man/2/memory - 664 sys sys 944959694 2139
 sys/man/2/memory - 664 sys sys 944959694 2139
 sys/man/2/mktemp - 664 sys sys 950892862 669
 sys/man/2/mktemp - 664 sys sys 950892862 669
@@ -7231,7 +7231,7 @@ sys/src/cmd/9660srv/iobuf.c - 664 sys sys 1022085197 3125
 sys/src/cmd/9660srv/iso9660.h - 664 sys sys 1014924873 2607
 sys/src/cmd/9660srv/iso9660.h - 664 sys sys 1014924873 2607
 sys/src/cmd/9660srv/main.c - 664 sys sys 1020313483 9680
 sys/src/cmd/9660srv/main.c - 664 sys sys 1020313483 9680
 sys/src/cmd/9660srv/mkfile - 664 sys sys 1048644372 238
 sys/src/cmd/9660srv/mkfile - 664 sys sys 1048644372 238
-sys/src/cmd/9660srv/xfile.c - 664 sys sys 1019425187 2725
+sys/src/cmd/9660srv/xfile.c - 664 sys sys 1113742177 2736
 sys/src/cmd/9nfs - 20000000775 sys sys 1015090374 0
 sys/src/cmd/9nfs - 20000000775 sys sys 1015090374 0
 sys/src/cmd/9nfs/9auth.c - 664 sys sys 1017337812 1454
 sys/src/cmd/9nfs/9auth.c - 664 sys sys 1017337812 1454
 sys/src/cmd/9nfs/9p.c - 664 sys sys 1083772192 3365
 sys/src/cmd/9nfs/9p.c - 664 sys sys 1083772192 3365
@@ -10034,7 +10034,7 @@ sys/src/cmd/ip/snoopy/rtcp.c - 644 sys sys 1089389638 1958
 sys/src/cmd/ip/snoopy/rtp.c - 664 sys sys 1089389638 1160
 sys/src/cmd/ip/snoopy/rtp.c - 664 sys sys 1089389638 1160
 sys/src/cmd/ip/snoopy/tcp.c - 664 sys sys 1055699196 3593
 sys/src/cmd/ip/snoopy/tcp.c - 664 sys sys 1055699196 3593
 sys/src/cmd/ip/snoopy/udp.c - 664 sys sys 1089299190 1990
 sys/src/cmd/ip/snoopy/udp.c - 664 sys sys 1089299190 1990
-sys/src/cmd/ip/telnet.c - 664 sys sys 1080058033 8535
+sys/src/cmd/ip/telnet.c - 664 sys sys 1113742070 8577
 sys/src/cmd/ip/telnet.h - 664 sys sys 1015090250 5902
 sys/src/cmd/ip/telnet.h - 664 sys sys 1015090250 5902
 sys/src/cmd/ip/telnetd.c - 664 sys sys 1032060109 11731
 sys/src/cmd/ip/telnetd.c - 664 sys sys 1032060109 11731
 sys/src/cmd/ip/tftpd.c - 664 sys sys 1106943821 7646
 sys/src/cmd/ip/tftpd.c - 664 sys sys 1106943821 7646
@@ -10703,7 +10703,7 @@ sys/src/cmd/rc/lex.c - 664 sys sys 1100894085 6100
 sys/src/cmd/rc/mkfile - 664 sys sys 1055698774 812
 sys/src/cmd/rc/mkfile - 664 sys sys 1055698774 812
 sys/src/cmd/rc/pcmd.c - 664 sys sys 1100894086 2681
 sys/src/cmd/rc/pcmd.c - 664 sys sys 1100894086 2681
 sys/src/cmd/rc/pfnc.c - 664 sys sys 1100894087 1320
 sys/src/cmd/rc/pfnc.c - 664 sys sys 1100894087 1320
-sys/src/cmd/rc/plan9.c - 664 sys sys 1055698776 9382
+sys/src/cmd/rc/plan9.c - 664 sys sys 1113742071 9209
 sys/src/cmd/rc/rc.h - 664 sys sys 1100894086 3329
 sys/src/cmd/rc/rc.h - 664 sys sys 1100894086 3329
 sys/src/cmd/rc/simple.c - 664 sys sys 1055698777 8993
 sys/src/cmd/rc/simple.c - 664 sys sys 1055698777 8993
 sys/src/cmd/rc/subr.c - 664 sys sys 1055698779 1206
 sys/src/cmd/rc/subr.c - 664 sys sys 1055698779 1206
@@ -10809,7 +10809,7 @@ sys/src/cmd/scuzz/cdr.c - 664 sys sys 944961084 3849
 sys/src/cmd/scuzz/changer.c - 664 sys sys 944961084 1137
 sys/src/cmd/scuzz/changer.c - 664 sys sys 944961084 1137
 sys/src/cmd/scuzz/mkfile - 664 sys sys 1032060571 231
 sys/src/cmd/scuzz/mkfile - 664 sys sys 1032060571 231
 sys/src/cmd/scuzz/scsireq.c - 664 sys sys 1032060572 11501
 sys/src/cmd/scuzz/scsireq.c - 664 sys sys 1032060572 11501
-sys/src/cmd/scuzz/scsireq.h - 664 sys sys 1032060571 5904
+sys/src/cmd/scuzz/scsireq.h - 664 sys sys 1113741890 5929
 sys/src/cmd/scuzz/scuzz.c - 664 sys sys 1014926325 37608
 sys/src/cmd/scuzz/scuzz.c - 664 sys sys 1014926325 37608
 sys/src/cmd/scuzz/sense.c - 664 sys sys 969510790 3901
 sys/src/cmd/scuzz/sense.c - 664 sys sys 969510790 3901
 sys/src/cmd/sed.c - 664 sys sys 1100962924 27001
 sys/src/cmd/sed.c - 664 sys sys 1100962924 27001
@@ -10933,7 +10933,7 @@ sys/src/cmd/tapefs/v10fs.c - 664 sys sys 1014926385 3754
 sys/src/cmd/tapefs/v6fs.c - 664 sys sys 1014926385 3971
 sys/src/cmd/tapefs/v6fs.c - 664 sys sys 1014926385 3971
 sys/src/cmd/tapefs/zip.h - 664 sys sys 1097914153 1428
 sys/src/cmd/tapefs/zip.h - 664 sys sys 1097914153 1428
 sys/src/cmd/tapefs/zipfs.c - 664 sys sys 1097900277 6803
 sys/src/cmd/tapefs/zipfs.c - 664 sys sys 1097900277 6803
-sys/src/cmd/tar.c - 664 sys sys 1108996177 19824
+sys/src/cmd/tar.c - 664 sys sys 1113742126 20439
 sys/src/cmd/tbl - 20000000775 sys sys 954038038 0
 sys/src/cmd/tbl - 20000000775 sys sys 954038038 0
 sys/src/cmd/tbl/mkfile - 664 sys sys 944961243 268
 sys/src/cmd/tbl/mkfile - 664 sys sys 944961243 268
 sys/src/cmd/tbl/t.h - 664 sys sys 944961244 3987
 sys/src/cmd/tbl/t.h - 664 sys sys 944961244 3987
@@ -11319,7 +11319,7 @@ sys/src/cmd/upas/common/aux.c - 664 sys sys 1019498851 2300
 sys/src/cmd/upas/common/become.c - 664 sys sys 1015009623 430
 sys/src/cmd/upas/common/become.c - 664 sys sys 1015009623 430
 sys/src/cmd/upas/common/common.h - 664 sys sys 1098803897 2040
 sys/src/cmd/upas/common/common.h - 664 sys sys 1098803897 2040
 sys/src/cmd/upas/common/config.c - 664 sys sys 944961316 254
 sys/src/cmd/upas/common/config.c - 664 sys sys 944961316 254
-sys/src/cmd/upas/common/libsys.c - 664 sys sys 1078840017 14437
+sys/src/cmd/upas/common/libsys.c - 664 sys sys 1113742071 14491
 sys/src/cmd/upas/common/mail.c - 664 sys sys 944961315 1346
 sys/src/cmd/upas/common/mail.c - 664 sys sys 944961315 1346
 sys/src/cmd/upas/common/makefile - 664 sys sys 944961315 366
 sys/src/cmd/upas/common/makefile - 664 sys sys 944961315 366
 sys/src/cmd/upas/common/mkfile - 664 sys sys 1075069142 273
 sys/src/cmd/upas/common/mkfile - 664 sys sys 1075069142 273
@@ -11379,7 +11379,7 @@ sys/src/cmd/upas/pop3/pop3.c - 664 sys sys 1076176207 14301
 sys/src/cmd/upas/q - 20000000775 sys sys 988250019 0
 sys/src/cmd/upas/q - 20000000775 sys sys 988250019 0
 sys/src/cmd/upas/q/mkfile - 664 sys sys 1064589601 262
 sys/src/cmd/upas/q/mkfile - 664 sys sys 1064589601 262
 sys/src/cmd/upas/q/qer.c - 664 sys sys 1014926528 3179
 sys/src/cmd/upas/q/qer.c - 664 sys sys 1014926528 3179
-sys/src/cmd/upas/q/runq.c - 664 sys sys 1098803913 12465
+sys/src/cmd/upas/q/runq.c - 664 sys sys 1113742021 13233
 sys/src/cmd/upas/scanmail - 20000000775 sys sys 988250021 0
 sys/src/cmd/upas/scanmail - 20000000775 sys sys 988250021 0
 sys/src/cmd/upas/scanmail/common.c - 664 sys sys 1015013177 12385
 sys/src/cmd/upas/scanmail/common.c - 664 sys sys 1015013177 12385
 sys/src/cmd/upas/scanmail/mkfile - 664 sys sys 1064589604 334
 sys/src/cmd/upas/scanmail/mkfile - 664 sys sys 1064589604 334
@@ -12833,7 +12833,7 @@ sys/src/libstdio/rewind.c - 664 sys sys 944961754 99
 sys/src/libstdio/scanf.c - 664 sys sys 944961754 185
 sys/src/libstdio/scanf.c - 664 sys sys 944961754 185
 sys/src/libstdio/sclose.c - 664 sys sys 944961754 531
 sys/src/libstdio/sclose.c - 664 sys sys 944961754 531
 sys/src/libstdio/setbuf.c - 664 sys sys 944961754 281
 sys/src/libstdio/setbuf.c - 664 sys sys 944961754 281
-sys/src/libstdio/setvbuf.c - 664 sys sys 1022112161 954
+sys/src/libstdio/setvbuf.c - 664 sys sys 1113742071 893
 sys/src/libstdio/snprintf.c - 664 sys sys 984710098 296
 sys/src/libstdio/snprintf.c - 664 sys sys 984710098 296
 sys/src/libstdio/sopenr.c - 664 sys sys 944961754 437
 sys/src/libstdio/sopenr.c - 664 sys sys 944961754 437
 sys/src/libstdio/sopenw.c - 664 sys sys 944961754 351
 sys/src/libstdio/sopenw.c - 664 sys sys 944961754 351
@@ -12948,3 +12948,34 @@ usr/glenda/lib/profile - 664 glenda glenda 1105128663 890
 usr/glenda/readme.acme - 664 glenda glenda 1019860628 4753
 usr/glenda/readme.acme - 664 glenda glenda 1019860628 4753
 usr/glenda/readme.rio - 664 glenda glenda 1019860628 6370
 usr/glenda/readme.rio - 664 glenda glenda 1019860628 6370
 usr/glenda/tmp - 20000000775 glenda glenda 1018802620 0
 usr/glenda/tmp - 20000000775 glenda glenda 1018802620 0
+386/bin/9660srv - 775 sys sys 1113794389 103976
+386/bin/bitsy/keyboard - 775 sys sys 1113794391 305415
+386/bin/bitsy/prompter - 775 sys sys 1113794391 285703
+386/bin/cpp - 775 sys sys 1113794392 149779
+386/bin/usb/usbmouse - 775 sys sys 1113794403 138127
+386/bin/graph - 775 sys sys 1113794392 127329
+386/bin/join - 775 sys sys 1113794393 114091
+386/bin/plot - 775 sys sys 1113794394 221197
+386/bin/rc - 775 sys sys 1113794394 143163
+386/bin/scat - 775 sys sys 1113794395 283314
+386/bin/aux/mapd - 775 sys sys 1113794389 190746
+386/bin/aux/na - 775 sys sys 1113794390 154186
+386/bin/gview - 775 sys sys 1113794393 237262
+386/bin/tar - 775 sys sys 1113794395 96205
+386/bin/telnet - 775 sys sys 1113794395 80364
+386/bin/upas/aliasmail - 775 sys sys 1113794396 104790
+386/bin/upas/deliver - 775 sys sys 1113794396 99819
+386/bin/upas/filter - 775 sys sys 1113794396 147349
+386/bin/upas/fs - 775 sys sys 1113794397 332294
+386/bin/upas/marshal - 775 sys sys 1113794397 132633
+386/bin/upas/ml - 775 sys sys 1113794398 123537
+386/bin/upas/mlmgr - 775 sys sys 1113794398 104223
+386/bin/upas/nedmail - 775 sys sys 1113794399 156296
+386/bin/upas/pop3 - 775 sys sys 1113794399 259820
+386/bin/upas/qer - 775 sys sys 1113794399 99878
+386/bin/upas/runq - 775 sys sys 1113794400 113527
+386/bin/upas/scanmail - 775 sys sys 1113794400 128787
+386/bin/upas/send - 775 sys sys 1113794401 191574
+386/bin/upas/smtp - 775 sys sys 1113794402 273602
+386/bin/upas/smtpd - 775 sys sys 1113794402 328757
+386/lib/libstdio.a - 664 sys sys 1113794404 126206

+ 76 - 76
dist/replica/plan9.db

@@ -17,7 +17,7 @@
 386/bin/8a - 775 sys sys 1108285260 115096
 386/bin/8a - 775 sys sys 1108285260 115096
 386/bin/8c - 775 sys sys 1113620963 358011
 386/bin/8c - 775 sys sys 1113620963 358011
 386/bin/8l - 775 sys sys 1107835553 115728
 386/bin/8l - 775 sys sys 1107835553 115728
-386/bin/9660srv - 775 sys sys 1108354539 103973
+386/bin/9660srv - 775 sys sys 1113794389 103976
 386/bin/aan - 775 sys sys 1108354539 130710
 386/bin/aan - 775 sys sys 1108354539 130710
 386/bin/acid - 775 sys sys 1108960003 355983
 386/bin/acid - 775 sys sys 1108960003 355983
 386/bin/acme - 775 sys sys 1111637282 428512
 386/bin/acme - 775 sys sys 1111637282 428512
@@ -112,7 +112,7 @@
 386/bin/aux/lpdaemon - 775 sys sys 1094040084 168085
 386/bin/aux/lpdaemon - 775 sys sys 1094040084 168085
 386/bin/aux/lpdsend - 775 sys sys 1087442507 153635
 386/bin/aux/lpdsend - 775 sys sys 1087442507 153635
 386/bin/aux/lpsend - 775 sys sys 1104121978 52540
 386/bin/aux/lpsend - 775 sys sys 1104121978 52540
-386/bin/aux/mapd - 775 sys sys 1104121978 192896
+386/bin/aux/mapd - 775 sys sys 1113794389 190746
 386/bin/aux/mkflashfs - 775 sys sys 1104121979 67357
 386/bin/aux/mkflashfs - 775 sys sys 1104121979 67357
 386/bin/aux/mklatinkbd - 775 sys sys 1104121979 64179
 386/bin/aux/mklatinkbd - 775 sys sys 1104121979 64179
 386/bin/aux/mnihongo - 775 sys sys 1106799170 138512
 386/bin/aux/mnihongo - 775 sys sys 1106799170 138512
@@ -120,7 +120,7 @@
 386/bin/aux/ms2 - 775 sys sys 1108008332 81689
 386/bin/aux/ms2 - 775 sys sys 1108008332 81689
 386/bin/aux/msexceltables - 775 sys sys 1106453225 80995
 386/bin/aux/msexceltables - 775 sys sys 1106453225 80995
 386/bin/aux/mswordstrings - 775 sys sys 1104121980 65317
 386/bin/aux/mswordstrings - 775 sys sys 1104121980 65317
-386/bin/aux/na - 775 sys sys 1104121980 154635
+386/bin/aux/na - 775 sys sys 1113794390 154186
 386/bin/aux/nfsmount - 775 sys sys 1104121981 234092
 386/bin/aux/nfsmount - 775 sys sys 1104121981 234092
 386/bin/aux/nfsserver - 775 sys sys 1108354546 185411
 386/bin/aux/nfsserver - 775 sys sys 1108354546 185411
 386/bin/aux/olefs - 775 sys sys 1108354547 143259
 386/bin/aux/olefs - 775 sys sys 1108354547 143259
@@ -160,11 +160,11 @@
 386/bin/bind - 775 sys sys 1104121989 59566
 386/bin/bind - 775 sys sys 1104121989 59566
 386/bin/bitsy - 20000000775 sys sys 1018721039 0
 386/bin/bitsy - 20000000775 sys sys 1018721039 0
 386/bin/bitsy/bitsyload - 775 sys sys 1104121989 63363
 386/bin/bitsy/bitsyload - 775 sys sys 1104121989 63363
-386/bin/bitsy/keyboard - 775 sys sys 1106799171 305361
+386/bin/bitsy/keyboard - 775 sys sys 1113794391 305415
 386/bin/bitsy/light - 775 sys sys 1020319072 242
 386/bin/bitsy/light - 775 sys sys 1020319072 242
 386/bin/bitsy/params - 775 sys sys 1104121990 58776
 386/bin/bitsy/params - 775 sys sys 1104121990 58776
 386/bin/bitsy/pencal - 775 sys sys 1104121991 117190
 386/bin/bitsy/pencal - 775 sys sys 1104121991 117190
-386/bin/bitsy/prompter - 775 sys sys 1106799172 285651
+386/bin/bitsy/prompter - 775 sys sys 1113794391 285703
 386/bin/bmp - 775 sys sys 1108960005 157595
 386/bin/bmp - 775 sys sys 1108960005 157595
 386/bin/bunzip2 - 775 sys sys 1104121992 97499
 386/bin/bunzip2 - 775 sys sys 1104121992 97499
 386/bin/bzip2 - 775 sys sys 1104121992 114034
 386/bin/bzip2 - 775 sys sys 1104121992 114034
@@ -183,7 +183,7 @@
 386/bin/comm - 775 sys sys 1104121996 61360
 386/bin/comm - 775 sys sys 1104121996 61360
 386/bin/con - 775 sys sys 1109909287 78211
 386/bin/con - 775 sys sys 1109909287 78211
 386/bin/cp - 775 sys sys 1104121996 63215
 386/bin/cp - 775 sys sys 1104121996 63215
-386/bin/cpp - 775 sys sys 1104121997 150308
+386/bin/cpp - 775 sys sys 1113794392 149779
 386/bin/cpu - 775 sys sys 1108354550 137694
 386/bin/cpu - 775 sys sys 1108354550 137694
 386/bin/crop - 775 sys sys 1104121998 115763
 386/bin/crop - 775 sys sys 1104121998 115763
 386/bin/date - 775 sys sys 1104121998 43261
 386/bin/date - 775 sys sys 1104121998 43261
@@ -256,11 +256,11 @@
 386/bin/getmap - 775 sys sys 1104122014 65180
 386/bin/getmap - 775 sys sys 1104122014 65180
 386/bin/gif - 775 sys sys 1108960006 158063
 386/bin/gif - 775 sys sys 1108960006 158063
 386/bin/grap - 775 sys sys 1094040086 280301
 386/bin/grap - 775 sys sys 1094040086 280301
-386/bin/graph - 775 sys sys 1104122016 129263
+386/bin/graph - 775 sys sys 1113794392 127329
 386/bin/grep - 775 sys sys 1104122016 79051
 386/bin/grep - 775 sys sys 1104122016 79051
 386/bin/gs - 775 sys sys 1094040110 11124993
 386/bin/gs - 775 sys sys 1094040110 11124993
 386/bin/gunzip - 775 sys sys 1104122016 80284
 386/bin/gunzip - 775 sys sys 1104122016 80284
-386/bin/gview - 775 sys sys 1106799175 237200
+386/bin/gview - 775 sys sys 1113794393 237262
 386/bin/gzip - 775 sys sys 1104122017 84762
 386/bin/gzip - 775 sys sys 1104122017 84762
 386/bin/hayes - 775 sys sys 1104122017 64556
 386/bin/hayes - 775 sys sys 1104122017 64556
 386/bin/hget - 775 sys sys 1109132002 231848
 386/bin/hget - 775 sys sys 1109132002 231848
@@ -305,7 +305,7 @@
 386/bin/ip/tftpd - 775 sys sys 1106971479 129489
 386/bin/ip/tftpd - 775 sys sys 1106971479 129489
 386/bin/ip/traceroute - 775 sys sys 1104122030 73497
 386/bin/ip/traceroute - 775 sys sys 1104122030 73497
 386/bin/ip/udpecho - 775 sys sys 1104122030 43159
 386/bin/ip/udpecho - 775 sys sys 1104122030 43159
-386/bin/join - 775 sys sys 1104122031 116241
+386/bin/join - 775 sys sys 1113794393 114091
 386/bin/jpg - 775 sys sys 1108960009 174528
 386/bin/jpg - 775 sys sys 1108960009 174528
 386/bin/kbmap - 775 sys sys 1106799176 142498
 386/bin/kbmap - 775 sys sys 1106799176 142498
 386/bin/kprof - 775 sys sys 1108960009 99723
 386/bin/kprof - 775 sys sys 1108960009 99723
@@ -353,7 +353,7 @@
 386/bin/pcc - 775 sys sys 1112757395 67806
 386/bin/pcc - 775 sys sys 1112757395 67806
 386/bin/pic - 775 sys sys 1094040111 305519
 386/bin/pic - 775 sys sys 1094040111 305519
 386/bin/pipefile - 775 sys sys 1104122044 39396
 386/bin/pipefile - 775 sys sys 1104122044 39396
-386/bin/plot - 775 sys sys 1106799178 221135
+386/bin/plot - 775 sys sys 1113794394 221197
 386/bin/plumb - 775 sys sys 1104122045 66969
 386/bin/plumb - 775 sys sys 1104122045 66969
 386/bin/plumber - 775 sys sys 1108960011 169863
 386/bin/plumber - 775 sys sys 1108960011 169863
 386/bin/png - 775 sys sys 1108960012 164172
 386/bin/png - 775 sys sys 1108960012 164172
@@ -365,7 +365,7 @@
 386/bin/ps - 775 sys sys 1104122047 65805
 386/bin/ps - 775 sys sys 1104122047 65805
 386/bin/pwd - 775 sys sys 1104122047 36897
 386/bin/pwd - 775 sys sys 1104122047 36897
 386/bin/ramfs - 775 sys sys 1109650122 89167
 386/bin/ramfs - 775 sys sys 1109650122 89167
-386/bin/rc - 775 sys sys 1104122048 143215
+386/bin/rc - 775 sys sys 1113794394 143163
 386/bin/rdbfs - 775 sys sys 1108354561 168396
 386/bin/rdbfs - 775 sys sys 1108354561 168396
 386/bin/read - 775 sys sys 1104122049 58046
 386/bin/read - 775 sys sys 1104122049 58046
 386/bin/replica - 20000000775 sys sys 1018321168 0
 386/bin/replica - 20000000775 sys sys 1018321168 0
@@ -383,7 +383,7 @@
 386/bin/rm - 775 sys sys 1104122051 61333
 386/bin/rm - 775 sys sys 1104122051 61333
 386/bin/rx - 775 sys sys 1104122051 82055
 386/bin/rx - 775 sys sys 1104122051 82055
 386/bin/sam - 775 sys sys 1112583961 158368
 386/bin/sam - 775 sys sys 1112583961 158368
-386/bin/scat - 775 sys sys 1106799180 283256
+386/bin/scat - 775 sys sys 1113794395 283314
 386/bin/scp - 775 sys sys 1104122053 151911
 386/bin/scp - 775 sys sys 1104122053 151911
 386/bin/scuzz - 775 sys sys 1104122053 111613
 386/bin/scuzz - 775 sys sys 1104122053 111613
 386/bin/sed - 775 sys sys 1104122054 89523
 386/bin/sed - 775 sys sys 1104122054 89523
@@ -410,12 +410,12 @@
 386/bin/swap - 775 sys sys 1104122060 62094
 386/bin/swap - 775 sys sys 1104122060 62094
 386/bin/syscall - 775 sys sys 1104122060 73536
 386/bin/syscall - 775 sys sys 1104122060 73536
 386/bin/tail - 775 sys sys 1104122060 65938
 386/bin/tail - 775 sys sys 1104122060 65938
-386/bin/tar - 775 sys sys 1109045334 95456
+386/bin/tar - 775 sys sys 1113794395 96205
 386/bin/tbl - 775 sys sys 1104122061 113124
 386/bin/tbl - 775 sys sys 1104122061 113124
 386/bin/tcs - 775 sys sys 1104122062 256588
 386/bin/tcs - 775 sys sys 1104122062 256588
 386/bin/tee - 775 sys sys 1104122062 38428
 386/bin/tee - 775 sys sys 1104122062 38428
 386/bin/telco - 775 sys sys 1108354564 103315
 386/bin/telco - 775 sys sys 1108354564 103315
-386/bin/telnet - 775 sys sys 1104122062 81952
+386/bin/telnet - 775 sys sys 1113794395 80364
 386/bin/test - 775 sys sys 1104122062 69853
 386/bin/test - 775 sys sys 1104122062 69853
 386/bin/time - 775 sys sys 1104122063 61386
 386/bin/time - 775 sys sys 1104122063 61386
 386/bin/tlsclient - 775 sys sys 1109132004 197187
 386/bin/tlsclient - 775 sys sys 1109132004 197187
@@ -439,28 +439,28 @@
 386/bin/unzip - 775 sys sys 1104122069 89733
 386/bin/unzip - 775 sys sys 1104122069 89733
 386/bin/upas - 20000000775 sys sys 1016857390 0
 386/bin/upas - 20000000775 sys sys 1016857390 0
 386/bin/upas/addhash - 775 sys sys 1064598343 67859
 386/bin/upas/addhash - 775 sys sys 1064598343 67859
-386/bin/upas/aliasmail - 775 sys sys 1104122069 104752
+386/bin/upas/aliasmail - 775 sys sys 1113794396 104790
 386/bin/upas/bayes - 775 sys sys 1064598344 70530
 386/bin/upas/bayes - 775 sys sys 1064598344 70530
-386/bin/upas/deliver - 775 sys sys 1104122069 99781
-386/bin/upas/filter - 775 sys sys 1109563698 147311
-386/bin/upas/fs - 775 sys sys 1109132005 332256
+386/bin/upas/deliver - 775 sys sys 1113794396 99819
+386/bin/upas/filter - 775 sys sys 1113794396 147349
+386/bin/upas/fs - 775 sys sys 1113794397 332294
 386/bin/upas/isspam - 775 sys sys 1064598349 38
 386/bin/upas/isspam - 775 sys sys 1064598349 38
 386/bin/upas/list - 775 sys sys 1104122071 82776
 386/bin/upas/list - 775 sys sys 1104122071 82776
-386/bin/upas/marshal - 775 sys sys 1107490159 132595
-386/bin/upas/ml - 775 sys sys 1104122072 123499
-386/bin/upas/mlmgr - 775 sys sys 1104122072 104185
+386/bin/upas/marshal - 775 sys sys 1113794397 132633
+386/bin/upas/ml - 775 sys sys 1113794398 123537
+386/bin/upas/mlmgr - 775 sys sys 1113794398 104223
 386/bin/upas/mlowner - 775 sys sys 1104122072 92108
 386/bin/upas/mlowner - 775 sys sys 1104122072 92108
 386/bin/upas/msgcat - 775 sys sys 1064598353 38
 386/bin/upas/msgcat - 775 sys sys 1064598353 38
 386/bin/upas/msgtok - 775 sys sys 1064598354 75149
 386/bin/upas/msgtok - 775 sys sys 1064598354 75149
-386/bin/upas/nedmail - 775 sys sys 1104122073 156258
-386/bin/upas/pop3 - 775 sys sys 1109132006 259782
-386/bin/upas/qer - 775 sys sys 1104122073 99840
+386/bin/upas/nedmail - 775 sys sys 1113794399 156296
+386/bin/upas/pop3 - 775 sys sys 1113794399 259820
+386/bin/upas/qer - 775 sys sys 1113794399 99878
 386/bin/upas/ratfs - 775 sys sys 1108354565 111342
 386/bin/upas/ratfs - 775 sys sys 1108354565 111342
-386/bin/upas/runq - 775 sys sys 1104122074 113086
-386/bin/upas/scanmail - 775 sys sys 1104122075 128749
-386/bin/upas/send - 775 sys sys 1109563698 191536
-386/bin/upas/smtp - 775 sys sys 1109132007 273564
-386/bin/upas/smtpd - 775 sys sys 1109132008 328719
+386/bin/upas/runq - 775 sys sys 1113794400 113527
+386/bin/upas/scanmail - 775 sys sys 1113794400 128787
+386/bin/upas/send - 775 sys sys 1113794401 191574
+386/bin/upas/smtp - 775 sys sys 1113794402 273602
+386/bin/upas/smtpd - 775 sys sys 1113794402 328757
 386/bin/upas/spam - 775 sys sys 1064598366 36
 386/bin/upas/spam - 775 sys sys 1064598366 36
 386/bin/upas/testscan - 775 sys sys 1104122077 83668
 386/bin/upas/testscan - 775 sys sys 1104122077 83668
 386/bin/upas/token - 775 sys sys 1104122077 77554
 386/bin/upas/token - 775 sys sys 1104122077 77554
@@ -470,7 +470,7 @@
 386/bin/usb - 20000000775 sys sys 1019538890 0
 386/bin/usb - 20000000775 sys sys 1019538890 0
 386/bin/usb/usbaudio - 775 sys sys 1112155768 185541
 386/bin/usb/usbaudio - 775 sys sys 1112155768 185541
 386/bin/usb/usbd - 775 sys sys 1104898010 129846
 386/bin/usb/usbd - 775 sys sys 1104898010 129846
-386/bin/usb/usbmouse - 775 sys sys 1112155768 140268
+386/bin/usb/usbmouse - 775 sys sys 1113794403 138127
 386/bin/usb/usbprinter - 775 sys sys 1089408719 222
 386/bin/usb/usbprinter - 775 sys sys 1089408719 222
 386/bin/vac - 775 sys sys 1104122079 169392
 386/bin/vac - 775 sys sys 1104122079 169392
 386/bin/vacfs - 775 sys sys 1108354566 174866
 386/bin/vacfs - 775 sys sys 1108354566 174866
@@ -558,7 +558,7 @@
 386/lib/libregexp.a - 664 sys sys 1108268401 37464
 386/lib/libregexp.a - 664 sys sys 1108268401 37464
 386/lib/libscribble.a - 664 sys sys 1108699740 107280
 386/lib/libscribble.a - 664 sys sys 1108699740 107280
 386/lib/libsec.a - 664 sys sys 1109132031 643998
 386/lib/libsec.a - 664 sys sys 1109132031 643998
-386/lib/libstdio.a - 664 sys sys 1108268403 126382
+386/lib/libstdio.a - 664 sys sys 1113794404 126206
 386/lib/libsunrpc.a - 664 sys sys 1108268404 355994
 386/lib/libsunrpc.a - 664 sys sys 1108268404 355994
 386/lib/libthread.a - 664 sys sys 1108268404 71162
 386/lib/libthread.a - 664 sys sys 1108268404 71162
 386/lib/libventi.a - 664 sys sys 1108268404 97708
 386/lib/libventi.a - 664 sys sys 1108268404 97708
@@ -5149,19 +5149,19 @@ sys/man/1/2l - 664 sys sys 1101668051 4365
 sys/man/1/INDEX - 664 sys sys 1104811679 3004
 sys/man/1/INDEX - 664 sys sys 1104811679 3004
 sys/man/1/INDEX.html - 664 sys sys 1104736360 16403
 sys/man/1/INDEX.html - 664 sys sys 1104736360 16403
 sys/man/1/acid - 664 sys sys 1101668051 9727
 sys/man/1/acid - 664 sys sys 1101668051 9727
-sys/man/1/acme - 664 sys sys 1107154713 18033
+sys/man/1/acme - 664 sys sys 1113743325 18097
 sys/man/1/ap - 664 sys sys 1068471657 364
 sys/man/1/ap - 664 sys sys 1068471657 364
 sys/man/1/ar - 664 sys sys 1079397701 3153
 sys/man/1/ar - 664 sys sys 1079397701 3153
-sys/man/1/ascii - 664 sys sys 957920005 2733
+sys/man/1/ascii - 664 sys sys 1113743329 2737
 sys/man/1/awk - 664 sys sys 944959677 10645
 sys/man/1/awk - 664 sys sys 944959677 10645
 sys/man/1/basename - 664 sys sys 944959673 535
 sys/man/1/basename - 664 sys sys 944959673 535
-sys/man/1/bc - 664 sys sys 964455060 3758
+sys/man/1/bc - 664 sys sys 1113743324 3758
 sys/man/1/bind - 664 sys sys 1034195345 3928
 sys/man/1/bind - 664 sys sys 1034195345 3928
 sys/man/1/bitsyload - 664 sys sys 988225301 2883
 sys/man/1/bitsyload - 664 sys sys 988225301 2883
-sys/man/1/bundle - 664 sys sys 944959672 986
-sys/man/1/cal - 664 sys sys 944959673 849
+sys/man/1/bundle - 664 sys sys 1113743325 986
+sys/man/1/cal - 664 sys sys 1113743325 849
 sys/man/1/calendar - 664 sys sys 1104939769 1249
 sys/man/1/calendar - 664 sys sys 1104939769 1249
-sys/man/1/cat - 664 sys sys 1022048090 1335
+sys/man/1/cat - 664 sys sys 1113743325 1338
 sys/man/1/cb - 664 sys sys 1063855627 896
 sys/man/1/cb - 664 sys sys 1063855627 896
 sys/man/1/chgrp - 664 sys sys 944959673 710
 sys/man/1/chgrp - 664 sys sys 944959673 710
 sys/man/1/chmod - 664 sys sys 1079372922 1299
 sys/man/1/chmod - 664 sys sys 1079372922 1299
@@ -5176,20 +5176,20 @@ sys/man/1/cpu - 664 sys sys 1104939775 3540
 sys/man/1/crop - 664 sys sys 984709627 2596
 sys/man/1/crop - 664 sys sys 984709627 2596
 sys/man/1/date - 664 sys sys 969499884 996
 sys/man/1/date - 664 sys sys 969499884 996
 sys/man/1/db - 664 sys sys 1015024738 17862
 sys/man/1/db - 664 sys sys 1015024738 17862
-sys/man/1/dc - 664 sys sys 944959674 4834
+sys/man/1/dc - 664 sys sys 1113743325 4834
 sys/man/1/dd - 664 sys sys 1055693436 3346
 sys/man/1/dd - 664 sys sys 1055693436 3346
 sys/man/1/delkey - 664 sys sys 1109429138 779
 sys/man/1/delkey - 664 sys sys 1109429138 779
-sys/man/1/deroff - 664 sys sys 1017423524 1826
+sys/man/1/deroff - 664 sys sys 1113743324 1826
 sys/man/1/diff - 664 sys sys 1106938097 2960
 sys/man/1/diff - 664 sys sys 1106938097 2960
 sys/man/1/doc2txt - 664 sys sys 1105020018 2077
 sys/man/1/doc2txt - 664 sys sys 1105020018 2077
-sys/man/1/doctype - 664 sys sys 944959673 849
+sys/man/1/doctype - 664 sys sys 1113743325 860
 sys/man/1/du - 664 sys sys 1017166323 1410
 sys/man/1/du - 664 sys sys 1017166323 1410
 sys/man/1/echo - 664 sys sys 1079969656 430
 sys/man/1/echo - 664 sys sys 1079969656 430
 sys/man/1/ed - 664 sys sys 961259286 13916
 sys/man/1/ed - 664 sys sys 961259286 13916
 sys/man/1/emacs - 664 sys sys 944959673 199
 sys/man/1/emacs - 664 sys sys 944959673 199
 sys/man/1/eqn - 664 sys sys 944959675 5655
 sys/man/1/eqn - 664 sys sys 944959675 5655
 sys/man/1/expect - 664 sys sys 1058791094 3023
 sys/man/1/expect - 664 sys sys 1058791094 3023
-sys/man/1/faces - 664 sys sys 1100525422 2317
+sys/man/1/faces - 664 sys sys 1113743326 2395
 sys/man/1/factor - 664 sys sys 957920005 1019
 sys/man/1/factor - 664 sys sys 957920005 1019
 sys/man/1/file - 664 sys sys 1015024739 1578
 sys/man/1/file - 664 sys sys 1015024739 1578
 sys/man/1/filter - 664 sys sys 1041108741 4403
 sys/man/1/filter - 664 sys sys 1041108741 4403
@@ -5206,34 +5206,34 @@ sys/man/1/gzip - 664 sys sys 969499884 3073
 sys/man/1/hget - 664 sys sys 1067722859 1483
 sys/man/1/hget - 664 sys sys 1067722859 1483
 sys/man/1/history - 664 sys sys 1109685635 1709
 sys/man/1/history - 664 sys sys 1109685635 1709
 sys/man/1/hoc - 664 sys sys 944959676 2357
 sys/man/1/hoc - 664 sys sys 944959676 2357
-sys/man/1/idiff - 664 sys sys 1018386774 927
-sys/man/1/join - 664 sys sys 957920006 2562
-sys/man/1/jpg - 664 sys sys 1084933809 4759
+sys/man/1/idiff - 664 sys sys 1113743324 914
+sys/man/1/join - 664 sys sys 1113743324 2561
+sys/man/1/jpg - 664 sys sys 1113743325 4842
 sys/man/1/kbmap - 664 sys sys 1079969760 845
 sys/man/1/kbmap - 664 sys sys 1079969760 845
 sys/man/1/kill - 664 sys sys 1018369246 1193
 sys/man/1/kill - 664 sys sys 1018369246 1193
 sys/man/1/ktrace - 664 sys sys 957920006 1330
 sys/man/1/ktrace - 664 sys sys 957920006 1330
 sys/man/1/leak - 664 sys sys 1017423522 2871
 sys/man/1/leak - 664 sys sys 1017423522 2871
 sys/man/1/lens - 664 sys sys 1029431866 1230
 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 1087406208 2898
+sys/man/1/lex - 664 sys sys 1113743328 1520
+sys/man/1/look - 664 sys sys 1113743326 1357
+sys/man/1/lp - 664 sys sys 1113743326 3329
+sys/man/1/ls - 664 sys sys 1113743327 2890
 sys/man/1/mail - 664 sys sys 1050078464 2158
 sys/man/1/mail - 664 sys sys 1050078464 2158
-sys/man/1/man - 664 sys sys 1110638523 1743
+sys/man/1/man - 664 sys sys 1113743328 1736
 sys/man/1/marshal - 664 sys sys 1079970326 3150
 sys/man/1/marshal - 664 sys sys 1079970326 3150
-sys/man/1/mc - 664 sys sys 1045501392 508
-sys/man/1/mk - 664 sys sys 964455061 13154
+sys/man/1/mc - 664 sys sys 1113743326 552
+sys/man/1/mk - 664 sys sys 1113743328 13198
 sys/man/1/mkdir - 664 sys sys 1082593141 717
 sys/man/1/mkdir - 664 sys sys 1082593141 717
 sys/man/1/mlmgr - 664 sys sys 1045501403 2427
 sys/man/1/mlmgr - 664 sys sys 1045501403 2427
 sys/man/1/ms2html - 664 sys sys 960001562 856
 sys/man/1/ms2html - 664 sys sys 960001562 856
 sys/man/1/nedmail - 664 sys sys 1055704205 11322
 sys/man/1/nedmail - 664 sys sys 1055704205 11322
 sys/man/1/netstat - 664 sys sys 953344523 827
 sys/man/1/netstat - 664 sys sys 953344523 827
-sys/man/1/news - 664 sys sys 1015024739 1148
+sys/man/1/news - 664 sys sys 1113743329 1151
 sys/man/1/nm - 664 sys sys 944959673 1539
 sys/man/1/nm - 664 sys sys 944959673 1539
 sys/man/1/ns - 664 sys sys 944959677 893
 sys/man/1/ns - 664 sys sys 944959677 893
 sys/man/1/p - 664 sys sys 944959673 504
 sys/man/1/p - 664 sys sys 944959673 504
 sys/man/1/page - 664 sys sys 1087829646 5839
 sys/man/1/page - 664 sys sys 1087829646 5839
-sys/man/1/passwd - 664 sys sys 1068823217 1377
+sys/man/1/passwd - 664 sys sys 1113743327 1382
 sys/man/1/patch - 664 sys sys 1067804449 2176
 sys/man/1/patch - 664 sys sys 1067804449 2176
 sys/man/1/pcc - 664 sys sys 1015024740 3478
 sys/man/1/pcc - 664 sys sys 1015024740 3478
 sys/man/1/pic - 664 sys sys 1022625353 8229
 sys/man/1/pic - 664 sys sys 1022625353 8229
@@ -5242,25 +5242,25 @@ sys/man/1/plot - 664 sys sys 944959673 1196
 sys/man/1/plumb - 664 sys sys 957920007 1297
 sys/man/1/plumb - 664 sys sys 957920007 1297
 sys/man/1/pr - 664 sys sys 984709628 1804
 sys/man/1/pr - 664 sys sys 984709628 1804
 sys/man/1/prof - 664 sys sys 1067718952 3561
 sys/man/1/prof - 664 sys sys 1067718952 3561
-sys/man/1/proof - 664 sys sys 950892796 2297
-sys/man/1/ps - 664 sys sys 1019769758 1642
+sys/man/1/proof - 664 sys sys 1113743329 2300
+sys/man/1/ps - 664 sys sys 1113743329 1619
 sys/man/1/ps2pdf - 664 sys sys 1032632098 1359
 sys/man/1/ps2pdf - 664 sys sys 1032632098 1359
 sys/man/1/pwd - 664 sys sys 1104639653 744
 sys/man/1/pwd - 664 sys sys 1104639653 744
-sys/man/1/rc - 664 sys sys 1100894083 19898
-sys/man/1/replica - 664 sys sys 1101668051 6647
+sys/man/1/rc - 664 sys sys 1113743326 19898
+sys/man/1/replica - 664 sys sys 1113743329 6677
 sys/man/1/resample - 664 sys sys 1015024740 1083
 sys/man/1/resample - 664 sys sys 1015024740 1083
 sys/man/1/rio - 664 sys sys 1111181608 14594
 sys/man/1/rio - 664 sys sys 1111181608 14594
 sys/man/1/rm - 664 sys sys 944959673 515
 sys/man/1/rm - 664 sys sys 944959673 515
 sys/man/1/rwd - 664 sys sys 1042469992 2958
 sys/man/1/rwd - 664 sys sys 1042469992 2958
-sys/man/1/sam - 664 sys sys 1111249064 18291
-sys/man/1/secstore - 664 sys sys 1079378118 3763
+sys/man/1/sam - 664 sys sys 1113743327 18295
+sys/man/1/secstore - 664 sys sys 1113743328 3772
 sys/man/1/sed - 664 sys sys 944959674 6884
 sys/man/1/sed - 664 sys sys 944959674 6884
 sys/man/1/seq - 664 sys sys 1063855680 1131
 sys/man/1/seq - 664 sys sys 1063855680 1131
 sys/man/1/size - 664 sys sys 944959674 393
 sys/man/1/size - 664 sys sys 944959674 393
 sys/man/1/sleep - 664 sys sys 944959673 389
 sys/man/1/sleep - 664 sys sys 944959673 389
-sys/man/1/sort - 664 sys sys 944959675 4706
-sys/man/1/spell - 664 sys sys 964455062 1873
-sys/man/1/spin - 664 sys sys 953242867 3588
+sys/man/1/sort - 664 sys sys 1113743328 4719
+sys/man/1/spell - 664 sys sys 1113743329 1876
+sys/man/1/spin - 664 sys sys 1113743327 3620
 sys/man/1/split - 664 sys sys 1038183072 1171
 sys/man/1/split - 664 sys sys 1038183072 1171
 sys/man/1/src - 664 sys sys 954266293 1138
 sys/man/1/src - 664 sys sys 954266293 1138
 sys/man/1/ssh - 664 sys sys 1048643947 6622
 sys/man/1/ssh - 664 sys sys 1048643947 6622
@@ -5269,8 +5269,8 @@ sys/man/1/strings - 664 sys sys 944959675 774
 sys/man/1/strip - 664 sys sys 958580250 448
 sys/man/1/strip - 664 sys sys 958580250 448
 sys/man/1/sum - 664 sys sys 984772442 1390
 sys/man/1/sum - 664 sys sys 984772442 1390
 sys/man/1/syscall - 664 sys sys 1016466457 1439
 sys/man/1/syscall - 664 sys sys 1016466457 1439
-sys/man/1/tail - 664 sys sys 1017679307 1413
-sys/man/1/tar - 664 sys sys 1108996183 3396
+sys/man/1/tail - 664 sys sys 1113743327 1413
+sys/man/1/tar - 664 sys sys 1113743326 3396
 sys/man/1/tbl - 664 sys sys 944959674 4308
 sys/man/1/tbl - 664 sys sys 944959674 4308
 sys/man/1/tcs - 664 sys sys 952627441 2575
 sys/man/1/tcs - 664 sys sys 952627441 2575
 sys/man/1/tee - 664 sys sys 969499886 351
 sys/man/1/tee - 664 sys sys 969499886 351
@@ -5282,16 +5282,16 @@ sys/man/1/touch - 664 sys sys 1018369246 461
 sys/man/1/tr - 664 sys sys 944959675 1730
 sys/man/1/tr - 664 sys sys 944959675 1730
 sys/man/1/trace - 664 sys sys 1077376189 1756
 sys/man/1/trace - 664 sys sys 1077376189 1756
 sys/man/1/troff - 664 sys sys 944959675 3102
 sys/man/1/troff - 664 sys sys 944959675 3102
-sys/man/1/troff2html - 664 sys sys 964455062 1871
+sys/man/1/troff2html - 664 sys sys 1113743328 1924
 sys/man/1/tweak - 664 sys sys 957920008 4762
 sys/man/1/tweak - 664 sys sys 957920008 4762
 sys/man/1/uniq - 664 sys sys 944959674 995
 sys/man/1/uniq - 664 sys sys 944959674 995
-sys/man/1/units - 664 sys sys 944959673 2049
+sys/man/1/units - 664 sys sys 1113743326 2046
 sys/man/1/uptime - 664 sys sys 1074733782 380
 sys/man/1/uptime - 664 sys sys 1074733782 380
 sys/man/1/vac - 664 sys sys 1021579977 3227
 sys/man/1/vac - 664 sys sys 1021579977 3227
 sys/man/1/vi - 664 sys sys 1101668051 2904
 sys/man/1/vi - 664 sys sys 1101668051 2904
 sys/man/1/vnc - 664 sys sys 1045501432 4186
 sys/man/1/vnc - 664 sys sys 1045501432 4186
 sys/man/1/vt - 664 sys sys 1018386774 2210
 sys/man/1/vt - 664 sys sys 1018386774 2210
-sys/man/1/wc - 664 sys sys 944959675 908
+sys/man/1/wc - 664 sys sys 1113743327 908
 sys/man/1/who - 664 sys sys 944959674 332
 sys/man/1/who - 664 sys sys 944959674 332
 sys/man/1/winwatch - 664 sys sys 1113252108 723
 sys/man/1/winwatch - 664 sys sys 1113252108 723
 sys/man/1/xd - 664 sys sys 944959674 1517
 sys/man/1/xd - 664 sys sys 944959674 1517
@@ -5383,7 +5383,7 @@ sys/man/2/lock - 664 sys sys 1048643958 4692
 sys/man/2/mach - 664 sys sys 1080179298 7995
 sys/man/2/mach - 664 sys sys 1080179298 7995
 sys/man/2/malloc - 664 sys sys 1102093069 4763
 sys/man/2/malloc - 664 sys sys 1102093069 4763
 sys/man/2/matrix - 664 sys sys 950892861 6090
 sys/man/2/matrix - 664 sys sys 950892861 6090
-sys/man/2/memdraw - 664 sys sys 1040484074 10144
+sys/man/2/memdraw - 664 sys sys 1113742428 10111
 sys/man/2/memlayer - 664 sys sys 1040484074 6963
 sys/man/2/memlayer - 664 sys sys 1040484074 6963
 sys/man/2/memory - 664 sys sys 944959694 2139
 sys/man/2/memory - 664 sys sys 944959694 2139
 sys/man/2/mktemp - 664 sys sys 950892862 669
 sys/man/2/mktemp - 664 sys sys 950892862 669
@@ -7231,7 +7231,7 @@ sys/src/cmd/9660srv/iobuf.c - 664 sys sys 1022085197 3125
 sys/src/cmd/9660srv/iso9660.h - 664 sys sys 1014924873 2607
 sys/src/cmd/9660srv/iso9660.h - 664 sys sys 1014924873 2607
 sys/src/cmd/9660srv/main.c - 664 sys sys 1020313483 9680
 sys/src/cmd/9660srv/main.c - 664 sys sys 1020313483 9680
 sys/src/cmd/9660srv/mkfile - 664 sys sys 1048644372 238
 sys/src/cmd/9660srv/mkfile - 664 sys sys 1048644372 238
-sys/src/cmd/9660srv/xfile.c - 664 sys sys 1019425187 2725
+sys/src/cmd/9660srv/xfile.c - 664 sys sys 1113742177 2736
 sys/src/cmd/9nfs - 20000000775 sys sys 1015090374 0
 sys/src/cmd/9nfs - 20000000775 sys sys 1015090374 0
 sys/src/cmd/9nfs/9auth.c - 664 sys sys 1017337812 1454
 sys/src/cmd/9nfs/9auth.c - 664 sys sys 1017337812 1454
 sys/src/cmd/9nfs/9p.c - 664 sys sys 1083772192 3365
 sys/src/cmd/9nfs/9p.c - 664 sys sys 1083772192 3365
@@ -10034,7 +10034,7 @@ sys/src/cmd/ip/snoopy/rtcp.c - 644 sys sys 1089389638 1958
 sys/src/cmd/ip/snoopy/rtp.c - 664 sys sys 1089389638 1160
 sys/src/cmd/ip/snoopy/rtp.c - 664 sys sys 1089389638 1160
 sys/src/cmd/ip/snoopy/tcp.c - 664 sys sys 1055699196 3593
 sys/src/cmd/ip/snoopy/tcp.c - 664 sys sys 1055699196 3593
 sys/src/cmd/ip/snoopy/udp.c - 664 sys sys 1089299190 1990
 sys/src/cmd/ip/snoopy/udp.c - 664 sys sys 1089299190 1990
-sys/src/cmd/ip/telnet.c - 664 sys sys 1080058033 8535
+sys/src/cmd/ip/telnet.c - 664 sys sys 1113742070 8577
 sys/src/cmd/ip/telnet.h - 664 sys sys 1015090250 5902
 sys/src/cmd/ip/telnet.h - 664 sys sys 1015090250 5902
 sys/src/cmd/ip/telnetd.c - 664 sys sys 1032060109 11731
 sys/src/cmd/ip/telnetd.c - 664 sys sys 1032060109 11731
 sys/src/cmd/ip/tftpd.c - 664 sys sys 1106943821 7646
 sys/src/cmd/ip/tftpd.c - 664 sys sys 1106943821 7646
@@ -10703,7 +10703,7 @@ sys/src/cmd/rc/lex.c - 664 sys sys 1100894085 6100
 sys/src/cmd/rc/mkfile - 664 sys sys 1055698774 812
 sys/src/cmd/rc/mkfile - 664 sys sys 1055698774 812
 sys/src/cmd/rc/pcmd.c - 664 sys sys 1100894086 2681
 sys/src/cmd/rc/pcmd.c - 664 sys sys 1100894086 2681
 sys/src/cmd/rc/pfnc.c - 664 sys sys 1100894087 1320
 sys/src/cmd/rc/pfnc.c - 664 sys sys 1100894087 1320
-sys/src/cmd/rc/plan9.c - 664 sys sys 1055698776 9382
+sys/src/cmd/rc/plan9.c - 664 sys sys 1113742071 9209
 sys/src/cmd/rc/rc.h - 664 sys sys 1100894086 3329
 sys/src/cmd/rc/rc.h - 664 sys sys 1100894086 3329
 sys/src/cmd/rc/simple.c - 664 sys sys 1055698777 8993
 sys/src/cmd/rc/simple.c - 664 sys sys 1055698777 8993
 sys/src/cmd/rc/subr.c - 664 sys sys 1055698779 1206
 sys/src/cmd/rc/subr.c - 664 sys sys 1055698779 1206
@@ -10809,7 +10809,7 @@ sys/src/cmd/scuzz/cdr.c - 664 sys sys 944961084 3849
 sys/src/cmd/scuzz/changer.c - 664 sys sys 944961084 1137
 sys/src/cmd/scuzz/changer.c - 664 sys sys 944961084 1137
 sys/src/cmd/scuzz/mkfile - 664 sys sys 1032060571 231
 sys/src/cmd/scuzz/mkfile - 664 sys sys 1032060571 231
 sys/src/cmd/scuzz/scsireq.c - 664 sys sys 1032060572 11501
 sys/src/cmd/scuzz/scsireq.c - 664 sys sys 1032060572 11501
-sys/src/cmd/scuzz/scsireq.h - 664 sys sys 1032060571 5904
+sys/src/cmd/scuzz/scsireq.h - 664 sys sys 1113741890 5929
 sys/src/cmd/scuzz/scuzz.c - 664 sys sys 1014926325 37608
 sys/src/cmd/scuzz/scuzz.c - 664 sys sys 1014926325 37608
 sys/src/cmd/scuzz/sense.c - 664 sys sys 969510790 3901
 sys/src/cmd/scuzz/sense.c - 664 sys sys 969510790 3901
 sys/src/cmd/sed.c - 664 sys sys 1100962924 27001
 sys/src/cmd/sed.c - 664 sys sys 1100962924 27001
@@ -10933,7 +10933,7 @@ sys/src/cmd/tapefs/v10fs.c - 664 sys sys 1014926385 3754
 sys/src/cmd/tapefs/v6fs.c - 664 sys sys 1014926385 3971
 sys/src/cmd/tapefs/v6fs.c - 664 sys sys 1014926385 3971
 sys/src/cmd/tapefs/zip.h - 664 sys sys 1097914153 1428
 sys/src/cmd/tapefs/zip.h - 664 sys sys 1097914153 1428
 sys/src/cmd/tapefs/zipfs.c - 664 sys sys 1097900277 6803
 sys/src/cmd/tapefs/zipfs.c - 664 sys sys 1097900277 6803
-sys/src/cmd/tar.c - 664 sys sys 1108996177 19824
+sys/src/cmd/tar.c - 664 sys sys 1113742126 20439
 sys/src/cmd/tbl - 20000000775 sys sys 954038038 0
 sys/src/cmd/tbl - 20000000775 sys sys 954038038 0
 sys/src/cmd/tbl/mkfile - 664 sys sys 944961243 268
 sys/src/cmd/tbl/mkfile - 664 sys sys 944961243 268
 sys/src/cmd/tbl/t.h - 664 sys sys 944961244 3987
 sys/src/cmd/tbl/t.h - 664 sys sys 944961244 3987
@@ -11319,7 +11319,7 @@ sys/src/cmd/upas/common/aux.c - 664 sys sys 1019498851 2300
 sys/src/cmd/upas/common/become.c - 664 sys sys 1015009623 430
 sys/src/cmd/upas/common/become.c - 664 sys sys 1015009623 430
 sys/src/cmd/upas/common/common.h - 664 sys sys 1098803897 2040
 sys/src/cmd/upas/common/common.h - 664 sys sys 1098803897 2040
 sys/src/cmd/upas/common/config.c - 664 sys sys 944961316 254
 sys/src/cmd/upas/common/config.c - 664 sys sys 944961316 254
-sys/src/cmd/upas/common/libsys.c - 664 sys sys 1078840017 14437
+sys/src/cmd/upas/common/libsys.c - 664 sys sys 1113742071 14491
 sys/src/cmd/upas/common/mail.c - 664 sys sys 944961315 1346
 sys/src/cmd/upas/common/mail.c - 664 sys sys 944961315 1346
 sys/src/cmd/upas/common/makefile - 664 sys sys 944961315 366
 sys/src/cmd/upas/common/makefile - 664 sys sys 944961315 366
 sys/src/cmd/upas/common/mkfile - 664 sys sys 1075069142 273
 sys/src/cmd/upas/common/mkfile - 664 sys sys 1075069142 273
@@ -11379,7 +11379,7 @@ sys/src/cmd/upas/pop3/pop3.c - 664 sys sys 1076176207 14301
 sys/src/cmd/upas/q - 20000000775 sys sys 988250019 0
 sys/src/cmd/upas/q - 20000000775 sys sys 988250019 0
 sys/src/cmd/upas/q/mkfile - 664 sys sys 1064589601 262
 sys/src/cmd/upas/q/mkfile - 664 sys sys 1064589601 262
 sys/src/cmd/upas/q/qer.c - 664 sys sys 1014926528 3179
 sys/src/cmd/upas/q/qer.c - 664 sys sys 1014926528 3179
-sys/src/cmd/upas/q/runq.c - 664 sys sys 1098803913 12465
+sys/src/cmd/upas/q/runq.c - 664 sys sys 1113742021 13233
 sys/src/cmd/upas/scanmail - 20000000775 sys sys 988250021 0
 sys/src/cmd/upas/scanmail - 20000000775 sys sys 988250021 0
 sys/src/cmd/upas/scanmail/common.c - 664 sys sys 1015013177 12385
 sys/src/cmd/upas/scanmail/common.c - 664 sys sys 1015013177 12385
 sys/src/cmd/upas/scanmail/mkfile - 664 sys sys 1064589604 334
 sys/src/cmd/upas/scanmail/mkfile - 664 sys sys 1064589604 334
@@ -12833,7 +12833,7 @@ sys/src/libstdio/rewind.c - 664 sys sys 944961754 99
 sys/src/libstdio/scanf.c - 664 sys sys 944961754 185
 sys/src/libstdio/scanf.c - 664 sys sys 944961754 185
 sys/src/libstdio/sclose.c - 664 sys sys 944961754 531
 sys/src/libstdio/sclose.c - 664 sys sys 944961754 531
 sys/src/libstdio/setbuf.c - 664 sys sys 944961754 281
 sys/src/libstdio/setbuf.c - 664 sys sys 944961754 281
-sys/src/libstdio/setvbuf.c - 664 sys sys 1022112161 954
+sys/src/libstdio/setvbuf.c - 664 sys sys 1113742071 893
 sys/src/libstdio/snprintf.c - 664 sys sys 984710098 296
 sys/src/libstdio/snprintf.c - 664 sys sys 984710098 296
 sys/src/libstdio/sopenr.c - 664 sys sys 944961754 437
 sys/src/libstdio/sopenr.c - 664 sys sys 944961754 437
 sys/src/libstdio/sopenw.c - 664 sys sys 944961754 351
 sys/src/libstdio/sopenw.c - 664 sys sys 944961754 351

+ 76 - 0
dist/replica/plan9.log

@@ -14641,3 +14641,79 @@
 1113499944 21 c lib/font/bit/fixed/unicode.9x18B.font - 664 sys sys 1113498934 431
 1113499944 21 c lib/font/bit/fixed/unicode.9x18B.font - 664 sys sys 1113498934 431
 1113586361 0 c sys/src/cmd/8c/reg.c - 664 sys sys 1113585456 20572
 1113586361 0 c sys/src/cmd/8c/reg.c - 664 sys sys 1113585456 20572
 1113622368 0 c 386/bin/8c - 775 sys sys 1113620963 358011
 1113622368 0 c 386/bin/8c - 775 sys sys 1113620963 358011
+1113742871 0 c sys/man/2/memdraw - 664 sys sys 1113742428 10111
+1113742871 1 c sys/src/cmd/9660srv/xfile.c - 664 sys sys 1113742177 2736
+1113742871 2 c sys/src/cmd/ip/telnet.c - 664 sys sys 1113742070 8577
+1113742871 3 c sys/src/cmd/rc/plan9.c - 664 sys sys 1113742071 9209
+1113742871 4 c sys/src/cmd/scuzz/scsireq.h - 664 sys sys 1113741890 5929
+1113742871 5 c sys/src/cmd/upas/common/libsys.c - 664 sys sys 1113742071 14491
+1113742871 6 c sys/src/cmd/upas/q/runq.c - 664 sys sys 1113742021 13233
+1113742871 7 c sys/src/cmd/tar.c - 664 sys sys 1113742126 20439
+1113742871 8 c sys/src/libstdio/setvbuf.c - 664 sys sys 1113742071 893
+1113744673 0 c sys/man/1/bundle - 664 sys sys 1113743325 986
+1113744673 1 c sys/man/1/cal - 664 sys sys 1113743325 849
+1113744673 2 c sys/man/1/cat - 664 sys sys 1113743325 1338
+1113744673 3 c sys/man/1/dc - 664 sys sys 1113743325 4834
+1113744673 4 c sys/man/1/deroff - 664 sys sys 1113743324 1826
+1113744673 5 c sys/man/1/doctype - 664 sys sys 1113743325 860
+1113744673 6 c sys/man/1/join - 664 sys sys 1113743324 2561
+1113744673 7 c sys/man/1/lex - 664 sys sys 1113743328 1520
+1113744673 8 c sys/man/1/look - 664 sys sys 1113743326 1357
+1113744673 9 c sys/man/1/ls - 664 sys sys 1113743327 2890
+1113744673 10 c sys/man/1/man - 664 sys sys 1113743328 1736
+1113744673 11 c sys/man/1/mc - 664 sys sys 1113743326 552
+1113744673 12 c sys/man/1/news - 664 sys sys 1113743329 1151
+1113744673 13 c sys/man/1/proof - 664 sys sys 1113743329 2300
+1113744673 14 c sys/man/1/ps - 664 sys sys 1113743329 1619
+1113744673 15 c sys/man/1/sort - 664 sys sys 1113743328 4719
+1113744673 16 c sys/man/1/spell - 664 sys sys 1113743329 1876
+1113744673 17 c sys/man/1/spin - 664 sys sys 1113743327 3620
+1113744673 18 c sys/man/1/tail - 664 sys sys 1113743327 1413
+1113744673 19 c sys/man/1/tar - 664 sys sys 1113743326 3396
+1113744673 20 c sys/man/1/units - 664 sys sys 1113743326 2046
+1113744673 21 c sys/man/1/acme - 664 sys sys 1113743325 18097
+1113744673 22 c sys/man/1/ascii - 664 sys sys 1113743329 2737
+1113744673 23 c sys/man/1/bc - 664 sys sys 1113743324 3758
+1113744673 24 c sys/man/1/faces - 664 sys sys 1113743326 2395
+1113744673 25 c sys/man/1/idiff - 664 sys sys 1113743324 914
+1113744673 26 c sys/man/1/jpg - 664 sys sys 1113743325 4842
+1113744673 27 c sys/man/1/lp - 664 sys sys 1113743326 3329
+1113744673 28 c sys/man/1/mk - 664 sys sys 1113743328 13198
+1113744673 29 c sys/man/1/passwd - 664 sys sys 1113743327 1382
+1113744673 30 c sys/man/1/rc - 664 sys sys 1113743326 19898
+1113744673 31 c sys/man/1/replica - 664 sys sys 1113743329 6677
+1113744673 32 c sys/man/1/sam - 664 sys sys 1113743327 18295
+1113744673 33 c sys/man/1/secstore - 664 sys sys 1113743328 3772
+1113744673 34 c sys/man/1/troff2html - 664 sys sys 1113743328 1924
+1113744673 35 c sys/man/1/wc - 664 sys sys 1113743327 908
+1113795082 0 c 386/bin/9660srv - 775 sys sys 1113794389 103976
+1113795082 1 c 386/bin/bitsy/keyboard - 775 sys sys 1113794391 305415
+1113795082 2 c 386/bin/bitsy/prompter - 775 sys sys 1113794391 285703
+1113795082 3 c 386/bin/cpp - 775 sys sys 1113794392 149779
+1113795082 4 c 386/bin/usb/usbmouse - 775 sys sys 1113794403 138127
+1113795082 5 c 386/bin/graph - 775 sys sys 1113794392 127329
+1113795082 6 c 386/bin/join - 775 sys sys 1113794393 114091
+1113795082 7 c 386/bin/plot - 775 sys sys 1113794394 221197
+1113795082 8 c 386/bin/rc - 775 sys sys 1113794394 143163
+1113795082 9 c 386/bin/scat - 775 sys sys 1113794395 283314
+1113795082 10 c 386/bin/aux/mapd - 775 sys sys 1113794389 190746
+1113795082 11 c 386/bin/aux/na - 775 sys sys 1113794390 154186
+1113795082 12 c 386/bin/gview - 775 sys sys 1113794393 237262
+1113795082 13 c 386/bin/tar - 775 sys sys 1113794395 96205
+1113795082 14 c 386/bin/telnet - 775 sys sys 1113794395 80364
+1113795082 15 c 386/bin/upas/aliasmail - 775 sys sys 1113794396 104790
+1113795082 16 c 386/bin/upas/deliver - 775 sys sys 1113794396 99819
+1113795082 17 c 386/bin/upas/filter - 775 sys sys 1113794396 147349
+1113795082 18 c 386/bin/upas/fs - 775 sys sys 1113794397 332294
+1113795082 19 c 386/bin/upas/marshal - 775 sys sys 1113794397 132633
+1113795082 20 c 386/bin/upas/ml - 775 sys sys 1113794398 123537
+1113795082 21 c 386/bin/upas/mlmgr - 775 sys sys 1113794398 104223
+1113795082 22 c 386/bin/upas/nedmail - 775 sys sys 1113794399 156296
+1113795082 23 c 386/bin/upas/pop3 - 775 sys sys 1113794399 259820
+1113795082 24 c 386/bin/upas/qer - 775 sys sys 1113794399 99878
+1113795082 25 c 386/bin/upas/runq - 775 sys sys 1113794400 113527
+1113795082 26 c 386/bin/upas/scanmail - 775 sys sys 1113794400 128787
+1113795082 27 c 386/bin/upas/send - 775 sys sys 1113794401 191574
+1113795082 28 c 386/bin/upas/smtp - 775 sys sys 1113794402 273602
+1113795082 29 c 386/bin/upas/smtpd - 775 sys sys 1113794402 328757
+1113795082 30 c 386/lib/libstdio.a - 664 sys sys 1113794404 126206

+ 6 - 1
sys/man/1/acme

@@ -480,7 +480,12 @@ producing output in a window labeled
 .BR /sys/src/cmd/sam/+Errors .
 .BR /sys/src/cmd/sam/+Errors .
 The environment of such commands contains the variable
 The environment of such commands contains the variable
 .B $%
 .B $%
-with value set to the filename of the window in which the command is run.
+with value set to the filename of the window in which the command is run,
+and
+.B $winid
+set to the window's id number
+(see
+.IR acme (4)).
 .SS "Mouse button 3
 .SS "Mouse button 3
 Pointing at text with button 3 instructs
 Pointing at text with button 3 instructs
 .I acme
 .I acme

+ 2 - 2
sys/man/1/ascii

@@ -146,7 +146,7 @@ Print a table of miscellaneous mathematical symbols.
 .B "look 039 /lib/unicode"
 .B "look 039 /lib/unicode"
 See the start of the Greek alphabet's encoding in the Unicode Standard.
 See the start of the Greek alphabet's encoding in the Unicode Standard.
 .SH FILES
 .SH FILES
-.TF /lib/unicode
+.TF \fL/lib/unicode
 .TP
 .TP
 .B /lib/unicode
 .B /lib/unicode
 table of characters and descriptions.
 table of characters and descriptions.
@@ -155,7 +155,7 @@ table of characters and descriptions.
 .br
 .br
 .B /sys/src/cmd/unicode.c
 .B /sys/src/cmd/unicode.c
 .SH "SEE ALSO"
 .SH "SEE ALSO"
-.IR look (1)
+.IR look (1),
 .IR tcs (1),
 .IR tcs (1),
 .IR utf (6),
 .IR utf (6),
 .IR font (6)
 .IR font (6)

+ 2 - 2
sys/man/1/bc

@@ -281,12 +281,12 @@ No
 or
 or
 .L !
 .L !
 operators.
 operators.
-.br
+.PP
 A
 A
 .L for
 .L for
 statement must have all three
 statement must have all three
 .LR E s.
 .LR E s.
-.br
+.PP
 A
 A
 .L quit
 .L quit
 is interpreted when read, not when executed.
 is interpreted when read, not when executed.

+ 1 - 1
sys/man/1/bundle

@@ -49,5 +49,5 @@ cd gift; rc horse; mk
 .SH BUGS
 .SH BUGS
 .I Bundle
 .I Bundle
 will not create directories and is unsatisfactory for non-text files.
 will not create directories and is unsatisfactory for non-text files.
-.br
+.PP
 Beware of gift horses.
 Beware of gift horses.

+ 1 - 1
sys/man/1/cal

@@ -39,7 +39,7 @@ Try
 .SH BUGS
 .SH BUGS
 The year is always considered to start in January even though this
 The year is always considered to start in January even though this
 is historically naive.
 is historically naive.
-.br
+.PP
 Beware that
 Beware that
 .L "cal 90"
 .L "cal 90"
 refers to the early Christian era,
 refers to the early Christian era,

+ 2 - 1
sys/man/1/cat

@@ -57,7 +57,8 @@ causes it to read no more than
 .I nline
 .I nline
 lines.
 lines.
 .PP
 .PP
-Read always executes a single
+.I Read
+always executes a single
 .B write
 .B write
 for each line of input, which can be helpful when
 for each line of input, which can be helpful when
 preparing input to programs that expect line-at-a-time data.
 preparing input to programs that expect line-at-a-time data.

+ 4 - 4
sys/man/1/dc

@@ -223,15 +223,15 @@ results are truncated to the following scales.
 \fLv\fR	max(\fIs,sa\fR)
 \fLv\fR	max(\fIs,sa\fR)
 .fi
 .fi
 .SH EXAMPLES
 .SH EXAMPLES
+.LP
+Print the first ten values of
+.IR n !
+.IP
 .EX
 .EX
 [la1+dsa*pla10>y]sy
 [la1+dsa*pla10>y]sy
 0sa1
 0sa1
 lyx
 lyx
 .EE
 .EE
-.ns
-.IP
-Print the first ten values of
-.IR n !
 .SH SOURCE
 .SH SOURCE
 .B /sys/src/cmd/dc.c
 .B /sys/src/cmd/dc.c
 .SH "SEE ALSO"
 .SH "SEE ALSO"

+ 1 - 1
sys/man/1/deroff

@@ -112,6 +112,6 @@ when the popular
 delimiters for
 delimiters for
 .I eqn
 .I eqn
 are in effect. 
 are in effect. 
-.br
+.PP
 Text inside macros is emitted at place of
 Text inside macros is emitted at place of
 definition, not place of call.
 definition, not place of call.

+ 10 - 3
sys/man/1/doctype

@@ -4,8 +4,13 @@ doctype \- intuit command line for formatting a document
 .SH SYNOPSIS
 .SH SYNOPSIS
 .B doctype
 .B doctype
 [
 [
-.I option ...
-] [
+.B -n
+]
+[
+.B -T
+.I dev
+]
+[
 .I file
 .I file
 ]
 ]
 \&...
 \&...
@@ -32,7 +37,9 @@ invokes
 .I nroff
 .I nroff
 instead of
 instead of
 .IR troff .
 .IR troff .
-Other options are passed to
+The
+.B -T
+option is passed to
 .IR troff .
 .IR troff .
 .SH EXAMPLES
 .SH EXAMPLES
 .TP
 .TP

+ 6 - 0
sys/man/1/faces

@@ -109,6 +109,12 @@ to display the icons of the named
 without sending a message.
 without sending a message.
 .SH FILES
 .SH FILES
 .BR /mail/fs/mbox   "   mail directory.
 .BR /mail/fs/mbox   "   mail directory.
+.SH SOURCE
+.B /sys/src/cmd/faces
+.br
+.B /rc/bin/seemail
+.br
+.B /rc/bin/vwhois
 .SH "SEE ALSO"
 .SH "SEE ALSO"
 .IR mail (1),
 .IR mail (1),
 .IR marshal (1),
 .IR marshal (1),

+ 8 - 7
sys/man/1/idiff

@@ -14,7 +14,8 @@ interactively
 merges 
 merges 
 .I file1
 .I file1
 and 
 and 
-.IR file2 .
+.I file2
+onto standard output.
 Wherever
 Wherever
 .I file1
 .I file1
 and
 and
@@ -23,7 +24,8 @@ differ,
 .I idiff
 .I idiff
 displays the differences in the style of
 displays the differences in the style of
 .RB `` diff
 .RB `` diff
-.RB -n ''
+.BR -n ''
+on standard error
 and prompts the user to select a chunk.
 and prompts the user to select a chunk.
 Valid responses are:
 Valid responses are:
 .TP
 .TP
@@ -54,9 +56,10 @@ The
 .B -b
 .B -b
 and
 and
 .B -w
 .B -w
-flags
-are simply
-passed through to
+flags,
+if passed,
+are
+passed to
 .IR diff .
 .IR diff .
 .SH FILES
 .SH FILES
 .B /tmp/idiff.*
 .B /tmp/idiff.*
@@ -68,5 +71,3 @@ passed through to
 Kernighan and Pike,
 Kernighan and Pike,
 .IR "The Unix Programming Environment" ,
 .IR "The Unix Programming Environment" ,
 Prentice-Hall, 1984.
 Prentice-Hall, 1984.
-.SH BUGS
-This is a poorly-written manual page.

+ 1 - 2
sys/man/1/join

@@ -143,6 +143,5 @@ with
 the sequence is that of
 the sequence is that of
 .BI "sort -t" x
 .BI "sort -t" x
 .BI -k y , y\f1.
 .BI -k y , y\f1.
-.br
+.PP
 One of the files must be randomly accessible.
 One of the files must be randomly accessible.
-

+ 20 - 7
sys/man/1/jpg

@@ -1,6 +1,6 @@
 .TH JPG 1
 .TH JPG 1
 .SH NAME
 .SH NAME
-jpg, gif, png, ppm, ico, togif, toppm, topng, toico \- view and convert pictures
+jpg, gif, png, ppm, bmp, yuv, ico, togif, toppm, topng, toico \- view and convert pictures
 .SH SYNOPSIS
 .SH SYNOPSIS
 .B jpg
 .B jpg
 [
 [
@@ -8,26 +8,37 @@ jpg, gif, png, ppm, ico, togif, toppm, topng, toico \- view and convert pictures
 ] [
 ] [
 .I file ...
 .I file ...
 ]
 ]
-.PP
+.br
 .B gif
 .B gif
 [
 [
 .B -39cdektv
 .B -39cdektv
 ] [
 ] [
 .I file ...
 .I file ...
 ]
 ]
-.PP
+.br
 .B png
 .B png
 [
 [
 .B -39cdektv
 .B -39cdektv
 ] [
 ] [
 .I file ...
 .I file ...
 ]
 ]
+.br
 .B ppm
 .B ppm
 [
 [
 .B -39cdektv
 .B -39cdektv
 ] [
 ] [
 .I file ...
 .I file ...
 ]
 ]
+.br
+.B bmp
+[
+.I file
+]
+.br
+.B yuv
+[
+.I file
+]
 .PP
 .PP
 .B togif
 .B togif
 [
 [
@@ -50,7 +61,7 @@ jpg, gif, png, ppm, ico, togif, toppm, topng, toico \- view and convert pictures
 ]
 ]
 .I file ...
 .I file ...
 ]
 ]
-.PP
+.br
 .B toppm
 .B toppm
 [
 [
 .B -c
 .B -c
@@ -58,7 +69,7 @@ jpg, gif, png, ppm, ico, togif, toppm, topng, toico \- view and convert pictures
 ] [
 ] [
 .I file
 .I file
 ]
 ]
-.PP
+.br
 .B topng
 .B topng
 [
 [
 .B -c
 .B -c
@@ -75,7 +86,7 @@ jpg, gif, png, ppm, ico, togif, toppm, topng, toico \- view and convert pictures
 [
 [
 .I file
 .I file
 ]
 ]
-.PP
+.br
 .B toico
 .B toico
 [
 [
 .I file ...
 .I file ...
@@ -85,8 +96,10 @@ These programs read, display, and write image files in public formats.
 .IR Jpg ,
 .IR Jpg ,
 .IR gif ,
 .IR gif ,
 .IR png ,
 .IR png ,
+.IR ppm ,
+.IR bmp ,
 and
 and
-.I ppm
+.IR yuv .
 read files in the corresponding formats and, by default, display
 read files in the corresponding formats and, by default, display
 them in the current window; options cause them instead to convert the images
 them in the current window; options cause them instead to convert the images
 to Plan 9 image format and write them to standard output.
 to Plan 9 image format and write them to standard output.

+ 1 - 1
sys/man/1/lex

@@ -77,5 +77,5 @@ Tenth Edition, Volume 2.
 .SH BUGS
 .SH BUGS
 Cannot handle
 Cannot handle
 .SM UTF.
 .SM UTF.
-.br
+.PP
 The asteroid to kill this dinosaur is still in orbit.
 The asteroid to kill this dinosaur is still in orbit.

+ 2 - 3
sys/man/1/look

@@ -77,10 +77,9 @@ is assumed, with collating sequence
 .IR grep (1)
 .IR grep (1)
 .SH DIAGNOSTICS
 .SH DIAGNOSTICS
 The exit status is
 The exit status is
-.B \&"not found"
+.RB `` "not found" ''
 if no match is found, and
 if no match is found, and
-.B \&"no dictionary"
+.RB `` "no dictionary" ''
 if
 if
 .I file
 .I file
 or the default dictionary cannot be opened.
 or the default dictionary cannot be opened.
-

+ 2 - 0
sys/man/1/lp

@@ -175,6 +175,8 @@ Print a file in a small font at 100 lines per page.
 .L
 .L
 lp -dstdout /dev/windows/3/window > doc.ps
 lp -dstdout /dev/windows/3/window > doc.ps
 Convert an image to a postscript file.
 Convert an image to a postscript file.
+.SH SOURCE
+.B /rc/bin/lp
 .SH SEE ALSO
 .SH SEE ALSO
 .IR lp (8)
 .IR lp (8)
 .br
 .br

+ 4 - 5
sys/man/1/ls

@@ -111,14 +111,13 @@ interpreted
 as follows:
 as follows:
 the first character is
 the first character is
 .TP
 .TP
-.B  d
+.B d
 if the entry is a directory;
 if the entry is a directory;
-.PD 0
 .TP
 .TP
-.B  a
+.B a
 if the entry is an append-only file;
 if the entry is an append-only file;
 .TP
 .TP
-.B  -
+.B -
 if the entry is a plain file.
 if the entry is a plain file.
 .PD
 .PD
 .PP
 .PP
@@ -157,5 +156,5 @@ if none of the above permissions is granted.
 .br
 .br
 .B /rc/bin/lc
 .B /rc/bin/lc
 .SH SEE ALSO
 .SH SEE ALSO
-.IR stat (2)
+.IR stat (2),
 .IR mc (1)
 .IR mc (1)

+ 15 - 12
sys/man/1/man

@@ -4,7 +4,7 @@ man, lookman, sig \- print or find pages of this manual
 .SH SYNOPSIS
 .SH SYNOPSIS
 .B man
 .B man
 [
 [
-.I option ...
+.B -ntpP
 ]
 ]
 [
 [
 .I section ...
 .I section ...
@@ -40,6 +40,11 @@ section at the top of the page will serve as a
 .PP
 .PP
 The options are:
 The options are:
 .TP
 .TP
+.B -n
+(Default)
+Print the pages on the standard output using
+.IR nroff .
+.TP
 .B -p
 .B -p
 Run
 Run
 .IR proof (1)
 .IR proof (1)
@@ -52,14 +57,10 @@ on the specified man pages.
 .TP
 .TP
 .B -t
 .B -t
 Run
 Run
-.I troff
+.IR troff (1)
 and send its output
 and send its output
 to standard output.
 to standard output.
-.TP
-.B -n
-(Default)
-Print the pages on the standard output using
-.IR nroff .
+.PD
 .PP
 .PP
 .B Lookman
 .B Lookman
 prints the names of all manual sections that contain
 prints the names of all manual sections that contain
@@ -69,10 +70,9 @@ words given on the command line.
 .PP
 .PP
 .B Sig
 .B Sig
 prints the signature (i.e. C definition) of the
 prints the signature (i.e. C definition) of the
-.IR functions
+.IR function 's
 given on the command line.
 given on the command line.
 .SH FILES
 .SH FILES
-.TF /sys/lib/man/lookman/index
 .TP
 .TP
 .B /sys/man/?/*
 .B /sys/man/?/*
 .I troff
 .I troff
@@ -93,13 +93,16 @@ index for
 .br
 .br
 .B /rc/bin/lookman
 .B /rc/bin/lookman
 .SH "SEE ALSO"
 .SH "SEE ALSO"
+.IR page (1),
 .IR proof (1)
 .IR proof (1)
 .SH BUGS
 .SH BUGS
 The manual was intended to be typeset; some detail is sacrificed on text terminals.
 The manual was intended to be typeset; some detail is sacrificed on text terminals.
-.br
+.PP
 There is no automatic mechanism to keep the indices up to date.
 There is no automatic mechanism to keep the indices up to date.
-.br
-Except for special cases, it doesn't recognize things that should be run through
+.PP
+Except for special cases,
+.I man
+doesn't recognize things that should be run through
 .I tbl
 .I tbl
 and/or
 and/or
 .IR eqn .
 .IR eqn .

+ 4 - 0
sys/man/1/mc

@@ -19,6 +19,8 @@ splits the input into as many columns as will fit in
 print positions.
 print positions.
 If run in a
 If run in a
 .IR rio (1)
 .IR rio (1)
+or
+.IR acme (1)
 window, the default
 window, the default
 .I N
 .I N
 is the number of blanks that will fit across the window;
 is the number of blanks that will fit across the window;
@@ -34,6 +36,8 @@ is printed separately.
 .B /sys/src/cmd/mc.c
 .B /sys/src/cmd/mc.c
 .SH "SEE ALSO"
 .SH "SEE ALSO"
 .IR rio (1),
 .IR rio (1),
+.IR acme (1),
+.IR acme (4),
 .IR pr (1),
 .IR pr (1),
 .I lc
 .I lc
 in
 in

+ 7 - 6
sys/man/1/mk

@@ -303,6 +303,7 @@ and any command line assignment as an argument to
 .IR mk .
 .IR mk .
 A variable assignment argument overrides the first (but not any subsequent)
 A variable assignment argument overrides the first (but not any subsequent)
 assignment to that variable.
 assignment to that variable.
+.PP
 The variable
 The variable
 .B MKFLAGS
 .B MKFLAGS
 contains all the option arguments (arguments starting with
 contains all the option arguments (arguments starting with
@@ -628,21 +629,21 @@ x.tab.h:Pcmp -s:	y.tab.h
 .SH SEE ALSO
 .SH SEE ALSO
 .IR rc (1),
 .IR rc (1),
 .IR regexp (6)
 .IR regexp (6)
-.br
+.PP
 A. Hume,
 A. Hume,
 ``Mk: a Successor to Make''.
 ``Mk: a Successor to Make''.
-.br
-Bob Flandrena,
-``Plan 9 Mkfiles''.
+.PP
+Andrew G. Hume and Bob Flandrena,
+``Maintaining Files on Plan 9 with Mk''.
 .SH BUGS
 .SH BUGS
 Identical recipes for regular expression meta-rules only have one target.
 Identical recipes for regular expression meta-rules only have one target.
-.br
+.PP
 Seemingly appropriate input like
 Seemingly appropriate input like
 .B CFLAGS=-DHZ=60
 .B CFLAGS=-DHZ=60
 is parsed as an erroneous attribute; correct it by inserting
 is parsed as an erroneous attribute; correct it by inserting
 a space after the first 
 a space after the first 
 .LR = .
 .LR = .
-.br
+.PP
 The recipes printed by
 The recipes printed by
 .I mk
 .I mk
 before being passed to
 before being passed to

+ 1 - 1
sys/man/1/news

@@ -49,7 +49,7 @@ or
 .B dead.letter
 .B dead.letter
 are ignored.
 are ignored.
 .SH FILES
 .SH FILES
-.TF /sys/lib/subscribers
+.TF \fL/sys/lib/subscribers
 .TP
 .TP
 .B /lib/news/*
 .B /lib/news/*
 articles
 articles

+ 1 - 1
sys/man/1/passwd

@@ -29,7 +29,7 @@ New passwords must be sufficiently hard to guess.
 They may be of any length greater than seven characters.
 They may be of any length greater than seven characters.
 .PP
 .PP
 .I Netkey
 .I Netkey
-uses the password to encrypt network challenges.
+prompts for a password to encrypt network challenges.
 It is a substitute for a SecureNet box.
 It is a substitute for a SecureNet box.
 .PP
 .PP
 These commands may be run only on a terminal, to avoid
 These commands may be run only on a terminal, to avoid

+ 1 - 1
sys/man/1/proof

@@ -115,7 +115,7 @@ and
 .B d
 .B d
 commands are also available as command line options.
 commands are also available as command line options.
 .SH FILES
 .SH FILES
-.TF /lib/font/bit/MAP
+.TF \fL/lib/font/bit/MAP
 .TP
 .TP
 .B /lib/font/bit/*
 .B /lib/font/bit/*
 fonts
 fonts

+ 0 - 2
sys/man/1/ps

@@ -94,8 +94,6 @@ flag causes
 .I ps
 .I ps
 to print the arguments for the process.  Newlines in arguments will be translated to spaces for display.
 to print the arguments for the process.  Newlines in arguments will be translated to spaces for display.
 .SH FILES
 .SH FILES
-.TF /proc/*/status
-.TP
 .B /proc/*/status
 .B /proc/*/status
 .SH SOURCE
 .SH SOURCE
 .B /sys/src/cmd/ps.c
 .B /sys/src/cmd/ps.c

+ 3 - 3
sys/man/1/rc

@@ -962,14 +962,14 @@ Tom Duff,
 .SH BUGS
 .SH BUGS
 There should be a way to match patterns against whole lists rather than
 There should be a way to match patterns against whole lists rather than
 just single strings.
 just single strings.
-.br
+.PP
 Using
 Using
 .B ~
 .B ~
 to check the value of
 to check the value of
 .B $status
 .B $status
 changes
 changes
 .BR $status .
 .BR $status .
-.br
+.PP
 Functions that use here documents don't work.
 Functions that use here documents don't work.
-.br
+.PP
 Free carets don't get inserted next to keywords.
 Free carets don't get inserted next to keywords.

+ 2 - 0
sys/man/1/replica

@@ -298,5 +298,7 @@ since installation, run
 since 
 since 
 .I changes
 .I changes
 is a local-only operation, the network need not be configured.)
 is a local-only operation, the network need not be configured.)
+.SH SOURCE
+.B /rc/bin/replica
 .SH SEE ALSO
 .SH SEE ALSO
 .IR replica (8)
 .IR replica (8)

+ 9 - 9
sys/man/1/sam

@@ -44,7 +44,7 @@ The options are
 Autoindent.  In this mode, when a newline character is typed
 Autoindent.  In this mode, when a newline character is typed
 in the terminal interface,
 in the terminal interface,
 .I samterm
 .I samterm
-copies leading white space from the current line to the new line.
+copies leading white space on the current line to the new line.
 .TP
 .TP
 .B -d
 .B -d
 Do not `download' the terminal part of
 Do not `download' the terminal part of
@@ -101,7 +101,7 @@ starting at the beginning of the file, of the regular expression
 All files always have a current substring, called dot,
 All files always have a current substring, called dot,
 that is the default address.
 that is the default address.
 .SS Simple Addresses
 .SS Simple Addresses
-.PD0
+.PD 0
 .TP
 .TP
 .BI # n
 .BI # n
 The empty string after character
 The empty string after character
@@ -116,7 +116,7 @@ Line
 is the beginning of the file.
 is the beginning of the file.
 .TP
 .TP
 .BI  / regexp /
 .BI  / regexp /
-.PD0
+.PD 0
 .TP
 .TP
 .BI ? regexp ?
 .BI ? regexp ?
 The substring that matches the regular expression,
 The substring that matches the regular expression,
@@ -154,7 +154,7 @@ The mark in the file (see the
 .B k
 .B k
 command below).
 command below).
 .TP
 .TP
-\fL"\f2regexp\fL"\f1\f1
+\fB"\f2regexp\fB"\f1\f1
 Preceding a simple address (default
 Preceding a simple address (default
 .BR . ),
 .BR . ),
 refers to the address evaluated in the unique file whose menu line
 refers to the address evaluated in the unique file whose menu line
@@ -249,7 +249,7 @@ is reversed.
 It is an error for a compound address to represent a malformed substring.
 It is an error for a compound address to represent a malformed substring.
 Some useful idioms: 
 Some useful idioms: 
 .IB a1 +-
 .IB a1 +-
-\%(\f2a1\fL-+\f1)
+\%(\f2a1\fB-+\f1)
 selects the line containing
 selects the line containing
 the end (beginning) of a1.
 the end (beginning) of a1.
 .BI 0/ regexp /
 .BI 0/ regexp /
@@ -307,7 +307,7 @@ commands).
 .br
 .br
 .ne 1.2i
 .ne 1.2i
 .SS Text commands
 .SS Text commands
-.PD0
+.PD 0
 .TP
 .TP
 .BI a/ text /
 .BI a/ text /
 .TP
 .TP
@@ -403,7 +403,7 @@ Print the line address and character address of the range.
 Print just the character address of the range.
 Print just the character address of the range.
 .PD
 .PD
 .SS File commands
 .SS File commands
-.PD0
+.PD 0
 .TP
 .TP
 .BI \*ab " file-list
 .BI \*ab " file-list
 Set the current file to the first file named in the list
 Set the current file to the first file named in the list
@@ -453,7 +453,7 @@ a modified file, but a subsequent
 will delete such a file.
 will delete such a file.
 .PD
 .PD
 .SS I/O Commands
 .SS I/O Commands
-.PD0
+.PD 0
 .TP
 .TP
 .BI \*ae " filename
 .BI \*ae " filename
 Replace the file by the contents of the named external file.
 Replace the file by the contents of the named external file.
@@ -535,7 +535,7 @@ for all) is placed in
 .B /tmp/sam.err
 .B /tmp/sam.err
 and the first few lines are printed.
 and the first few lines are printed.
 .SS Loops and Conditionals
 .SS Loops and Conditionals
-.PD0
+.PD 0
 .TP
 .TP
 .BI x/ regexp / " command
 .BI x/ regexp / " command
 For each match of the regular expression in the range, run the command
 For each match of the regular expression in the range, run the command

+ 8 - 7
sys/man/1/secstore

@@ -1,6 +1,6 @@
 .TH SECSTORE 1
 .TH SECSTORE 1
 .SH NAME
 .SH NAME
-aescbc, secstore, ipso \- secstore commands
+aescbc, ipso, secstore \- secstore commands
 .SH SYNOPSIS
 .SH SYNOPSIS
 .B auth/secstore
 .B auth/secstore
 [
 [
@@ -50,7 +50,6 @@ aescbc, secstore, ipso \- secstore commands
 .I file
 .I file
 \&...
 \&...
 ]
 ]
-.PP
 .SH DESCRIPTION
 .SH DESCRIPTION
 .PP
 .PP
 .I Secstore
 .I Secstore
@@ -103,7 +102,7 @@ instead of from
 .BR /dev/cons .
 .BR /dev/cons .
 .PP
 .PP
 The server is
 The server is
-.BR tcp!$auth!5356 ,
+.BR tcp!$auth!secstore  ,
 or the server specified by option
 or the server specified by option
 .BR -s .
 .BR -s .
 .PP
 .PP
@@ -157,16 +156,16 @@ By default, ipso will edit the
 files and, if
 files and, if
 one of them is named
 one of them is named
 .BR factotum ,
 .BR factotum ,
-flush your current keys from factotum and load
+flush current keys from factotum and load
 the new ones from the file.
 the new ones from the file.
-If you supply any of the
+If the
 .BR -e ,
 .BR -e ,
 .BR -f ,
 .BR -f ,
 or
 or
 .BR -l
 .BR -l
-options,
+options are given,
 .I ipso
 .I ipso
-will just perform the operations you requested, i.e.,
+will just perform only the requested operations, i.e.,
 edit, flush, and/or load.
 edit, flush, and/or load.
 .PP
 .PP
 The
 The
@@ -197,6 +196,8 @@ newly created files are ignored.
 encrypts and decrypts using AES (Rijndael) in cipher
 encrypts and decrypts using AES (Rijndael) in cipher
 block chaining (CBC) mode.
 block chaining (CBC) mode.
 .SH SOURCE
 .SH SOURCE
+.B /rc/bin/ipso
+.br
 .B /sys/src/cmd/auth/secstore
 .B /sys/src/cmd/auth/secstore
 .SH SEE ALSO
 .SH SEE ALSO
 .IR factotum (4),
 .IR factotum (4),

+ 2 - 0
sys/man/1/sort

@@ -19,6 +19,8 @@ sort \- sort and/or merge files
 .I ,pos2
 .I ,pos2
 ]
 ]
 ] ...
 ] ...
+.br
+\h'0.5in
 [
 [
 .B -o
 .B -o
 .I output
 .I output

+ 2 - 2
sys/man/1/spell

@@ -60,7 +60,7 @@ Agglutinated variants are shunned: `crewmember' and `backyard'
 cede to `crew member' and  `back yard' (noun) or `back-yard' 
 cede to `crew member' and  `back yard' (noun) or `back-yard' 
 (adjective).
 (adjective).
 .SH FILES
 .SH FILES
-.TF /sys/lib/brspell
+.TF \fL/sys/lib/brspell
 .TP
 .TP
 .B /sys/lib/amspell
 .B /sys/lib/amspell
 American spelling list
 American spelling list
@@ -88,7 +88,7 @@ source for
 The heuristics of
 The heuristics of
 .IR deroff (1)
 .IR deroff (1)
 used to excise formatting information are imperfect.
 used to excise formatting information are imperfect.
-.br
+.PP
 The spelling list's coverage is uneven;
 The spelling list's coverage is uneven;
 in particular biology, medicine, and chemistry, and
 in particular biology, medicine, and chemistry, and
 perforce proper names,
 perforce proper names,

+ 2 - 0
sys/man/1/spin

@@ -138,6 +138,8 @@ different views of the error sequence are then be obtained.
 .TP
 .TP
 .B V
 .B V
 Print the version number and exit.
 Print the version number and exit.
+.SH SOURCE
+.B /sys/src/cmd/spin
 .SH SEE ALSO
 .SH SEE ALSO
 G.J. Holzmann,
 G.J. Holzmann,
 .I
 .I

+ 2 - 2
sys/man/1/tail

@@ -77,11 +77,11 @@ Print the first 10 lines of a file.
 Tails relative to the end of the file
 Tails relative to the end of the file
 are treasured up in a buffer, and thus
 are treasured up in a buffer, and thus
 are limited in length.
 are limited in length.
-.br
+.PP
 According to custom, option
 According to custom, option
 .BI + number
 .BI + number
 counts lines from 1, and counts
 counts lines from 1, and counts
 blocks and bytes from 0.
 blocks and bytes from 0.
-.br
+.PP
 .I Tail
 .I Tail
 is ignorant of UTF.
 is ignorant of UTF.

+ 2 - 2
sys/man/1/tar

@@ -158,10 +158,10 @@ can be used to copy hierarchies thus:
 .SH BUGS
 .SH BUGS
 There is no way to ask for any but the last
 There is no way to ask for any but the last
 occurrence of a file.
 occurrence of a file.
-.br
+.PP
 File path names are limited to
 File path names are limited to
 100 characters
 100 characters
 (256 when using ustar format).
 (256 when using ustar format).
-.br
+.PP
 The tar format allows specification of links and symbolic links,
 The tar format allows specification of links and symbolic links,
 concepts foreign to Plan 9: they are ignored.
 concepts foreign to Plan 9: they are ignored.

+ 3 - 1
sys/man/1/troff2html

@@ -57,7 +57,7 @@ x X html manref start cp 1
 x X html manref end cp 1
 x X html manref end cp 1
 .EE
 .EE
 .PP
 .PP
-which are used to create HTML anchors of the form
+which are used to create HTML hyperlinks around text of the form
 .IR cp (1)
 .IR cp (1)
 pointing to
 pointing to
 .BR /magic/man2html/1/cp .
 .BR /magic/man2html/1/cp .
@@ -82,6 +82,8 @@ constructions.
 .I Troff2html
 .I Troff2html
 has the reverse properties: it does not handle the preprocessors but its output
 has the reverse properties: it does not handle the preprocessors but its output
 is reliable and (modulo helper annotations) is independent of macro package.
 is reliable and (modulo helper annotations) is independent of macro package.
+.SH SOURCE
+.B /sys/src/cmd/troff2html
 .SH SEE ALSO
 .SH SEE ALSO
 .IR troff (1),
 .IR troff (1),
 .IR ms2html (1),
 .IR ms2html (1),

+ 2 - 3
sys/man/1/units

@@ -102,7 +102,6 @@ Since
 does only multiplicative scale changes,
 does only multiplicative scale changes,
 it can convert Kelvin to Rankine but not Centigrade to
 it can convert Kelvin to Rankine but not Centigrade to
 Fahrenheit.
 Fahrenheit.
-.br
+.PP
 Currency conversions are only as accurate as the last time someone
 Currency conversions are only as accurate as the last time someone
-updated
-.BR /lib/units .
+updated the database.

+ 1 - 1
sys/man/1/wc

@@ -43,7 +43,7 @@ but
 looks for only
 looks for only
 .SM ASCII
 .SM ASCII
 space, tab and newline.
 space, tab and newline.
-.br
+.PP
 .I Wc
 .I Wc
 should have options to count suboptimal
 should have options to count suboptimal
 .SM UTF
 .SM UTF

+ 1 - 3
sys/man/2/memdraw

@@ -38,8 +38,6 @@ hwdraw \- drawing routines for memory-resident images
 .SH SYNOPSIS
 .SH SYNOPSIS
 .nf
 .nf
 .B #include <u.h>
 .B #include <u.h>
-.nf
-.B #include <u.h>
 .B #include <libc.h>
 .B #include <libc.h>
 .B #include <draw.h>
 .B #include <draw.h>
 .B #include <memdraw.h>
 .B #include <memdraw.h>
@@ -154,7 +152,7 @@ void	freememsubfont(Memsubfont *f)
 Point	memsubfontwidth(Memsubfont *f, char *s)
 Point	memsubfontwidth(Memsubfont *f, char *s)
 Memsubfont*	getmemdefont(void)
 Memsubfont*	getmemdefont(void)
 Point	memimagestring(Memimage *dst, Point p, Memimage *color,
 Point	memimagestring(Memimage *dst, Point p, Memimage *color,
-	    Point cp, Memsubfont *f, char *cs, Drawop op)
+	    Point cp, Memsubfont *f, char *cs)
 .PP
 .PP
 .ft L
 .ft L
 .nf
 .nf

+ 1 - 1
sys/src/cmd/9660srv/xfile.c

@@ -37,7 +37,7 @@ getxdata(char *name)
 	}
 	}
 	if((dir = dirfstat(fd)) == nil)
 	if((dir = dirfstat(fd)) == nil)
 		error("I/O error");
 		error("I/O error");
-	if(dir->qid.type != QTFILE)
+	if((dir->qid.type & ~QTTMP) != QTFILE)
 		error("attach name not a plain file");
 		error("attach name not a plain file");
 	for(fxf=0,xf=xhead; xf; xf=xf->next){
 	for(fxf=0,xf=xhead; xf; xf=xf->next){
 		if(xf->name == 0){
 		if(xf->name == 0){

+ 5 - 6
sys/src/cmd/ip/telnet.c

@@ -504,14 +504,13 @@ xlocsub(Biobuf *bp, uchar *sub, int n)
 static int
 static int
 islikeatty(int fd)
 islikeatty(int fd)
 {
 {
-	Dir *d;
-	int iscons;
+	char buf[64];
 
 
-	if((d = dirfstat(fd)) == nil)
+	if(fd2path(fd, buf, sizeof buf) != 0)
 		return 0;
 		return 0;
-	iscons = (strcmp(d->name, "cons") == 0);
-	free(d);
-	return iscons;
+
+	/* might be /mnt/term/dev/cons */
+	return strlen(buf) >= 9 && strcmp(buf+strlen(buf)-9, "/dev/cons") == 0;
 }
 }
 
 
 /*
 /*

+ 5 - 17
sys/src/cmd/rc/plan9.c

@@ -561,25 +561,13 @@ Noerror(void)
 int
 int
 Isatty(int fd)
 Isatty(int fd)
 {
 {
-	Dir *d1, *d2;
-	int ret;
+	char buf[64];
 
 
-	d1 = dirfstat(fd);
-	if(d1 == nil)
-		return 0;
-	if(strncmp(d1->name, "ptty", 4)==0){	/* fwd complaints to philw */
-		free(d1);
-		return 1;
-	}
-	d2 = dirstat("/dev/cons");
-	if(d2 == nil){
-		free(d1);
+	if(fd2path(fd, buf, sizeof buf) != 0)
 		return 0;
 		return 0;
-	}
-	ret = (d1->type==d2->type&&d1->dev==d2->dev&&d1->qid.path==d2->qid.path);
-	free(d1);
-	free(d2);
-	return ret;
+
+	/* might be /mnt/term/dev/cons */
+	return strlen(buf) >= 9 && strcmp(buf+strlen(buf)-9, "/dev/cons") == 0;
 }
 }
 
 
 void
 void

+ 1 - 1
sys/src/cmd/scuzz/scsireq.h

@@ -3,7 +3,7 @@ enum {					/* fundamental constants/defaults */
 	CtlrID		= 7,		/* default controller target ID */
 	CtlrID		= 7,		/* default controller target ID */
 	MaxDirData	= 255,		/* max. direct data returned */
 	MaxDirData	= 255,		/* max. direct data returned */
 //	MaxIOsize	= /*32*512*/ 96*1024,	/* max. I/O size */
 //	MaxIOsize	= /*32*512*/ 96*1024,	/* max. I/O size */
-	MaxIOsize	= 32*1024,	/* max. I/O size */
+	MaxIOsize	= 126*512,	/* max. I/O size (e.g. exabyte @ tar 126) */
 	LBsize		= 512,		/* default logical-block size */
 	LBsize		= 512,		/* default logical-block size */
 };
 };
 
 

+ 43 - 26
sys/src/cmd/tar.c

@@ -33,12 +33,13 @@
 #define BYTES2TBLKS(bytes) ROUNDUP(bytes, Tblock)
 #define BYTES2TBLKS(bytes) ROUNDUP(bytes, Tblock)
 
 
 typedef vlong Off;
 typedef vlong Off;
-typedef char *(*Refill)(int ar, char *bufs);
+typedef char *(*Refill)(int ar, char *bufs, int justhdr);
 
 
 enum { Stdin, Stdout, Stderr };
 enum { Stdin, Stdout, Stderr };
 enum { Rd, Wr };			/* pipe fd-array indices */
 enum { Rd, Wr };			/* pipe fd-array indices */
 enum { Output, Input };
 enum { Output, Input };
 enum { None, Toc, Xtract, Replace };
 enum { None, Toc, Xtract, Replace };
+enum { Alldata, Justnxthdr };
 enum {
 enum {
 	Tblock = 512,
 	Tblock = 512,
 	Nblock = 40,		/* maximum blocksize */
 	Nblock = 40,		/* maximum blocksize */
@@ -126,6 +127,7 @@ static int settime;
 static int verbose;
 static int verbose;
 static int docompress;
 static int docompress;
 static int keepexisting;
 static int keepexisting;
+static Off nexthdr;
 
 
 static int nblock = Dblock;
 static int nblock = Dblock;
 static char *usefile;
 static char *usefile;
@@ -229,20 +231,24 @@ initblks(void)
 	endblk = tpblk + nblock;
 	endblk = tpblk + nblock;
 }
 }
 
 
-/* (re)fill block buffers from archive */
+/*
+ * (re)fill block buffers from archive.  `justhdr' means we don't care
+ * about the data before the next header block.
+ */
 static char *
 static char *
-refill(int ar, char *bufs)
+refill(int ar, char *bufs, int justhdr)
 {
 {
 	int i, n;
 	int i, n;
 	unsigned bytes = Tblock * nblock;
 	unsigned bytes = Tblock * nblock;
-	static int done, first = 1;
+	static int done, first = 1, seekable;
 
 
 	if (done)
 	if (done)
 		return nil;
 		return nil;
 
 
+	if (first)
+		seekable = seek(ar, 0, 1) >= 0;
 	/* try to size non-pipe input at first read */
 	/* try to size non-pipe input at first read */
 	if (first && usefile) {
 	if (first && usefile) {
-		first = 0;
 		n = read(ar, bufs, bytes);
 		n = read(ar, bufs, bytes);
 		if (n <= 0)
 		if (n <= 0)
 			sysfatal("error reading archive: %r");
 			sysfatal("error reading archive: %r");
@@ -259,8 +265,15 @@ refill(int ar, char *bufs)
 			endblk = (Hdr *)bufs + nblock;
 			endblk = (Hdr *)bufs + nblock;
 			bytes = n;
 			bytes = n;
 		}
 		}
+	} else if (justhdr && seekable && nexthdr - seek(ar, 0, 1) >= bytes) {
+		/* optimisation for huge archive members on seekable media */
+		if (seek(ar, bytes, 1) < 0)
+			sysfatal("can't seek on archive: %r");
+		n = bytes;
 	} else
 	} else
 		n = readn(ar, bufs, bytes);
 		n = readn(ar, bufs, bytes);
+	first = 0;
+
 	if (n == 0)
 	if (n == 0)
 		sysfatal("unexpected EOF reading archive");
 		sysfatal("unexpected EOF reading archive");
 	else if (n < 0)
 	else if (n < 0)
@@ -275,10 +288,10 @@ refill(int ar, char *bufs)
 }
 }
 
 
 static Hdr *
 static Hdr *
-getblk(int ar, Refill rfp)
+getblk(int ar, Refill rfp, int justhdr)
 {
 {
 	if (curblk == nil || curblk >= endblk) {  /* input block exhausted? */
 	if (curblk == nil || curblk >= endblk) {  /* input block exhausted? */
-		if (rfp != nil && (*rfp)(ar, (char *)tpblk) == nil)
+		if (rfp != nil && (*rfp)(ar, (char *)tpblk, justhdr) == nil)
 			return nil;
 			return nil;
 		curblk = tpblk;
 		curblk = tpblk;
 	}
 	}
@@ -286,15 +299,15 @@ getblk(int ar, Refill rfp)
 }
 }
 
 
 static Hdr *
 static Hdr *
-getblkrd(int ar)
+getblkrd(int ar, int justhdr)
 {
 {
-	return getblk(ar, refill);
+	return getblk(ar, refill, justhdr);
 }
 }
 
 
 static Hdr *
 static Hdr *
 getblke(int ar)
 getblke(int ar)
 {
 {
-	return getblk(ar, nil);
+	return getblk(ar, nil, Alldata);
 }
 }
 
 
 static Hdr *
 static Hdr *
@@ -438,13 +451,23 @@ eotar(Hdr *hp)
 	return name(hp)[0] == '\0';
 	return name(hp)[0] == '\0';
 }
 }
 
 
+Off
+hdrsize(Hdr *hp)
+{
+	Off bytes = strtoull(hp->size, nil, 8);
+
+	if(isdir(hp))
+		bytes = 0;
+	return bytes;
+}
+
 static Hdr *
 static Hdr *
 readhdr(int ar)
 readhdr(int ar)
 {
 {
 	long hdrcksum;
 	long hdrcksum;
 	Hdr *hp;
 	Hdr *hp;
 
 
-	hp = getblkrd(ar);
+	hp = getblkrd(ar, Alldata);
 	if (hp == nil)
 	if (hp == nil)
 		sysfatal("unexpected EOF instead of archive header");
 		sysfatal("unexpected EOF instead of archive header");
 	if (eotar(hp))			/* end-of-archive block? */
 	if (eotar(hp))			/* end-of-archive block? */
@@ -453,6 +476,7 @@ readhdr(int ar)
 	if (chksum(hp) != hdrcksum)
 	if (chksum(hp) != hdrcksum)
 		sysfatal("bad archive header checksum: name %.64s...",
 		sysfatal("bad archive header checksum: name %.64s...",
 			hp->name);
 			hp->name);
+	nexthdr += Tblock*(1 + BYTES2TBLKS(hdrsize(hp)));
 	return hp;
 	return hp;
 }
 }
 
 
@@ -669,11 +693,9 @@ replace(char **argv)
 	if (usefile && !docreate) {
 	if (usefile && !docreate) {
 		/* skip quickly to the end */
 		/* skip quickly to the end */
 		while ((hp = readhdr(ar)) != nil) {
 		while ((hp = readhdr(ar)) != nil) {
-			bytes = strtoull(hp->size, nil, 8);
-			if(isdir(hp))
-				bytes = 0;
+			bytes = hdrsize(hp);
 			for (blksleft = BYTES2TBLKS(bytes);
 			for (blksleft = BYTES2TBLKS(bytes);
-			     blksleft > 0 && getblkrd(ar) != nil;
+			     blksleft > 0 && getblkrd(ar, Justnxthdr) != nil;
 			     blksleft -= blksread) {
 			     blksleft -= blksread) {
 				blksread = gothowmany(blksleft);
 				blksread = gothowmany(blksleft);
 				putreadblks(ar, blksread);
 				putreadblks(ar, blksread);
@@ -774,13 +796,12 @@ extract1(int ar, Hdr *hp, char *fname)
 	int wrbytes, fd = -1, dir = 0;
 	int wrbytes, fd = -1, dir = 0;
 	long mtime = strtol(hp->mtime, nil, 8);
 	long mtime = strtol(hp->mtime, nil, 8);
 	ulong mode = strtoul(hp->mode, nil, 8) & 0777;
 	ulong mode = strtoul(hp->mode, nil, 8) & 0777;
-	Off bytes = strtoll(hp->size, nil, 8);
-	ulong blksread, blksleft = BYTES2TBLKS(bytes);
+	Off bytes  = strtoll(hp->size, nil, 8);		/* for printing */
+	ulong blksread, blksleft = BYTES2TBLKS(hdrsize(hp));
 	Hdr *hbp;
 	Hdr *hbp;
 
 
 	if (isdir(hp)) {
 	if (isdir(hp)) {
 		mode |= DMDIR|0700;
 		mode |= DMDIR|0700;
-		blksleft = 0;
 		dir = 1;
 		dir = 1;
 	}
 	}
 	switch (hp->linkflag) {
 	switch (hp->linkflag) {
@@ -838,7 +859,7 @@ extract1(int ar, Hdr *hp, char *fname)
 		print("%s\n", fname);
 		print("%s\n", fname);
 
 
 	for (; blksleft > 0; blksleft -= blksread) {
 	for (; blksleft > 0; blksleft -= blksread) {
-		hbp = getblkrd(ar);
+		hbp = getblkrd(ar, (fd >= 0? Alldata: Justnxthdr));
 		if (hbp == nil)
 		if (hbp == nil)
 			sysfatal("unexpected EOF on archive extracting %s",
 			sysfatal("unexpected EOF on archive extracting %s",
 				fname);
 				fname);
@@ -872,16 +893,12 @@ extract1(int ar, Hdr *hp, char *fname)
 static void
 static void
 skip(int ar, Hdr *hp, char *fname)
 skip(int ar, Hdr *hp, char *fname)
 {
 {
-	Off bytes;
 	ulong blksleft, blksread;
 	ulong blksleft, blksread;
 	Hdr *hbp;
 	Hdr *hbp;
 
 
-	if (isdir(hp))
-		return;
-	bytes = strtoull(hp->size, nil, 8);
-	blksleft = BYTES2TBLKS(bytes);
-	for (; blksleft > 0; blksleft -= blksread) {
-		hbp = getblkrd(ar);
+	for (blksleft = BYTES2TBLKS(hdrsize(hp)); blksleft > 0;
+	     blksleft -= blksread) {
+		hbp = getblkrd(ar, Justnxthdr);
 		if (hbp == nil)
 		if (hbp == nil)
 			sysfatal("unexpected EOF on archive extracting %s",
 			sysfatal("unexpected EOF on archive extracting %s",
 				fname);
 				fname);

+ 5 - 7
sys/src/cmd/upas/common/libsys.c

@@ -706,15 +706,13 @@ exit(int i)
 static int
 static int
 islikeatty(int fd)
 islikeatty(int fd)
 {
 {
-	Dir *d;
-	int rv;
+	char buf[64];
 
 
-	d = dirfstat(fd);
-	if(d == nil)
+	if(fd2path(fd, buf, sizeof buf) != 0)
 		return 0;
 		return 0;
-	rv = strcmp(d->name, "cons") == 0;
-	free(d);
-	return rv;
+
+	/* might be /mnt/term/dev/cons */
+	return strlen(buf) >= 9 && strcmp(buf+strlen(buf)-9, "/dev/cons") == 0;
 }
 }
 
 
 extern int
 extern int

+ 46 - 3
sys/src/cmd/upas/q/runq.c

@@ -281,6 +281,39 @@ remmatch(char *name)
 	sysremove(file(name, 'E'));
 	sysremove(file(name, 'E'));
 }
 }
 
 
+/*
+ *  like trylock, but we've already got the lock on fd,
+ *  and don't want an L. lock file.
+ */
+static Mlock *
+keeplockalive(char *path, int fd)
+{
+	char buf[1];
+	Mlock *l;
+
+	l = malloc(sizeof(Mlock));
+	if(l == 0)
+		return 0;
+	l->fd = fd;
+	l->name = s_new();
+	s_append(l->name, path);
+
+	/* fork process to keep lock alive until sysunlock(l) */
+	switch(l->pid = rfork(RFPROC)){
+	default:
+		break;
+	case 0:
+		fd = l->fd;
+		for(;;){
+			sleep(1000*60);
+			if(pread(fd, buf, 1, 0) < 0)
+				break;
+		}
+		_exits(0);
+	}
+	return l;
+}
+
 /*
 /*
  *  try a message
  *  try a message
  */
  */
@@ -292,6 +325,7 @@ dofile(Dir *dp)
 	char *buf, *cp, **av;
 	char *buf, *cp, **av;
 	Waitmsg *wm;
 	Waitmsg *wm;
 	Biobuf *b;
 	Biobuf *b;
+	Mlock *l = nil;
 
 
 	if(debug)
 	if(debug)
 		fprint(2, "dofile %s\n", dp->name);
 		fprint(2, "dofile %s\n", dp->name);
@@ -331,7 +365,7 @@ dofile(Dir *dp)
 			if(time(0) - etime < 60*60)
 			if(time(0) - etime < 60*60)
 				return;
 				return;
 		}
 		}
-		
+
 	}
 	}
 
 
 	/*
 	/*
@@ -423,12 +457,19 @@ dofile(Dir *dp)
 			goto done;
 			goto done;
 	}
 	}
 
 
+	/*
+	 * Ken's fs, for example, gives us 5 minutes of inactivity before
+	 * the lock goes stale, so we have to keep reading it.
+ 	 */
+	l = keeplockalive(file(dp->name, 'C'), Bfildes(b));
+
 	/*
 	/*
 	 *  transfer
 	 *  transfer
 	 */
 	 */
 	pid = fork();
 	pid = fork();
 	switch(pid){
 	switch(pid){
 	case -1:
 	case -1:
+		sysunlock(l);
 		sysunlockfile(Bfildes(b));
 		sysunlockfile(Bfildes(b));
 		syslog(0, runqlog, "out of procs");
 		syslog(0, runqlog, "out of procs");
 		exits(0);
 		exits(0);
@@ -491,6 +532,8 @@ dofile(Dir *dp)
 
 
 	}
 	}
 done:
 done:
+	if (l)
+		sysunlock(l);
 	Bterm(b);
 	Bterm(b);
 	sysunlockfile(Bfildes(b));
 	sysunlockfile(Bfildes(b));
 	free(buf);
 	free(buf);
@@ -619,7 +662,7 @@ warning(char *f, void *a)
 
 
 	rerrstr(err, sizeof(err));
 	rerrstr(err, sizeof(err));
 	snprint(buf, sizeof(buf), f, a);
 	snprint(buf, sizeof(buf), f, a);
-	fprint(2, "runq: %s: %s\n", buf, err);	
+	fprint(2, "runq: %s: %s\n", buf, err);
 }
 }
 
 
 /*
 /*
@@ -634,7 +677,7 @@ error(char *f, void *a)
 	rerrstr(err, sizeof(err));
 	rerrstr(err, sizeof(err));
 	snprint(buf, sizeof(buf), f, a);
 	snprint(buf, sizeof(buf), f, a);
 	fprint(2, "runq: %s: %s\n", buf, err);
 	fprint(2, "runq: %s: %s\n", buf, err);
-	exits(buf);	
+	exits(buf);
 }
 }
 
 
 void
 void

+ 6 - 12
sys/src/libstdio/setvbuf.c

@@ -40,17 +40,11 @@ int _IO_setvbuf(FILE *f){
 static int
 static int
 isatty(int fd)
 isatty(int fd)
 {
 {
-	Dir *d1, *d2;
-	int ret;
+	char buf[64];
 
 
-	d1 = dirfstat(fd);
-	d2 = dirstat("/dev/cons");
-	ret = 0;
-	if(d1!=nil && d2!=nil)
-		ret = (d1->qid.path == d2->qid.path) &&
-			(d1->type == d2->type) &&
-			(d1->dev == d2->dev);
-	free(d1);
-	free(d2);
-	return 0;
+	if(fd2path(fd, buf, sizeof buf) != 0)
+		return 0;
+
+	/* might be /mnt/term/dev/cons */
+	return strlen(buf) >= 9 && strcmp(buf+strlen(buf)-9, "/dev/cons") == 0;
 }
 }