Subject: lib/20544: curses_window (subwin) does not behave as documented when refreshed
To: None <gnats-bugs@gnats.netbsd.org>
From: None <Tyler.R.Retzlaff@elysium.netbsd.org>
List: netbsd-bugs
Date: 03/03/2003 04:04:15
>Number:         20544
>Category:       lib
>Synopsis:       curses_window (subwin) does not behave as documented when refreshed
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 01 22:05:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     rtr
>Release:        NetBSD 1.6O
>Organization:
>Environment:
System: NetBSD elysium 1.6O NetBSD 1.6O (elysium) #2: Sat Feb 22 05:27:28 EST 2003 rtr@elysium:/var/scratch/build/elysium i386
Architecture: i386
Machine: i386
>Description:
	curses_window(3) indicates that subwin type windows should be refreshed
	when wrefresh is called on parent window.

	re: curses_window(3)
	"subwin() is similar to newwin() excepting that the size of the
	 subwindow is bounded by the parent window win.  The subwindow shares
	 internal data structures with the parent window and will be refreshed
	 when the parent window is refreshed."

>How-To-Repeat:
	WINDOW *win, *sub;

	win = newwin( ... );
	sub = subwin(win, ...);
	wrefresh(win); /* does not refresh sub */
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: