8 #include "telnet.h" /* for struct shdata */
11 * Called at program startup to actually allocate a pty, so that
12 * we can start passing in resize events as soon as they arrive.
14 void pty_preinit(void);
17 * Set the terminal size for the pty.
19 void pty_resize(int w
, int h
);
22 * Start a program in a subprocess running in the pty we allocated.
23 * Returns the fd of the pty master.
25 int run_program_in_pty(const struct shell_data
*shdata
,
26 char *directory
, char **program_args
);
28 #endif /* FIXME_PTY_H */