For a process, what are the differences between a controlling terminal and non-controlling terminal?
If a process calls
open() on a terminal's device file, will the terminal become the controlling terminal of the process' session?
Are the following different:
creating a connection between a process and a controlling terminal and
creating a connection between a process and a noncontrolling terminal
Are they both done by the process calling
open() on the controlling/noncontrolling terminal's device file?