Check TTY.
Renamed.
Check STDIN.
Output.
stty setup/restore.
$this->stdin to STDIN.
$this->stdin to STDIN. [2]