Skip to main content

Module pty

Module pty 

Source
Expand description

Pseudo-terminal (PTY) server implementation.

Platform: Unix/Linux/macOS only. The server allocates a PTY with openpty, holds the master, and role-plays a program with a terminal: it reads what a terminal program types on the slave (pty_input_received), and the model decides the bytes that appear on the terminal (write_pty_output). A real client is any terminal program that opens the slave device.

Modules§

actions
Pseudo-terminal (PTY) protocol actions implementation.

Structs§

PtyServer
Pseudo-terminal server.