Subject: CVS commit: [netbsd-4] src/lib/libcurses
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <email@example.com>
Date: 08/28/2006 15:07:32
Module Name: src
Committed By: tron
Date: Mon Aug 28 15:07:32 UTC 2006
src/lib/libcurses [netbsd-4]: tstp.c
Pull up following revision(s) (requested by jdc in ticket #76):
lib/libcurses/tstp.c: revision 1.34
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 -r188.8.131.52 -r184.108.40.206 src/lib/libcurses/tstp.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.