|
Lines 1-4
Link Here
|
| 1 |
/* $OpenBSD: clientloop.c,v 1.219 2010/03/13 21:10:38 djm Exp $ */ |
1 |
* $OpenBSD: clientloop.c,v 1.219 2010/03/13 21:10:38 djm Exp $ */ |
| 2 |
/* |
2 |
/* |
| 3 |
* Author: Tatu Ylonen <ylo@cs.hut.fi> |
3 |
* Author: Tatu Ylonen <ylo@cs.hut.fi> |
| 4 |
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
4 |
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
|
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); |