Module Name: src Committed By: martin Date: Thu Sep 27 14:59:28 UTC 2018
Modified Files: src/lib/libcurses [netbsd-8]: get_wch.c getch.c tstp.c Log Message: Pull up following revision(s) (requested by kamil in ticket #1039): lib/libcurses/getch.c: revision 1.66 lib/libcurses/getch.c: revision 1.67 lib/libcurses/tstp.c: revision 1.43 lib/libcurses/get_wch.c: revision 1.15 lib/libcurses/get_wch.c: revision 1.16 PR lib/53615 getch() and get_wch() should return KEY_RESIZE when interrupted by SIGWIN= CH. OK roy - PR lib/53615 Before invoking a previous signal handler, make sure it is not SIG_*. Fix potential crash with SIGWINCH. OK roy - Correct detecting of terminal resize in curses(3) with keypad(,TRUE) A previous change fixed only keypad(,FALSE) scenarios. - Handle catching terminal resize in INKEY_NORM and INKEY_ASSEMBLING (in the middle of assembling a key code from passed codes) as both accept keys with fgetc(3) and both can be in theory interrupted with a resize. PR lib/53615 To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.14.4.1 src/lib/libcurses/get_wch.c cvs rdiff -u -r1.65 -r1.65.4.1 src/lib/libcurses/getch.c cvs rdiff -u -r1.42 -r1.42.6.1 src/lib/libcurses/tstp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.