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

Diff for /src/usr.bin/ssh/ssh.c between version 1.114 and 1.115

version 1.114, 2001/04/13 01:26:17 version 1.115, 2001/04/14 16:33:20
Line 67 
Line 67 
 #include "misc.h"  #include "misc.h"
 #include "kex.h"  #include "kex.h"
 #include "mac.h"  #include "mac.h"
   #include "sshtty.h"
   
 extern char *__progname;  extern char *__progname;
   
Line 858 
Line 859 
                 packet_put_int(ws.ws_ypixel);                  packet_put_int(ws.ws_ypixel);
   
                 /* Store tty modes in the packet. */                  /* Store tty modes in the packet. */
                 tty_make_modes(fileno(stdin));                  tty_make_modes(fileno(stdin), NULL);
   
                 /* Send the packet, and wait for it to leave. */                  /* Send the packet, and wait for it to leave. */
                 packet_send();                  packet_send();
Line 962 
Line 963 
 {  {
         int len;          int len;
         int interactive = 0;          int interactive = 0;
           struct termios tio;
   
         debug("client_init id %d arg %ld", id, (long)arg);          debug("client_init id %d arg %ld", id, (long)arg);
   
Line 981 
Line 983 
                 packet_put_int(ws.ws_row);                  packet_put_int(ws.ws_row);
                 packet_put_int(ws.ws_xpixel);                  packet_put_int(ws.ws_xpixel);
                 packet_put_int(ws.ws_ypixel);                  packet_put_int(ws.ws_ypixel);
                 packet_put_cstring("");         /* XXX: encode terminal modes */                  tio = get_saved_tio();
                   tty_make_modes(/*ignored*/ 0, &tio);
                 packet_send();                  packet_send();
                 interactive = 1;                  interactive = 1;
                 /* XXX wait for reply */                  /* XXX wait for reply */

Legend:
Removed from v.1.114  
changed lines
  Added in v.1.115