Subject: lib/2094: erase() and clear() do not move cursor to (0, 0)
To: None <gnats-bugs@NetBSD.ORG>
From: Peter Seebach <email@example.com>
Date: 02/17/1996 22:40:15
>Synopsis: clear/erase do not move the cursor to (0, 0)
>Responsible: lib-bug-people (Library Bug People)
>Arrival-Date: Sat Feb 17 23:50:01 1996
>Originator: Peter Seebach
Usenet Fact Police (Undercover)
>Release: Feb 17 1996
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
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.
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.
add "wmove(win, 0, 0);" before the "return (OK);" in erase.c.