Skip to content

TTY issues #13

@benohalloran

Description

@benohalloran

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions