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] Re: Sam & Acme & 8c questions
Date: Tue, 18 Jun 2002 18:03:41 +0100	[thread overview]
Message-ID: <20020618165830.BDD7519ADA@mail.cse.psu.edu> (raw)

[-- Attachment #1: Type: text/plain, Size: 520 bytes --]

i seem to remember that under nextstep the algorithm was something
like:

	while the mouse is below the window:
		at some repetition interval t, adjust the current y-coordinate
		so that the y-coord that was previously "under" the mouse
		is now at the bottom of the window.

that gives a fairly natural proportionality to the thing.  of course,
it's not that simple in acme/rio style text windows, where the
scrolling is proportional to the amount of data shown, not the
vertical space taken by the data.


[-- Attachment #2: Type: message/rfc822, Size: 1507 bytes --]

To: 9fans@cse.psu.edu
Subject: Re: [9fans] Re: Sam & Acme & 8c questions
Date: Tue, 18 Jun 2002 11:58:03 -0400
Message-ID: <ceafca5fdc7e10b6a02f9ca1d0d4c0c6@plan9.bell-labs.com>

in acme the speed for autoscroll is
proportional to how far out of the window
the mouse is.

that seems to work very well except when
acme is at the bottom of the screen.
then it's much nicer to scroll up.

             reply	other threads:[~2002-06-18 17:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-18 17:03 rog [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-06-20  0:18 okamoto
2002-06-18 18:35 rob pike, esq.
2002-06-18 15:58 Russ Cox
2002-06-19 16:18 ` Douglas A. Gwyn
2002-06-17 13:49 Russ Cox
2002-06-18  9:31 ` Douglas A. Gwyn
2002-06-17 11:10 forsyth
2002-06-17  9:14 [9fans] " Blake McBride
2002-06-17 10:52 ` [9fans] " Douglas A. Gwyn

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=20020618165830.BDD7519ADA@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).