Lines Matching refs:ttypgrp_ok
134 static bool ttypgrp_ok; /* set if can use tty pgrps */ variable
236 if (ttypgrp_ok) { in j_suspend()
259 if (ttypgrp_ok) { in j_suspend()
264 ttypgrp_ok = false; in j_suspend()
268 ttypgrp_ok = false; in j_suspend()
344 if ((ttypgrp_ok = (use_tty && tty_fd >= 0 && tty_devtty))) { in j_change()
355 ttypgrp_ok = false; in j_change()
366 if (ttypgrp_ok && kshpgrp != kshpid) { in j_change()
370 ttypgrp_ok = false; in j_change()
376 ttypgrp_ok = false; in j_change()
383 if (use_tty && !ttypgrp_ok) in j_change()
388 ttypgrp_ok = false; in j_change()
539 if (ttypgrp_ok && dotty && !(flags & XBGND)) in exchild()
594 ttypgrp_ok = false; in exchild()
855 if (ttypgrp_ok && (j->flags & JF_SAVEDTTY)) in j_resume()
858 if (ttypgrp_ok && in j_resume()
884 if (ttypgrp_ok && (j->flags & JF_SAVEDTTY)) in j_resume()
886 if (ttypgrp_ok && tcsetpgrp(tty_fd, kshpgrp) < 0) in j_resume()
897 if (ttypgrp_ok) { in j_resume()
1163 if (Flag(FMONITOR) && ttypgrp_ok && j->pgrp) { in j_waitj()