Commit graph

1057 commits

Author SHA1 Message Date
wkj
8d8865f3d0 Rename lrand to p9lrand, too. 2004-12-29 02:44:01 +00:00
rsc
3015b83184 scroll virtual windows using mouse scroll 2004-12-29 02:42:20 +00:00
wkj
e25d5b710a Avoid conflicts with stdlib. 2004-12-29 01:30:19 +00:00
wkj
0debe1c681 Use FreeBSD-approved method for determining FreeBSD version. 2004-12-29 01:29:42 +00:00
wkj
742988d7d8 GC unused variables. 2004-12-29 01:29:14 +00:00
wkj
188fecbe15 Update mkmk.sh. 2004-12-29 01:28:48 +00:00
wkj
c90dd38f54 Formatting nits. 2004-12-29 01:27:57 +00:00
wkj
4645c5d7d3 #define pow10 to _p9pow10 as a stop-gap. 2004-12-29 01:27:23 +00:00
wkj
829e822386 Appease the time_t monster. 2004-12-29 01:25:41 +00:00
wkj
c2070b2fc9 Include netinet/in.h to get ntohs prototype. 2004-12-29 01:25:18 +00:00
wkj
374886540d Formatting nit. 2004-12-29 01:24:13 +00:00
rsc
e5d47e6e15 compiler appeasement 2004-12-28 23:27:16 +00:00
rsc
48907e89cb declare elfdl386mapdl 2004-12-28 23:27:05 +00:00
rsc
09dd30c9a0 small changes for build 2004-12-28 23:26:53 +00:00
rsc
3ddda82110 add virtual desktop patch from andrey 2004-12-28 23:21:40 +00:00
rsc
df49b30343 be like plan 9 plumber 2004-12-28 23:20:54 +00:00
rsc
ddd8916a0e vac is not buggered anymore 2004-12-28 23:15:55 +00:00
rsc
1f17800709 thread is not buggered anymore 2004-12-28 23:15:31 +00:00
rsc
228bb71d16 add crop 2004-12-28 23:13:17 +00:00
rsc
1d2533d010 restore old plan 9 property that when the
last thread exits the main proc, the remaining
program ends up in the background and the
program appears to have exited.
2004-12-28 22:36:24 +00:00
rsc
07bda1263e avoid use of an extra proc 2004-12-28 22:29:43 +00:00
rsc
70997336be remove debugging print 2004-12-28 22:13:33 +00:00
rsc
21e626deb3 remove race between openfdthread and connoutthread msgput,
so that openfd'ed fids always get clunked properly.
2004-12-28 22:11:34 +00:00
rsc
b37396bd11 make these files look like plan 9's 2004-12-28 20:01:58 +00:00
rsc
4dd07e012c check against plan 9 2004-12-28 19:25:16 +00:00
rsc
727facb605 add bvprint 2004-12-28 19:18:33 +00:00
rsc
8b45564f0f fix Bprint yet again 2004-12-28 19:18:19 +00:00
rsc
1369edef9f move linux ureg code to portable file 2004-12-28 17:35:10 +00:00
rsc
e2f52703c2 fix bug in bprint. fmtprint => fmtvprint 2004-12-28 17:34:59 +00:00
rsc
f7b74c1725 FreeBSD tweaks 2004-12-28 17:34:05 +00:00
rsc
d54ead7fb9 more freebsd work 2004-12-28 04:20:39 +00:00
rsc
31cf0ab11f attempt at FreeBSD pre-5 support 2004-12-28 03:50:11 +00:00
rsc
93eb807ac2 remove debugging 2004-12-28 03:42:11 +00:00
rsc
f5ff4947dd add va_start/va_end. 2004-12-28 03:41:17 +00:00
rsc
65cd9e4d85 use fmtprint to avoid va_copy 2004-12-28 03:40:46 +00:00
rsc
ddb664da1b add threaddaemonize 2004-12-28 01:45:39 +00:00
rsc
22c7ebffda more little compile fixes 2004-12-28 01:45:05 +00:00
rsc
7ffc5208a8 use threaddaemonize 2004-12-28 01:37:18 +00:00
rsc
96d6b19dcd new test program 2004-12-28 01:36:53 +00:00
rsc
2c87dda8f8 add threaddaemonize(), more bug fixes 2004-12-28 01:35:38 +00:00
rsc
929fcfe0e3 add note that vac should work.
change %R to %r
2004-12-27 21:05:39 +00:00
rsc
6a130cb01b use getuser instead of getenv("USER").
add portdate file.
2004-12-27 19:40:50 +00:00
rsc
a812ae4b43 secstore from ehg 2004-12-27 19:36:51 +00:00
rsc
73bfbacb24 silence various warnings 2004-12-27 19:13:31 +00:00
rsc
b3efcdbf59 change to use new thread library 2004-12-27 19:13:15 +00:00
rsc
8cbd854a8a better exec handling 2004-12-27 19:11:33 +00:00
rsc
0341761074 add awaitfor and waitfor 2004-12-27 19:11:21 +00:00
rsc
955a2ca78d starting to work on Linux 2004-12-27 18:21:58 +00:00
rsc
e127e40bb1 shuffle to allow use of execchan in non-pthreads impls 2004-12-27 17:19:44 +00:00
rsc
e8a7b96999 more features 2004-12-27 17:01:23 +00:00
rsc
2189e55cde dumb porting bugs 2004-12-27 16:57:41 +00:00
rsc
9939daadf4 use new thread library 2004-12-27 16:56:16 +00:00
rsc
8cd0011323 figure out which files to put in the library 2004-12-27 16:53:01 +00:00
rsc
f1e8706de8 linux pre-2.6 implementation 2004-12-27 16:52:46 +00:00
rsc
4dbefdd41c start linux pre-2.6 port 2004-12-27 16:52:26 +00:00
rsc
fd46554030 good test programs 2004-12-27 05:21:41 +00:00
rsc
e8edc17986 lock using Lock instead of QLock.
qlocks are complicated enough that
they need to be able to print during
debugging.
2004-12-27 05:18:22 +00:00
rsc
73722a8bbf confine pthreads to pthread.c 2004-12-27 03:49:03 +00:00
rsc
10b4555766 as wkj pointed out, notifyseton should not call notesetenable 2004-12-27 03:22:54 +00:00
rsc
17cdbb909b fix to handle new 2004-12-27 01:22:48 +00:00
rsc
dcfa5aba0d remove debugging 2004-12-27 01:22:33 +00:00
rsc
6d7fdb243c changes from plan 9 2004-12-27 01:16:26 +00:00
rsc
334cb1e91c change to use new thread library 2004-12-27 00:38:59 +00:00
rsc
0a839b8314 clone is a bad word on linux 2004-12-27 00:38:16 +00:00
rsc
3694b738b8 handle pty correctly on linux 2004-12-27 00:38:00 +00:00
rsc
2b9172c7d4 add readn to avoid need for plan9port libc 2004-12-27 00:36:40 +00:00
rsc
93f2ae0d92 change to use new thread library 2004-12-27 00:32:50 +00:00
rsc
e1dc7e4511 signal handling, add prototype for pthreadinit 2004-12-27 00:13:48 +00:00
rsc
43db87f1fc bug fix -- need to enqueue before sending the packet,
in case the response comes back and another thread
tries to give it to us, all before we are enqueued.
2004-12-27 00:13:33 +00:00
rsc
4bef0baf95 changes from plan 9 2004-12-27 00:13:04 +00:00
rsc
94235a8b4b change to use new thread library 2004-12-27 00:12:54 +00:00
rsc
9cb6f43045 bad name 2004-12-27 00:12:22 +00:00
rsc
186a31de6b add for porting 2004-12-27 00:12:12 +00:00
rsc
6850febee1 porting changes 2004-12-27 00:11:46 +00:00
rsc
eb7f99c552 fmtdef.h needed for VA_COPY 2004-12-27 00:11:32 +00:00
rsc
cdccf023aa add isNaN 2004-12-27 00:11:13 +00:00
rsc
e686c2b35e forgot this 2004-12-27 00:11:01 +00:00
rsc
52e73e955b add portdate 2004-12-26 23:59:30 +00:00
rsc
1b1434ebce changes from plan 9. some clean-up. 2004-12-26 23:59:10 +00:00
rsc
127d5444fb add portdate 2004-12-26 23:48:25 +00:00
rsc
be83c8415c add portdate 2004-12-26 23:45:12 +00:00
rsc
66209ac0fe changes from plan 9 2004-12-26 23:42:38 +00:00
rsc
bd8cb1a5b3 add portdate 2004-12-26 23:31:14 +00:00
rsc
6b322694f2 plan 9 changes 2004-12-26 23:26:46 +00:00
rsc
36a503c185 add portdate 2004-12-26 23:26:37 +00:00
rsc
b20f06ab9c use new thread library 2004-12-26 23:24:32 +00:00
rsc
d9f3e89e5e use volatile correctly 2004-12-26 23:24:14 +00:00
rsc
beff571cfd add portdate 2004-12-26 23:23:57 +00:00
rsc
a743b8faa2 add portdate 2004-12-26 23:19:25 +00:00
rsc
5787ba4d73 add proper locking for libfmt! 2004-12-26 23:17:18 +00:00
rsc
a3add39bbc plan 9 changes 2004-12-26 23:17:03 +00:00
rsc
00975b7ef1 add portdate 2004-12-26 23:10:19 +00:00
rsc
5cd259167b portdates 2004-12-26 23:08:53 +00:00
rsc
ae1c9bc4ab more tests 2004-12-26 23:07:49 +00:00
rsc
df121a0027 import changes from plan 9 2004-12-26 23:07:37 +00:00
rsc
a76c0fd4a9 pick up plan 9 fltfmt changes 2004-12-26 22:36:52 +00:00
rsc
3f1a219769 various little changes.
also pick up latest fltfmt from plan 9
2004-12-26 22:36:12 +00:00
rsc
5f8fa94796 cleanups - lots of removed files now in thread library.
qlock.c - stubs to thread library
notify.c - clean interface slightly.
2004-12-26 21:51:15 +00:00
rsc
b2ff538258 add for unix port 2004-12-26 21:50:39 +00:00
rsc
bd36f714d2 add for unix port 2004-12-26 21:50:28 +00:00
rsc
e5aa96acbf clean up for unix port 2004-12-26 21:50:14 +00:00
rsc
5c8a042171 updates from plan 9 2004-12-26 21:46:26 +00:00
rsc
60535a5ff6 make work with new thread library 2004-12-26 21:37:31 +00:00
rsc
f99790979b update to use new thread library 2004-12-26 02:10:47 +00:00
rsc
6a5c5d4870 remove empty qlock.c 2004-12-26 02:08:53 +00:00
rsc
1cc215aaf9 better unwinding for 386.
command-line extraction from core files on linux and freebsd.

