Commit graph

572 commits

Author SHA1 Message Date
rsc
8d9f61e1c9 try to handle DEL better 2005-02-08 18:33:06 +00:00
rsc
dc305d0368 Maybe it will run on SunOS 5.8 now. 2005-02-08 18:01:04 +00:00
rsc
3842363abc silence archive warning for .a files 2005-02-02 22:32:56 +00:00
rsc
98e19d6df6 do not readdir files - from zoltan jarai 2005-01-30 19:45:08 +00:00
rsc
6bc22c7d87 disable chording 2005-01-30 18:00:26 +00:00
rsc
f76e039c43 fix mkfile again 2005-01-30 17:09:40 +00:00
rsc
38c087aa6d add - 2005-01-30 16:49:46 +00:00
rsc
b1307713a2 add lex files 2005-01-30 16:49:13 +00:00
rsc
b8e710da0b why bother? 2005-01-30 16:48:14 +00:00
rsc
2c0803972b silence warning 2005-01-30 16:34:48 +00:00
rsc
9d01e22178 add errors file 2005-01-30 16:34:12 +00:00
rsc
9fe5a62166 use correct graphics format 2005-01-30 16:28:21 +00:00
rsc
efe1241109 handle sysnames in labels 2005-01-30 16:27:45 +00:00
rsc
65da859889 update usage 2005-01-29 17:03:53 +00:00
rsc
a2d6635774 add diff -a 2005-01-29 16:50:51 +00:00
rsc
97e85ebf11 cope with unix ORCLOSE 2005-01-27 20:55:51 +00:00
rsc
5bae51dd93 fix rowdump bug 2005-01-27 20:52:51 +00:00
rsc
07494878dc remove searching print; check fids in use; handle addr correctly again 2005-01-27 20:36:04 +00:00
rsc
693892caf5 remove debugging print 2005-01-27 07:20:06 +00:00
rsc
17ab31aac6 add autoindent (-a) and chording.
clean up argument parsing.
2005-01-27 06:10:35 +00:00
rsc
4ac5f249ad add -c option 2005-01-26 07:10:02 +00:00
rsc
c6ff2c768d volatile 2005-01-24 00:49:08 +00:00
rsc
de39860a2a more searchpath-related changes 2005-01-23 23:19:47 +00:00
rsc
0753502edf avoid saying unsigned long, for unix port 2005-01-23 22:57:21 +00:00
rsc
6dd68c9ad7 add undocumented Abort builtin 2005-01-23 22:57:06 +00:00
rsc
a05c312b47 do not clobber register names 2005-01-23 22:56:50 +00:00
rsc
d925d643cb sort cores; print stack as command 2005-01-23 22:51:46 +00:00
rsc
b030a6c390 change to use attach functions.
$a means switch thread in core dumps.
(maybe that should be $A now?).
2005-01-23 22:48:54 +00:00
rsc
4f2ac1b76b Working on better handling of multithreading in general
and core dumps in particular.  See notes:

new types: register is something that when dereferenced gives you
	the registers.  the Ureg is no longer mapped at 0.
	refconst is something that gives a constant when dereferenced.

new builtin register("AX") creates register values
new builtin refconst(0x123) creates refconst values

new builtin var("foo") is equivalent to the variable foo
	(it returns foo but can also be used as the lhs of an assignment).

new acid function getregs() returns a list of the current values of registers.
new acid function setregs() sets the current registers to those values.
	note that getregs and setregs operate on register locations, not the
		register values themselves.
new acid function resetregs() sets registers to register("AX"), etc.
new acid function clearregs() sets all registers to constant -1.
the default register settings are as in resetregs(), not small numbers.

new acid variables coretext, pids, systype, corefile, cmdline.

new behavior: local variable lookup, stk, etc., use the acid values of registers
	(*PC, *SP, and so on), so the thread support code can change the context
	completely.

