Commit graph

559 commits

Author SHA1 Message Date
rsc
304b47c101 collapse \r\r\r\r => \r. 2004-04-25 21:23:27 +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
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
7e42d21012 odds and ends 2004-04-21 23:43:46 +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
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
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
4a64a77bd3 add registers 2004-04-21 20:04:18 +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
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
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
wkj
146cf9377d Tcs seems to build now. 2004-04-21 03:17:22 +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
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
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
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
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
13e660708d C
err is a bad name for a variable.
VS: ----------------------------------------------------------------------
2004-04-20 00:20:36 +00:00
rsc
67e4fce4f5 make mac work 2004-04-19 23:58:57 +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
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
c8af1ab17b tweaks 2004-04-19 18:13:05 +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
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
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
650deb7980 Make libhtml, htmlfmt build.
Thanks to wkj for doing all the hard work.
2004-04-08 19:36:35 +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
85117729d0 Add some missing unsharps. 2004-04-02 15:34:42 +00:00
rsc
4f30f3b444 grey out 9term when it loses focus. 2004-03-30 05:03:29 +00:00
rsc
c005568a7f Border resizing and 9term greying. 2004-03-30 05:01:53 +00:00
rsc
1cb3fa8093 Border resizing by dragging.
Thanks to Axel Belinfante.
2004-03-29 12:00:15 +00:00
rsc
1d011a3ec0 OpenBSD support from Markus Friedl. 2004-03-26 18:08:54 +00:00
rsc
69ab5d3d49 handle interrupts and backgrounded processes a little better. 2004-03-26 17:30:36 +00:00
rsc
25e0e4f334 . 2004-03-26 17:15:57 +00:00
rsc
2308413372 Chording paste bug. 2004-03-26 17:15:34 +00:00
rsc
6b2d0fd946 Bug fixes from Scott Schwartz.
Try to make 9term not crash when X errors happen.
2004-03-26 03:45:55 +00:00
rsc
eeb7312231 Fortune fix 2004-03-26 03:07:52 +00:00
rsc
f6dc1628d6 Remove debugging echos. 2004-03-26 02:08:44 +00:00
rsc
be22ae2d07 SunOS can rot in hell. 2004-03-26 01:59:35 +00:00
rsc
4e3a2cc1f9 fix resizing of fixed-size windows 2004-03-26 01:55:03 +00:00
rsc
d126ebb544 more unken 2004-03-26 01:51:33 +00:00
rsc
65d5010eda unken 2004-03-26 01:47:43 +00:00
rsc
75024f0f3d Darwin support. 2004-03-26 00:09:27 +00:00
rsc
c22d8e6552 Small changes.
Small changes.
2004-03-25 23:30:50 +00:00
rsc
1a84af59e0 Guess what? More anonymous unions! 2004-03-25 23:25:45 +00:00
rsc
285b4f85c0 More anonymous unions. 2004-03-25 23:24:04 +00:00
rsc
35d95baea2 More anony. 2004-03-25 23:17:07 +00:00
rsc
4bda94f9bd Remove anonymous union. 2004-03-25 23:15:55 +00:00
rsc
f6b7705a54 remove libmach 2004-03-25 23:14:06 +00:00
rsc
70bcc7804e More files.
More files.
2004-03-25 23:08:53 +00:00
rsc
8ad517944e Today's changes.
More changes.
2004-03-25 23:03:57 +00:00
rsc
0023dde326 Fix colors. 2004-03-22 16:08:32 +00:00
rsc
e62ba5ec0b Fix lots of warnings.
Incorporate changes from Andrey Mirtchovski.
2004-03-21 23:24:28 +00:00
rsc
64044a070a Initialization bug reported by Taj Khattra. 2004-03-21 20:42:11 +00:00
rsc
bbbc97b008 Add namespace.c 2004-03-21 14:07:19 +00:00
rsc
768206abfc Add mkfile. 2004-03-21 13:54:34 +00:00
rsc
ca0c710cf8 Make idiff build. 2004-03-21 05:20:37 +00:00
rsc
304278e5fd Don't require plumber. 2004-03-21 05:19:51 +00:00
rsc
2277c5d7bb Small tweaks
Lots of new code imported.
2004-03-21 04:33:13 +00:00
rsc
038e9089b3 Change 9wm to look like rio. 2004-03-21 04:27:28 +00:00
rsc
ba9ffa53c4 Change 9term to look like rio windows, not acme windows. 2004-03-21 04:27:09 +00:00
rsc
3d77c87e81 Vac works. 2004-03-15 01:56:49 +00:00
rsc
333c1dccc2 Add binary fraction tree index.
The old index code is still
supported too.  Buildindex and
checkindex need to be revisited,
though they should be easy to adapt.
2004-03-13 04:35:13 +00:00
rsc
9ffbb5adca Checkpoint.
Add disk caching code and first draft of fractional index.
2004-03-12 18:28:14 +00:00
rsc
7c5190d2c8 Add 200-line comment trying to explain the new index. 2004-03-12 05:42:28 +00:00
rsc
2499885177 Implement write buffer. 2004-03-11 19:14:09 +00:00
rsc
d49a2e4801 Various fixes, add spell. 2004-03-09 12:45:12 +00:00
rsc
0d0df317f8 Unfix non-bug. 2004-03-05 06:03:26 +00:00
rsc
15680d56a6 Amazingly picky bug fixes from Valgrind. 2004-03-05 05:53:11 +00:00
rsc
4da83e7cce Various little fixes. 2004-03-05 03:13:13 +00:00
rsc
c91bd3283a Pipes cannot use SOCK_DGRAM. Back to SOCK_STREAM.
Add debugging to fdwait.