move linux ureg into ureg386.h (used in many places).
2004-12-25 22:03:28 +00:00
rsc
619085f0b4 more new libthread 2004-12-25 21:57:50 +00:00
rsc
1544f90960 New thread library 2004-12-25 21:56:33 +00:00
rsc
7788fd5409 fix from forsyth via rob 2004-12-25 01:54:02 +00:00
rsc
5e2e4f8239 allow last column to be deleted 2004-11-15 16:19:03 +00:00
rsc
24f4e66b12 still more files 2004-11-08 16:04:01 +00:00
rsc
cf4f3eafc6 extra files 2004-11-08 16:03:42 +00:00
rsc
1956455367 more thread work 2004-11-08 16:03:20 +00:00
rsc
77dcf88474 stupid port bug. cannot use %ld to print a long as a *CHARACTER* 2004-11-03 14:27:30 +00:00
rsc
0d0bad2ee4 bug fix in Get from rob 2004-11-01 17:26:59 +00:00
rsc
9acaad4570 clean up signal handling 2004-10-23 02:59:33 +00:00
rsc
f6c9a57869 figure out which thread implementation to use 2004-10-22 18:46:18 +00:00
rsc
5093c3fa40 try to implement the daemonize hack. 2004-10-22 18:45:08 +00:00
rsc
048610b7ea handle interrupt right 2004-10-22 18:11:38 +00:00
rsc
fd40164450 gas workaround 2004-10-22 18:11:04 +00:00
rsc
793d93626b new test program 2004-10-22 17:15:47 +00:00
rsc
ba15d71b0c debugging, more pthreads crap 2004-10-22 17:15:30 +00:00
rsc
493f3d0fbf make sure a write of 0 bytes does a 0-length write. 2004-10-22 17:14:17 +00:00
rsc
298f6bd657 print 0 %ux as 0x0 2004-10-22 17:13:54 +00:00
rsc
32116738e1 more debugging 2004-10-22 17:12:38 +00:00
rsc
aa200fe309 try to avoid calling notify on the "dumb" signals 2004-10-22 17:12:11 +00:00
rsc
99834d136f add core dump and signal to status line 2004-10-22 17:11:47 +00:00
rsc
012a8a02d5 change md argument to number etc. (which acted only as a flag)
to an actual flag.

