version 1.26, 2011/05/05 05:12:08 |
version 1.27, 2011/05/06 21:34:32 |
|
|
|
|
/* from ssh.c */ |
/* from ssh.c */ |
extern int tty_flag; |
extern int tty_flag; |
extern int force_tty_flag; |
|
extern Options options; |
extern Options options; |
extern int stdin_null_flag; |
extern int stdin_null_flag; |
extern char *host; |
extern char *host; |
|
|
signal(SIGWINCH, control_client_sigrelay); |
signal(SIGWINCH, control_client_sigrelay); |
|
|
if (tty_flag) |
if (tty_flag) |
enter_raw_mode(force_tty_flag); |
enter_raw_mode(options.request_tty == REQUEST_TTY_FORCE); |
|
|
/* |
/* |
* Stick around until the controlee closes the client_fd. |
* Stick around until the controlee closes the client_fd. |
|
|
} |
} |
|
|
close(fd); |
close(fd); |
leave_raw_mode(force_tty_flag); |
leave_raw_mode(options.request_tty == REQUEST_TTY_FORCE); |
|
|
if (muxclient_terminate) { |
if (muxclient_terminate) { |
debug2("Exiting on signal %d", muxclient_terminate); |
debug2("Exiting on signal %d", muxclient_terminate); |