|
Lines 1894-1900
client_session2_setup(int id, int want_t
Link Here
|
| 1894 |
memset(&ws, 0, sizeof(ws)); |
1894 |
memset(&ws, 0, sizeof(ws)); |
| 1895 |
|
1895 |
|
| 1896 |
channel_request_start(id, "pty-req", 1); |
1896 |
channel_request_start(id, "pty-req", 1); |
| 1897 |
client_expect_confirm(id, "PTY allocation", 0); |
1897 |
client_expect_confirm(id, "PTY allocation", 1); |
| 1898 |
packet_put_cstring(term != NULL ? term : ""); |
1898 |
packet_put_cstring(term != NULL ? term : ""); |
| 1899 |
packet_put_int((u_int)ws.ws_col); |
1899 |
packet_put_int((u_int)ws.ws_col); |
| 1900 |
packet_put_int((u_int)ws.ws_row); |
1900 |
packet_put_int((u_int)ws.ws_row); |