Rewrite getcallerpc on PowerMac to be correct.
2004-03-05 02:25:41 +00:00
rsc
02a1a5c18b Debugging libthread for acme. 2004-03-05 01:12:11 +00:00
rsc
315e309098 Remove debugging print. 2004-03-04 02:37:30 +00:00
rsc
0b91799791 Fix rc not to bus error on Mac OS X.
Don't print about child notes either.
2004-03-04 02:36:36 +00:00
rsc
4615bace42 Whoops. 2004-03-03 00:03:19 +00:00
rsc
af78a4cd2b Little tweaks and documentation. 2004-03-02 23:11:58 +00:00
rsc
efc2b0c99e Make sure snarf is <64kB, since the wire count
is only 16 bits.
2004-03-02 20:02:13 +00:00
rsc
05b7f431f0 Long-standing stability bugs fixed in 9pserve.
Update win to use acme interface directly instead of via pipes.
Add comment to pipe about lack of message boundaries.
2004-03-02 19:21:48 +00:00
rsc
8f314994db More Mac tweaks. 2004-03-02 17:34:15 +00:00
rsc
53dbac9485 Tweaks for the Macintosh. 2004-03-02 16:58:49 +00:00
rsc
6e2cec77b2 missing programs 2004-03-02 16:55:27 +00:00
rsc
d21d62e2fc Various tweaks. 2004-02-29 23:20:28 +00:00
rsc
f063dad96e Small tweaks to make things build again. 2004-02-29 22:42:33 +00:00
rsc
5a8e63b2f0 Fighting the good fight.
Move libfmt, libutf into subdirectories of lib9.

Add poll-based socket i/o to libthread, so that we can
avoid using multiple procs when possible, thus removing
dependence on crappy pthreads implementations.

Convert samterm, acme to the single-proc libthread.

