Struct
IdePtyIntercept
Functions
ide_pty_intercept_create_consumer
Creates a new PTY consumer using posix_openpt(). Some fallbacks are provided for non-Linux systems where O_CLOEXEC and O_NONBLOCK may not be supported.
Instance methods
ide_pty_intercept_clear
Cleans up a IdePtyIntercept
previously initialized with ide_pty_intercept_init().
ide_pty_intercept_get_fd
Gets a consumer PTY fd created by the IdePtyIntercept
. This is suitable
to use to create a producer fd which can be passed to a child process.
ide_pty_intercept_set_callback
This sets the callback to execute every time data is received from a particular side of the intercept.
ide_pty_intercept_set_size
Proxies a winsize across to the inferior. If the PTY is the controlling PTY for the process, then SIGWINCH will be signaled in the inferior process.