tstupid signal fix - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 1a24aaca91aab030acd287a53a16649551d90b3e
 (DIR) parent f52e90ebe86957fcc596b7e7818084aed02213f5
 (HTM) Author: rsc <devnull@localhost>
       Date:   Thu, 21 Jul 2005 15:43:51 +0000
       
       stupid signal fix
       
       Diffstat:
         M src/cmd/9term/rcstart.c             |      11 ++++++++++-
       
       1 file changed, 10 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/src/cmd/9term/rcstart.c b/src/cmd/9term/rcstart.c
       t@@ -57,8 +57,17 @@ rcstart(int argc, char **argv, int *pfd, int *tfd)
                 * 
                 * Can't disable because will be inherited by other programs
                 * like if you run an xterm from the prompt, and then xterm's
       -         * resizes won't get handled right.  Sigh.
       +         * resizes won't get handled right.  Sigh.  
       +         *
       +         * Can't not disable because when we stty below we'll get a
       +         * signal, which will drop us into the thread library note handler,
       +         * which will get all confused because we just forked and thus
       +         * have an unknown pid. 
       +         *
       +         * So disable it internally.  ARGH!
                 */
       +        notifyoff("sys: window size change");
       +
                pid = fork();
                switch(pid){
                case 0: