Although closely related to pipes, these pseudo terminal connections have some ability, that makes it nessesary to uses them. Most importent, they know about changing screen sizes and UNIX job control.
Within the terminal emulation framework, this class represents the host side of the terminal together with the connecting serial line.
One can create many instances of this class within a program. As a side effect of using this class, a signal(2) handler is installed on SIGCHLD.
publish the SIGCHLD signal if not related to an instance.
clearify TEPty::done vs. TEPty::~TEPty semantics. check if pty is restartable via run after done.
Another technic are UNIX 98 PTY's. These are supported also, and prefered over the (obsolete) predecessor.
There's a sinister ioctl(2), signal(2) and job control stuff nessesary to make everything work as it should.
1.4.2