Path: utzoo!attcan!uunet!husc6!rutgers!joyce!cslb!porthos!aida From: aida@porthos.csl.sri.com (Hitoshi Aida) Newsgroups: comp.windows.news Subject: Bug-fix for psterm Message-ID: <7525@cslb.CSL.SRI.COM> Date: 12 Nov 88 01:05:40 GMT Sender: usenet@cslb.CSL.SRI.COM Reply-To: aida@csl.sri.com (Hitoshi AIDA) Organization: Computer Science Lab, SRI International Lines: 33 The behavior of automatic scrolling in psterm (terminal emulator in NeWS) is not correct after setting scroll region. Here is fix. *** tcap_ops.c Fri Nov 11 16:55:46 1988 --- tcap_ops.c.org Mon Feb 22 11:00:55 1988 *************** *** 1101,1110 **** return; } } ! if (Dot.y == BottomLineOfScrollRegion) ! sf_op(t); ! else if (Dot.y < LinesPerScreen - 1) Dot.y++; MoveCursor(); } --- 1101,1111 ---- return; } } ! if (Dot.y < LinesPerScreen - 1) Dot.y++; + else { + sf_op(t); + } MoveCursor(); } -------- Hitoshi AIDA (aida@csl.sri.com) Computer Science Laboratory, SRI International