Subject: PR/27777 CVS commit: src/lib/libcurses
To: None <jdc@NetBSD.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,>
From: Julian Coleman <jdc@netbsd.org>
List: pkgsrc-bugs
Date: 08/25/2006 17:05:08
The following reply was made to PR pkg/27777; it has been noted by GNATS.

From: Julian Coleman <jdc@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/27777 CVS commit: src/lib/libcurses
Date: Fri, 25 Aug 2006 17:04:33 +0000 (UTC)

 Module Name:	src
 Committed By:	jdc
 Date:		Fri Aug 25 17:04:33 UTC 2006
 
 Modified Files:
 	src/lib/libcurses: tstp.c
 
 Log Message:
 Handle cases where the application installs a SIGWINCH handler after the
 curses one is installed by:
 
   1.  not reinstalling the curses one after restarting
   2.  not sending KEY_RESIZE
 
 Also, update the size of curscr, stdscr and __virtscr to match the new
 screen size, so that their sizes are always updated.
 
 Fixes the cases where applications call endwin() and then refresh() in
 their SIGWINCH handler (i.e. the resizing problems in PR pkg/27777).
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.33 -r1.34 src/lib/libcurses/tstp.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.