From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <559E8A9F.4020700@gmx.de> References: <559E8A9F.4020700@gmx.de> Date: Fri, 10 Jul 2015 12:18:06 +0200 Message-ID: From: yy To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] Porting 9front.net/go/draw to Plan 9 Topicbox-Message-UUID: 6020d662-ead9-11e9-9d60-3106f5b1d025 On 9 July 2015 at 16:52, Friedrich Psiorz wrote: > Hi! > > I'm currently writing a graphical application in Go that I would like to > be able to run both in Unix and Plan 9. Currently the 9fans.net/go/draw > library only works in Unix, by connecting to p9p devdraw. I am sorry I do not have answers to your questions. But here you have a devdraw version which, instead of using Xlib, connects to a wsys service using 9p: https://bitbucket.org/yiyus/devwsys-prev/src/tip/util/9p-srv.c I was using it from Unix, but porting to Plan 9 should be quite easy. Then, go/draw would work without many changes. Of course, this solution is far from optimal (the path will unnecessarily be go/draw -> devdraw.9p -> wsys), but it should get the ball rolling. -- - yiyus || JGL .