Browse Source

Plan 9 from Bell Labs 2005-10-28

David du Colombier 15 years ago
parent
commit
00ed3e4ad6

File diff suppressed because it is too large
+ 418 - 418
dist/replica/_plan9.db


File diff suppressed because it is too large
+ 418 - 418
dist/replica/plan9.db


+ 441 - 0
dist/replica/plan9.log

@@ -21620,3 +21620,444 @@
 1129856431 0 c sys/src/cmd/tapefs/tarfs.c - 664 sys sys 1129855841 2703
 1129865435 0 c 386/bin/fs/tarfs - 775 sys sys 1129864622 94363
 1130374901 0 c sys/src/libc/fmt/fltfmt.c - 664 sys sys 1130374352 4490
+1130385706 0 c 386/9pc - 775 sys sys 1130384382 1855287
+1130385706 1 c 386/9pccpu - 775 sys sys 1130384385 1519614
+1130385706 2 c 386/9pcdisk - 775 sys sys 1130384389 2046566
+1130385706 3 c 386/9pcf - 775 sys sys 1130384394 2389262
+1130385706 4 c 386/bin/8a - 775 sys sys 1130384228 115987
+1130385706 5 c 386/bin/8c - 775 sys sys 1130384228 358240
+1130385706 6 c 386/bin/8l - 775 sys sys 1130384229 115712
+1130385706 7 c 386/bin/9660srv - 775 sys sys 1130384229 104055
+1130385706 8 c 386/bin/aan - 775 sys sys 1130384229 130728
+1130385706 9 c 386/bin/acid - 775 sys sys 1130384230 390505
+1130385706 10 c 386/bin/acme - 775 sys sys 1130384231 428563
+1130385706 11 c 386/bin/ar - 775 sys sys 1130384232 110856
+1130385706 12 c 386/bin/archfs - 775 sys sys 1130384233 140901
+1130385706 13 c 386/bin/ascii - 775 sys sys 1130384233 64677
+1130385706 14 c 386/bin/astro - 775 sys sys 1130384233 138837
+1130385706 15 c 386/bin/awd - 775 sys sys 1130384262 58756
+1130385706 16 c 386/bin/basename - 775 sys sys 1130384262 37902
+1130385706 17 c 386/bin/bc - 775 sys sys 1130384262 81792
+1130385706 18 c 386/bin/bind - 775 sys sys 1130384262 59584
+1130385706 19 c 386/bin/bitsy/bitsyload - 775 sys sys 1130384263 63381
+1130385706 20 c 386/bin/bitsy/keyboard - 775 sys sys 1130384264 305745
+1130385706 21 c 386/bin/bitsy/params - 775 sys sys 1130384264 58794
+1130385706 22 c 386/bin/bitsy/pencal - 775 sys sys 1130384264 117208
+1130385706 23 c 386/bin/bitsy/prompter - 775 sys sys 1130384266 286035
+1130385706 24 c 386/bin/bunzip2 - 775 sys sys 1130384266 97508
+1130385706 25 c 386/bin/bzip2 - 775 sys sys 1130384267 114043
+1130385706 26 c 386/bin/cal - 775 sys sys 1130384267 67895
+1130385706 27 c 386/bin/calendar - 775 sys sys 1130384267 80230
+1130385706 28 c 386/bin/cat - 775 sys sys 1130384267 37465
+1130385706 29 c 386/bin/cdfs - 775 sys sys 1130384268 161195
+1130385706 30 c 386/bin/cfs - 775 sys sys 1130384268 128085
+1130385706 31 c 386/bin/chgrp - 775 sys sys 1130384269 59303
+1130385706 32 c 386/bin/chmod - 775 sys sys 1130384269 62299
+1130385706 33 c 386/bin/cleanname - 775 sys sys 1130384269 58322
+1130385706 34 c 386/bin/clock - 775 sys sys 1130384269 157986
+1130385706 35 c 386/bin/cmp - 775 sys sys 1130384270 40583
+1130385706 36 c 386/bin/colors - 775 sys sys 1130384270 150280
+1130385706 37 c 386/bin/comm - 775 sys sys 1130384270 61369
+1130385706 38 c 386/bin/con - 775 sys sys 1130384270 78229
+1130385706 39 c 386/bin/cp - 775 sys sys 1130384271 63233
+1130385706 40 c 386/bin/cpp - 775 sys sys 1130384271 149817
+1130385706 41 c 386/bin/cpu - 775 sys sys 1130384271 139116
+1130385706 42 c 386/bin/crop - 775 sys sys 1130384272 116026
+1130385706 43 c 386/bin/date - 775 sys sys 1130384272 43279
+1130385706 44 c 386/bin/db - 775 sys sys 1130384273 336335
+1130385706 45 c 386/bin/dc - 775 sys sys 1130384273 99037
+1130385706 46 c 386/bin/dd - 775 sys sys 1130384273 45416
+1130385706 47 c 386/bin/deroff - 775 sys sys 1130384273 74253
+1130385706 48 c 386/bin/dict - 775 sys sys 1130384275 187484
+1130385706 49 c 386/bin/diff - 775 sys sys 1130384275 85110
+1130385706 50 c 386/bin/dossrv - 775 sys sys 1130384278 137765
+1130385706 51 c 386/bin/du - 775 sys sys 1130384278 73591
+1130385706 52 c 386/bin/echo - 775 sys sys 1130384278 57373
+1130385706 53 c 386/bin/ed - 775 sys sys 1130384278 93043
+1130385706 54 c 386/bin/exportfs - 775 sys sys 1130384280 162259
+1130385706 55 c 386/bin/faces - 775 sys sys 1130384281 193406
+1130385706 56 c 386/bin/factor - 775 sys sys 1130384281 61484
+1130385706 57 c 386/bin/fs/32vfs - 775 sys sys 1130384285 94516
+1130385706 58 c 386/bin/fs/cpiofs - 775 sys sys 1130384285 93436
+1130385706 59 c 386/bin/fs/tapfs - 775 sys sys 1130384285 95989
+1130385706 60 c 386/bin/fs/tarfs - 775 sys sys 1130384286 94381
+1130385706 61 c 386/bin/fs/tpfs - 775 sys sys 1130384286 93192
+1130385706 62 c 386/bin/fs/v10fs - 775 sys sys 1130384286 94580
+1130385706 63 c 386/bin/fs/v6fs - 775 sys sys 1130384287 94498
+1130385706 64 c 386/bin/fs/zipfs - 775 sys sys 1130384287 109097
+1130385706 65 c 386/bin/games/4s - 775 sys sys 1130384288 177889
+1130385706 66 c 386/bin/games/5s - 775 sys sys 1130384288 180177
+1130385706 67 c 386/bin/games/catclock - 775 sys sys 1130384289 140816
+1130385706 68 c 386/bin/games/juggle - 775 sys sys 1130384289 125337
+1130385706 69 c 386/bin/games/mahjongg - 775 sys sys 1130384289 164306
+1130385706 70 c 386/bin/games/memo - 775 sys sys 1130384290 156910
+1130385706 71 c 386/bin/games/sokoban - 775 sys sys 1130384290 164731
+1130385706 72 c 386/bin/getmap - 775 sys sys 1130384291 65198
+1130385706 73 c 386/bin/gunzip - 775 sys sys 1130384292 80293
+1130385706 74 c 386/bin/gzip - 775 sys sys 1130384293 84771
+1130385706 75 c 386/bin/hget - 775 sys sys 1130384294 233204
+1130385706 76 c 386/bin/history - 775 sys sys 1130384294 75375
+1130385706 77 c 386/bin/htmlfmt - 775 sys sys 1130384295 160741
+1130385706 78 c 386/bin/iconv - 775 sys sys 1130384295 113283
+1130385706 79 c 386/bin/idiff - 775 sys sys 1130384296 76121
+1130385706 80 c 386/bin/lnfs - 775 sys sys 1130384309 99458
+1130385706 81 c 386/bin/nntpfs - 775 sys sys 1130384318 161036
+1130385706 82 c 386/bin/pipefile - 775 sys sys 1130384320 39414
+1130385706 83 c 386/bin/png - 775 sys sys 1130384321 164181
+1130385706 84 c 386/bin/replica/applychanges - 775 sys sys 1130384326 98571
+1130385706 85 c 386/bin/replica/applylog - 775 sys sys 1130384326 116757
+1130385706 86 c 386/bin/replica/compactdb - 775 sys sys 1130384326 78500
+1130385706 87 c 386/bin/replica/updatedb - 775 sys sys 1130384327 95904
+1130385706 88 c 386/bin/resample - 775 sys sys 1130384327 120758
+1130385706 89 c 386/bin/sha1sum - 775 sys sys 1130384331 61151
+1130385706 90 c 386/bin/snap - 775 sys sys 1130384332 303729
+1130385706 91 c 386/bin/snapfs - 775 sys sys 1130384333 372696
+1130385706 92 c 386/bin/srvold9p - 775 sys sys 1130384335 130211
+1130385706 93 c 386/bin/topng - 775 sys sys 1130384345 138337
+1130385706 94 c 386/bin/troff2html - 775 sys sys 1130384347 85709
+1130385706 95 c 386/bin/unzip - 775 sys sys 1130384349 89980
+1130385706 96 c 386/bin/usb/usbaudio - 775 sys sys 1130384360 185559
+1130385706 97 c 386/bin/usb/usbd - 775 sys sys 1130384361 129864
+1130385706 98 c 386/bin/usb/usbmouse - 775 sys sys 1130384361 138145
+1130385706 99 c 386/bin/venti/buildindex - 775 sys sys 1130384363 154161
+1130385706 100 c 386/bin/venti/checkarenas - 775 sys sys 1130384363 158404
+1130385706 101 c 386/bin/venti/checkindex - 775 sys sys 1130384364 155007
+1130385706 102 c 386/bin/venti/clumpstats - 775 sys sys 1130384364 145193
+1130385706 103 c 386/bin/venti/copy - 775 sys sys 1130384365 106100
+1130385706 104 c 386/bin/venti/findscore - 775 sys sys 1130384365 127644
+1130385706 105 c 386/bin/venti/fmtarenas - 775 sys sys 1130384365 128646
+1130385706 106 c 386/bin/venti/fmtindex - 775 sys sys 1130384366 145455
+1130385706 107 c 386/bin/venti/fmtisect - 775 sys sys 1130384366 145197
+1130385706 108 c 386/bin/venti/rdarena - 775 sys sys 1130384366 127112
+1130385706 109 c 386/bin/venti/read - 775 sys sys 1130384366 102565
+1130385706 110 c 386/bin/venti/sync - 775 sys sys 1130384367 101715
+1130385706 111 c 386/bin/venti/syncindex - 775 sys sys 1130384367 169443
+1130385706 112 c 386/bin/venti/venti - 775 sys sys 1130384368 245216
+1130385706 113 c 386/bin/venti/verifyarena - 775 sys sys 1130384368 103995
+1130385706 114 c 386/bin/venti/wrarena - 775 sys sys 1130384369 175900
+1130385706 115 c 386/bin/venti/write - 775 sys sys 1130384369 102517
+1130385706 116 c 386/bin/vncs - 775 sys sys 1130384370 472443
+1130385706 117 c 386/bin/vncv - 775 sys sys 1130384371 519267
+1130385706 118 c 386/bin/webcookies - 775 sys sys 1130384373 161643
+1130385706 119 c 386/bin/wikifs - 775 sys sys 1130384374 202488
+1130385706 120 c 386/bin/zip - 775 sys sys 1130384377 89999
+1130385706 121 c 386/bin/file - 775 sys sys 1130384281 119115
+1130385706 122 c 386/bin/fmt - 775 sys sys 1130384282 65310
+1130385706 123 c 386/bin/fortune - 775 sys sys 1130384282 67145
+1130385706 124 c 386/bin/freq - 775 sys sys 1130384285 61811
+1130385706 125 c 386/bin/ftpfs - 775 sys sys 1130384287 272771
+1130385706 126 c 386/bin/gif - 775 sys sys 1130384291 158072
+1130385706 127 c 386/bin/graph - 775 sys sys 1130384291 127347
+1130385706 128 c 386/bin/grep - 775 sys sys 1130384292 79076
+1130385706 129 c 386/bin/hayes - 775 sys sys 1130384293 64574
+1130385706 130 c 386/bin/hoc - 775 sys sys 1130384294 99884
+1130385706 131 c 386/bin/html2ms - 775 sys sys 1130384294 66104
+1130385706 132 c 386/bin/import - 775 sys sys 1130384296 101389
+1130385706 133 c 386/bin/iostats - 775 sys sys 1130384296 98449
+1130385706 134 c 386/bin/join - 775 sys sys 1130384306 114109
+1130385706 135 c 386/bin/jpg - 775 sys sys 1130384307 174537
+1130385706 136 c 386/bin/kprof - 775 sys sys 1130384308 102536
+1130385706 137 c 386/bin/ktrace - 775 sys sys 1130384308 116625
+1130385706 138 c 386/bin/lens - 775 sys sys 1130384308 124113
+1130385706 139 c 386/bin/lex - 775 sys sys 1130384308 98673
+1130385706 140 c 386/bin/look - 775 sys sys 1130384309 65559
+1130385706 141 c 386/bin/ls - 775 sys sys 1130384309 82489
+1130385706 142 c 386/bin/mc - 775 sys sys 1130384309 133629
+1130385706 143 c 386/bin/md5sum - 775 sys sys 1130384310 61283
+1130385706 144 c 386/bin/mk - 775 sys sys 1130384310 144057
+1130385706 145 c 386/bin/mkdir - 775 sys sys 1130384310 60982
+1130385706 146 c 386/bin/mount - 775 sys sys 1130384311 73029
+1130385706 147 c 386/bin/ms2html - 775 sys sys 1130384311 103594
+1130385706 148 c 386/bin/mv - 775 sys sys 1130384312 65507
+1130385706 149 c 386/bin/netkey - 775 sys sys 1130384316 72325
+1130385706 150 c 386/bin/netstat - 775 sys sys 1130384316 84682
+1130385706 151 c 386/bin/news - 775 sys sys 1130384316 71678
+1130385706 152 c 386/bin/nm - 775 sys sys 1130384317 121812
+1130385706 153 c 386/bin/ns - 775 sys sys 1130384318 65269
+1130385706 154 c 386/bin/p - 775 sys sys 1130384318 64999
+1130385706 155 c 386/bin/page - 775 sys sys 1130384319 232784
+1130385706 156 c 386/bin/passwd - 775 sys sys 1130384319 83765
+1130385706 157 c 386/bin/pcc - 775 sys sys 1130384319 67824
+1130385706 158 c 386/bin/plot - 775 sys sys 1130384320 222011
+1130385706 159 c 386/bin/plumb - 775 sys sys 1130384320 66987
+1130385706 160 c 386/bin/plumber - 775 sys sys 1130384321 169872
+1130385706 161 c 386/bin/ppm - 775 sys sys 1130384322 149356
+1130385706 162 c 386/bin/pr - 775 sys sys 1130384322 77417
+1130385706 163 c 386/bin/primes - 775 sys sys 1130384322 38811
+1130385706 164 c 386/bin/prof - 775 sys sys 1130384323 107954
+1130385706 165 c 386/bin/proof - 775 sys sys 1130384323 178419
+1130385706 166 c 386/bin/ps - 775 sys sys 1130384323 68003
+1130385706 167 c 386/bin/pwd - 775 sys sys 1130384323 36915
+1130385706 168 c 386/bin/ramfs - 775 sys sys 1130384324 89840
+1130385706 169 c 386/bin/rc - 775 sys sys 1130384324 143244
+1130385706 170 c 386/bin/rdbfs - 775 sys sys 1130384325 168518
+1130385706 171 c 386/bin/read - 775 sys sys 1130384325 58064
+1130385706 172 c 386/bin/rio - 775 sys sys 1130384328 309154
+1130385706 173 c 386/bin/rm - 775 sys sys 1130384328 61351
+1130385706 174 c 386/bin/rx - 775 sys sys 1130384328 82073
+1130385706 175 c 386/bin/sam - 775 sys sys 1130384329 158386
+1130385706 176 c 386/bin/scat - 775 sys sys 1130384330 284154
+1130385706 177 c 386/bin/scp - 775 sys sys 1130384330 152088
+1130385706 178 c 386/bin/scuzz - 775 sys sys 1130384331 111622
+1130385706 179 c 386/bin/sed - 775 sys sys 1130384331 89532
+1130385706 180 c 386/bin/seq - 775 sys sys 1130384331 38414
+1130385706 181 c 386/bin/size - 775 sys sys 1130384331 76992
+1130385706 182 c 386/bin/snoopy - 775 sys sys 1130384334 168227
+1130385706 183 c 386/bin/sort - 775 sys sys 1130384334 82294
+1130385706 184 c 386/bin/split - 775 sys sys 1130384334 75653
+1130385706 185 c 386/bin/srv - 775 sys sys 1130384334 82405
+1130385706 186 c 386/bin/srvfs - 775 sys sys 1130384335 40083
+1130385706 187 c 386/bin/ssh - 775 sys sys 1130384336 211191
+1130385706 188 c 386/bin/stats - 775 sys sys 1130384337 190287
+1130385706 189 c 386/bin/strings - 775 sys sys 1130384337 62133
+1130385706 190 c 386/bin/strip - 775 sys sys 1130384338 61999
+1130385706 191 c 386/bin/sum - 775 sys sys 1130384338 39488
+1130385706 192 c 386/bin/swap - 775 sys sys 1130384338 62112
+1130385706 193 c 386/bin/vtdump - 775 sys sys 1130384372 159476
+1130385706 194 c 386/bin/webfs - 775 sys sys 1130384374 353777
+1130385706 195 c 386/bin/winwatch - 775 sys sys 1130384375 154573
+1130385706 196 c 386/bin/ape/cc - 775 sys sys 1130384231 70315
+1130385706 197 c 386/bin/ape/stty - 775 sys sys 1130384232 41057
+1130385706 198 c 386/bin/ape/tar - 775 sys sys 1130384232 61921
+1130385706 199 c 386/bin/auth/aescbc - 775 sys sys 1130384234 140744
+1130385706 200 c 386/bin/auth/asn12rsa - 775 sys sys 1130384234 120391
+1130385706 201 c 386/bin/auth/authsrv - 775 sys sys 1130384234 165472
+1130385706 202 c 386/bin/auth/changeuser - 775 sys sys 1130384235 97035
+1130385706 203 c 386/bin/auth/convkeys - 775 sys sys 1130384235 87414
+1130385706 204 c 386/bin/auth/convkeys2 - 775 sys sys 1130384235 87465
+1130385706 205 c 386/bin/auth/cron - 775 sys sys 1130384235 143978
+1130385706 206 c 386/bin/auth/debug - 775 sys sys 1130384236 101073
+1130385706 207 c 386/bin/auth/factotum - 775 sys sys 1130384237 312673
+1130385706 208 c 386/bin/auth/fgui - 775 sys sys 1130384237 217887
+1130385706 209 c 386/bin/auth/guard.srv - 775 sys sys 1130384238 142859
+1130385706 210 c 386/bin/auth/keyfs - 775 sys sys 1130384238 115557
+1130385706 211 c 386/bin/auth/login - 775 sys sys 1130384238 104469
+1130385706 212 c 386/bin/auth/newns - 775 sys sys 1130384239 89705
+1130385706 213 c 386/bin/auth/none - 775 sys sys 1130384239 89039
+1130385706 214 c 386/bin/auth/pemdecode - 775 sys sys 1130384239 61475
+1130385706 215 c 386/bin/auth/pemencode - 775 sys sys 1130384239 59869
+1130385706 216 c 386/bin/auth/printnetkey - 775 sys sys 1130384240 40492
+1130385706 217 c 386/bin/auth/rsa2csr - 775 sys sys 1130384240 180466
+1130385706 218 c 386/bin/auth/rsa2pub - 775 sys sys 1130384240 143498
+1130385706 219 c 386/bin/auth/rsa2ssh - 775 sys sys 1130384240 138879
+1130385706 220 c 386/bin/auth/rsa2x509 - 775 sys sys 1130384241 184229
+1130385706 221 c 386/bin/auth/rsafill - 775 sys sys 1130384241 143566
+1130385706 222 c 386/bin/auth/rsagen - 775 sys sys 1130384242 153202
+1130385706 223 c 386/bin/auth/secstore - 775 sys sys 1130384242 195427
+1130385706 224 c 386/bin/auth/secstored - 775 sys sys 1130384243 197026
+1130385706 225 c 386/bin/auth/secuser - 775 sys sys 1130384243 152960
+1130385706 226 c 386/bin/auth/uniq - 775 sys sys 1130384244 63077
+1130385706 227 c 386/bin/auth/warning - 775 sys sys 1130384244 100655
+1130385706 228 c 386/bin/auth/wrkey - 775 sys sys 1130384244 75183
+1130385706 229 c 386/bin/aux/9pcon - 775 sys sys 1130384245 94934
+1130385706 230 c 386/bin/aux/LOCK - 775 sys sys 1130384245 59926
+1130385706 231 c 386/bin/aux/accupoint - 775 sys sys 1130384245 40077
+1130385706 232 c 386/bin/aux/acidleak - 775 sys sys 1130384245 69454
+1130385706 233 c 386/bin/aux/apm - 775 sys sys 1130384246 174226
+1130385706 234 c 386/bin/aux/astarld - 775 sys sys 1130384246 64701
+1130385706 235 c 386/bin/aux/cddb - 775 sys sys 1130384246 72236
+1130385706 236 c 386/bin/aux/clog - 775 sys sys 1130384247 66459
+1130385706 237 c 386/bin/aux/consolefs - 775 sys sys 1130384247 153868
+1130385706 238 c 386/bin/aux/data2s - 775 sys sys 1130384247 60546
+1130385706 239 c 386/bin/aux/depend - 775 sys sys 1130384248 145527
+1130385706 240 c 386/bin/aux/disksim - 775 sys sys 1130384248 144479
+1130385706 241 c 386/bin/aux/faxreceive - 775 sys sys 1130384248 83945
+1130385706 242 c 386/bin/aux/faxsend - 775 sys sys 1130384249 89457
+1130385706 243 c 386/bin/aux/flashfs - 775 sys sys 1130384249 160417
+1130385706 244 c 386/bin/aux/getflags - 775 sys sys 1130384250 43835
+1130385706 245 c 386/bin/aux/gpsevermore - 775 sys sys 1130384250 71435
+1130385706 246 c 386/bin/aux/gpsfs - 775 sys sys 1130384250 176243
+1130385706 247 c 386/bin/aux/lines - 775 sys sys 1130384250 60501
+1130385706 248 c 386/bin/aux/listen - 775 sys sys 1130384251 107986
+1130385706 249 c 386/bin/aux/listen1 - 775 sys sys 1130384251 94509
+1130385706 250 c 386/bin/aux/lpsend - 775 sys sys 1130384251 52558
+1130385706 251 c 386/bin/aux/mapd - 775 sys sys 1130384252 190764
+1130385706 252 c 386/bin/aux/mkflashfs - 775 sys sys 1130384252 67375
+1130385706 253 c 386/bin/aux/mklatinkbd - 775 sys sys 1130384252 64188
+1130385706 254 c 386/bin/aux/mnihongo - 775 sys sys 1130384253 139330
+1130385706 255 c 386/bin/aux/mouse - 775 sys sys 1130384253 44044
+1130385706 256 c 386/bin/aux/ms2 - 775 sys sys 1130384253 85686
+1130385706 257 c 386/bin/aux/msexceltables - 775 sys sys 1130384253 81242
+1130385706 258 c 386/bin/aux/mswordstrings - 775 sys sys 1130384254 65326
+1130385706 259 c 386/bin/aux/na - 775 sys sys 1130384254 154204
+1130385706 260 c 386/bin/aux/nfsmount - 775 sys sys 1130384254 234110
+1130385706 261 c 386/bin/aux/nfsserver - 775 sys sys 1130384255 185422
+1130385706 262 c 386/bin/aux/olefs - 775 sys sys 1130384255 143381
+1130385706 263 c 386/bin/aux/pcmcia - 775 sys sys 1130384255 46923
+1130385706 264 c 386/bin/aux/pcnfsd - 775 sys sys 1130384256 129348
+1130385706 265 c 386/bin/aux/portmap - 775 sys sys 1130384256 143628
+1130385706 266 c 386/bin/aux/portmapper - 775 sys sys 1130384257 128234
+1130385706 267 c 386/bin/aux/rdwr - 775 sys sys 1130384257 38321
+1130385706 268 c 386/bin/aux/reboot - 775 sys sys 1130384257 60592
+1130385706 269 c 386/bin/aux/samterm - 775 sys sys 1130384258 249425
+1130385706 270 c 386/bin/aux/searchfs - 775 sys sys 1130384258 89574
+1130385706 271 c 386/bin/aux/sprog - 775 sys sys 1130384258 79358
+1130385706 272 c 386/bin/aux/sshserve - 775 sys sys 1130384259 252728
+1130385706 273 c 386/bin/aux/stub - 775 sys sys 1130384259 135193
+1130385706 274 c 386/bin/aux/timesync - 775 sys sys 1130384260 128290
+1130385706 275 c 386/bin/aux/trampoline - 775 sys sys 1130384260 83663
+1130385706 276 c 386/bin/aux/typepasswd - 775 sys sys 1130384260 69521
+1130385706 277 c 386/bin/aux/vga - 775 sys sys 1130384262 333568
+1130385706 278 c 386/bin/bmp - 775 sys sys 1130384266 157604
+1130385706 279 c 386/bin/cb - 775 sys sys 1130384268 77607
+1130385706 280 c 386/bin/dial/at - 775 sys sys 1130384274 60797
+1130385706 281 c 386/bin/dial/expect - 775 sys sys 1130384274 60099
+1130385706 282 c 386/bin/dial/pass - 775 sys sys 1130384274 38832
+1130385706 283 c 386/bin/disk/dump9660 - 775 sys sys 1130384275 152271
+1130385706 284 c 386/bin/disk/exsort - 775 sys sys 1130384275 60244
+1130385706 285 c 386/bin/disk/fdisk - 775 sys sys 1130384276 103828
+1130385706 286 c 386/bin/disk/format - 775 sys sys 1130384276 89552
+1130385706 287 c 386/bin/disk/kfs - 775 sys sys 1130384276 248992
+1130385706 288 c 386/bin/disk/kfscmd - 775 sys sys 1130384277 38240
+1130385706 289 c 386/bin/disk/mbr - 775 sys sys 1130384277 73707
+1130385706 290 c 386/bin/disk/mkext - 775 sys sys 1130384277 82663
+1130385706 291 c 386/bin/disk/mkfs - 775 sys sys 1130384277 87706
+1130385706 292 c 386/bin/disk/prep - 775 sys sys 1130384277 95849
+1130385706 293 c 386/bin/execnet - 775 sys sys 1130384279 172027
+1130385706 294 c 386/bin/ext2srv - 775 sys sys 1130384280 174016
+1130385706 295 c 386/bin/fcp - 775 sys sys 1130384281 82180
+1130385706 296 c 386/bin/fossil/flchk - 775 sys sys 1130384282 237522
+1130385706 297 c 386/bin/fossil/flfmt - 775 sys sys 1130384283 245671
+1130385706 298 c 386/bin/fossil/fossil - 775 sys sys 1130384284 360444
+1130385706 299 c 386/bin/fossil/last - 775 sys sys 1130384284 63316
+1130385706 300 c 386/bin/gview - 775 sys sys 1130384293 238222
+1130385706 301 c 386/bin/ico - 775 sys sys 1130384295 161439
+1130385706 302 c 386/bin/ip/dhcpclient - 775 sys sys 1130384297 94114
+1130385706 303 c 386/bin/ip/dhcpd - 775 sys sys 1130384297 149141
+1130385706 304 c 386/bin/ip/dhcpleases - 775 sys sys 1130384297 86233
+1130385706 305 c 386/bin/ip/ftpd - 775 sys sys 1130384298 170317
+1130385706 306 c 386/bin/ip/gping - 775 sys sys 1130384298 182837
+1130385706 307 c 386/bin/ip/hogports - 775 sys sys 1130384298 42901
+1130385706 308 c 386/bin/ip/httpd/httpd - 775 sys sys 1130384299 292500
+1130385706 309 c 386/bin/ip/httpd/imagemap - 775 sys sys 1130384299 114816
+1130385706 310 c 386/bin/ip/httpd/man2html - 775 sys sys 1130384300 123103
+1130385706 311 c 386/bin/ip/httpd/netlib_find - 775 sys sys 1130384300 115661
+1130385706 312 c 386/bin/ip/httpd/netlib_history - 775 sys sys 1130384300 114457
+1130385706 313 c 386/bin/ip/httpd/save - 775 sys sys 1130384301 131230
+1130385706 314 c 386/bin/ip/httpd/webls - 775 sys sys 1130384301 131257
+1130385706 315 c 386/bin/ip/httpd/wikipost - 775 sys sys 1130384301 112695
+1130385706 316 c 386/bin/ip/imap4d - 775 sys sys 1130384302 237587
+1130385706 317 c 386/bin/ip/ipconfig - 775 sys sys 1130384302 137760
+1130385706 318 c 386/bin/ip/ping - 775 sys sys 1130384303 77028
+1130385706 319 c 386/bin/ip/ppp - 775 sys sys 1130384303 219974
+1130385706 320 c 386/bin/ip/pppoe - 775 sys sys 1130384303 77566
+1130385706 321 c 386/bin/ip/pptp - 775 sys sys 1130384304 126676
+1130385706 322 c 386/bin/ip/pptpd - 775 sys sys 1130384304 125842
+1130385706 323 c 386/bin/ip/rarpd - 775 sys sys 1130384304 111590
+1130385706 324 c 386/bin/ip/rexexec - 775 sys sys 1130384305 89995
+1130385706 325 c 386/bin/ip/rip - 775 sys sys 1130384305 91241
+1130385706 326 c 386/bin/ip/rlogind - 775 sys sys 1130384305 67420
+1130385706 327 c 386/bin/ip/telnetd - 775 sys sys 1130384305 123085
+1130385706 328 c 386/bin/ip/tftpd - 775 sys sys 1130384306 130585
+1130385706 329 c 386/bin/ip/traceroute - 775 sys sys 1130384306 73515
+1130385706 330 c 386/bin/ip/udpecho - 775 sys sys 1130384306 43177
+1130385706 331 c 386/bin/kbmap - 775 sys sys 1130384307 143325
+1130385706 332 c 386/bin/mkpaqfs - 775 sys sys 1130384310 94518
+1130385706 333 c 386/bin/mntgen - 775 sys sys 1130384311 139324
+1130385706 334 c 386/bin/mtime - 775 sys sys 1130384312 59157
+1130385706 335 c 386/bin/ndb/cs - 775 sys sys 1130384312 149404
+1130385706 336 c 386/bin/ndb/csquery - 775 sys sys 1130384313 61485
+1130385706 337 c 386/bin/ndb/dns - 775 sys sys 1130384313 245119
+1130385706 338 c 386/bin/ndb/dnsdebug - 775 sys sys 1130384314 219735
+1130385706 339 c 386/bin/ndb/dnsquery - 775 sys sys 1130384314 63652
+1130385706 340 c 386/bin/ndb/dnstcp - 775 sys sys 1130384315 218376
+1130385706 341 c 386/bin/ndb/ipquery - 775 sys sys 1130384315 95497
+1130385706 342 c 386/bin/ndb/mkdb - 775 sys sys 1130384315 63991
+1130385706 343 c 386/bin/ndb/mkhash - 775 sys sys 1130384315 83926
+1130385706 344 c 386/bin/ndb/mkhosts - 775 sys sys 1130384315 84972
+1130385706 345 c 386/bin/ndb/query - 775 sys sys 1130384316 83059
+1130385706 346 c 386/bin/nfs - 775 sys sys 1130384317 315527
+1130385706 347 c 386/bin/paqfs - 775 sys sys 1130384319 107567
+1130385706 348 c 386/bin/sshnet - 775 sys sys 1130384337 283003
+1130385706 349 c 386/bin/syscall - 775 sys sys 1130384338 73554
+1130385706 350 c 386/bin/tail - 775 sys sys 1130384339 66187
+1130385706 351 c 386/bin/tar - 775 sys sys 1130384339 97053
+1130385706 352 c 386/bin/tbl - 775 sys sys 1130384340 113255
+1130385706 353 c 386/bin/tcs - 775 sys sys 1130384340 256598
+1130385706 354 c 386/bin/tee - 775 sys sys 1130384340 38446
+1130385706 355 c 386/bin/telco - 775 sys sys 1130384341 103333
+1130385706 356 c 386/bin/telnet - 775 sys sys 1130384341 80373
+1130385706 357 c 386/bin/test - 775 sys sys 1130384341 69871
+1130385706 358 c 386/bin/time - 775 sys sys 1130384341 61404
+1130385706 359 c 386/bin/tlsclient - 775 sys sys 1130384342 198420
+1130385706 360 c 386/bin/tlssrv - 775 sys sys 1130384343 198658
+1130385706 361 c 386/bin/togif - 775 sys sys 1130384344 189775
+1130385706 362 c 386/bin/toico - 775 sys sys 1130384344 123533
+1130385706 363 c 386/bin/toppm - 775 sys sys 1130384345 165159
+1130385706 364 c 386/bin/touch - 775 sys sys 1130384345 63781
+1130385706 365 c 386/bin/tprof - 775 sys sys 1130384346 290198
+1130385706 366 c 386/bin/tr - 775 sys sys 1130384346 61869
+1130385706 367 c 386/bin/trace - 775 sys sys 1130384347 180782
+1130385706 368 c 386/bin/tweak - 775 sys sys 1130384348 192558
+1130385706 369 c 386/bin/unicode - 775 sys sys 1130384348 62532
+1130385706 370 c 386/bin/uniq - 775 sys sys 1130384348 61909
+1130385706 371 c 386/bin/units - 775 sys sys 1130384349 75259
+1130385706 372 c 386/bin/unlnfs - 775 sys sys 1130384349 71371
+1130385706 373 c 386/bin/unmount - 775 sys sys 1130384349 36629
+1130385706 374 c 386/bin/upas/aliasmail - 775 sys sys 1130384350 105048
+1130385706 375 c 386/bin/upas/deliver - 775 sys sys 1130384350 100075
+1130385706 376 c 386/bin/upas/filter - 775 sys sys 1130384351 147618
+1130385706 377 c 386/bin/upas/fs - 775 sys sys 1130384352 333591
+1130385706 378 c 386/bin/upas/list - 775 sys sys 1130384352 82785
+1130385706 379 c 386/bin/upas/marshal - 775 sys sys 1130384353 132913
+1130385706 380 c 386/bin/upas/ml - 775 sys sys 1130384353 123795
+1130385706 381 c 386/bin/upas/mlmgr - 775 sys sys 1130384353 104481
+1130385706 382 c 386/bin/upas/mlowner - 775 sys sys 1130384354 92117
+1130385706 383 c 386/bin/upas/nedmail - 775 sys sys 1130384354 156600
+1130385706 384 c 386/bin/upas/pop3 - 775 sys sys 1130384355 262205
+1130385706 385 c 386/bin/upas/qer - 775 sys sys 1130384355 100136
+1130385706 386 c 386/bin/upas/ratfs - 775 sys sys 1130384356 111367
+1130385706 387 c 386/bin/upas/runq - 775 sys sys 1130384356 113787
+1130385706 388 c 386/bin/upas/scanmail - 775 sys sys 1130384356 129054
+1130385706 389 c 386/bin/upas/send - 775 sys sys 1130384357 192913
+1130385706 390 c 386/bin/upas/smtp - 775 sys sys 1130384358 275260
+1130385706 391 c 386/bin/upas/smtpd - 775 sys sys 1130384359 331223
+1130385706 392 c 386/bin/upas/testscan - 775 sys sys 1130384359 83677
+1130385706 393 c 386/bin/upas/token - 775 sys sys 1130384359 77572
+1130385706 394 c 386/bin/upas/vf - 775 sys sys 1130384360 97011
+1130385706 395 c 386/bin/vac - 775 sys sys 1130384362 169426
+1130385706 396 c 386/bin/vacfs - 775 sys sys 1130384362 174900
+1130385706 397 c 386/bin/vt - 775 sys sys 1130384372 173678
+1130385706 398 c 386/bin/wc - 775 sys sys 1130384372 41174
+1130385706 399 c 386/bin/webfsget - 775 sys sys 1130384374 39161
+1130385706 400 c 386/bin/xd - 775 sys sys 1130384375 64062
+1130385706 401 c 386/bin/xmr - 775 sys sys 1130384375 40175
+1130385706 402 c 386/bin/xms - 775 sys sys 1130384375 40753
+1130385706 403 c 386/bin/yacc - 775 sys sys 1130384376 102300
+1130385706 404 c 386/bin/yuv - 775 sys sys 1130384376 149893
+1130385706 405 c 386/init - 775 sys sys 1130384377 101198
+1130385706 406 c 386/lib/libc.a - 664 sys sys 1130384397 502522
+1130385706 407 c acme/bin/386/Mail - 775 sys sys 1130384394 179124
+1130385706 408 c acme/bin/386/News - 775 sys sys 1130384395 128822
+1130385706 409 c acme/bin/386/Wiki - 775 sys sys 1130384395 127398
+1130385706 410 c acme/bin/386/mkwnew - 775 sys sys 1130384395 38977
+1130385706 411 c acme/bin/386/spout - 775 sys sys 1130384395 61626
+1130385706 412 c acme/bin/386/win - 775 sys sys 1130384396 178976
+1130387508 0 c sys/man/2/segattach - 664 sys sys 1130387203 4302
+1130387508 1 c sys/src/9/port/sysproc.c - 664 sys sys 1130387080 15144
+1130423516 0 c sys/src/cmd/webfs/client.c - 664 sys sys 1130422711 6818
+1130425317 0 c sys/games/lib/fortunes - 664 sys sys 1130423837 256609
+1130425317 1 c sys/src/ape/lib/ap/syscall/mkfile - 664 sys sys 1130424774 2698
+1130425317 2 c sys/src/cmd/9nfs/nfs.c - 664 sys sys 1130424013 9509
+1130425317 3 c sys/src/cmd/aux/apm.c - 664 sys sys 1130423972 20275
+1130425317 4 c sys/src/cmd/aux/depend.c - 664 sys sys 1130423994 25786
+1130425317 5 c sys/src/cmd/eqn/eqn.c - 664 sys sys 1130424046 19576
+1130425317 6 c sys/src/cmd/hget.c - 664 sys sys 1130423854 25846
+1130425317 7 c sys/src/cmd/ip/imap4d/msg.c - 664 sys sys 1130423893 31401
+1130425317 8 c sys/src/cmd/tapefs/cpiofs.c - 664 sys sys 1130423919 2494
+1130425317 9 c sys/src/cmd/tapefs/tapfs.c - 664 sys sys 1130423919 1940
+1130425317 10 c sys/src/cmd/tapefs/tpfs.c - 664 sys sys 1130423919 2014
+1130425317 11 c sys/src/cmd/tbl/tm.c - 664 sys sys 1130423936 1127
+1130425317 12 c sys/src/cmd/upas/mkfile - 664 sys sys 1130423810 1916
+1130425317 13 c sys/src/cmd/sam/cmd.c - 664 sys sys 1130423793 10758
+1130425317 14 c sys/src/cmd/sam/parse.h - 664 sys sys 1130423794 1934
+1130425317 15 c sys/src/libc/9sys/sbrk.c - 664 sys sys 1130424762 439
+1130425317 16 c sys/src/libc/9syscall/mkfile - 664 sys sys 1130424755 2625
+1130425317 17 c sys/src/libc/alpha/_seek.c - 664 sys sys 1130424714 180
+1130425317 18 c sys/src/libc/port/atexit.c - 664 sys sys 1130424722 772
+1130425317 19 c sys/src/libc/port/pool.c - 664 sys sys 1130424726 30938
+1130427117 0 c rc/bin/window - 775 sys sys 1130425694 1839
+1130427117 1 c sys/man/1/lens - 664 sys sys 1130425868 1272
+1130427117 2 c sys/man/1/rio - 664 sys sys 1130425691 14707
+1130427117 3 c sys/src/cmd/auth/factotum/fgui.c - 664 sys sys 1130425760 15984
+1130427117 4 c sys/src/cmd/lens.c - 664 sys sys 1130425803 5109

+ 4 - 0
rc/bin/window

@@ -81,6 +81,10 @@ if(~ $1 -m){
 					shift 2
 				case -r
 					shift 5
+				case -scroll
+					shift
+				case -noscroll
+					shift
 				case -hide
 					shift
 				}

+ 2 - 0
sys/games/lib/fortunes

@@ -4090,3 +4090,5 @@ Forgive my ignorance, I am a layman and nowadays get my schooling through search
 By tradition, the return value of functions report what they did, not what they considered doing.  - rob
 If the restaurant serves poor beer, don't switch to wine. - sape
 There is nothing quite like looking up and seeing YOUR star.  Order now for FREE SHIPPING.
+gcc is the holy cow of compilers, not the holy grail.  - forsyth
+NOTE 3: Each bit has the value either ZERO or ONE.  - ECMA-035 spec

+ 2 - 0
sys/man/1/lens

@@ -37,6 +37,8 @@ display, as will changing the magnification.
 To make counting pixels easier, typing a
 .B g
 toggles whether a checkerboard grid is imposed on the magnified area.
+.PP
+Button 3 brings up a menu of actions.
 .SH SOURCE
 .B /sys/src/cmd/lens.c
 .SH BUGS

+ 18 - 5
sys/man/1/rio

@@ -50,6 +50,10 @@ rio, label, window, wloc \- window system
 ] [
 .B -hide
 ] [
+.B -scroll
+] [
+.B -noscroll
+] [
 .I cmd
 .I arg ...
 ]
