Develop and Download Open Source Software

Browse Subversion Repository

Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ttxssh.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3129 by yutakapon, Thu May 22 14:27:54 2008 UTC revision 3130 by doda, Fri May 23 05:04:09 2008 UTC
# Line 26  OR TORT (INCLUDING NEGLIGENCE OR OTHERWI Line 26  OR TORT (INCLUDING NEGLIGENCE OR OTHERWI
26  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27  */  */
28    
29  /* Teraterm extension mechanism  /* TeraTerm extension mechanism
30     Robert O'Callahan (roc+tt@cs.cmu.edu)     Robert O'Callahan (roc+tt@cs.cmu.edu)
31        
32     Teraterm by Takashi Teranishi (teranishi@rikaxp.riken.go.jp)     TeraTerm by Takashi Teranishi (teranishi@rikaxp.riken.go.jp)
33  */  */
34    
35  #include "ttxssh.h"  #include "ttxssh.h"
# Line 99  static TInstVar InstVar; Line 99  static TInstVar InstVar;
99  #define GET_VAR()  #define GET_VAR()
100    
101  /*  /*
102  This code makes lots of assumptions about the order in which Teraterm  This code makes lots of assumptions about the order in which TeraTerm
103  does things, and how. A key assumption is that the Notification window  does things, and how. A key assumption is that the Notification window
104  passed into WSAAsyncSelect is the main terminal window. We also assume  passed into WSAAsyncSelect is the main terminal window. We also assume
105  that the socket used in the first WSAconnect is the main session socket.  that the socket used in the first WSAconnect is the main session socket.
# Line 756  static void PASCAL FAR TTXOpenTCP(TTXSoc Line 756  static void PASCAL FAR TTXOpenTCP(TTXSoc
756                  FWDUI_load_settings(pvar);                  FWDUI_load_settings(pvar);
757    
758                  pvar->cv->TelAutoDetect = FALSE;                  pvar->cv->TelAutoDetect = FALSE;
759                  /* This next line should not be needed because Teraterm's                  /* This next line should not be needed because TeraTerm's
760                     CommLib should find ts->Telnet == 0 ... but we'll do this                     CommLib should find ts->Telnet == 0 ... but we'll do this
761                     just to be on the safe side. */                     just to be on the safe side. */
762                  pvar->cv->TelFlag = FALSE;                  pvar->cv->TelFlag = FALSE;
# Line 1186  static BOOL CALLBACK TTXHostDlg(HWND dlg Line 1186  static BOOL CALLBACK TTXHostDlg(HWND dlg
1186                                                  UTIL_get_lang_msg("MSG_TCPPORT_NAN_ERROR", pvar,                                                  UTIL_get_lang_msg("MSG_TCPPORT_NAN_ERROR", pvar,
1187                                                                    "The TCP port must be a number.");                                                                    "The TCP port must be a number.");
1188                                                  MessageBox(dlg, pvar->ts->UIMsg,                                                  MessageBox(dlg, pvar->ts->UIMsg,
1189                                                             "Teraterm", MB_OK | MB_ICONEXCLAMATION);                                                             "TeraTerm", MB_OK | MB_ICONEXCLAMATION);
1190                                                  return TRUE;                                                  return TRUE;
1191                                          }                                          }
1192  #ifndef NO_INET6  #ifndef NO_INET6
# Line 3709  static void PASCAL FAR TTXSetCommandLine Line 3709  static void PASCAL FAR TTXSetCommandLine
3709          }          }
3710  }  }
3711    
3712  /* This function is called when Teraterm is quitting. You can use it to clean  /* This function is called when TeraTerm is quitting. You can use it to clean
3713     up.     up.
3714    
3715     This function is called for each extension, in reverse load order (see     This function is called for each extension, in reverse load order (see
# Line 3737  static void PASCAL FAR TTXEnd(void) Line 3737  static void PASCAL FAR TTXEnd(void)
3737  }  }
3738    
3739  /* This record contains all the information that the extension forwards to the  /* This record contains all the information that the extension forwards to the
3740     main Teraterm code. It mostly consists of pointers to the above functions.     main TeraTerm code. It mostly consists of pointers to the above functions.
3741     Any of the function pointers can be replaced with NULL, in which case     Any of the function pointers can be replaced with NULL, in which case
3742     Teraterm will just ignore that function and assume default behaviour, which     TeraTerm will just ignore that function and assume default behaviour, which
3743     means "do nothing".     means "do nothing".
3744  */  */
3745  static TTXExports Exports = {  static TTXExports Exports = {

Legend:
Removed from v.3129  
changed lines
  Added in v.3130

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26