Subject: lib/2094: erase() and clear() do not move cursor to (0, 0)
To: None <gnats-bugs@NetBSD.ORG>
From: Peter Seebach <seebs@taniemarie.solon.com>
List: netbsd-bugs
Date: 02/17/1996 22:40:15
>Number:         2094
>Category:       lib
>Synopsis:       clear/erase do not move the cursor to (0, 0)
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 17 23:50:01 1996
>Last-Modified:
>Originator:     Peter Seebach
>Organization:
Usenet Fact Police (Undercover)
>Release:        Feb 17 1996
>Environment:
System: NetBSD taniemarie 1.1A NetBSD 1.1A (SEEBS) #0: Mon Jan 15 20:07:46 CST 1996 seebs@taniemarie:/usr/src/sys/arch/amiga/compile/SEEBS amiga


>Description:
	The PSD docs claim that clear (and thus, also erase) moves the
	cursor to (0, 0) in the window cleared or erased, but this does
	not appear to happen.
>How-To-Repeat:
	Experiment with clearing windows and writing into them.

	This shows up only in applications that don't always need to move
	somewhere in the window after a clear, however, it does contradict
	the documentation, and the automatic move to (0, 0) is a win
	for many games.
>Fix:
	add "wmove(win, 0, 0);" before the "return (OK);" in erase.c.
>Audit-Trail:
>Unformatted: