9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: rog@vitanuova.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] oneko for rio
Date: Thu, 26 Apr 2001 11:02:32 +0100	[thread overview]
Message-ID: <20010426095527.74B8519A18@mail.cse.psu.edu> (raw)

> on plan 9 this should be trivial (read 'hello world').

actually, i doubt if it would be so entirely trivial, as it's not that
easy to get the current position of the mouse cursor outside the
current window.  you could get around this by writing a little file
server (easiest using lib9p) that serves not only /dev/mouse, but
/dev/mouse2 as well; it would have to be run before rio (or run rio
inside a rio window)

then oneko would be able to get the current mouse position from
/dev/mouse2, despite the fact that rio had covered up /dev/mouse with
its own version. window position information is trivially found
in /dev/wsys/*/wctl

maybe i'm missing something.



             reply	other threads:[~2001-04-26 10:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-26 10:02 rog [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-05-07  8:25 okamoto
2001-04-27 13:42 rob pike
2001-04-27 16:32 ` Douglas A. Gwyn
2001-05-07  7:05   ` YAMANASHI Takeshi
2001-04-26  9:57 rob pike
2001-04-26 13:19 ` Boyd Roberts
2001-04-27  7:28   ` YAMANASHI Takeshi
2001-04-27  9:10 ` Douglas A. Gwyn
2001-04-26  8:30 YAMANASHI Takeshi
2001-04-26  9:28 ` Boyd Roberts

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010426095527.74B8519A18@mail.cse.psu.edu \
    --to=rog@vitanuova.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).