pseudoterm
Pseudoterm, short for pseudo-terminal, is a software abstraction that provides a terminal interface to a program running in an environment that is not itself a real terminal. It enables terminal-like interaction by pairing a master endpoint with a slave endpoint; the master is used by a terminal emulator or controlling process to send input and read output, while the slave presents a terminal interface to the running application as if it were connected to a physical terminal.
In Unix-like systems, the kernel implements a PTY (pseudo-terminal) subsystem. The master device is typically accessed
Pseudoterms are widely used to enable interactive sessions in environments where a real terminal is not available,
Security and compatibility considerations include proper permissions on the slave devices, correct handling of controlling terminals,