multiple window
[unix-history] / usr / src / usr.bin / window / wwchild.c
index 27eca1f..8695eda 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char *sccsid = "@(#)wwchild.c   1.2 83/07/17";
+static char *sccsid = "@(#)wwchild.c   1.3 83/07/18";
 #endif
 
 #include "ww.h"
 #endif
 
 #include "ww.h"
@@ -15,12 +15,16 @@ wwchild()
                for (wp = wwhead; wp; wp = wp->ww_next) {
                        if (wp->ww_pid == pid) {
                                wp->ww_state = WW_DEAD;
                for (wp = wwhead; wp; wp = wp->ww_next) {
                        if (wp->ww_pid == pid) {
                                wp->ww_state = WW_DEAD;
-                               (void) wwprintf(curwin,
+                               /*
+                               wwprintf(curwin,
                                        "\r\n%d: Died\r\n", pid);
                                        "\r\n%d: Died\r\n", pid);
+                               */
                                break;
                        }
                }
                                break;
                        }
                }
+               /*
                if (wp == 0)
                        wwprintf(curwin, "\r\n%d: No such child\r\n", pid);
                if (wp == 0)
                        wwprintf(curwin, "\r\n%d: No such child\r\n", pid);
+               */
        }
 }
        }
 }