@@ -120,13 +124,22 @@ and placement
 .RB ( minx ,
 .BR miny ,
 .BR maxx ,
-.BR maxy ;
-.BR hide
-causes the window to be created off-screen); and working directory
-.RB ( cd ).
+.BR maxy );
 the units are pixels with the
 upper left corner of the screen at (0, 0).
-The optional command and arguments define which program to run in the window.
+The
+.B hide
+option causes the window to be created off-screen.
+The
+.B scroll
+and
+.B noscroll
+options set the scroll mode.
+The
+.B cd
+option sets the working directory.
+The optional command and arguments 
+define which program to run in the window.
 .PP
 By default,
 .I window

+ 1 - 1
sys/man/2/segattach

@@ -87,7 +87,7 @@ the segment is freed.
 .I Addr
 may be any address within the bounds of the segment.
 .PP
-The system will not permit the text and stack segments to be detached
+The system will not permit the initial stack segment to be detached
 from the address space.
 .PP
 .I Segfree

+ 4 - 2
sys/src/9/port/sysproc.c

@@ -754,8 +754,10 @@ syssegdetach(ulong *arg)
 	error(Ebadarg);
 
 found:
-	/* Check we are not detaching the current stack segment */
-	if((ulong)arg >= s->base && (ulong)arg < s->top) {
+	/*
+	 * Check we are not detaching the initial stack segment.
+	 */
+	if(s == up->seg[SSEG]){
 		qunlock(&s->lk);
 		error(Ebadarg);
 	}

+ 10 - 1
sys/src/ape/lib/ap/syscall/mkfile

@@ -63,7 +63,16 @@ install:V:
 				MOVL AX,4(CX)'
 			}
 			echo RET
