systemTtyfunctionno test imports itfunction systemTty(os: Os): TtyPortThe terminal of this process on a system.
The terminal of this process as a TtyPort (commons headless 0011-credential-prompt FR-007): it reads the standard input where that is a terminal and draws on the standard error, with the echo turned off by the system's own means: on Linux and macOS by the program stty run on the terminal, on Windows by the console's input mode (raw mode), both behind the one port. Where the standard input is not a terminal there is none to give, and the answer is no-terminal, never a read of something that is not a person.
Untested against a real terminal: a test has no terminal to read, so the real-process tests of this library stop at the port (readerStep, the adapter and the helper are tested with a port that a test drives), and the echo is checked by hand on a terminal of each system. Reading the controlling terminal when the standard input is not one (/dev/tty, CONIN$) needs a read of a file with no position, which the system's FsFile does not have yet: that is Planned (0011 Out of scope).
systemTtyfunctionno test imports itfunction systemTty(os: Os): TtyPortThe terminal of this process on a system.