9term, acme: autoscroll

Ignore scroll/noscroll window setting.
Instead, scroll when the write begins in
or immediately after the displayed window content.

In the new scrolling discipline, executing
"Noscroll" is replaced by typing Page Up or
using the mouse to scroll higher in the buffer,
and executing "Scroll" is replaced by typing End
or using the mouse to scroll to the bottom of
the buffer.

R=r, r2
http://codereview.appspot.com/4433060
This commit is contained in:
Russ Cox 2011-04-27 13:18:07 -04:00
parent 42ef984cf2
commit ba31ab3044
12 changed files with 32 additions and 72 deletions

View file

@ -646,13 +646,17 @@ window and runs a
(default
.BR $SHELL )
in it, turning the window into something analogous to an
.IR rio (1)
.IR 9term (1)
window.
Executing text in a
.I win
window with button
2 is similar to using
.BR Send .
.I Win
windows follow the same scrolling heuristic as in
.IR 9term (1):
the window scrolls on output only if the window is displaying the end of the buffer.
.PP
.I Awd
loads the tag line of its window with the directory in which it's running, suffixed