Commit graph

1084 commits

Author SHA1 Message Date
rsc
4a560b7a09 do not set $PLAN9 2005-03-15 20:26:45 +00:00
rsc
db318aa36d syntax errors 2005-03-15 20:26:30 +00:00
rsc
22a88b6735 do not add to void* 2005-03-15 19:50:16 +00:00
rsc
1f8a80722f appease sun 2005-03-15 16:11:47 +00:00
rsc
b3e7c02689 get rid of .= syntax 2005-03-15 14:17:57 +00:00
rsc
d5c40a0da2 Add dollarsign support. 2005-03-14 21:02:14 +00:00
rsc
d96da29b37 Add $foo window names back to acme, enabled with -'$'.
See the comment in wind.c about why this isn't the right
solution.
2005-03-14 20:53:10 +00:00
rsc
7551b2ec8b use plan 9 versions 2005-03-09 17:12:40 +00:00
rsc
4b970769b9 more robust win 2005-03-05 13:11:00 +00:00
rsc
8ba3811378 make chatty9p an extern int for the mac. 2005-03-04 14:47:18 +00:00
rsc
c31f81ac8b open: preserve error on failed open
write: handle offset correctly for fswrite
2005-03-01 20:56:27 +00:00
wkj
10ff532fdc Fix up OBJTYPE on 64-bit x86 FreeBSD machines. 2005-02-22 16:58:04 +00:00
rsc
f8d580d82b make directories as neeeded 2005-02-21 15:03:01 +00:00
rsc
98660df250 better symlink 2005-02-21 14:25:12 +00:00
rsc
5db61d6221 syntactically correct c code always a plus 2005-02-21 04:28:34 +00:00
rsc
d24aad8fd7 bug fix from lucho 2005-02-20 22:51:24 +00:00
rsc
3e1960ce9e fix -d from lucho 2005-02-18 18:28:00 +00:00
rsc
d7688cce37 add check for procscheduler returning 2005-02-16 17:15:56 +00:00
rsc
7eded25c3c make hwrite work with chunked encoding 2005-02-16 17:13:41 +00:00
rsc
80b8842f3e hard-to-find locking bug 2005-02-15 18:08:28 +00:00
rsc
0c891f28db whoops -- close afid in auth_freerpc 2005-02-15 05:04:36 +00:00
rsc
0cbccd3a0e add support for alpha 2005-02-15 05:04:18 +00:00
rsc
429f8aa4c1 ignore tty notes; still not 100% right 2005-02-15 05:04:01 +00:00
wkj
cae9bfe9da Reduce the differences between yaccpar and yaccpars.
Add support for passing an argument through yyparse to yylex.
2005-02-14 20:27:13 +00:00
rsc
5ddc97fc3e disable logging 2005-02-14 19:33:42 +00:00
rsc
8ee6ad4d96 different fix for main proc bug 2005-02-14 18:58:56 +00:00
rsc
c800cb7bac bug fix 2005-02-13 23:56:27 +00:00
rsc
3170c7d40b hide xreadcons 2005-02-13 23:29:32 +00:00
rsc
e1a2296329 more bug fixes 2005-02-13 23:08:55 +00:00
rsc
6acff93f3d lower case 2005-02-13 22:10:33 +00:00
rsc
1757e76a73 new 2005-02-13 22:09:47 +00:00
rsc
ef2eeaf3bd no zombies 2005-02-13 21:40:12 +00:00
rsc
134c20c605 handle /dev/stdin always 2005-02-13 21:38:32 +00:00
rsc
0faf0f0baa add log 2005-02-13 19:26:14 +00:00
rsc
06f4d9201a add getnetconninfo 2005-02-13 19:25:44 +00:00
rsc
18b1814390 use nci to label connections 2005-02-13 18:35:32 +00:00
rsc
8f4871fd2e work around stupid linux bug 2005-02-13 18:35:19 +00:00
rsc
74fc94d47e add dsa x509 2005-02-13 18:35:11 +00:00
rsc
039b8c9af0 add %lB for lower case 2005-02-13 18:34:57 +00:00
rsc
52e5e85b02 allow parseattr(nil) 2005-02-13 18:34:38 +00:00
rsc
b2e0da3e39 bug fix 2005-02-13 18:33:41 +00:00
rsc
e5d68728eb add local address to dial 2005-02-13 18:33:26 +00:00
rsc
fb7a39bc56 add pass proto 2005-02-13 18:32:56 +00:00
rsc
05abefb2a0 bigger buffers; add rdwr 2005-02-13 18:32:38 +00:00
rsc
510d89fc13 more add 2005-02-13 18:04:53 +00:00
rsc
57fcfc2a0b add others 2005-02-13 18:04:20 +00:00
rsc
ce94dbe662 add ssh-agent via factotum 2005-02-13 18:04:00 +00:00
rsc
ea77b9ce7c new program readcons 2005-02-13 18:03:41 +00:00
rsc
6e527fbc4d new auth 2005-02-13 05:59:29 +00:00
rsc
0f8ec41b0a moving to auth 2005-02-13 05:58:45 +00:00
rsc
f0fb9c573e make key prompt work 2005-02-11 22:16:21 +00:00
rsc
68f2c92c6f less chatty 2005-02-11 22:16:11 +00:00
rsc
ba285d2ba9 open correct factotum file 2005-02-11 22:04:12 +00:00
rsc
f93c7b2dc8 fix warnings 2005-02-11 21:18:00 +00:00
rsc
510f0dbf6b no anon union 2005-02-11 21:16:01 +00:00
rsc
b90bacec60 $WSYSTYPE not WSYSTYPE 2005-02-11 21:06:56 +00:00
rsc
031c900094 add x11 include 2005-02-11 21:03:09 +00:00
rsc
6c0209f6f0 build changes 2005-02-11 20:32:41 +00:00
rsc
7d59ed7114 changes 2005-02-11 19:51:21 +00:00
rsc
15423fd052 use ndb directly for authdial 2005-02-11 19:46:29 +00:00
rsc
1b3e768e01 do not need auth_wep or login 2005-02-11 19:46:12 +00:00
rsc
49f498ae11 remove factotum directory 2005-02-11 19:45:55 +00:00
rsc
783aadbdcd better handling of failed setproc 2005-02-11 19:44:37 +00:00
rsc
4999080d5b fix doubleclick 2005-02-11 19:44:27 +00:00
rsc
276bf4edf1 add write -l 2005-02-11 19:44:04 +00:00
rsc
d83256bba4 unbugger 2005-02-11 19:42:55 +00:00
rsc
d957951b75 new 2005-02-11 19:41:16 +00:00
rsc
096ff3e14a add secstored; use readcons 2005-02-11 19:39:51 +00:00
rsc
fbca1e1c5b use explicit %# 2005-02-11 17:01:25 +00:00
rsc
42400cf81f add fsamount, nsamount; use ndb for authdial; use explicit %# 2005-02-11 17:01:18 +00:00
rsc
59518849d8 add _fsunmount; do version in fsinit; add nsinit; add chatty9pclient 2005-02-11 17:00:46 +00:00
rsc
2aa7d30367 call srv->start at start 2005-02-11 17:00:06 +00:00
rsc
b589fce2fb hard code list of plan 9 services in case they are not in /etc/services 2005-02-11 16:58:23 +00:00
rsc
26a5fd5725 set pid=-1 explicitly 2005-02-11 16:58:06 +00:00
rsc
2e397eb47c bug fixes; add secstore 2005-02-11 16:56:15 +00:00
rsc
3889d01d4b add secstore 2005-02-11 16:55:50 +00:00
rsc
7a130107ee add disabled to ignore list 2005-02-11 16:55:38 +00:00
rsc
91968d0ac9 better path for ahd 2005-02-11 16:55:23 +00:00
rsc
5aa723da3c bug fix in auth 2005-02-11 16:55:15 +00:00
rsc
7b8a3f12c7 remove threadregs; use %# explicitly; use attachargs 2005-02-11 16:54:59 +00:00
rsc
5a2237bb22 tweak 2005-02-11 16:54:25 +00:00
rsc
80568494de bug fixes; quieter 2005-02-11 16:53:54 +00:00
rsc
0d4243f789 use nsamount and fsamount 2005-02-11 16:53:27 +00:00
rsc
2709e6e368 new allocrpc interface 2005-02-11 16:44:33 +00:00
rsc
211073f16a set corpid 2005-02-11 16:44:04 +00:00
rsc
9d5979815d send output to fd instead of 0 2005-02-11 16:42:48 +00:00
rsc
2f4ba94e0f debugging 2005-02-11 05:23:12 +00:00
rsc
b16534fd70 reserve var 2005-02-11 02:34:48 +00:00
rsc
ed9fe82834 Remove libthread_db nonsense. 2005-02-11 02:02:56 +00:00
rsc
281c90a5be more pthread 2005-02-11 00:01:49 +00:00
rsc
18443075fb cannot assign args 2005-02-08 21:03:36 +00:00
rsc
c52410ac25 do not use auth.h 2005-02-08 21:03:29 +00:00
rsc
80ecfd2430 add auth 2005-02-08 21:03:12 +00:00
rsc
b1cd1d55e1 use sysfatal 2005-02-08 21:02:54 +00:00
rsc
641405320f add crypt 2005-02-08 21:02:40 +00:00
rsc
648bb6f75a lucho changes 2005-02-08 20:58:10 +00:00
rsc
fa467fbe51 fix paste again 2005-02-08 20:41:39 +00:00
rsc
b7edc22192 send nul with choice 2005-02-08 20:35:31 +00:00
rsc
5fc55a953e avoid unix special files 2005-02-08 20:27:10 +00:00
rsc
8a75090664 add mode chars 2005-02-08 20:25:07 +00:00
rsc
46199d113e bug fix 2005-02-08 20:24:52 +00:00
rsc
2acd6fa6ff expose unix mode bits 2005-02-08 20:17:02 +00:00
rsc
0a22905232 start adding DM bits 2005-02-08 20:08:28 +00:00
rsc
31f809b54d remove debugging 2005-02-08 19:13:34 +00:00
rsc
f3ecd8ae84 play nicer with others w.r.t. signal masks 2005-02-08 19:08:47 +00:00
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
dd4afdf4eb Avoid yet another X11 stack overflow. 2005-02-08 17:56:35 +00:00
rsc
46cfcf550f stupid gcc 2005-02-03 15:41:39 +00:00
rsc
3842363abc silence archive warning for .a files 2005-02-02 22:32:56 +00:00
rsc
c4553e9cd0 more nowsys 2005-02-02 22:27:17 +00:00
rsc
41e0f84ca6 break x11 for sure 2005-02-02 22:04:41 +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
669a062b5a osprocid can be -1 2005-01-30 16:35:05 +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
0b22e9bd85 handle non-zero mintag properly 2005-01-30 15:59:09 +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
33baa59ecc better offset handling 2005-01-28 05:41:12 +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
57d2613621 handle @ better in winsize 2005-01-26 04:02:26 +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
1fdb4a5450 rename scheduler to have a more distinctive name, so stack traces can end there 2005-01-23 22:57:53 +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
4a727cddff less verbose 2005-01-23 22:51:01 +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
4a62371140 Add searchpath(). 2005-01-23 22:33:59 +00:00
rsc
dd944ec72a Start working through proper handling of pthreads when
debugging Linux core dumps.  Pthreads for active processes
is still not supported, nor are other systems.
2005-01-23 22:33:04 +00:00
rsc
a0e8d02d09 Apparently SuSE 9.1's X distribution uses even bigger
buffers than the standard ones.  64kB appears to be enough
for a stack in that case, but let's just go nuts and make
the stacks enormous, so that it takes a few more doublings
of X's stack needs before we run into this problem again.

The VM system should take care of not actually using most
of the memory anyway.
2005-01-23 16:02:04 +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