From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 References: In-Reply-To: From: Chris McGee Date: Thu, 18 Apr 2019 15:03:19 -0400 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary="00000000000065def40586d2a810" Subject: Re: [9fans] Understanding /dev/draw Topicbox-Message-UUID: fb458b4c-ead9-11e9-9d60-3106f5b1d025 --00000000000065def40586d2a810 Content-Type: text/plain; charset="UTF-8" Hi All, I managed to get it running after all of these years. In case anyone tries it again here's a few things that I had to do to get it to work on the latest 9front. * Copy the latin1.h header file from the bell labs distribution and copy it into /sys/src/9/port * Run ip/httpd/httpd -w /sys/web/9wd (this is where the installation copies the web app) * Patch /usr/web/9wd/js/draw/data.js by commenting out the "delete conn.imgs[id];" line * Future draw commands come in referring to the old image for some reason and the server doesn't handle it well Yes, when I coerce the websocket tool to launch rio instead of acme there's some oddness when I launch new graphical apps within rio from the windows, such as acme. They tend to think that they should occupy the entire screen. Also, be patient because it is quite slow for now. Does anyone know if David is still active in this space? Erik, where can I learn more about the layers? Thanks, Chris On Thu, Apr 18, 2019 at 2:08 PM erik quanstrom wrote: > this implementation is enough to run acme,but not a full p9 terminal. > you'll need layers for that. > --00000000000065def40586d2a810 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi All,

I managed to get it = running after all of these years. In case anyone tries it again here's = a few things that I had to do to get it to work on the latest 9front.
=

* Copy the latin1.h header file from the bell labs dist= ribution and copy it into /sys/src/9/port
* Run ip/httpd/httpd -w= /sys/web/9wd (this is where the installation copies the web app)
* Patch /usr/web/9wd/js/draw/data.js by commenting out the "delete co= nn.imgs[id];" line
=C2=A0=C2=A0=C2=A0 * Future draw commands= come in referring to the old image for some reason and the server doesn= 9;t handle it well

Yes, when I coerce the webs= ocket tool to launch rio instead of acme there's some oddness when I la= unch new graphical apps within rio from the windows, such as acme. They ten= d to think that they should occupy the entire screen. Also, be patient beca= use it is quite slow for now.

Does anyone know= if David is still active in this space?

Erik, whe= re can I learn more about the layers?

Thanks,<= /div>
Chris

On Thu, Apr 18, 2019 at 2:08 PM erik quanstrom <quanstro@quanstro.net> wrote:
= this implementation is enough to run acme,but not a full p9 terminal.=C2=A0= you'll need layers for that.
--00000000000065def40586d2a810--