From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <11f8507e569234b8d6dd141bde32bc5c@9netics.com> To: 9fans@9fans.net Date: Wed, 16 Jul 2008 07:08:25 -0700 From: Skip Tavakkolian <9nut@9netics.com> In-Reply-To: <389246c56d6a78a742491c7538382d3d@9srv.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] web plumbing on OS X drawterm Topicbox-Message-UUID: e842ce98-ead3-11e9-9d60-3106f5b1d025 i added /dev/showfile for windows a while back. in that case, dt hands anything it is given on /dev/showfile to explorer (closest thing to plumber on windows). plumb rule for urls hands them to a script that looks like this: echo -n $* > /mnt/term/dev/showfile > mkfifo /tmp/open.fifo > while () {open `{cat open.fifo}} > I also have a srcipt on the Plan 9 side, 'web': > #!/bin/rc > > fifoname=/mnt/term/tmp/open.fifo > > if (test -e $fifoname) > echo $* > $fifoname > if not > lynx2txt $*