Alexander Samad wrote: > But I was looking for a quick c program that would simple unblock the > signal SIGWINCH on the current thread see sigprocmask(2) Here is a quick attempt at a program. It appears to work. If not, you can keep both pieces. #include <unistd.h> #include <signal.h> int main() { sigset_t set; sigemptyset(&set); sigprocmask(SIG_SETMASK, &set, NULL); execl("/bin/sh", "sh", NULL); }