Hi Sander,
On Tue, Jan 24, 2006 at 10:44:28PM +0100, Sander van Dijk wrote:
> I've just been looking through the code of wmiibar, wmiibar2 and
> wmiikeys for a bit, and I was wondering how 'finished' wmiibar2 is?
> Can I see it in action? I used wmiir2 to connect to acme's socket like
> you suggested, in this context it works great. I've also started
> wmiibar2 and used wmiir2 to read from it's /. This too works, but
> reading anything else fails doesn't return anything; writing to any of
> the files fails too. Is this just me not knowing what I'm doing (which
> doesn't seem very unlikely to me at this point...) or is wmiibar2 not
> yet finished (I got this impression from the current definition of
> xread).
Yes, wmiibar2.c only works rudimentary at the moment. A complete
and easy to understand 9P server can be found
http://angband.tip9ug.jp/magic/srcgw/n/sources/plan9/sys/src/cmd/wikifs,
though it doesn't uses libixp2 but lib9p. The tricky parts are
the Qid-mapping of synthetic files to struct fields.
I hope to finish wmiibar2 asap, that you see a complete sample.
> By the way, is there anything I should read (besides wmiibar.c,
> wmiibar2.c and wmiikeys.c) to make the writing of wmiikeys2.c easier?
> This is all a bit more complex than the small fixes I've been doing so
> far, but I'm willing to learn!
I know, it is pioneer area for me as well ;)
Regards,
-- Anselm R. Garbe ><>< www.ebrag.de ><>< GPG key: 0D73F361Received on Wed Jan 25 2006 - 14:11:08 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:59:53 UTC