unary + is applicable to more data types and prints more often.
2005-01-23 22:48:19 +00:00
rsc
311b2afde9 arg count 2005-01-21 20:23:06 +00:00
rsc
7ca705927e use better versions 2005-01-21 20:21:12 +00:00
rsc
f0264abf26 ignore host read eof while exiting 2005-01-20 22:59:50 +00:00
rsc
303cb7c6db todo 2005-01-20 17:53:14 +00:00
rsc
1b0c8a154a use correct yacc 2005-01-19 19:48:58 +00:00
rsc
10b819c6bd add errno 2005-01-19 19:12:48 +00:00
rsc
a331ac4c61 do not use shutdown on mac 2005-01-19 16:51:37 +00:00
rsc
9b3d503bac avoid c99 2005-01-19 16:50:07 +00:00
rsc
ec41125f3b avoid c99 extensions 2005-01-19 16:48:25 +00:00
rsc
6dfd0c502a try again 2005-01-19 16:44:22 +00:00
rsc
c384ebd2ce try again at x86-64 2005-01-19 16:42:34 +00:00
rsc
6987199d12 continue x86-64 2005-01-19 04:05:19 +00:00
rsc
58698c9c12 add 2005-01-18 20:45:12 +00:00
rsc
170d47ee1f print core cmd 2005-01-18 20:26:12 +00:00
rsc
5579b860db check for lack of registers 2005-01-18 20:17:28 +00:00
rsc
2e49032b85 bigger chunking 2005-01-18 20:17:17 +00:00
rsc
adbb83845c remove venti for now 2005-01-18 05:25:09 +00:00
rsc
38c10d1abc do not call exits in threaded programs 2005-01-17 21:29:00 +00:00
rsc
87ccb5f9cf nil deref 2005-01-17 15:37:27 +00:00
rsc
91124c1bcf different naming convention 2005-01-16 22:57:50 +00:00
rsc
b50e9caf31 handle section (9p) 2005-01-16 21:30:59 +00:00
rsc
32053cdfb3 use EARGF 2005-01-16 21:16:03 +00:00
rsc
a20a146803 make vacfs work; thanks to lucho 2005-01-16 21:15:30 +00:00
rsc
3300f9cd89 Long-standing bug in syminit, tickled by placing
initshell before syminit.  Don't understand why syminit
exists at all.
2005-01-15 20:54:41 +00:00
rsc
5ad21e8620 use threadexits instead of exits 2005-01-15 16:34:14 +00:00
rsc
0fdffa38a1 ridiculous precision 2005-01-14 20:53:44 +00:00
rsc
23aada8926 floating percent 2005-01-14 20:21:15 +00:00
rsc
732489da90 no /fd/0 2005-01-14 20:08:31 +00:00
rsc
cb98c6f854 stupid sun 2005-01-14 18:46:35 +00:00
rsc
7ea6c4fcbe try to fix sun 2005-01-14 18:38:20 +00:00
rsc
147e5e8702 stupid sun 2005-01-14 18:35:33 +00:00
rsc
f940ad0699 stupid programmer 2005-01-14 18:35:17 +00:00
rsc
6b32f96d74 smart sun 2005-01-14 18:33:54 +00:00
rsc
d7925b13e3 stupid sun 2005-01-14 18:32:36 +00:00
rsc
9268e33d65 stupid sun 2005-01-14 18:25:05 +00:00
rsc
0dc9950215 stupid sun 2005-01-14 18:21:12 +00:00
rsc
2d3f13df35 not reached 2005-01-14 17:57:32 +00:00
rsc
459eae0c70 fix unsharp 2005-01-14 17:40:02 +00:00
rsc
359c1e017e works on Linux 2.6 2005-01-14 04:24:09 +00:00
rsc
78e51a8c66 checkpoint 2005-01-14 03:45:44 +00:00
rsc
3940506bcc forgotten files 2005-01-13 04:56:07 +00:00
rsc
357621cd82 more small changes 2005-01-13 04:50:11 +00:00
rsc
c8b6342d3c Many small edits. 2005-01-13 04:49:19 +00:00
rsc
a9eaaa03e0 maintain $path and $PATH simultaneously 2005-01-12 16:59:50 +00:00
rsc
c70667367f get rid of the 9foo commands in favor of the 9 script 2005-01-11 20:57:41 +00:00
rsc
1c096fa40a better cleanup of tmp files 2005-01-11 20:57:00 +00:00
rsc
63abaa8216 fix cflags 2005-01-11 19:46:56 +00:00
rsc
ed7f32b9d7 unbugger postscript 2005-01-11 19:46:33 +00:00
rsc
4de03b544c add $plan9 variable 2005-01-11 19:46:06 +00:00
rsc
b8f742db85 os x changes 2005-01-11 17:43:53 +00:00
rsc
dcba4bf6bd fixes for openbsd 2005-01-11 17:14:07 +00:00
rsc
2e65dc0d02 changes from rob 2005-01-11 16:48:35 +00:00
rsc
d8c78a8d56 add -r flag to reverse scrolling behavior.
from peter canning.
2005-01-10 00:21:13 +00:00
rsc
266f8e128c oops 2005-01-07 23:11:34 +00:00
rsc
3088012119 symopen 2005-01-07 23:11:11 +00:00
rsc
8b549a6214 symopen 2005-01-07 20:45:11 +00:00
rsc
1ab0f6f00b new program from presotto 2005-01-07 20:41:13 +00:00
rsc
c761d0aa4f unbugger 2005-01-07 18:52:18 +00:00
rsc
21621d7e20 gcc 2005-01-07 18:04:24 +00:00
rsc
a19ff5b204 debugging for sam, and an old fix forgotten 2005-01-07 18:03:36 +00:00
wkj
b80755cf2d Update CVS turd. 2005-01-07 17:41:02 +00:00
wkj
8a830ad090 First pass at supporting FreeBSD 5.x.
I do not yet have a way of testing this.
2005-01-07 17:38:08 +00:00
rsc
b4135f04f1 debugging 2005-01-07 17:26:07 +00:00
rsc
c619cc2cb9 more name conflicts 2005-01-07 17:21:09 +00:00
rsc
60ee914042 stupid FreeBSD name conflict 2005-01-07 17:20:02 +00:00
rsc
e45084490f ignore spurious sigchilds on sunos 2005-01-07 17:06:01 +00:00
rsc
005a85f3a2 success on the sun 2005-01-07 08:02:54 +00:00
rsc
c345061e8d sunos fixes 2005-01-07 07:47:37 +00:00
rsc
bb426e77f6 more precision on time 2005-01-06 23:11:14 +00:00
rsc
f8104b3d3d exit on eof 2005-01-05 04:01:12 +00:00
rsc
33adad7dc7 update mkmk.sh 2005-01-04 22:44:52 +00:00
rsc
b253a743b2 scrolling 2005-01-04 22:43:50 +00:00
rsc
9aa1c92f74 add new | syntax.
syntax will change.
2005-01-04 22:41:27 +00:00
rsc
9e6fcbd790 forgot this 2005-01-04 22:31:35 +00:00
rsc
b2ad2ef138 in with the new 2005-01-04 22:30:59 +00:00
rsc
a6662a3672 unused variables 2005-01-04 22:17:58 +00:00
rsc
d40457248b use 9pclient 2005-01-04 22:17:47 +00:00
rsc
d2e350c019 parse -s option 2005-01-04 22:17:37 +00:00
rsc
f4b26b64bc do threading right 2005-01-04 22:17:10 +00:00
rsc
b10db40d3b exit correctly 2005-01-04 22:17:00 +00:00
rsc
28aaab76cf exit correctly. 2005-01-04 22:16:38 +00:00
rsc
8cc98332ad use 9pclient 2005-01-04 22:16:30 +00:00
rsc
ed01060152 3d color cube 2005-01-04 22:13:32 +00:00
rsc
2ce287bb13 don't use (){} struct constructor 2005-01-04 22:10:43 +00:00
rsc
372e9667df Goodbye SHORTLIB 2005-01-04 22:10:29 +00:00
rsc
eb423b5cc0 use 9pclient instead of fs 2005-01-04 22:09:51 +00:00
rsc
627bae9c76 clean up mkfile; fix winctlprint bug reported by peter canning 2005-01-04 21:39:23 +00:00
rsc
f755d50401 don't need to rename Fid 2005-01-04 21:29:20 +00:00
rsc
05636f8303 don't need to rename Fid anymore 2005-01-04 21:28:37 +00:00
rsc
93a6f8d76a back to threadnotify 2005-01-04 21:28:25 +00:00
rsc
452c09358f change to use new library. 2005-01-04 21:27:19 +00:00
rsc
30968c3fe9 typo flags => flag 2005-01-04 21:27:02 +00:00
rsc
100d566802 new prototype 2005-01-04 21:26:49 +00:00
rsc
f583e2b1d8 don't be dumb. 2005-01-04 21:26:30 +00:00
rsc
9e0b427274 small fixes; goodbye SHORTLIB 2005-01-04 21:26:13 +00:00
rsc
4bd8ec4c1c change comparison function to be consistent.
(now qsort on sunos should stop crashing.)
2005-01-04 21:25:48 +00:00
rsc
0daf9c0941 have lrand now 2005-01-04 21:25:26 +00:00
rsc
c39bd3556b allow - as input file 2005-01-04 21:25:17 +00:00
rsc
e2a1725dfc more debugging 2005-01-04 21:24:52 +00:00
rsc
020c80587a an old saddle 2005-01-04 21:24:19 +00:00
rsc
24c02865d8 placeholder; does not yet build 2005-01-04 21:23:50 +00:00
rsc
acc021b8f8 add ? for unknown plumbs 2005-01-02 03:45:07 +00:00
rsc
08166a4548 updates from andrey 2004-12-30 18:07:18 +00:00
rsc
3015b83184 scroll virtual windows using mouse scroll 2004-12-29 02:42:20 +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
228bb71d16 add crop 2004-12-28 23:13:17 +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
f7b74c1725 FreeBSD tweaks 2004-12-28 17:34:05 +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
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
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