* [9fans] devdrawserver
@ 2012-04-24 17:57 marius a. eriksen
2012-04-24 18:33 ` pmarin
0 siblings, 1 reply; 3+ messages in thread
From: marius a. eriksen @ 2012-04-24 17:57 UTC (permalink / raw)
To: 9fans
I've found myself in need of running acme on one machine, but devdraw
on another. Since p9p devdraw isn't a file server, exporting and
importing the devdraw server isn't something you can do without extra
help: that's where devdrawserver comes in:
https://github.com/mariusaeriksen/devdrawserver
it provides a "virtual" devdraw on the remote machine, and the ability
to attach a real devdraw binary to the stream.
There's a bit of extra code in there, because eventually I might also
add detach/reattach to this (but I haven't really needed it yet).
marius.
*
mk install, then follow the instructions in the README
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9fans] devdrawserver
2012-04-24 17:57 [9fans] devdrawserver marius a. eriksen
@ 2012-04-24 18:33 ` pmarin
2012-04-24 21:48 ` yy
0 siblings, 1 reply; 3+ messages in thread
From: pmarin @ 2012-04-24 18:33 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
http://summerofdevdraw.blogspot.com.es/2011/10/9p-srv-experimental-devdraw-for-p9p.html
On Tue, Apr 24, 2012 at 7:57 PM, marius a. eriksen <marius@monkey.org> wrote:
> I've found myself in need of running acme on one machine, but devdraw
> on another. Since p9p devdraw isn't a file server, exporting and
> importing the devdraw server isn't something you can do without extra
> help: that's where devdrawserver comes in:
>
> https://github.com/mariusaeriksen/devdrawserver
>
> it provides a "virtual" devdraw on the remote machine, and the ability
> to attach a real devdraw binary to the stream.
>
> There's a bit of extra code in there, because eventually I might also
> add detach/reattach to this (but I haven't really needed it yet).
>
> marius.
>
> *
>
> mk install, then follow the instructions in the README
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9fans] devdrawserver
2012-04-24 18:33 ` pmarin
@ 2012-04-24 21:48 ` yy
0 siblings, 0 replies; 3+ messages in thread
From: yy @ 2012-04-24 21:48 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
pmarin <pmarin.mail@gmail.com>:
> http://summerofdevdraw.blogspot.com.es/2011/10/9p-srv-experimental-devdraw-for-p9p.html
Not quite the same thing, although it could be used to fix marius'
problem too. I will try to clarify what the possibilities are, because
it can be confusing.
In p9p, you usually have (in a X11 system):
application <-> devdraw <-> X
With devdrawserver (IIUC):
app <-> devdrawserver <-(network)-> dialdevdraw <-> devdraw <-> X
With 9p devdraw at
https://bitbucket.org/yiyus/devwsys-prev/src/tip/util/9p-srv.c:
app <-> devdraw <-> 9p files
So, in order to use 9p devdraw, you would need a 9p file server
providing the needed files. This can be done by rio(4) or cons(3),
draw(3) and mouse(3) in a Plan 9 system (including 9vx) or by wsys(4).
The complete picture using wsys would be:
app <-> devdraw <-(9p)-> wsys <-> X
Wsys and the 9p devdraw are a more general solution, but devdrawserver
is more direct and - since it completely avoids 9p - much simpler.
Another advantage of devdrawserver is the possibility to dettach and
reattach to running programs. I was toying with the idea of such a
file server for Plan 9 which could be used by rio and wsys. Although I
never started to write the code I still think it would be very
feasible.
--
- yiyus || JGL .
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-04-24 21:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-24 17:57 [9fans] devdrawserver marius a. eriksen
2012-04-24 18:33 ` pmarin
2012-04-24 21:48 ` yy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).