mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 03:22:48 -05:00
Option to log proxy setup diagnostics to the terminal.
It has three settings: on, off, and 'only until session starts'. The idea of the last one is that if you use something like 'ssh -v' as your proxy command, you probably wanted to see the initial SSH connection-setup messages while you were waiting to see if the connection would be set up successfully at all, but probably _didn't_ want a slew of diagnostics from rekeys disrupting your terminal in mid-emacs once the session had got properly under way. Default is off, to avoid startling people used to the old behaviour. I wonder if I should have set it more aggressively, though.
This commit is contained in:
7
putty.h
7
putty.h
@ -279,9 +279,9 @@ enum {
|
||||
* three-way settings whose values are `always yes', `always
|
||||
* no', and `decide by some more complex automated means'. This
|
||||
* is true of line discipline options (local echo and line
|
||||
* editing), proxy DNS, Close On Exit, and SSH server bug
|
||||
* workarounds. Accordingly I supply a single enum here to deal
|
||||
* with them all.
|
||||
* editing), proxy DNS, proxy terminal logging, Close On Exit, and
|
||||
* SSH server bug workarounds. Accordingly I supply a single enum
|
||||
* here to deal with them all.
|
||||
*/
|
||||
FORCE_ON, FORCE_OFF, AUTO
|
||||
};
|
||||
@ -681,6 +681,7 @@ void cleanup_exit(int);
|
||||
X(STR, NONE, proxy_username) \
|
||||
X(STR, NONE, proxy_password) \
|
||||
X(STR, NONE, proxy_telnet_command) \
|
||||
X(INT, NONE, proxy_log_to_term) \
|
||||
/* SSH options */ \
|
||||
X(STR, NONE, remote_cmd) \
|
||||
X(STR, NONE, remote_cmd2) /* fallback if remote_cmd fails; never loaded or saved */ \
|
||||
|
Reference in New Issue
Block a user