On Sat, Dec 14, 2002 at 08:15:02AM +0100, Philippe Blain wrote:
> Line 1656 :
> I don't understand the test for saving cursor when the terminal has a
> settable scrolling region. Is it some rest of old code ?
> The terminfo pages do not mention that the cursor must be at bottom
> before setting a scrolling region, and I don't see relation with n==1 ?
> All sufficient cases are considered in scroll_csr_forward/backward.
>
My understanding of this part is that some terminals require
the cursor to be within the scrolling margins before the scrolling
margins are set - otherwise the operation doesn't work properly.
Since we're moving the cursor, we'd like to do it efficiently.
--
Thomas E. Dickey <address@hidden>
http://invisible-island.netftp://invisible-island.net