Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TTY issues #13

Open
benohalloran opened this issue Sep 27, 2015 · 0 comments
Open

TTY issues #13

benohalloran opened this issue Sep 27, 2015 · 0 comments
Assignees

Comments

@benohalloran
Copy link
Member

ATM, terminal control is given to MAIN immediately, which means the monitor process does not receive the signals which it needs to forward to the children. The monitor process should keep the terminal until a SIGTTOU/SIGTTIN meaning a process is trying to do terminal IO in the background. The monitor process will reap this (it will stop as default behavior), and do the tcsetpgid call. The monitor process will remember which PID requested the tty and once it's reaped, the monitor will reclaim tty. When PPR begins, monitor will take back the terminal and NOT give it away, and just let the understudy win.

@benohalloran benohalloran added this to the CASCON '15 milestone Sep 27, 2015
@benohalloran benohalloran self-assigned this Sep 27, 2015
@benohalloran benohalloran modified the milestone: CASCON '15 Oct 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant