version 1.304, 2017/09/12 06:35:32 |
version 1.305, 2017/09/19 04:24:22 |
|
|
|
|
leave_raw_mode(options.request_tty == REQUEST_TTY_FORCE); |
leave_raw_mode(options.request_tty == REQUEST_TTY_FORCE); |
|
|
/* |
sshbuf_reset(bin); |
* Free (and clear) the buffer to reduce the amount of data that gets |
sshbuf_reset(bout); |
* written to swap. |
sshbuf_reset(berr); |
*/ |
|
buffer_free(bin); |
|
buffer_free(bout); |
|
buffer_free(berr); |
|
|
|
/* Send the suspend signal to the program itself. */ |
/* Send the suspend signal to the program itself. */ |
kill(getpid(), SIGTSTP); |
kill(getpid(), SIGTSTP); |
|
|
/* Reset window sizes in case they have changed */ |
/* Reset window sizes in case they have changed */ |
received_window_change_signal = 1; |
received_window_change_signal = 1; |
|
|
/* OK, we have been continued by the user. Reinitialize buffers. */ |
|
buffer_init(bin); |
|
buffer_init(bout); |
|
buffer_init(berr); |
|
|
|
enter_raw_mode(options.request_tty == REQUEST_TTY_FORCE); |
enter_raw_mode(options.request_tty == REQUEST_TTY_FORCE); |
} |
} |