X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/74aca06df856c5518daf31d2b7a00cc3d798fcaf..125105d16c788398562ac03e91ce7a0dc0292492:/unix/pty.c diff --git a/unix/pty.c b/unix/pty.c index eed8ecf7..dac67364 100644 --- a/unix/pty.c +++ b/unix/pty.c @@ -84,6 +84,7 @@ static int pty_exit_code; static struct utmp utmp_entry; #endif char **pty_argv; +int use_pty_argv = TRUE; static void pty_close(void); @@ -703,6 +704,21 @@ static void pty_special(void *handle, Telnet_Special code) return; } +/* + * Return a list of the special codes that make sense in this + * protocol. + */ +static const struct telnet_special *pty_get_specials(void *handle) +{ + /* + * Hmm. When I get round to having this actually usable, it + * might be quite nice to have the ability to deliver a few + * well chosen signals to the child process - SIGINT, SIGTERM, + * SIGKILL at least. + */ + return NULL; +} + static Socket pty_socket(void *handle) { return NULL; /* shouldn't ever be needed */ @@ -749,6 +765,7 @@ Backend pty_backend = { pty_sendbuffer, pty_size, pty_special, + pty_get_specials, pty_socket, pty_exitcode, pty_sendok,