buffer underrun check in number

add xdata file for exactly the addressed region

save addr across opens
2004-10-22 17:11:30 +00:00
rsc
e63027eb68 formatting 2004-10-22 17:08:13 +00:00
rsc
3e6107910e exit 9p on interrupt signal. should do better job here. 2004-10-22 17:05:24 +00:00
rsc
d371199605 run 9c before 9a because gas doesn't exit with non-zero status when the file doesn't exist 2004-10-22 17:04:31 +00:00
rsc
ad00bb91b9 use threadexitsall 2004-10-17 05:33:14 +00:00
rsc
f002cc17a6 print out signalled exits 2004-10-17 05:29:53 +00:00
rsc
39cff6e750 add ulimit and umask as builtins 2004-10-17 05:19:53 +00:00
rsc
c3e73c01e3 remove socket at exit 2004-10-17 04:18:55 +00:00
rsc
42c3794c5c fix interrupt handling, add clumsy way to get at text buffer contents 2004-10-17 04:06:56 +00:00
rsc
63853aa069 bug fix in Zerox arrow handling from rob 2004-10-17 00:12:14 +00:00
rsc
0ffd63f553 embarrassing bug in keyboard data 2004-10-16 23:29:16 +00:00
rsc
8537259f82 Fix bug in rune half of __fmtcpy reported by rob. 2004-09-28 16:23:32 +00:00
rsc
53998c99d6 autoindent fixes from rob 2004-09-28 16:10:49 +00:00
rsc
ad6638adc7 add this. 2004-09-23 21:40:21 +00:00
rsc
e7821682ea add pthread 2004-09-23 19:03:46 +00:00
rsc
05d8c6df6c Get rid of 9proc. 2004-09-23 03:06:04 +00:00
rsc
040d1d02f5 Get rid of 64-bit constants. 2004-09-23 03:05:40 +00:00
rsc
709efa017c Add stringn builtin. 2004-09-23 03:04:33 +00:00
rsc
7966faa931 Continue fighting pthreads.
Clean up thread library a bit too.
2004-09-23 03:01:36 +00:00
rsc
c6687d4591 Continue the pthreads torture. 2004-09-21 01:11:28 +00:00
rsc
3d5e34e146 little fixes 2004-09-21 01:06:20 +00:00
rsc
e5c26b01f7 various forgotten files 2004-09-20 15:08:57 +00:00
rsc
dcc9531c5a bug fix 2004-09-20 15:07:44 +00:00
rsc
8d4a3514a8 was ffork-Linux.c. 2004-09-17 22:11:21 +00:00
rsc
282c88f9de Bite the bullet. Have to use different
binaries on 2.4 and 2.6.
2004-09-17 22:09:31 +00:00
rsc
b4c842f139 small tweaks 2004-09-17 22:08:43 +00:00
rsc
bcf527a98e Continue switching library over to pthreads when possible.
Tprimes works on Linux 2.6.  You can only have 128 procs
though.
2004-09-17 03:34:32 +00:00
rsc
06bb4ed20d Rewrite to remove dependence on rendezvous and its bizarre
data structures.  Makes it easier to use pthreads too.
Still need to add code for non-pthreads systems.