-		case sparc
+		case amd64
+			if(~ $i _SEEK)
+				echo TEXT __SEEK'(SB)', 1, '$0'
+			if not
+				echo TEXT $i'(SB)', 1, '$0'
+			echo MOVQ RARG, 'a0+0(FP)'
+			echo MOVQ '$'$n, RARG
+			echo SYSCALL
+			echo RET
+		case sparc sparc64
 			echo TEXT $i'(SB)', 1, '$0'
 			echo MOVW R7, '0(FP)'
 			echo MOVW '$'$n, R7

+ 1 - 1
sys/src/cmd/9nfs/nfs.c

@@ -138,7 +138,7 @@ xfstat(Xfid *xf, Dir *dp)
 		dp->uid = xf->uid;
 		dp->gid = xf->uid;
 		dp->muid = xf->uid;
-		dp->qid.path = (ulong)xf->uid;
+		dp->qid.path = (uvlong)xf->uid;
 		dp->qid.type = QTFILE;
 		dp->qid.vers = 0;
 		dp->mode = 0666;

+ 2 - 1
sys/src/cmd/auth/factotum/fgui.c

@@ -76,7 +76,8 @@ threadmain(int argc, char *argv[])
 	ARGBEGIN{
 	}ARGEND;
 
-	newwindow("-hide");
+	if(newwindow("-hide") < 0)
+		sysfatal("newwindow: %r");
 
 	fmtinstall('A', _attrfmt);
 

