From: Russ Cox <russcox@gmail.com>
To: 9fans <9fans@cse.psu.edu>
Subject: [9fans] scroll mouse support
Date: Fri, 22 Oct 2004 17:09:29 -0400 [thread overview]
Message-ID: <ee9e417a04102214093bb6f361@mail.gmail.com> (raw)
Thanks to Andrey, the kernel code on sources (you'll
need to compile a new binary) has support for
mice with scroll wheels. Rio and acme scroll their
text windows in response to the scroll wheel.
Jim and I decided that autodetection is too hard and
not likely to work anyway (I've never seen XFree86 get
it right), so you have to tell the kernel when you have
a scroll mouse (aka intellimouse) by setting mouseport=ps2intellimouse
in plan9.ini, or just by doing echo intellimouse >/dev/mousectl
at some point later.
Most Unix/Windows programs scroll half or full screens
per click, and making things worse, different scroll mice
send clicks at different rates. Rob and I played with this
for a while a few months ago and settled on the following.
By default, rio and acme scroll one line per click, which
feels a lot smoother than big jumps. If you want some
other behavior, you can set $mousescrollsize in your
environment to, say, 5 (5 lines) or to 25% (quarter screen).
Russ
next reply other threads:[~2004-10-22 21:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-22 21:09 Russ Cox [this message]
2004-10-22 23:41 ` Patrick Kristiansen
2004-10-23 0:10 ` andrey mirtchovski
2004-10-23 1:20 ` Russ Cox
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=ee9e417a04102214093bb6f361@mail.gmail.com \
--to=russcox@gmail.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).