Just a checkpoint to switch work to another machine.
2004-09-17 00:38:29 +00:00
rsc
984e353160 PowerPC Linux support from ericvh.
Mainly adding va_copy/va_end.
Also fix bug in sprint wrapping
around top of memory.
2004-08-22 15:39:56 +00:00
rsc
18b0811745 fix various little bugs 2004-08-17 15:32:40 +00:00
rsc
e3e30cff40 Fix huge bug in lex, introduced by porting.
Surprising that anything worked.
2004-08-17 15:30:36 +00:00
rsc
d16cfe2431 handle grap.defines properly 2004-08-16 17:20:41 +00:00
rsc
bdf49b7ee0 better handling of top/active 2004-08-13 14:23:41 +00:00
rsc
2c1b986edf better mask handling, don't raise windows quite so eagerly. 2004-08-13 13:57:58 +00:00
rsc
73bef9b76b More consistent use of _exits and exits
in place of _exit and exit.
2004-08-11 01:56:35 +00:00
rsc
bf00efba2d forgot to write this change before 2004-08-06 14:14:38 +00:00
rsc
56afeac8ea different delete handling from axel.
who knows what it fixes or breaks.
2004-08-06 12:57:43 +00:00
rsc
0fa6e0cfbf Make comment match code. 2004-08-06 12:44:41 +00:00
wkj
8773b4b238 Try to be more clever about re-enabling terminal echo.
From Axel Belinfante.
2004-08-02 15:21:38 +00:00
wkj
a87638642c Compare function pointers against 0 rather than nil. 2004-07-09 01:54:06 +00:00
wkj
eac9e0183f Wc used but not set. 2004-07-09 01:34:15 +00:00
wkj
56e6e1edf4 Don't make foo and foo.tab for foo.y. 2004-07-03 18:35:09 +00:00
wkj
d900f50c1e Empty changelog 2004-07-03 18:07:06 +00:00
wkj
5241ed2bc2 Placate the Sun monster. 2004-07-03 17:48:02 +00:00
wkj
13afc7e57c Don't confuse the Sun. 2004-07-03 17:47:13 +00:00
wkj
8414847a07 Fix missing parameter type. From rob. 2004-06-25 13:56:22 +00:00
wkj
e915fe7c58 Fix from rob. 2004-06-24 00:36:58 +00:00
rsc
60f5a99860 fix temp dir 2004-06-21 03:37:51 +00:00
rsc
b9d0739c20 unused variable 2004-06-20 16:30:27 +00:00
rsc
64055489f6 fix scrolling 2004-06-20 16:29:19 +00:00
rsc
3f23048f7b remove temp files on close 2004-06-17 21:19:37 +00:00
rsc
005ee04b9f another flush bug fix 2004-06-17 21:16:17 +00:00
rsc
59a9682013 attempt better flushing
'
2004-06-17 21:13:51 +00:00
rsc
eacc220a04 less aborting, more chatting 2004-06-17 20:44:21 +00:00
rsc
a1882dc1d0 silly cache hack, also fix vtfilewritebefore not to be so aggressive. 2004-06-17 19:17:04 +00:00
rsc
7cb748941e little bug fixes 2004-06-17 18:51:50 +00:00
rsc
503f601cb0 fix initial x y 2004-06-17 16:26:26 +00:00
rsc
ac9d504d13 add key syms.
where did these go?
2004-06-17 03:34:57 +00:00
rsc
99dfa1dad2 va_arg fix 2004-06-17 03:33:33 +00:00
rsc
e66de6b077 fix alt on mac 2004-06-17 03:31:47 +00:00
rsc
dea58c42de respect Xresources geometry. from peter canning. 2004-06-17 03:31:34 +00:00
rsc
bb501e1274 fix bugs 2004-06-17 03:31:07 +00:00
rsc
7ae745421a look for $HOME - thanks to peter canning. 2004-06-17 03:30:49 +00:00
rsc
f7adbcfb81 bugger auth and authsrv 2004-06-17 03:28:29 +00:00
rsc
4180d05ba4 these do work 2004-06-17 03:28:08 +00:00
rsc
be8b315d15 basically none of these build 2004-06-17 03:27:35 +00:00
wkj
e7588227e6 Need to compile strdup.c; this script probably ought to be generated. 2004-06-17 03:18:40 +00:00
wkj
8e3520dc00 More CVS turds. 2004-06-17 01:59:39 +00:00
wkj
72a653997c Unused variable. 2004-06-17 01:59:07 +00:00
wkj
7285a491c1 Dump9660 (and mk9660). Until we either do something
intelligent with symlinks or put in a switch for things
like dump9660, this is of rather limited utility under Unix.
2004-06-17 01:47:21 +00:00
wkj
e1dddc0532 Import proto file parser for dump9660. 2004-06-17 01:46:29 +00:00
rsc
778df25e99 it is time 2004-06-16 23:51:51 +00:00
rsc
e42882dc96 publish p9dialparse 2004-06-16 16:45:09 +00:00
rsc
0c148046ed fix problem in cache. 2004-06-16 16:43:22 +00:00
rsc
39ef727f46 do a better job with 64-bit files 2004-06-16 15:32:56 +00:00
rsc
75a69d3b20 probably fix bug in seek 2004-06-16 15:31:30 +00:00
rsc
bd2e802053 DAMN BERKELEY. 2004-06-16 03:50:28 +00:00
rsc
c5eb686096 extra assertion, fix leak in vtread 2004-06-16 03:12:39 +00:00
rsc
6cc8155b49 changes 2004-06-14 21:43:01 +00:00
rsc
b707cb51ed handle 64-bit file sizes 2004-06-13 20:08:00 +00:00
rsc
d9e16d252a get this right 2004-06-11 18:57:32 +00:00
rsc
e750400529 add OLOCK 2004-06-11 14:38:56 +00:00
rsc
4f0073fec2 back to 32 bit for now 2004-06-11 12:52:08 +00:00
rsc
9b24f92c56 maybe 64-bit better 2004-06-11 04:33:54 +00:00
rsc
fa009f9d72 scrolling 2004-06-11 04:13:24 +00:00
rsc
038aa0220a scrolling 2004-06-11 04:13:03 +00:00
rsc
d7037d6280 scrolling 2004-06-11 04:12:54 +00:00
rsc
f9571521a5 let's try this 2004-06-09 14:56:36 +00:00
rsc
df7993f9c9 handle opaque structs better 2004-06-09 14:55:34 +00:00
rsc
3d99190131 mouse scrolling 2004-06-09 14:54:37 +00:00
rsc
de52dcf55b remove print 2004-06-09 14:53:26 +00:00
rsc
678359a95a wkj says to do this 2004-06-09 14:29:08 +00:00
rsc
26af0278ae asdf 2004-06-09 14:26:21 +00:00
rsc
3df0f067ce add -C for cpu 2004-06-09 14:25:57 +00:00
rsc
65de82a30f clean up children more often 2004-06-09 14:23:34 +00:00
rsc
f9aa99c72e dumb maps again 2004-06-09 14:22:41 +00:00
rsc
9c63558707 asdf 2004-06-09 14:22:08 +00:00
rsc
f437e56d1d add strdup for debugging. 2004-06-09 14:15:47 +00:00
rsc
ca9b36624f work much harder to reclaim stacks 2004-06-09 14:14:11 +00:00
rsc
ceecb31310 satisfy valgrind 2004-06-09 14:13:49 +00:00
rsc
d1b4cfde55 use plan9 malloc 2004-06-09 14:12:04 +00:00
rsc
e290cfc138 don't require x 2004-06-09 14:11:47 +00:00
rsc
9a4289cfdc add network dialing 2004-06-09 14:11:28 +00:00
rsc
8baa0cbdff various debugging 2004-06-09 14:10:32 +00:00
rsc
7e4a17cf33 use libplumb instead 2004-06-09 14:06:09 +00:00
rsc
4f604b1843 change to plumb better 2004-06-09 14:04:33 +00:00
rsc
4192ac1de1 debugging 2004-06-09 14:03:54 +00:00
rsc
09a5f19772 Buttons 4 and 5 2004-06-09 14:01:54 +00:00
rsc
c16f1f733b Buttons 4 and 5. 2004-06-09 14:01:43 +00:00
rsc
ff8bbc7987 Add buttons 4 and 5 (scrolling on X). 2004-06-09 14:01:30 +00:00
wkj
2d67e4cc56 More cvs turds. 2004-06-03 14:26:25 +00:00
wkj
3081fb8243 This should never have been committed in the first place. 2004-06-03 14:25:50 +00:00
wkj
4a3060535a Libip builds for me on FreeBSD and MacOS X and I have stuff that needs it. 2004-06-03 14:24:07 +00:00
rsc
f1ad497719 small bug fixes 2004-05-23 23:26:59 +00:00
rsc
1be1539ea8 make sure only one guy can call exit. 2004-05-23 01:00:12 +00:00
rsc
6c7460701e various bug fixes and paranoia 2004-05-23 00:59:33 +00:00
rsc
a09e80f9c4 various debugging 2004-05-23 00:59:17 +00:00
rsc
7e0e6522e5 lock malloc ourselves 2004-05-23 00:58:23 +00:00
rsc
1c39bb5919 fix race. 2004-05-20 21:39:24 +00:00
rsc
52aeb2f9b9 more timeout avoidance 2004-05-20 18:22:53 +00:00
rsc
4cc2763a04 don't touch the alarm when there is no timeout 2004-05-20 18:21:38 +00:00
rsc
f2479500fa remove some debugging 2004-05-20 18:17:35 +00:00
rsc
ca82da2258 refer to new file 2004-05-17 03:29:22 +00:00
wkj
aa83d77271 More troff bits; if you want them elsewhere, feel free to repo copy them. 2004-05-17 03:22:35 +00:00
wkj
a7eb134e87 Rename stuff. 2004-05-17 03:17:30 +00:00
wkj
f593f5e008 A few bits of troff don't seem to be buggered anymore. 2004-05-17 02:25:09 +00:00
wkj
e8fb1d3efb tr2post and aux/download; download is a shell script in $PLAN9/bin. 2004-05-17 02:24:15 +00:00
wkj
8a3cbc1579 Make tbl compile silently. 2004-05-17 02:23:43 +00:00
wkj
1f72bc47fe Tweak to make troff compile silently. 2004-05-17 02:23:11 +00:00
wkj
e98091cf8d Ditto. 2004-05-17 02:22:36 +00:00
wkj
1e1cea296a Tweak grap to make it compile silently. 2004-05-17 02:22:23 +00:00
wkj
7534722667 Tweak mpm pending C++ support in the mkfiles. 2004-05-17 02:22:03 +00:00
wkj
4418401f33 Import Taj's version of mnihongo; mark as buggered (but it compiles). 2004-05-17 02:21:36 +00:00
wkj
943563d53c Placate the CVS monster. 2004-05-17 02:21:11 +00:00
wkj
fdd79b2faf Remove accidentally comitted files. 2004-05-17 00:54:02 +00:00
rsc
ff637d88b4 bugger mpm 2004-05-16 17:04:02 +00:00
rsc
bbc3727e15 use correct mkfiles 2004-05-16 17:03:39 +00:00
rsc
45732904c4 ignore venti 2004-05-16 12:55:34 +00:00
rsc
6d2233eec2 correct paths, even though i don't think this is used. 2004-05-16 12:54:35 +00:00
wkj
b4bf678f38 Lex is not buggered. 2004-05-16 07:59:57 +00:00
wkj
eb43e9ba97 Make lex more pedant friendly. 2004-05-16 07:59:27 +00:00
wkj
a87f4771c7 Supress line noise. 2004-05-16 07:58:58 +00:00
wkj
b3878828c6 bwk's dformat. 2004-05-16 07:58:31 +00:00
wkj
b237df90f9 Checkpoint. 2004-05-16 07:57:50 +00:00
wkj
5f1cf8e6fb Checkpoint: pull in mpm; merge pic from Taj's version of the world 2004-05-16 07:56:41 +00:00
wkj
c5561c23cf Checkpoint -- still merging with Taj's version of the world. 2004-05-16 07:55:57 +00:00
wkj
b855148c9b Checkpoint. 2004-05-16 07:54:22 +00:00
rsc
61f5c35c94 more files 2004-05-15 23:55:53 +00:00
rsc
36a9115fcb whoops 2004-05-15 23:32:42 +00:00
rsc
5cedca1b69 Let's try this. It's BUGGERED. 2004-05-15 23:24:00 +00:00
rsc
76e6aca867 old linux 2004-05-15 23:16:38 +00:00
rsc
7f596de86a fix $PLAN9. 2004-05-15 23:15:31 +00:00
rsc
bf27f58721 restore current directory after threadexec.
this is dodgy.
2004-05-15 23:13:42 +00:00
rsc
3cb977fe6c asdf 2004-05-14 23:23:39 +00:00
rsc
b081423638 Empty changelog 2004-05-14 23:13:34 +00:00
rsc
6a64e6c983 asdf 2004-05-14 23:13:15 +00:00
rsc
97fed159e4 avoid stupid aspect ratios. 2004-05-14 23:11:48 +00:00
rsc
983990c806 C
little bugs
.
wq
VS: ----------------------------------------------------------------------
2004-05-14 20:19:53 +00:00
rsc
631fe87f4c minor bug fixes 2004-05-14 20:08:02 +00:00
rsc
debcecb539 little bug fixes 2004-05-14 19:45:23 +00:00
rsc
8538a66037 allow
sam -r machine filelist...