+ 4 - 3
sys/src/cmd/aux/apm.c

@@ -621,7 +621,7 @@ Dfile dfile[] = {
 };
 
 static int
-fillstat(ulong path, Dir *d, int doalloc)
+fillstat(uvlong path, Dir *d, int doalloc)
 {
 	int i;
 
@@ -713,14 +713,15 @@ fswrite(Req *r)
 static void
 rootread(Req *r)
 {
-	int n, offset;
+	int n;
+	uvlong offset;
 	char *p, *ep;
 	Dir d;
 
 	if(r->ifcall.offset == 0)
 		offset = 0;
 	else
-		offset = (int)r->fid->aux;
+		offset = (uvlong)r->fid->aux;
 
 	p = r->ofcall.data;
 	ep = r->ofcall.data+r->ifcall.count;

+ 3 - 3
sys/src/cmd/aux/depend.c

@@ -616,7 +616,7 @@ fswalk(Fs *fs, Request *r, Fid *f)
 				err = Eexist;
 				break;
 			}
-			qid[nqid].path = (uint)dp;
+			qid[nqid].path = (uvlong)dp;
 			qid[nqid].vers = 0;
 		}
 		if(nqid == 0 && err == nil)
@@ -856,7 +856,7 @@ fsread(Fs *fs, Request *r, Fid *f)
 					d.gid = "none";
 					d.muid = "none";
 					d.qid.type = QTFILE;
