From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by melb.werple.net.au (8.7.5/8.7.3/2) with ESMTP id OAA13073 for ; Mon, 15 Jul 1996 14:21:40 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id AAA06806; Mon, 15 Jul 1996 00:05:18 -0400 (EDT) Resent-Date: Mon, 15 Jul 1996 00:05:18 -0400 (EDT) From: Zoltan Hidvegi Message-Id: <199607150230.EAA00151@hzoli.ppp.cs.elte.hu> Subject: Re: First zle_refresh.c patch To: mason@werple.net.au (Geoff Wing) Date: Mon, 15 Jul 1996 04:30:41 +0200 (MET DST) Cc: zsh-workers@math.gatech.edu In-Reply-To: <199607131602.QAA11406@werple.net.au> from Geoff Wing at "Jul 14, 96 02:02:39 am" X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"mG7LT1.0.Dg1.zDSwn"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/1646 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu > a screenful of text). Scrolling for >=9600 is line by line (much prettier). Yes it is good, however I do not like that the cursor is always in the bottom screen line. Long multiline buffers usually occur in zed when I edit a file. In that case I do not like to scroll the screen each time I press up/down arrow. I think zsh should behave like other editors. It should only scroll when the cursor would go off the screen without scrolling. There are two solutions for that case: one is used in emacs which scrolls a half screen while the other is used in joe which scrolls line by line. Before these patches zsh scrolled a half screen each time the cursor reached the middle of the screen. I did not like that. An alternative solution may be to scroll when the line is near to the bottom or top of the screen so that a three line context around the cursor is always wisible. Zoltan