| 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 |
/* Tera Term 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) |
Tera Term by Takashi Teranishi (teranishi@rikaxp.riken.go.jp) |
| 33 |
*/ |
*/ |
| 34 |
|
|
| 35 |
#include "ttxssh.h" |
#include "ttxssh.h" |
| 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 Tera Term |
| 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. |
| 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 Tera Term'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; |
| 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); |
"Tera Term", MB_OK | MB_ICONEXCLAMATION); |
| 1190 |
return TRUE; |
return TRUE; |
| 1191 |
} |
} |
| 1192 |
#ifndef NO_INET6 |
#ifndef NO_INET6 |
| 3709 |
} |
} |
| 3710 |
} |
} |
| 3711 |
|
|
| 3712 |
/* This function is called when TeraTerm is quitting. You can use it to clean |
/* This function is called when Tera Term 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 |
| 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 Tera Term 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 |
Tera Term 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 = { |