[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.71 and 1.72

version 1.71, 2001/05/16 21:53:53 version 1.72, 2001/05/24 18:57:53
Line 572 
Line 572 
 "%c?\r\n\  "%c?\r\n\
 Supported escape sequences:\r\n\  Supported escape sequences:\r\n\
 ~.  - terminate connection\r\n\  ~.  - terminate connection\r\n\
 ~R - Request rekey (SSH protocol 2 only)\r\n\  ~R  - Request rekey (SSH protocol 2 only)\r\n\
 ~^Z - suspend ssh\r\n\  ~^Z - suspend ssh\r\n\
 ~#  - list forwarded connections\r\n\  ~#  - list forwarded connections\r\n\
 ~&  - background ssh (when waiting for connections to terminate)\r\n\  ~&  - background ssh (when waiting for connections to terminate)\r\n\
Line 657 
Line 657 
                                 packet_start(SSH_CMSG_EOF);                                  packet_start(SSH_CMSG_EOF);
                                 packet_send();                                  packet_send();
                         }                          }
                 } else if (escape_char == -1) {                  } else if (escape_char == SSH_ESCAPECHAR_NONE) {
                         /*                          /*
                          * Normal successful read, and no escape character.                           * Normal successful read, and no escape character.
                          * Just append the data to buffer.                           * Just append the data to buffer.
Line 765 
Line 765 
 /*  /*
  * Implements the interactive session with the server.  This is called after   * Implements the interactive session with the server.  This is called after
  * the user has been authenticated, and a command has been started on the   * the user has been authenticated, and a command has been started on the
  * remote host.  If escape_char != -1, it is the character used as an escape   * remote host.  If escape_char != SSH_ESCAPECHAR_NONE, it is the character
  * character for terminating or suspending the session.   * used as an escape character for terminating or suspending the session.
  */   */
   
 int  int
Line 829 
Line 829 
   
         if (compat20) {          if (compat20) {
                 session_ident = ssh2_chan_id;                  session_ident = ssh2_chan_id;
                 if (escape_char != -1)                  if (escape_char != SSH_ESCAPECHAR_NONE)
                         channel_register_filter(session_ident,                          channel_register_filter(session_ident,
                             simple_escape_filter);                              simple_escape_filter);
                 if (session_ident != -1)                  if (session_ident != -1)

Legend:
Removed from v.1.71  
changed lines
  Added in v.1.72