Merge "Implement <pty.h>."