[BACK]Return to clientloop.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/clientloop.c between version 1.193 and 1.194

version 1.193, 2008/05/09 16:21:13 version 1.194, 2008/05/19 20:53:52
Line 1711 
Line 1711 
   
         if (want_tty) {          if (want_tty) {
                 struct winsize ws;                  struct winsize ws;
                 struct termios tio;  
   
                 /* Store window size in the packet. */                  /* Store window size in the packet. */
                 if (ioctl(in_fd, TIOCGWINSZ, &ws) < 0)                  if (ioctl(in_fd, TIOCGWINSZ, &ws) < 0)
Line 1724 
Line 1723 
                 packet_put_int((u_int)ws.ws_row);                  packet_put_int((u_int)ws.ws_row);
                 packet_put_int((u_int)ws.ws_xpixel);                  packet_put_int((u_int)ws.ws_xpixel);
                 packet_put_int((u_int)ws.ws_ypixel);                  packet_put_int((u_int)ws.ws_ypixel);
                 tio = get_saved_tio();                  if (tiop == NULL)
                 tty_make_modes(-1, tiop != NULL ? tiop : &tio);                          tiop = get_saved_tio();
                   tty_make_modes(-1, tiop);
                 packet_send();                  packet_send();
                 /* XXX wait for reply */                  /* XXX wait for reply */
                 c->client_tty = 1;                  c->client_tty = 1;

Legend:
Removed from v.1.193  
changed lines
  Added in v.1.194