From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sun, 29 Sep 2013 09:45:30 -0700 Message-Id: <20130929.094530.123741389860719400.root@davidrhoskin.com> To: plan9-gsoc@googlegroups.com, fariborz.t@gmail.com From: David Hoskin In-Reply-To: References: <20130925.191817.1220847997350722247.root@davidrhoskin.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: 9fans@9fans.net Subject: Re: [9fans] webdraw status update 12 Topicbox-Message-UUID: 82027462-ead8-11e9-9d60-3106f5b1d025 Neat, thanks! I recently committed a version that uses a simplified version of the C program[*] but doesn't need to go through /srv. Your version of -srv mode is certainly better though! An interesting idea would be to combine both of your modes: proxy.go would always create an unique name for /srv, and then print it to stdout. A wrapper shell script could then do proxy | while read i; do ( mount -b $i /dev $* ) & done (Apologies for the unixisms; I couldn't figure out how to read in like that in rc.) [*]: None of that threaded copying monkey business I had before; it's just passed the 9P connection as fd 0 and then calls mount(0, "/dev"). From: Skip Tavakkolian Subject: Re: webdraw status update 12 Date: Sat, 28 Sep 2013 16:47:13 -0700 > Hi, > > I tweaked proxy.go a bit and added an rc script so that runweb.c and > srvcat.c are not needed. It's a hack, since rfork is not fully supported > in Go. The two modes now work: > > ./proxy /bin/games/catclock # and then refresh the page > > or > > ./proyx -srv & # then refresh the page in the browser and run > ./wrun.rc /srv/webdraw /bin/games/catclock > > -Skip > > > > On Wed, Sep 25, 2013 at 7:18 PM, David Hoskin wrote: > >> Since the last update, I fixed up masked drawing and implemented >> rudimentary cons support, so you can even sort of interact with the >> system! I'm working to make the server automatic, so that web clients >> can just connect without manual intervention on the Plan 9 host. Once >> that works, I want to implement mouse support and make keyboard input >> useful. >> >> Unfortunately, I didn't implement the window-management functions >> needed to run rio, and there are still various instances of poor >> design and hacky student code. >> >> This project has been great fun, and I learned a whole lot. Many >> thanks to my mentor, Erik Quanstrom, for encouraging me when I was >> intimidated by scary things like compression! >> >> A few demo screenshots may be found here: >> http://davidrhoskin.com/gsoc/2013/img/ >> and the project, now with a bit of documentation, is at: >> https://bitbucket.org/dhoskin/9webdraw/ >> >> So long, and thanks for all the fish! >> -- David >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Plan 9 Google Summer of Code" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to plan9-gsoc+unsubscribe@googlegroups.com. >> To post to this group, send email to plan9-gsoc@googlegroups.com. >> Visit this group at http://groups.google.com/group/plan9-gsoc. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- > You received this message because you are subscribed to the Google Groups "Plan 9 Google Summer of Code" group. > To unsubscribe from this group and stop receiving emails from it, send an email to plan9-gsoc+unsubscribe@googlegroups.com. > To post to this group, send email to plan9-gsoc@googlegroups.com. > Visit this group at http://groups.google.com/group/plan9-gsoc. > For more options, visit https://groups.google.com/groups/opt_out.