mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 11:32:48 -05:00
First crack at `terminal-modes' in SSH. PuTTY now sends ERASE by default,
Unix Plink sends everything sensible it can find, and it's fully configurable from the GUI. I'm not entirely sure about the precise set of modes that Unix Plink should look at; informed tweaks are welcome. Also the Mac bits are guesses (but trivial). [originally from svn r5653] [this svn revision also touched putty-wishlist]
This commit is contained in:
@ -191,6 +191,11 @@ void ldisc_update(void *frontend, int echo, int edit)
|
||||
{
|
||||
}
|
||||
|
||||
char *get_ttymode(void *frontend, const char *mode)
|
||||
{
|
||||
return term_get_ttymode(term, mode);
|
||||
}
|
||||
|
||||
static void start_backend(void)
|
||||
{
|
||||
const char *error;
|
||||
|
@ -87,6 +87,7 @@
|
||||
#define WINHELP_CTX_telnet_newline "telnet.newline"
|
||||
#define WINHELP_CTX_rlogin_localuser "rlogin.localuser"
|
||||
#define WINHELP_CTX_ssh_nopty "ssh.nopty"
|
||||
#define WINHELP_CTX_ssh_ttymodes "ssh.ttymodes"
|
||||
#define WINHELP_CTX_ssh_noshell "ssh.noshell"
|
||||
#define WINHELP_CTX_ssh_ciphers "ssh.ciphers"
|
||||
#define WINHELP_CTX_ssh_protocol "ssh.protocol"
|
||||
|
@ -94,6 +94,8 @@ void ldisc_update(void *frontend, int echo, int edit)
|
||||
SetConsoleMode(inhandle, mode);
|
||||
}
|
||||
|
||||
char *get_ttymode(void *frontend, const char *mode) { return NULL; }
|
||||
|
||||
struct input_data {
|
||||
DWORD len;
|
||||
char buffer[4096];
|
||||
|
@ -125,6 +125,8 @@ void gui_enable(char *arg)
|
||||
gui_hwnd = (HWND) atoi(arg);
|
||||
}
|
||||
|
||||
char *get_ttymode(void *frontend, const char *mode) { return NULL; }
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
* File access abstraction.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user