mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -05:00
Support the SSH-2 mechanism for sending signals to a running session. Neither
of the SSH servers I conveniently have access to (Debian stable OpenSSH -- 3.4p1 -- and lshd) seem to take a blind bit of notice, but the channel requests look fine to me in the packet log. I've included all the signals explicitly defined by draft-ietf-secsh-connect-19, but I've put the more obscure ones in a submenu of the specials menu; there's therefore been some minor upheaval to support such submenus. [originally from svn r4652]
This commit is contained in:
8
telnet.c
8
telnet.c
@ -963,6 +963,8 @@ static void telnet_special(void *handle, Telnet_Special code)
|
||||
telnet->bufsize = sk_write(telnet->s, (char *)b, 2);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break; /* never heard of it */
|
||||
}
|
||||
}
|
||||
|
||||
@ -976,15 +978,15 @@ static const struct telnet_special *telnet_get_specials(void *handle)
|
||||
{"Erase Line", TS_EL},
|
||||
{"Go Ahead", TS_GA},
|
||||
{"No Operation", TS_NOP},
|
||||
{"", 0},
|
||||
{NULL, TS_SEP},
|
||||
{"Abort Process", TS_ABORT},
|
||||
{"Abort Output", TS_AO},
|
||||
{"Interrupt Process", TS_IP},
|
||||
{"Suspend Process", TS_SUSP},
|
||||
{"", 0},
|
||||
{NULL, TS_SEP},
|
||||
{"End Of Record", TS_EOR},
|
||||
{"End Of File", TS_EOF},
|
||||
{NULL, 0}
|
||||
{NULL, TS_EXITMENU}
|
||||
};
|
||||
return specials;
|
||||
}
|
||||
|
Reference in New Issue
Block a user