Bring libcomplete, acme up-to-date w.r.t. Plan 9 distribution.
2004-02-29 22:10:26 +00:00
rsc
c197370550 completion, pageup/pagedown 2004-02-09 19:32:18 +00:00
rsc
97fdda4e86 need pty.h on linux according to scott schwartz 2004-01-20 01:59:47 +00:00
rsc
49588d5d90 Tweaks to various bits.
Until I hear otherwise, Refs aren't used enough to
merit their own assembly.  They are now implemented with locks.
2003-12-17 04:34:52 +00:00
rsc
57ccfb9e8f ramfs 2003-12-11 17:50:50 +00:00
rsc
b3994ec5c7 More files related to user-level file servers.
Also add acme!
2003-12-11 17:50:28 +00:00
rsc
32f69c36e0 Add support for user-level 9P servers/clients and various bug fixes to go with them. 2003-12-11 17:48:38 +00:00
rsc
ceb0477083 check everything in so i can move to linux and valgrind. 2003-12-09 06:06:07 +00:00
rsc
d3df308747 File system stuff. 2003-12-06 18:08:52 +00:00
rsc
e97ceade5e various tweaks. 2003-12-06 18:05:27 +00:00
rsc
dff7e27317 Clean up yacc files in mkcommon, mkhdr.
Add nan to lib9.
Fix memory corruption bugs in 9term.
2003-12-04 19:16:29 +00:00
rsc
c5b9ff9fa8 add hoc 2003-12-04 17:45:49 +00:00
rsc
25b866dd06 disable some programs, enable others. 2003-12-04 17:31:08 +00:00
rsc
49c26cf71c Remove debugging print from 9term. 2003-12-04 17:23:51 +00:00
rsc
3fd755b763 Various fixes. 2003-12-04 04:29:47 +00:00
rsc
d2a414f28d fix bug in handling of backspace in output. 2003-12-04 00:31:14 +00:00
rsc
5af29cd3a9 make hold mode a bit more attractive. 2003-12-04 00:20:33 +00:00
rsc
683c5e534a more bug fixes 2003-12-04 00:16:33 +00:00
rsc
d3acba9559 add -a flag for acme. 2003-12-04 00:11:33 +00:00
rsc
669250d159 Various fixes.
B - fixed usage, DISPLAY :0 vs :0.0
	9term - fixed various terminal things
	rc - notice traps in Read
	_p9dir - only run disk code for disks
	dirread - getdirentries on FreeBSD and Linux
		are different w.r.t. meaning of off.
	notify - set up so signals interrupt system calls
	bprint - use bfmt.
