1 https://sourceforge.net/p/unixtop/patches/22/
3 diff -u top-3.8beta1/top.c top-3.8beta1/top.c
4 --- top-3.8beta1/top.c 2008-05-07 11:41:39.000000000 +0800
5 +++ top-3.8beta1/top.c 2017-01-15 18:32:50.000000000 +0800
11 +set_signals(int set_winch)
14 (void) set_signal(SIGINT, sig_leave);
15 (void) set_signal(SIGQUIT, sig_leave);
16 (void) set_signal(SIGTSTP, sig_tstop);
18 - (void) set_signal(SIGWINCH, sig_winch);
19 + if(set_winch) set_signal(SIGWINCH, sig_winch);
26 /* set the signal handlers */
28 + set_signals(gstate->interactive);
30 /* longjmp re-entry point */
31 /* set the jump buffer for long jumps out of signal handlers */