from presotto
2004-05-14 18:25:49 +00:00
rsc
f1bfc54e12 More little bug fixes 2004-05-14 17:45:39 +00:00
rsc
1a8f27c350 various bug fixes 2004-05-14 15:14:21 +00:00
rsc
30387d7ba6 Noblock is nonsense. 2004-05-12 18:22:54 +00:00
rsc
c4097c2951 Fix small bugs. 2004-05-11 17:51:27 +00:00
rsc
2f2df5e02e Ditto. 2004-05-09 16:12:46 +00:00
rsc
2f05c0e86d It's bad form to access data *below* the stack pointer. 2004-05-09 16:10:31 +00:00
rsc
2e965b3324 various bug fixes 2004-05-05 04:22:16 +00:00
wkj
4f48d1d4f7 Don't keep core dumps around. 2004-05-04 20:18:55 +00:00
wkj
115d4c0afc Ignore unknown pragmas.
Be less verbose when allocating uprocs.
Don't drop core dump turds all over the place when x11 goes away.
2004-05-03 17:26:17 +00:00
rsc
b1455f33a8 Little fixes. 2004-04-30 02:16:28 +00:00
rsc
be36ff6885 add -W to specify window size.
various other little fixes.
2004-04-29 17:13:24 +00:00
rsc
3d72637f9b Don't be stupid. 2004-04-26 19:28:28 +00:00
rsc
7317e77da3 display correct size of block devices for linux.
that was surprisingly easy.
2004-04-25 22:24:56 +00:00
rsc
840bb96866 stupid sun 2004-04-25 21:36:03 +00:00
rsc
ecdecae370 little fixes 2004-04-25 21:33:10 +00:00
rsc
1d14d0abf1 getdate is in sun libc. 2004-04-25 21:32:42 +00:00
rsc
10495dd324 add stubs for other systems.
add threadspawn.
2004-04-25 21:31:32 +00:00
rsc
77b3fa7c29 make astro work on suns. ;-) 2004-04-25 21:25:33 +00:00
rsc
304b47c101 collapse \r\r\r\r => \r. 2004-04-25 21:23:27 +00:00
rsc
62780722f5 do flush properly 2004-04-25 21:13:58 +00:00
rsc
e5f0d957f2 flushing a little much. 2004-04-25 21:09:39 +00:00
rsc
fb5ca0b97b fix some bugs when using 9term 2004-04-25 20:50:09 +00:00
rsc
2d930d4552 always be honest about tabstop. 2004-04-25 20:49:44 +00:00
rsc
4a4a7c3e5b whoops 2004-04-25 20:42:08 +00:00
rsc
9471281d42 no more Dotfiles 2004-04-25 20:27:39 +00:00
rsc
c591e1e616 add tab size to window ctl file 2004-04-25 20:26:49 +00:00
rsc
4e20688042 make it possible to access fonts without a display. 2004-04-25 20:26:27 +00:00
rsc
a2c2caaafe fix 2004-04-24 17:34:52 +00:00
rsc
8a3b2ceb0f Add scat. Temporary fix to rc r.e. note groups. 2004-04-24 17:05:43 +00:00
rsc
3f8c70e97c a simple plan 9 image viewer 2004-04-24 16:59:47 +00:00
rsc
e2713e92ab bug fixes and a new gview 2004-04-24 16:34:15 +00:00
rsc
97dafe411a use tty 2004-04-24 05:22:42 +00:00
rsc
78802e6993 various bug fixes 2004-04-24 04:52:49 +00:00
rsc
272fd660b4 small bug fixes 2004-04-23 17:47:02 +00:00
rsc
5e0f7e8a72 Fix window size in case we inherited a bad one. 2004-04-23 06:49:17 +00:00
rsc
b274161734 invoke correct helper. 2004-04-23 05:46:42 +00:00
rsc
b1b5deeea6 fix libraries 2004-04-23 05:35:56 +00:00
rsc
fee88b7e81 use kvm on darwin 2004-04-23 05:35:09 +00:00
rsc
f2862098ca use kvm 2004-04-23 05:34:36 +00:00
rsc
a4a13093d0 forgot this 2004-04-23 05:21:04 +00:00
rsc
1aa4e9c82e little things 2004-04-23 05:17:54 +00:00
rsc
e21fee604e move these here 2004-04-23 05:14:58 +00:00
rsc
f0f4401f0c stats helper 2004-04-23 05:12:11 +00:00
rsc
d72054aa27 add this 2004-04-23 03:50:19 +00:00
rsc
49fda441d2 don't print TIMESTAMP messages 2004-04-22 15:19:59 +00:00
rsc
7e42d21012 odds and ends 2004-04-21 23:43:46 +00:00
rsc
f23ba5ea63 use mk archive stuff 2004-04-21 23:34:11 +00:00
rsc
17e5fb8973 add new guys 2004-04-21 23:22:06 +00:00
rsc
3db34fda4b rename yacc so we can make sure we get it. 2004-04-21 22:49:36 +00:00
rsc
a9df759c98 new stuff. 2004-04-21 22:49:15 +00:00
rsc
fb36ed82ec how much stack do we need? 2004-04-21 22:47:15 +00:00
rsc
2b4b2ae191 better error handling 2004-04-21 22:47:01 +00:00
rsc
63b6732301 make stack requirements more explicit. 2004-04-21 22:46:39 +00:00
rsc
3151bc58b8 why do things change? 2004-04-21 22:46:21 +00:00
rsc
141243821c just a stub. 2004-04-21 22:44:51 +00:00
rsc
06c4fd06ca add RFNOWAIT. this was probably a bad idea. 2004-04-21 22:44:37 +00:00
rsc
ee6d04f9fe undo the madness. 2004-04-21 22:42:01 +00:00
rsc
99f4029090 $foo in tags - here only for reference. 2004-04-21 22:39:37 +00:00
rsc
b9403fe70a use fancy mk syntax 2004-04-21 22:37:44 +00:00
rsc
24c8d8491f add -m flag 2004-04-21 22:37:29 +00:00
rsc
53db2d0f6b why not? 2004-04-21 22:37:11 +00:00
rsc
f80f53a942 cut the cute graphics. 2004-04-21 22:35:40 +00:00
rsc
28994509cc Why not? 2004-04-21 22:19:33 +00:00
rsc
f21f37f219 add registers to stack trace 2004-04-21 20:04:34 +00:00
rsc
4a64a77bd3 add registers 2004-04-21 20:04:18 +00:00
rsc
a3785ca2cc Tweaks to make libthread tell Valgrind about its stack limits,
so that Valgrind can detect stack overflow for me.
2004-04-21 19:29:04 +00:00
rsc
cdd61ab0ae take out the debugging prints i just accidentally checked in. 2004-04-21 17:52:46 +00:00
rsc
a3a83c9e5f no need for 2004-04-21 17:52:09 +00:00
wkj
7025271a71 Libsec doesn't compile without a reduce script, either. 2004-04-21 17:52:08 +00:00
rsc
0b424d7bd7 always a good idea to drop the lock when you're done. 2004-04-21 07:47:50 +00:00
rsc
92a0a8b69f the lastbug fix? 2004-04-21 07:38:03 +00:00
rsc
8f8b0e542a reflect new location.
use here for here instead of estartab.
2004-04-21 07:29:49 +00:00
rsc
d0f7912a0e small fixes 2004-04-21 06:55:30 +00:00
rsc
6b17c8f11b more tomfoolery.
i bet mk can't read the mac os or sun os archives.
2004-04-21 06:53:59 +00:00
rsc
d946e4dc5d handle long names 2004-04-21 06:52:44 +00:00
rsc
a29753a17f Who'd have guessed this was broken? 2004-04-21 06:20:19 +00:00
wkj
2c7cc0faaf Document recent changes.
Make lex really compile in rsc's world.
2004-04-21 05:56:24 +00:00
rsc
7ac9b0e140 make scripts work with more shells,
use current variable names.
2004-04-21 05:49:52 +00:00
rsc
0d6c3c2408 ditto 2004-04-21 05:43:24 +00:00
rsc
65f5492fb4 maybe this will work. 2004-04-21 05:42:46 +00:00
rsc
a25e7f2fd5 Rename the files so that we can run them through cpp. 2004-04-21 05:40:32 +00:00
rsc
c1be7cc4c6 no debugging prints 2004-04-21 05:35:55 +00:00
rsc
a8c15b08ca Include looks in #9/acid now.
Acid works harder at not falling over.
2004-04-21 05:34:37 +00:00
rsc
eaf56db5bc Fix the bugs I introduced fixing the bug earlier tonight. 2004-04-21 05:34:10 +00:00
wkj
ae12b87972 MD5 and SHA1 in transliterated to x86 assembler with C preprocessor goo.
Thanks to Brendan Connell for putting up with this nonsense.
2004-04-21 04:52:27 +00:00
rsc
f928ea8571 yet more 2004-04-21 04:50:23 +00:00
rsc
868600f21e more stuff. 2004-04-21 04:50:13 +00:00
rsc
175b8a534a No more malloc or lock inside signal handlers. 2004-04-21 04:48:25 +00:00
wkj
ac0e2db600 Add basic libmp support for the x86. 2004-04-21 04:45:31 +00:00
wkj
146cf9377d Tcs seems to build now. 2004-04-21 03:17:22 +00:00
wkj
60d3db8e6b Try to gather entropy from /dev/random. 2004-04-21 03:06:03 +00:00
rsc
551445b92c Add sunrpc. 2004-04-21 03:04:30 +00:00
rsc
fa256eecfa need this 2004-04-21 02:43:50 +00:00
rsc
733e9d3977 Fix bug in typedef guys. 2004-04-21 02:40:59 +00:00
wkj
79f2723f25 Use unsharp() instead of SYS9. 2004-04-21 02:34:42 +00:00
wkj
52e7c45837 Tell astro where to find estartab and here by defining SYS9 in CFLAGS.
(Better ideas welcome).
2004-04-21 02:23:14 +00:00
wkj
cd5bae7871 Astro with some minor changes to placate Unix. 2004-04-21 02:16:43 +00:00
rsc
95f57b01e2 Clean up the dwarf code. 2004-04-21 02:03:00 +00:00
rsc
87a478a361 Clean up the dwarf code a little and make
acidtypes handle gcc 3.3.3 binaries.
2004-04-21 02:02:47 +00:00
wkj
e37302c4b9 Plan 9 lex (to be installed as lex.9, if at all). 2004-04-21 01:22:09 +00:00
wkj
7d3bbe1652 Don't build lex until Russ says it is OK (it is useful for troff, which I don't really want to port to flex).
Add aescbc because I use it once in a while.
2004-04-21 01:21:40 +00:00
wkj
a31db67d14 Add tcs; it compiles in my world, but I haven't tried it in Russ's yet. 2004-04-21 01:15:41 +00:00
rsc
dddc2ed156 Compute time zone using strftime. 2004-04-20 17:00:01 +00:00
rsc
99c75f3c50 fix a deadlock. 2004-04-20 15:16:18 +00:00
rsc
0e25d6094f better \r handling 2004-04-20 06:49:32 +00:00
rsc
6c8856475f acid on freebsd 2004-04-20 05:51:36 +00:00
rsc
ebd395452e cut dwarf a little slack. 2004-04-20 05:43:05 +00:00
rsc
a16e9f2de7 help out freebsd 4.9 2004-04-20 05:11:39 +00:00
rsc
f1a5be0fb2 remove debugging print 2004-04-20 05:09:56 +00:00
rsc
d2cbcb7722 little fixes. 2004-04-20 05:05:16 +00:00
rsc
62c277efe8 fix stupid bug in findsym 2004-04-20 04:33:53 +00:00
rsc
86fa0d2277 final tweaks for tonight. 2004-04-20 02:21:12 +00:00
rsc
a0f1e21ff9 make things work on SunOS 2004-04-20 02:03:38 +00:00
rsc
e637c944fe i hate [] 2004-04-20 01:42:20 +00:00
rsc
a196bf0577 i hate the [] 2004-04-20 01:13:04 +00:00
rsc
89f6ec8e90 yet more [] 2004-04-20 00:55:31 +00:00
rsc
929ba9b98f fix various bugs for sunos 2004-04-20 00:54:58 +00:00
rsc
20b33daf59 kill some more [] 2004-04-20 00:54:08 +00:00
rsc
c252674209 remove some [] array initializers. 2004-04-20 00:45:06 +00:00
rsc
13e660708d C
err is a bad name for a variable.
VS: ----------------------------------------------------------------------
2004-04-20 00:20:36 +00:00
rsc
67a5b28ed0 darwin
.
2004-04-19 23:59:47 +00:00
rsc
67e4fce4f5 make mac work 2004-04-19 23:58:57 +00:00
rsc
b829c35470 for no systems. 2004-04-19 23:10:22 +00:00
rsc
1b135a7805 clean up when finished.
don't set PLAN9
don't set PLAN9
2004-04-19 23:04:36 +00:00
rsc
e15e6c0820 clean up when finished.
don't set PLAN9
2004-04-19 23:03:55 +00:00
rsc
b4a659b6cf clean up when finished. 2004-04-19 23:03:46 +00:00
rsc
98cd2746cf add acidtypes 2004-04-19 22:41:57 +00:00
rsc
70e24710a8 cut unnamed unions 2004-04-19 19:59:58 +00:00
rsc
10323cd327 get rid of array indexes. 2004-04-19 19:58:44 +00:00
rsc
aa8086853b x 2004-04-19 19:35:17 +00:00
rsc
c2a9c3bb4e handle pids without files correctly. 2004-04-19 19:34:22 +00:00
rsc
f91245eb29 remove reference to mach2 2004-04-19 19:32:29 +00:00
rsc
564ca709d0 acid 2004-04-19 19:32:07 +00:00
rsc
22a7368ef2 remove ref to mach2 2004-04-19 19:31:09 +00:00
rsc
84114f0665 debugger 2004-04-19 19:30:50 +00:00
rsc
a84cbb2a17 libmach 2004-04-19 19:29:25 +00:00
rsc
c8af1ab17b tweaks 2004-04-19 18:13:05 +00:00
rsc
ad1d529cd7 add files from david tolpin 2004-04-19 05:56:43 +00:00
rsc
e543c475e7 fix drawread, add changes from david tolpin 2004-04-19 05:56:17 +00:00
rsc
904f0d0b42 oldorg was bad idea 2004-04-19 05:55:19 +00:00
rsc
892de79874 various little bug fixes 2004-04-19 05:54:21 +00:00
rsc
f476c92fdb add cooked override. 2004-04-18 16:22:12 +00:00
rsc
ebb4c24772 add this 2004-04-16 15:28:09 +00:00
rsc
a2705f207f make echoing work. 2004-04-16 15:27:29 +00:00
rsc
aba09191af add rog's chording fix. 2004-04-16 05:11:34 +00:00
rsc
9fdc52c625 forgot mklib 2004-04-15 15:10:19 +00:00
rsc
4dcd9af228 9term manages to turn off echo at the right times under SunOS ? 2004-04-15 02:04:30 +00:00
rsc
aeb54c0efe add -p flag. too many install scripts want it. 2004-04-15 01:25:21 +00:00
rsc
558ba8f4df only archive the new files 2004-04-15 01:24:54 +00:00
rsc
ff3adf6082 add gzip, bzip2
'
2004-04-14 20:09:21 +00:00
rsc
4314729dde Add graph, plot 2004-04-14 19:54:10 +00:00
rsc
08df2a433e add new atoi etc. 2004-04-09 01:02:54 +00:00
rsc
5ad51f0cff bye bye 2004-04-08 19:57:05 +00:00
rsc
650deb7980 Make libhtml, htmlfmt build.
Thanks to wkj for doing all the hard work.
2004-04-08 19:36:35 +00:00
rsc
6f6553dfb7 Cache last uid, gid to make translation faster. 2004-04-08 19:31:21 +00:00
rsc
62c1415826 Let's try this - Dotfiles toggles listing of .* in directory listings. 2004-04-08 19:30:18 +00:00
wkj
7cf289ca89 Import version of libhtml that might actually work with ANSI C. 2004-04-06 19:06:52 +00:00
rsc
3e3817f7c8 better fix to window flash bug on new -- also
happens on resize.
2004-04-06 15:20:01 +00:00
rsc
88cbb82295 whoops - missing } 2004-04-05 22:01:23 +00:00
rsc
cc3c704cf3 debugging print 2004-04-05 21:02:10 +00:00
rsc
7934b1c6d4 Fixes from Axel Belinfante.
Fix 9term New border flash too.
2004-04-05 20:58:16 +00:00
rsc
3a9dccd76e Change _p9strsig to return nil if tmp==nil.
Add atoi, atol, atoll.
These versions call strtol/strtoll with base==0.
The Unix versions use base==10.
2004-04-02 22:57:49 +00:00