On Sun, Feb 28, 2010 at 3:27 AM, Anthony Sorace <a...@9srv.net> wrote:
>        The multi-touch stuff added to plan9ports to make the Apple Magic
> Mouse work is really nice; I confess I didn't really believe Russ when he
> described it as feeling natural, but it does. It's pretty easy to forget
> about the mechanics of what's going on under your hand. These days, though,
> I spend most of my interactive time in 9vx. Is anyone working on getting the
> multi-touch stuff working in 9vx?
>
> Anthony Sorace
> Strand 1

doing things to 9vx seems like a bad idea compared to just having a
p9p server with the /mouse and /mousectl for the magic mouse, and then
mounting that in your 9vx /dev.

same thing applies to drawterm, inferno, and probably glendix, which
together with 9vx and p9p is your entire aviary with one projectile.

so you detect whether it's drawterm or 9vx, and set root = /mnt/term
or '#Z' respectively and you mount $root/tmp/ns.$USER.$DISPLAY/mouse.
a linux way to get $USER and $DISPLAY is cat $root/proc/self/env | tr
'\0' '\n' |
grep, dunno if that works in OSX but whatever.

stu

Reply via email to