This commit is contained in:
rsc 2003-12-04 19:18:06 +00:00
parent dff7e27317
commit ccee548fda
3 changed files with 42 additions and 36 deletions

53
TODO
View file

@ -1,48 +1,35 @@
* Bring over various trivial but useful command-line programs:
cal
calendar
date
diff
echo
ed
hoc
* Libdraw * Libdraw
- should implement the alt sequences for unicode composition - bug with discovery of initial window size in certain cases
the code is in drawterm, just needs to be pulled in. (reported by Sean Dorward)
- snarf code doesn't work on mac os?
* Plumber * Plumber
- need to redefine how you find and talk to the plumber, - have named-pipe-based plumber from Caerwyn Jones
probably using named pipes or unix sockets. - 9term right-click plumbs
- hook samterm up to the plumber - plumb rules file runs B
- now trivial to plumb to web browser! - easy to hook up web browser:
* 9term # urls to web browser
- would be great to have a 9term lookalike that was type is text
a little more faithful (or, better, like acme win) 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 * Acme
- once have a plumber, might not be too hard to - with 9P infrastructure, should "just work".
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?
* Mail * upas/fs+Mail
- no ideas here - with 9P infrastructure, should "just work".
* Venti * Venti
- server port is in progress (actually done, but with an - wrote new venti library; server uses it and runs
earlier library set). - vac needs to be changed to use new library
- vac is easy to port
- need way to mount vacs. have all the code for a /vac file - need way to mount vacs. have all the code for a /vac file
system (e.g., cd /vac/68b329da9893e34099c7d8ad5cb9c940da9393e3) system (e.g., cd /vac/68b329da9893e34099c7d8ad5cb9c940da9393e3)
but need to put it together. but need to put it together.
- need to buffer writes sensibly in server. have plan, need to implement.
* Dump * Dump
- have a dump file system that sits on the side of ffs, - have a dump file system that sits on the side of ffs,

View file

@ -59,10 +59,30 @@ plumb to edit
plumb start /usr/local/plan9/bin/B $file:$3 plumb start /usr/local/plan9/bin/B $file:$3
# plumb client window $editor # 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 type is text
data matches '([a-zA-Z¡-￿0-9]+\.h)('$addr')?' 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 data set $file
attr add addr=$3 attr add addr=$3
plumb to edit plumb to edit

1
rcmain
View file

@ -24,7 +24,6 @@ if(! ~ $#cflag 0){
} }
if not if(flag i){ if not if(flag i){
if(~ $TERM 9term){ if(~ $TERM 9term){
stty tabs -onlcr -echo
if(~ $#'fn#cd' 0) if(~ $#'fn#cd' 0)
fn cd { builtin cd $1 && label `{pwd} } fn cd { builtin cd $1 && label `{pwd} }
} }