Lines Matching defs:shell_tty
170 int shell_tty = -1;
1935 #define input_tty() (shell_tty != -1) ? shell_tty : fileno (stderr)
3518 shell_tty = fileno (stderr);
3525 shell_tty = dup (fileno (stderr)); /* fd 2 */
3527 shell_tty = move_to_high_fd (shell_tty, 1, -1);
3535 tcsetpgrp (shell_tty, shell_pgrp);
3538 while ((terminal_pgrp = tcgetpgrp (shell_tty)) != -1)
3553 if (set_new_line_discipline (shell_tty) < 0)
3592 if (shell_tty != fileno (stderr))
3593 SET_CLOSE_ON_EXEC (shell_tty);
3617 shell_tty, (long)tcgetpgrp (shell_tty), (long)getpgid(0));
3749 if (tcsetpgrp (shell_tty, pgrp) < 0)
3754 shell_tty, (long)getpid(), (long)pgrp);
4055 if (shell_tty != -1)
4056 close (shell_tty);