Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site sdcsvax.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!houxm!houxz!vax135!cornell!uw-beaver!tektronix!hplabs!sdcrdcf!sdcsvax!laman
From: laman@sdcsvax.UUCP (Mike Laman)
Newsgroups: net.bugs.usg
Subject: System V.2 Curses (kind of) Bug #6
Message-ID: <1117@sdcsvax.UUCP>
Date: Fri, 10-Aug-84 19:47:38 EDT
Article-I.D.: sdcsvax.1117
Posted: Fri Aug 10 19:47:38 1984
Date-Received: Mon, 13-Aug-84 00:17:19 EDT
Organization: EECS Dept. U.C. San Diego
Lines: 18

Scrolling a window with the current position of the window's cursor on the the
top line of that window puts the cursor at an "invalid" value.  This is more a
change in the code to better handle an "undefined" action than anything else.
This just might help protect the user from himself/herself.

In "_tscroll()" (screen/_tscroll.c) change:

	win->_cury--;

to

	if(win->_cury-- <= 0)
		win->_cury = 0;

This is similar to the one I posted for 4.2 BSD curses.

		Mike Laman, NCR @ Torrey Pines
		UUCP: {ucbvax,philabs,sdcsla}!sdcsvax!laman