Lines Matching refs:G_saved_tty_pgrp
887 # define G_saved_tty_pgrp (G.saved_tty_pgrp) macro
889 # define G_saved_tty_pgrp 0 macro
2022 if (G_saved_tty_pgrp && getpid() == G.root_pid) { in sigexit()
2027 tcsetpgrp(G_interactive_fd, G_saved_tty_pgrp); in sigexit()
9143 if (G_saved_tty_pgrp) { in checkjobs_and_fg_shell()
9570 && G_saved_tty_pgrp /* we have ctty */ in run_pipe()
10104 if (G_saved_tty_pgrp) /* we have ctty, job control sigs work */ in install_special_sighandlers()
10591 G_saved_tty_pgrp = tcgetpgrp(STDIN_FILENO); in hush_main()
10592 debug_printf("saved_tty_pgrp:%d\n", G_saved_tty_pgrp); in hush_main()
10593 if (G_saved_tty_pgrp < 0) in hush_main()
10594 G_saved_tty_pgrp = 0; in hush_main()
10604 G_saved_tty_pgrp = 0; in hush_main()
10612 if (G_saved_tty_pgrp) { in hush_main()
10620 G_saved_tty_pgrp = tcgetpgrp(G_interactive_fd); in hush_main()
10621 if (G_saved_tty_pgrp == shell_pgrp) in hush_main()
10631 if (G_saved_tty_pgrp) { in hush_main()
10872 if (G_saved_tty_pgrp && getpid() == G.root_pid) in builtin_exec()
10873 tcsetpgrp(G_interactive_fd, G_saved_tty_pgrp); in builtin_exec()
11757 if (argv[0][0] == 'f' && G_saved_tty_pgrp) { in builtin_fg_bg()