Lines Matching refs:ttypgrp_ok
148 static bool ttypgrp_ok; /* set if can use tty pgrps */ variable
244 if (ttypgrp_ok) { in j_suspend()
267 if (ttypgrp_ok) { in j_suspend()
272 ttypgrp_ok = false; in j_suspend()
276 ttypgrp_ok = false; in j_suspend()
352 if ((ttypgrp_ok = (use_tty && tty_fd >= 0 && tty_devtty))) { in j_change()
363 ttypgrp_ok = false; in j_change()
374 if (ttypgrp_ok && kshpgrp != kshpid) { in j_change()
378 ttypgrp_ok = false; in j_change()
384 ttypgrp_ok = false; in j_change()
391 if (use_tty && !ttypgrp_ok) in j_change()
396 ttypgrp_ok = false; in j_change()
546 if (ttypgrp_ok && dotty && !(flags & XBGND)) in exchild()
601 ttypgrp_ok = false; in exchild()
862 if (ttypgrp_ok && (j->flags & JF_SAVEDTTY)) in j_resume()
865 if (ttypgrp_ok && in j_resume()
891 if (ttypgrp_ok && (j->flags & JF_SAVEDTTY)) in j_resume()
893 if (ttypgrp_ok && tcsetpgrp(tty_fd, kshpgrp) < 0) in j_resume()
904 if (ttypgrp_ok) { in j_resume()
1176 if (Flag(FMONITOR) && ttypgrp_ok && j->pgrp) { in j_waitj()