2003-12-03 22:50:48 +00:00
rsc
1ccf253eb2 fix stack size (oops) 2003-12-02 21:49:45 +00:00
rsc
e39b8b1928 More X11 snarf tweaks.
Will we ever finish?
2003-12-02 03:42:46 +00:00
rsc
1555bd7aaa call exit rather than _exits inside exits,
so that the c library atexit handlers get
a chance to run.
2003-11-26 00:48:56 +00:00
rsc
0870887793 add dict 2003-11-25 03:37:45 +00:00
rsc
e642beb522 add sunos 2003-11-25 03:06:00 +00:00
rsc
f161341946 fixes to plumber and 9term 2003-11-25 03:02:54 +00:00
rsc
21a17ff3e9 Update NOTES, hack on 9term a little. 2003-11-25 02:54:24 +00:00
rsc
64bcfff3a1 More tweaks on Linux and Solaris. 2003-11-25 02:11:11 +00:00
rsc
f7012583e9 Add the #goo to allow use in C++.
Silence a few more warnings.
Strip down the mkfiles more.
Fix bug in X11 mouse handling, note groups.
2003-11-25 01:40:27 +00:00
rsc
912fba95e7 Changes for Mac OS X. Most important is stack sizes in samterm,
which were completely bogus.  (Libthread used to ignore them but
not anymore.  Maybe we really should ignore them, but that breaks
Venti, which needs *really* big stacks.)
2003-11-24 22:39:06 +00:00
rsc
cedbe4a4fa Tweaks for Linux. 2003-11-24 00:59:36 +00:00
rsc
d2c4ee9e48 Tweaks to build properly on Linux. 2003-11-24 00:43:41 +00:00
rsc
478ee9636f Make things build on FreeBSD again. 2003-11-23 20:04:53 +00:00
rsc
1c253ceb58 Annoying changes to work on Sun boxes. 2003-11-23 19:49:17 +00:00
rsc
9e37bb03b3 make -> mk 2003-11-23 18:23:38 +00:00
rsc
dda0695dc0 forgot this. 2003-11-23 18:11:17 +00:00
rsc
bc7cb1a15a new utilities.
the .C files compile but are renamed to avoid building automatically.
2003-11-23 18:04:47 +00:00
rsc
f08fdedcee Plan 9's rc.
not a clear win over byron's,
but at least it has the right syntax.
2003-11-23 18:04:08 +00:00
rsc
5993a8f275 the one true diff.
at least it can handle "diff file1 file2 dir".
2003-11-23 18:03:02 +00:00
rsc
cfabc3ed16 Dhog's 9term.
Updated for current libraries by Caerwyn Jones.
Button-3 plumbing (like in acme) by rsc.
2003-11-23 18:02:15 +00:00
rsc
b8c14089d8 Plan 9 version, nothing tweaked yet. 2003-11-23 17:58:26 +00:00
rsc
7763a61a35 start thinking about vac -- doesn't build yet 2003-11-23 17:55:34 +00:00
rsc
7a4ee46d25 Initial stab at Venti. 2003-11-23 17:54:58 +00:00
rsc
4fbfdd7acd make -> mk 2003-11-23 17:54:24 +00:00
rsc
ef9890f65a perror, create, remove now in the headers 2003-11-23 17:53:56 +00:00
rsc
163c9a25ec remove debugging print. 2003-11-23 17:53:45 +00:00
rsc
17f131946f change from rob -- handle ^U like in rio, acme 2003-11-23 17:53:32 +00:00
rsc
422761f81e make -> mk 2003-11-23 17:53:05 +00:00
rsc
f37a36a8f4 create, perror, and remove are now properly in the headers. 2003-11-23 17:52:04 +00:00
rsc
fc1d90caca Don't need to install 'u' as flagfmt anymore. 2003-11-23 17:51:41 +00:00
rsc
5b6dcaf404 use path-less names for ssh, samterm.
let execvp sort it out.
2003-11-23 17:51:03 +00:00
rsc
e6c4346b50 Use execvp to avoid hard-coding path names for ssh, samterm. 2003-11-23 17:50:36 +00:00
rsc
d8b652ae6f print current directory in "don't know how to make" errors. 2003-11-23 17:48:53 +00:00
rsc
3d7e9092a4 Single-threaded plumber that can run "start" rules.
Thanks to Caerwyn Jones.
2003-10-14 02:35:00 +00:00
rsc
90026180d1 Use new directory structure. 2003-10-11 03:58:46 +00:00
rsc
00b80edb97 Licensing and various tweaks. 2003-10-11 02:59:10 +00:00
rsc
ffcafb8c4b Various tweaks. The implementation of notify, create, etc.
should really be in lib9.
2003-10-11 02:45:55 +00:00
rsc
941c9f36a9 Tweaks to make it work on Unix. 2003-10-11 02:45:02 +00:00
rsc
a995e477ff Various tweaks to make things run on Mac OS.
The main change is the use of pthread to implement ffork.
2003-10-01 02:50:57 +00:00
rsc
522b0689c3 Reorg 2003-09-30 19:05:50 +00:00
rsc
84b1cb73b3 Initial revision 2003-09-30 17:47:44 +00:00
rsc
a59ea66fa9 Initial import. 2003-09-30 17:47:44 +00:00
rsc
76193d7cb0 Initial revision 2003-09-30 17:47:42 +00:00
rsc
ed7c8e8d02 Initial import. 2003-09-30 17:47:42 +00:00