-					d.qid.path = (uint)dp;
+					d.qid.path = (uvlong)dp;
 					d.qid.vers = 0;
 					d.length = f->df->file[dp->fno].tarlen;
 					d.mode = 0444;
@@ -932,7 +932,7 @@ fsstat(Fs *fs, Request *r, Fid *f)
 		d.gid = "none";
 		d.muid = "none";
 		d.qid.type = QTFILE;
-		d.qid.path = (uint)dp;
+		d.qid.path = (uvlong)dp;
 		d.qid.vers = 0;
 		d.length = f->df->file[dp->fno].tarlen;
 		d.mode = 0444;

+ 2 - 2
sys/src/cmd/eqn/eqn.c

@@ -268,7 +268,7 @@ int	yyerrflag = 0;		/* error recovery flag */
 char*
 yytokname(int yyc)
 {
-	static char x[10];
+	static char x[16];
 
 	if(yyc > 0 && yyc <= sizeof(yytoknames)/sizeof(yytoknames[0]))
 	if(yytoknames[yyc-1])
@@ -280,7 +280,7 @@ yytokname(int yyc)
 char*
 yystatname(int yys)
 {
-	static char x[10];
+	static char x[16];
 
 	if(yys >= 0 && yys < sizeof(yystates)/sizeof(yystates[0]))
 	if(yystates[yys])

+ 2 - 0
sys/src/cmd/hget.c

@@ -389,6 +389,8 @@ dohttp(URL *u, URL *px, Range *r, Out *out, long mtime)
 					"Content-length: %d\r\n"
 					"User-agent: Plan9/hget\r\n",
 					u->page, u->host, strlen(u->postbody));
+			if(u->cred)
+				dfprint(fd, "Authorization: Basic %s\r\n", u->cred);
 		}
 		if(r->start != 0){
 			dfprint(fd, "Range: bytes=%d-\n", r->start);

+ 4 - 0
sys/src/cmd/ip/imap4d/msg.c

@@ -747,6 +747,10 @@ bogus:
 	s = (char*)headStr;
 	if(date2tm(&tm, s) == nil)
 		s = m->info[IUnixDate];
+	if(s == nil){
+		free(ss);
+		goto bogus;
+	}
 	m->unixDate = estrdup(s);
 	free(ss);
 	return 1;

+ 43 - 3
sys/src/cmd/lens.c

@@ -8,6 +8,29 @@ enum {
 	Maxmag = 16
 };
 
+enum {
+	Mzoom,
+	Munzoom,
+	Mgrid,
+	Mredraw,
+	Mexit
+};
+
+char *menustr[] = {
+	"zoom",
+	"unzoom",
+	"grid",
+	"redraw",
+	"exit",
+	nil
+};
+
+Menu menu = {
+	menustr,
+	nil,
+	-1
+};
+
 Point lastp;
 Image *red;
 Image *tmp;
@@ -86,10 +109,13 @@ main(int argc, char *argv[])
 		case Ekeyboard:
 			switch(e.kbdc){
 			case 'q':
+			case 0x7f:
 			case '\04':
+			caseexit:
 				exits(nil);
 			case '=':
 			case '+':
+			casezoom:
 				if(mag < Maxmag){
 					mag++;
 					makegrid();
@@ -97,12 +123,14 @@ main(int argc, char *argv[])
 				}
 				break;
 			case 'g':
+			casegrid:
 				showgrid = !showgrid;
 				makegrid();
 				drawit();
 				break;
 			case '-':
 			case '_':
+			caseunzoom:
 				if(mag > 1){
 					mag--;
 					makegrid();
@@ -111,6 +139,7 @@ main(int argc, char *argv[])
 				break;
 			case '.':
 			case ' ':
+			caseredraw:
 				drawit();
 				break;
 			case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': case'0':
@@ -121,14 +150,25 @@ main(int argc, char *argv[])
 				drawit();
 				break;
 			}
-			if(e.kbdc == 'q' || e.kbdc == '\04')
-				exits(nil);
 			break;
 		case Emouse:
-			if(e.mouse.buttons){
+			if(e.mouse.buttons & 1){
 				lastp = e.mouse.xy;
 				drawit();
 			}
+			if(e.mouse.buttons & 4)
+				switch(emenuhit(3, &e.mouse, &menu)){
+				case Mzoom:
+					goto casezoom;
+				case Munzoom:
+					goto caseunzoom;
+				case Mgrid:
+					goto casegrid;
+				case Mredraw:
+					goto caseredraw;
+				case Mexit:
+					goto caseexit;
+				}
 			break;
 		}
 }

+ 20 - 9
sys/src/cmd/sam/cmd.c

@@ -3,7 +3,7 @@
 
 static char	linex[]="\n";
 static char	wordx[]=" \t\n";
-struct cmdtab cmdtab[]={
+Cmdtab cmdtab[]={
 /*	cmdc	text	regexp	addr	defcmd	defaddr	count	token	 fn	*/
 	'\n',	0,	0,	0,	0,	aDot,	0,	0,	nl_cmd,
 	'a',	1,	0,	0,	0,	aDot,	0,	0,	a_cmd,
@@ -108,15 +108,26 @@ inputc(void)
 int
 inputline(void)
 {
-	int i, c;
-
-	linep = line;
-	i = 0;
+	int i, c, start;
+
+	/*
+	 * Could set linep = line and i = 0 here and just
+	 * error(Etoolong) below, but this way we keep
+	 * old input buffer history around for a while.
+	 * This is useful only for debugging.
+	 */
+	i = linep - line;
 	do{
 		if((c = inputc())<=0)
 			return -1;
-		if(i == (sizeof line)/RUNESIZE-1)
-			error(Etoolong);
+		if(i == nelem(line)-1){
+			if(linep == line)
+				error(Etoolong);
+			start = linep - line;
+			runemove(line, linep, i-start);
+			i -= start;
+			linep = line;
+		}
 	}while((line[i++]=c) != '\n');
 	line[i] = 0;
 	return 1;
@@ -186,7 +197,7 @@ termcommand(void)
 	Posn p;
 
 	for(p=cmdpt; p<cmd->nc; p++){
-		if(terminp >= &termline[BLOCKSIZE]){
+		if(terminp >= termline+nelem(termline)){
 			cmdpt = cmd->nc;
 			error(Etoolong);
 		}
@@ -389,7 +400,7 @@ Cmd *
 parsecmd(int nest)
 {
 	int i, c;
-	struct cmdtab *ct;
+	Cmdtab *ct;
 	Cmd *cp, *ncp;
 	Cmd cmd;
 

+ 3 - 1
sys/src/cmd/sam/parse.h

@@ -33,7 +33,9 @@ struct Cmd
 #define	ctext	g.text
 #define	caddr	g.addr
 
-extern struct cmdtab{
+typedef struct Cmdtab Cmdtab;
+struct Cmdtab
+{
 	ushort	cmdc;		/* command character */
 	uchar	text;		/* takes a textual argument? */
 	uchar	regexp;		/* takes a regular expression? */

+ 1 - 1
sys/src/cmd/tapefs/cpiofs.c

@@ -112,7 +112,7 @@ char *
 doread(Ram *r, long off, long cnt)
 {
 
-	seek(tapefile, (long)r->data+off, 0);
+	seek(tapefile, (vlong)r->data+off, 0);
 	if (cnt>sizeof(dblock.tbuf))
 		error("read too big");
 	read(tapefile, dblock.tbuf, cnt);

+ 1 - 1
sys/src/cmd/tapefs/tapfs.c

@@ -96,7 +96,7 @@ doread(Ram *r, long off, long cnt)
 {
 	if (cnt>sizeof(buffer))
 		print("count too big\n");
-	seek(tapefile, 512*(int)r->data+off, 0);
+	seek(tapefile, 512*(vlong)r->data+off, 0);
 	read(tapefile, buffer, cnt);
 	return buffer;
 }

+ 1 - 1
sys/src/cmd/tapefs/tpfs.c

@@ -89,7 +89,7 @@ doread(Ram *r, long off, long cnt)
 {
 	if (cnt>sizeof(buffer))
 		print("count too big\n");
-	seek(tapefile, 512*(int)r->data+off, 0);
+	seek(tapefile, 512*(vlong)r->data+off, 0);
 	read(tapefile, buffer, cnt);
 	return buffer;
 }

+ 4 - 4
sys/src/cmd/tbl/tm.c

@@ -5,8 +5,8 @@ char	*
 maknew(char *str)
 {
 				/* make two numerical fields */
-	int	dpoint, c;
-	char	*p, *q, *ba;
+	int	c;
+	char	*p, *q, *ba, *dpoint;
 
 	p = str;
 	for (ba = 0; c = *str; str++)
@@ -18,7 +18,7 @@ maknew(char *str)
 			if (*str == '.' && !ineqn(str, p) && 
 			    (str > p && digit(*(str - 1)) || 
 			    digit(*(str + 1))))
-				dpoint = (int)str;
+				dpoint = str;
 		}
 		if (dpoint == 0)
 			for (; str > p; str--) {
@@ -28,7 +28,7 @@ maknew(char *str)
 		if (!dpoint && p == str) /* not numerical, don't split */
 			return(0);
 		if (dpoint) 
-			str = (char *)dpoint;
+			str = dpoint;
 	} else
 		str = ba;
 	p = str;

+ 1 - 1
sys/src/cmd/upas/mkfile

@@ -1,7 +1,7 @@
 </$objtype/mkfile
 
 LIBS=common
-PROGS=smtp alias fs ned misc q send scanmail pop3 ml marshal vf filterkit unesc
+PROGS=smtp alias fs ned misc q send scanmail pop3 ml marshal vf filterkit unesc bayes
 #libs must be made first
 DIRS=$LIBS $PROGS
 

+ 18 - 3
sys/src/cmd/webfs/client.c

@@ -139,13 +139,24 @@ plumburl(char *url, char *base)
 {
 	int i;
 	Client *c;
+	Url *ubase, *uurl;
 
+	ubase = nil;
+	if(base){
+		ubase = parseurl(base, nil);
+		if(ubase == nil)
+			return;
+	}
+	uurl = parseurl(url, ubase);
+	if(uurl == nil){
+		freeurl(ubase);
+		return;
+	}
 	i = newclient(1);
 	c = client[i];
 	c->ref++;
-	if(base != nil)
-		c->baseurl = parseurl(base, nil);
-	c->url = parseurl(url, c->baseurl);
+	c->baseurl = ubase;
+	c->url = uurl;
 	sendp(c->creq, nil);
 }
 
@@ -177,6 +188,10 @@ clientthread(void *a)
 	c = a;
 	if(c->plumbed) {
 		recvp(c->creq);
+		if(c->url == nil){
+			fprint(2, "bad url got plumbed\n");
+			return;
+		}
 		clientbodyopen(c, nil);
 		replumb(c);
 	}

+ 4 - 4
sys/src/libc/9sys/sbrk.c

@@ -13,9 +13,9 @@ enum
 int
 brk(void *p)
 {
-	ulong bl;
+	uintptr bl;
 
-	bl = ((ulong)p + Round) & ~Round;
+	bl = ((uintptr)p + Round) & ~Round;
 	if(brk_((void*)bl) < 0)
 		return -1;
 	bloc = (char*)bl;
@@ -25,9 +25,9 @@ brk(void *p)
 void*
 sbrk(ulong n)
 {
-	ulong bl;
+	uintptr bl;
 
-	bl = ((ulong)bloc + Round) & ~Round;
+	bl = ((uintptr)bloc + Round) & ~Round;
 	if(brk_((void*)(bl+n)) < 0)
 		return (void*)-1;
 	bloc = (char*)bl + n;

+ 10 - 1
sys/src/libc/9syscall/mkfile

@@ -59,7 +59,16 @@ install:V:
 				MOVL AX,4(CX)'
 			}
 			echo RET
-		case sparc
+		case amd64
+			if(~ $i seek)
+				echo TEXT _seek'(SB)', 1, '$0'
+			if not
+				echo TEXT $i'(SB)', 1, '$0'
+			echo MOVQ RARG, 'a0+0(FP)'
+			echo MOVQ '$'$n, RARG
+			echo SYSCALL
+			echo RET
+		case sparc sparc64
 			echo TEXT $i'(SB)', 1, '$0'
 			echo MOVW R7, '0(FP)'
 			echo MOVW '$'$n, R7

+ 2 - 2
sys/src/libc/alpha/_seek.c

@@ -1,7 +1,7 @@
 #include <u.h>
 #include <libc.h>
 
-extern	long	_seek(vlong*, int, vlong, int);
+extern	int	_seek(vlong*, int, vlong, int);
 
 vlong
 seek(int fd, vlong o, int p)
@@ -9,6 +9,6 @@ seek(int fd, vlong o, int p)
 	vlong l;
 
 	if(_seek(&l, fd, o, p) < 0)
-		l = -1;
+		l = -1LL;
 	return l;
 }

+ 6 - 4
sys/src/libc/port/atexit.c

@@ -3,12 +3,14 @@
 
 #define	NEXIT	33
 
-static Lock onexlock;
-static struct
-{
+typedef struct Onex Onex;
+struct Onex{
 	void	(*f)(void);
 	int	pid;
-}onex[NEXIT];
+};
+
+static Lock onexlock;
+Onex onex[NEXIT];
 
 atexit(void (*f)(void))
 {

+ 12 - 10
sys/src/libc/port/pool.c

@@ -435,6 +435,8 @@ dsize2bsize(Pool *p, ulong sz)
 	sz += sizeof(Bhdr)+sizeof(Btail);
 	if(sz < p->minblock)
 		sz = p->minblock;
+	if(sz < MINBLOCKSIZE)
+		sz = MINBLOCKSIZE;
 	sz = (sz+p->quantum-1)&~(p->quantum-1);
 	return sz;
 }
@@ -524,7 +526,7 @@ blocksetdsize(Pool *p, Alloc *b, ulong dsize)
 	if(eq > q+4)
 		eq = q+4;
 	for(; q<eq; q++)
-		*q = datamagic[((ulong)q)%nelem(datamagic)];
+		*q = datamagic[((ulong)(uintptr)q)%nelem(datamagic)];
 
 	return b;
 }
@@ -834,7 +836,7 @@ blockcheck(Pool *p, Bhdr *b)
 		if(eq > bq+4)
 			eq = bq+4;
 		for(q=bq; q<eq; q++){
-			if(*q != datamagic[((ulong)q)%nelem(datamagic)]){
+			if(*q != datamagic[((uintptr)q)%nelem(datamagic)]){
 				if(q == bq && *q == 0 && (p->flags & POOL_TOLERANCE)){
 					printblock(p, b, "mem user overflow");
 					continue;
@@ -962,8 +964,8 @@ D2B(Pool *p, void *v)
 	Alloc *a;
 	ulong *u;
 
-	if((ulong)v&(sizeof(ulong)-1))
-		v = (char*)v - ((ulong)v&(sizeof(ulong)-1));
+	if((uintptr)v&(sizeof(ulong)-1))
+		v = (char*)v - ((uintptr)v&(sizeof(ulong)-1));
 	u = v;
 	while(u[-1] == ALIGN_MAGIC)
 		u--;
@@ -1088,7 +1090,7 @@ alignptr(void *v, ulong align, long offset)
 
 	c = v;
 	if(align){
-		off = (ulong)c%align;
+		off = (uintptr)c%align;
 		if(off != offset){
 			c += offset - off;
 			if(off > offset)
@@ -1133,7 +1135,7 @@ poolallocalignl(Pool *p, ulong dsize, ulong align, long offset, ulong span)
 	v = poolallocl(p, asize);
 	if(v == nil)
 		return nil;
-	if(span && (ulong)v/span != ((ulong)v+asize)/span){
+	if(span && (uintptr)v/span != ((uintptr)v+asize)/span){
 		/* try again */
 		poolfreel(p, v);
 		v = poolallocl(p, 2*asize);
@@ -1145,10 +1147,10 @@ poolallocalignl(Pool *p, ulong dsize, ulong align, long offset, ulong span)
 	 * figure out what pointer we want to return
 	 */
 	c = alignptr(v, align, offset);
-	if(span && (ulong)c/span != (ulong)(c+dsize-1)/span){
-		c += span - (ulong)c%span;
+	if(span && (uintptr)c/span != (uintptr)(c+dsize-1)/span){
+		c += span - (uintptr)c%span;
 		c = alignptr(c, align, offset);
-		if((ulong)c/span != (ulong)(c+dsize-1)/span){
+		if((uintptr)c/span != (uintptr)(c+dsize-1)/span){
 			poolfreel(p, v);
 			werrstr("cannot satisfy dsize %lud span %lud with align %lud+%ld", dsize, span, align, offset);
 			return nil;
@@ -1455,7 +1457,7 @@ memmark(void *v, int sig, ulong size)
 	lp = v;
 	elp = lp+size/4;
 	while(lp < elp)
-		*lp++ = (sig<<24) ^ (long)v;
+		*lp++ = (sig<<24) ^ (ulong)(uintptr)v;
 	p = (uchar*)lp;
 	ep = (uchar*)v+size;
 	while(p<ep)

Some files were not shown because too many files changed in this diff