Commit Diff


commit - dff7e27317f911dcfacaf30eb3ec4f3269f25a62
commit + ccee548fda64eeb62a771e01b5ddab5f4177b2bf
blob - e46c76a8b1ddc97b195f5ae3af5909ae1d9f21c2
blob + e09311a659bc301decc38657be1883fa5d5f6032
--- TODO
+++ TODO
@@ -1,48 +1,35 @@
-* Bring over various trivial but useful command-line programs:
-	cal
-	calendar
-	date
-	diff
-	echo
-	ed
-	hoc
-
 * Libdraw
-	- should implement the alt sequences for unicode composition
-	  the code is in drawterm, just needs to be pulled in.
-	- snarf code doesn't work on mac os?
+	- bug with discovery of initial window size in certain cases
+	  (reported by Sean Dorward)
 
 * Plumber
-	- need to redefine how you find and talk to the plumber,
-	  probably using named pipes or unix sockets.
-	- hook samterm up to the plumber
-	- now trivial to plumb to web browser!
+	- have named-pipe-based plumber from Caerwyn Jones
+	- 9term right-click plumbs
+	- plumb rules file runs B
+	- easy to hook up web browser:
 
-* 9term
-	- would be great to have a 9term lookalike that was 
-	  a little more faithful (or, better, like acme win)
+# urls to web browser
+type is text
+data matches '(https?|ftp|file|gopher|mailto|news|nntp|telnet|wais|prospero)://[a-zA-Z0-9_@\-]+([.:][a-zA-Z0-9_@\-]+)*/?[a-zA-Z0-9_?,%#~&/\-+=]+([:.][a-zA-Z0-9_?,%#~&/\-+=]+)*'
+plumb to web
+plumb start /usr/rsc/bin/web $0
 
+	- want to change back to 9P-based plumber, need to build
+	  infrastructure first
+
 * Acme
-	- once have a plumber, might not be too hard to
-	  redo the file system interface as a text rpc
-	  over unix domain sockets.
-	- until then, the x11 "ion" window manager is an
-	  interesting half-way point.  perhaps it makes
-	  more sense to split acme's editing into tightly
-	  coupled separate programs (perhaps communicating
-	  via the plumber?) and then have acme be
-	  a window manager a bit like ion?
+	- with 9P infrastructure, should "just work".
 
-* Mail
-	- no ideas here
+* upas/fs+Mail
+	- with 9P infrastructure, should "just work".
 
 * Venti
-	- server port is in progress (actually done, but with an 
-	  earlier library set).
-	- vac is easy to port
+	- wrote new venti library; server uses it and runs
+	- vac needs to be changed to use new library
 	- need way to mount vacs.  have all the code for a /vac file
 	  system (e.g., cd /vac/68b329da9893e34099c7d8ad5cb9c940da9393e3)
 	  but need to put it together.
+	- need to buffer writes sensibly in server.  have plan, need to implement.
 
 * Dump
 	- have a dump file system that sits on the side of ffs,
blob - dd3916987422a3a7d61be4c87654109da371796b
blob + a065799e50b210871a42023198f377a7b91f9c1a
--- plumb/basic
+++ plumb/basic
@@ -59,16 +59,36 @@ plumb to edit
 plumb start /usr/local/plan9/bin/B $file:$3
 # plumb client window $editor
 
-# .h files are looked up in /sys/include and passed to edit
+# .h files are looked up in /usr/include and passed to edit
 type is text
 data matches '([a-zA-Z¡-￿0-9]+\.h)('$addr')?'
-arg isfile	/sys/include/$1
+arg isfile	/usr/include/$1
 data set	$file
 attr add	addr=$3
 plumb to edit
 plumb start /usr/local/plan9/bin/B $file:$3
 # plumb client window $editor
 
+# .h files are looked up in /usr/local/include and passed to edit
+type is text
+data matches '([a-zA-Z¡-￿0-9]+\.h)('$addr')?'
+arg isfile	/usr/local/include/$1
+data set	$file
+attr add	addr=$3
+plumb to edit
+plumb start /usr/local/plan9/bin/B $file:$3
+# plumb client window $editor
+
+# .h files are looked up in /usr/local/plan9/include and passed to edit
+type is text
+data matches '([a-zA-Z¡-￿0-9]+\.h)('$addr')?'
+arg isfile	/usr/local/plan9/include/$1
+data set	$file
+attr add	addr=$3
+plumb to edit
+plumb start /usr/local/plan9/bin/B $file:$3
+# plumb client window $editor
+
 # .m files are looked up in /sys/module and passed to edit
 type is text
 data matches '([a-zA-Z¡-￿0-9]+\.m)('$addr')?'
blob - f4213632d923d9d07c99cf63c3fff5630bad790b
blob + c4dda4cddb3e406f16d1c4f7706abae6eddf99e7
--- rcmain
+++ rcmain
@@ -24,7 +24,6 @@ if(! ~ $#cflag 0){
 }
 if not if(flag i){
 	if(~ $TERM 9term){
-		stty tabs -onlcr -echo
 		if(~ $#'fn#cd' 0)
 			fn cd { builtin cd $1 && label `{pwd} }
 	}