Lines Matching refs:ttypgrp_ok
132 static bool ttypgrp_ok; /* set if can use tty pgrps */ variable
271 if ((ttypgrp_ok = use_tty && tty_fd >= 0 && tty_devtty)) { in j_change()
282 ttypgrp_ok = false; in j_change()
293 if (ttypgrp_ok && kshpgrp != kshpid) { in j_change()
298 ttypgrp_ok = false; in j_change()
304 ttypgrp_ok = false; in j_change()
310 if (use_tty && !ttypgrp_ok) in j_change()
315 ttypgrp_ok = false; in j_change()
436 if (ttypgrp_ok && dotty && !(flags & XBGND)) in exchild()
486 ttypgrp_ok = false; in exchild()
719 if (ttypgrp_ok && (j->flags & JF_SAVEDTTY)) in j_resume()
722 if (ttypgrp_ok && in j_resume()
749 if (ttypgrp_ok && (j->flags & JF_SAVEDTTY)) in j_resume()
751 if (ttypgrp_ok && tcsetpgrp(tty_fd, kshpgrp) < 0) in j_resume()
762 if (ttypgrp_ok) { in j_resume()
1008 if (Flag(FMONITOR) && ttypgrp_ok && j->pgrp) { in j_waitj()