Lines Matching +full:use +full:- +full:pty
7 # Author: Steen Lumholt -- with additions by Guido.
27 """openpty() -> (master_fd, slave_fd)
28 Open a pty master/slave pair, using os.openpty() if possible."""
39 """master_open() -> (master_fd, slave_name)
40 Open a pty master and return the fd, and the filename of the slave end.
41 Deprecated, use openpty() instead."""
44 …warnings.warn("Use pty.openpty() instead.", DeprecationWarning, stacklevel=2) # Remove API in 3.14
58 """Open pty master and return (master_fd, tty_name)."""
61 pty_name = '/dev/pty' + x + y
67 raise OSError('out of pty devices')
70 """slave_open(tty_name) -> slave_fd
71 Open the pty slave and acquire the controlling terminal, returning
73 Deprecated, use openpty() instead."""
76 …warnings.warn("Use pty.openpty() instead.", DeprecationWarning, stacklevel=2) # Remove API in 3.14
91 """fork() -> (pid, master_fd)
125 pty master -> standard output (master_read)
126 standard input -> pty master (stdin_read)"""
129 # indefinitely. So we set master_fd to non-blocking temporarily during
191 sys.audit('pty.spawn', argv)