version 1.97, 2023/06/20 23:59:33 |
version 1.98, 2023/07/26 23:06:00 |
|
|
const char *term = NULL; |
const char *term = NULL; |
u_int i, echar, rid, sid, esid, exitval, type, exitval_seen; |
u_int i, echar, rid, sid, esid, exitval, type, exitval_seen; |
extern char **environ; |
extern char **environ; |
int r, rawmode; |
int r, rawmode = 0; |
|
|
debug3_f("entering"); |
debug3_f("entering"); |
|
|
|
|
ssh_signal(SIGTERM, control_client_sighandler); |
ssh_signal(SIGTERM, control_client_sighandler); |
ssh_signal(SIGWINCH, control_client_sigrelay); |
ssh_signal(SIGWINCH, control_client_sigrelay); |
|
|
rawmode = tty_flag; |
if (options.fork_after_authentication) |
if (tty_flag) |
daemon(1, 1); |
enter_raw_mode(options.request_tty == REQUEST_TTY_FORCE); |
else { |
|
rawmode = tty_flag; |
|
if (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. |