=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/window/Attic/mloop.c,v retrieving revision 1.2 retrieving revision 1.3 diff -c -r1.2 -r1.3 *** src/usr.bin/window/Attic/mloop.c 1995/12/26 18:00:25 1.2 --- src/usr.bin/window/Attic/mloop.c 1996/02/23 14:10:42 1.3 *************** *** 1,4 **** ! /* $NetBSD: mloop.c,v 1.4 1995/12/21 10:45:53 mycroft Exp $ */ /* * Copyright (c) 1983, 1993 --- 1,4 ---- ! /* $NetBSD: mloop.c,v 1.5 1996/02/08 20:45:03 mycroft Exp $ */ /* * Copyright (c) 1983, 1993 *************** *** 40,46 **** #if 0 static char sccsid[] = "@(#)mloop.c 8.1 (Berkeley) 6/6/93"; #else ! static char rcsid[] = "$NetBSD: mloop.c,v 1.4 1995/12/21 10:45:53 mycroft Exp $"; #endif #endif /* not lint */ --- 40,46 ---- #if 0 static char sccsid[] = "@(#)mloop.c 8.1 (Berkeley) 6/6/93"; #else ! static char rcsid[] = "$NetBSD: mloop.c,v 1.5 1996/02/08 20:45:03 mycroft Exp $"; #endif #endif /* not lint */ *************** *** 53,59 **** if (incmd) { docmd(); } else if (wwcurwin->ww_state != WWS_HASPROC) { ! if (!wwcurwin->ww_keepopen) closewin(wwcurwin); setcmd(1); if (wwpeekc() == escapec) --- 53,59 ---- if (incmd) { docmd(); } else if (wwcurwin->ww_state != WWS_HASPROC) { ! if (!ISSET(wwcurwin->ww_uflags, WWU_KEEPOPEN)) closewin(wwcurwin); setcmd(1); if (wwpeekc() == escapec) *************** *** 72,78 **** p++) ; if ((n = p - wwibp) > 0) { ! if (w->ww_type != WWT_PTY && w->ww_stopped) startwin(w); #if defined(sun) && !defined(BSD) /* workaround for SunOS pty bug */ --- 72,79 ---- p++) ; if ((n = p - wwibp) > 0) { ! if (w->ww_type != WWT_PTY && ! ISSET(w->ww_pflags, WWP_STOPPED)) startwin(w); #if defined(sun) && !defined(BSD) /* workaround for SunOS pty bug */