From: Michael Fuhr (mfuhr@cwis.unomaha.edu)
Date: 08/08/93


From: mfuhr@cwis.unomaha.edu (Michael Fuhr)
Subject: Re: I only catch first SIGWINCH
Date: Sun, 8 Aug 1993 10:39:05 GMT

yseeley@leland.Stanford.EDU (Yonik Christopher Seeley) writes:

>Hey everyone, I am very sorry if this is not linux specific, but
>I got my code to work on both sparcstations and decstations, and
>not linux. When I run the included test program in an xterm, and
>try resizing the xterm (bash shell in twm), I only seem to catch the
>first SIGWINCH signal.

This isn't Linux-specific. Some systems reset the signal action to
SIG_DFL when it catches the signal. If you want to catch the signal
again, call signal() just before you return from the signal handler.