From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <834c900606499d22c6da95f9fd7a9b64@plan9.bell-labs.com> To: 9fans@cse.psu.edu Subject: Re: [9fans] Re: Sam & Acme & 8c questions From: "rob pike, esq." MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-nfwglkvsgxhmwaytrhczlwjdbq" Date: Tue, 18 Jun 2002 14:35:47 -0400 Topicbox-Message-UUID: b34bb514-eaca-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-nfwglkvsgxhmwaytrhczlwjdbq Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit That sounds just like the algorithm used in /sys/src/libframe/frselect.c, used by acme and rio. There's nothing proportional to it; it's just N lines every delta T, where N is the number of lines between the mouse and the edge of the frame. -rob --upas-nfwglkvsgxhmwaytrhczlwjdbq Content-Type: message/rfc822 Content-Disposition: inline Received: from plan9.cs.bell-labs.com ([135.104.9.2]) by plan9; Tue Jun 18 12:59:16 EDT 2002 Received: from mail.cse.psu.edu ([130.203.4.6]) by plan9; Tue Jun 18 12:59:15 EDT 2002 Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.6.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id D1D4B19ADA; Tue, 18 Jun 2002 12:59:10 -0400 (EDT) Delivered-To: 9fans@cse.psu.edu Received: from presto.vitanuova.com (unknown [62.254.170.97]) by mail.cse.psu.edu (CSE Mail Server) with SMTP id BDD7519ADA for <9fans@cse.psu.edu>; Tue, 18 Jun 2002 12:58:30 -0400 (EDT) To: 9fans@cse.psu.edu Subject: Re: [9fans] Re: Sam & Acme & 8c questions From: rog@vitanuova.com MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-iuzofpvsztooqanfakursftire" Message-Id: <20020618165830.BDD7519ADA@mail.cse.psu.edu> Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Tue, 18 Jun 2002 18:03:41 +0100 This is a multi-part message in MIME format. --upas-iuzofpvsztooqanfakursftire Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit 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. --upas-iuzofpvsztooqanfakursftire Content-Type: message/rfc822 Content-Disposition: inline Return-Path: <9fans-admin@cse.psu.edu> Received: from punt-1.mail.demon.net by mailstore for rog@vitanuova.com id 1024416086:10:14061:11; Tue, 18 Jun 2002 16:01:26 GMT Received: from psuvax1.cse.psu.edu ([130.203.4.6]) by punt-1.mail.demon.net id aa1013884; 18 Jun 2002 16:01 GMT Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.6.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 2668C19B18; Tue, 18 Jun 2002 11:59:10 -0400 (EDT) Delivered-To: 9fans@cse.psu.edu Received: from plan9.cs.bell-labs.com (ampl.com [204.178.31.2]) by mail.cse.psu.edu (CSE Mail Server) with SMTP id 2B23019A82 for <9fans@cse.psu.edu>; Tue, 18 Jun 2002 11:58:04 -0400 (EDT) Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] Re: Sam & Acme & 8c questions MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Tue, 18 Jun 2002 11:58:03 -0400 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. --upas-iuzofpvsztooqanfakursftire-- --upas-nfwglkvsgxhmwaytrhczlwjdbq--