1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
2 |
"http://www.w3.org/TR/html4/strict.dtd"> |
"http://www.w3.org/TR/html4/strict.dtd"> |
3 |
<HTML> |
<HTML> |
4 |
<HEAD> |
<HEAD> |
5 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
6 |
<TITLE>Communication (Tera Term setup file)</TITLE> |
<TITLE>Communication (Tera Term setup file)</TITLE> |
7 |
<META http-equiv="Content-Style-Type" content="text/css"> |
<META http-equiv="Content-Style-Type" content="text/css"> |
8 |
<link rel="stylesheet" href="../style.css" type="text/css"> |
<link rel="stylesheet" href="../style.css" type="text/css"> |
9 |
</HEAD> |
</HEAD> |
10 |
<BODY> |
<BODY> |
11 |
|
|
12 |
<h1><a name="maxport">Maximum serial port number</a></h1> |
<h1><a name="maxport">Maximum serial port number</a></h1> |
13 |
|
|
14 |
<p> |
<p> |
15 |
You can specify the maximum serial port number (maximum value of n for COMn) to be listed in the [File] New connection and [Setup] Serial port dialog boxes. To specify the maximum number, edit the MaxComPort line in the [Tera Term] section of the setup file like the following: |
You can specify the maximum serial port number (maximum value of n for COMn) to be listed in the [File] New connection and [Setup] Serial port dialog boxes. To specify the maximum number, edit the MaxComPort line in the [Tera Term] section of the setup file like the following: |
16 |
</p> |
</p> |
17 |
|
|
18 |
<pre> |
<pre> |
19 |
MaxComPort=<maximum serial port number> |
MaxComPort=<maximum serial port number> |
20 |
</pre> |
</pre> |
21 |
|
|
22 |
<p> |
<p> |
23 |
The maximum serial port number can not be less than 4 even if the actual maximum number is less than 4. |
The maximum serial port number can not be less than 4 even if the actual maximum number is less than 4. |
24 |
</p> |
</p> |
25 |
|
|
26 |
<pre> |
<pre> |
27 |
Default: |
Default: |
28 |
MaxComPort=4 |
MaxComPort=4 |
29 |
</pre> |
</pre> |
30 |
|
|
31 |
|
|
32 |
<h1><a name="clearcom">Don't clear COM buffer when serial port opening.</a></h1> |
<h1><a name="clearcom">Don't clear COM buffer when serial port opening.</a></h1> |
33 |
|
|
34 |
<p> |
<p> |
35 |
In the default setup, Tera Term cleaning COM buffer when serial port opening. |
In the default setup, Tera Term cleaning COM buffer when serial port opening. |
36 |
</p> |
</p> |
37 |
|
|
38 |
<p> |
<p> |
39 |
To disable COM buffer cleaning, edit the ClearComBuffOnOpen line in the [Tera Term] section of the setup file like the following: |
To disable COM buffer cleaning, edit the ClearComBuffOnOpen line in the [Tera Term] section of the setup file like the following: |
40 |
</p> |
</p> |
41 |
|
|
42 |
<pre> |
<pre> |
43 |
ClearComBuffOnOpen=off |
ClearComBuffOnOpen=off |
44 |
</pre> |
</pre> |
45 |
|
|
46 |
<pre> |
<pre> |
47 |
Default: |
Default: |
48 |
ClearComBuffOnOpen=on |
ClearComBuffOnOpen=on |
49 |
</pre> |
</pre> |
50 |
|
|
51 |
|
|
52 |
<h1><a name="confirm">Disabling the warning on TCP/IP disconnection</a></h1> |
<h1><a name="confirm">Disabling the warning on TCP/IP disconnection</a></h1> |
53 |
|
|
54 |
<p> |
<p> |
55 |
In the default setup, Tera Term displays the warning message "Disconnect ?" when you try to close the TCP/IP connection by using the "Close" command in the system menu (or by double clicking the icon at upper left corner of the window). |
In the default setup, Tera Term displays the warning message "Disconnect ?" when you try to close the TCP/IP connection by using the "Close" command in the system menu (or by double clicking the icon at upper left corner of the window). |
56 |
</p> |
</p> |
57 |
|
|
58 |
<p> |
<p> |
59 |
To disable this warning message, edit the ConfirmDisconnect line in the [Tera Term] section of the setup file like the following: |
To disable this warning message, edit the ConfirmDisconnect line in the [Tera Term] section of the setup file like the following: |
60 |
</p> |
</p> |
61 |
|
|
62 |
<pre> |
<pre> |
63 |
ConfirmDisconnect=off |
ConfirmDisconnect=off |
64 |
</pre> |
</pre> |
65 |
|
|
66 |
<pre> |
<pre> |
67 |
Default: |
Default: |
68 |
ConfirmDisconnect=on |
ConfirmDisconnect=on |
69 |
</pre> |
</pre> |
70 |
|
|
71 |
|
|
72 |
<h1><a name="telbin">Telnet binary option</a></h1> |
<h1><a name="telbin">Telnet binary option</a></h1> |
73 |
|
|
74 |
<p> |
<p> |
75 |
To enable the telnet binary option, edit the TelBin line in the [Tera Term] section of the setup file like the following: |
To enable the telnet binary option, edit the TelBin line in the [Tera Term] section of the setup file like the following: |
76 |
</p> |
</p> |
77 |
|
|
78 |
<pre> |
<pre> |
79 |
TelBin=on |
TelBin=on |
80 |
</pre> |
</pre> |
81 |
|
|
82 |
<p> |
<p> |
83 |
You can also specify the binary option on the <a href="../commandline/teraterm.html">command line</a> (/B option). |
You can also specify the binary option on the <a href="../commandline/teraterm.html">command line</a> (/B option). |
84 |
</p> |
</p> |
85 |
|
|
86 |
<pre> |
<pre> |
87 |
Default: |
Default: |
88 |
TelBin=off |
TelBin=off |
89 |
</pre> |
</pre> |
90 |
|
|
91 |
|
|
92 |
<h1><a name="telecho">Telnet echo option</a></h1> |
<h1><a name="telecho">Telnet echo option</a></h1> |
93 |
|
|
94 |
<p> |
<p> |
95 |
If you edit the TelEcho line in the [Tera Term] section of the setup file like the following: |
If you edit the TelEcho line in the [Tera Term] section of the setup file like the following: |
96 |
</p> |
</p> |
97 |
|
|
98 |
<pre> |
<pre> |
99 |
TelEcho=on |
TelEcho=on |
100 |
</pre> |
</pre> |
101 |
|
|
102 |
<p> |
<p> |
103 |
Tera Term tries to change the host's echoing (remote echoing) status, depending on the status of "Local echo" option in the [Setup] Terminal dialog box. If "Local echo" is (not) checked, Tera Term tries to make the remote echoing off (on), to avoid double echoing or no echoing at the remote host and Tera Term. Note that this mechanism does not work for hosts which do not support the telnet echo option. |
Tera Term tries to change the host's echoing (remote echoing) status, depending on the status of "Local echo" option in the [Setup] Terminal dialog box. If "Local echo" is (not) checked, Tera Term tries to make the remote echoing off (on), to avoid double echoing or no echoing at the remote host and Tera Term. Note that this mechanism does not work for hosts which do not support the telnet echo option. |
104 |
</p> |
</p> |
105 |
|
|
106 |
<pre> |
<pre> |
107 |
Default: |
Default: |
108 |
TelEcho=off |
TelEcho=off |
109 |
</pre> |
</pre> |
110 |
|
|
111 |
|
|
112 |
<h1><a name="tellog">Telnet log</a></h1> |
<h1><a name="tellog">Telnet log</a></h1> |
113 |
|
|
114 |
<p> |
<p> |
115 |
To log option-negotiation data of a telnet session to the file TELNET.LOG, edit the TelLog line in the [Tera Term] section of the setup file like the following: |
To log option-negotiation data of a telnet session to the file TELNET.LOG, edit the TelLog line in the [Tera Term] section of the setup file like the following: |
116 |
</p> |
</p> |
117 |
|
|
118 |
<pre> |
<pre> |
119 |
TelLog=on |
TelLog=on |
120 |
</pre> |
</pre> |
121 |
|
|
122 |
<pre> |
<pre> |
123 |
Default: |
Default: |
124 |
TelLog=off |
TelLog=off |
125 |
</pre> |
</pre> |
126 |
|
|
127 |
|
|
128 |
<h1><a name="port/nontelnet">Telnet port number / Terminal setup for non-telnet connection</a></h1> |
<h1><a name="port/nontelnet">Telnet port number / Terminal setup for non-telnet connection</a></h1> |
129 |
|
|
130 |
<h2><a name="port">Telnet port number</a></h2> |
<h2><a name="port">Telnet port number</a></h2> |
131 |
|
|
132 |
<p> |
<p> |
133 |
On the <a href="../commandline/teraterm.html">command line</a>, or on the <a href="../menu/file-new.html">[File] New connection</a> dialog box, you can specify the TCP port number (<TCP port#>) and telnet flag (<telnet flag>) for a TCP/IP connection. If these parameters are omitted in the command line, the default values are taken from the Tera Term setup file. |
On the <a href="../commandline/teraterm.html">command line</a>, or on the <a href="../menu/file-new.html">[File] New connection</a> dialog box, you can specify the TCP port number (<TCP port#>) and telnet flag (<telnet flag>) for a TCP/IP connection. If these parameters are omitted in the command line, the default values are taken from the Tera Term setup file. |
134 |
</p> |
</p> |
135 |
|
|
136 |
<p> |
<p> |
137 |
Only if <telnet flag> is 1 (on) and <TCP port#> is 23, Tera Term starts spontaneously sending telnet commands to the host for the option negotiation when the TCP/IP connection is established. |
Only if <telnet flag> is 1 (on) and <TCP port#> is 23, Tera Term starts spontaneously sending telnet commands to the host for the option negotiation when the TCP/IP connection is established. |
138 |
</p> |
</p> |
139 |
|
|
140 |
<p> |
<p> |
141 |
This particular port number for telnet, 23, can be changed by editing the TelPort line in the [Tera Term] section of setup file like the following: |
This particular port number for telnet, 23, can be changed by editing the TelPort line in the [Tera Term] section of setup file like the following: |
142 |
</p> |
</p> |
143 |
|
|
144 |
<pre> |
<pre> |
145 |
TelPort=<telnet port#> |
TelPort=<telnet port#> |
146 |
</pre> |
</pre> |
147 |
|
|
148 |
<pre> |
<pre> |
149 |
Default: |
Default: |
150 |
TelPort=23 |
TelPort=23 |
151 |
</pre> |
</pre> |
152 |
|
|
153 |
<p> |
<p> |
154 |
Whatever <TCP port#> is and whatever <telnet flag> is, Tera Term can respond to telnet commands sent by the host. (except <a href="#detecttelnet">TelAutoDetect</a> setting is off.) |
Whatever <TCP port#> is and whatever <telnet flag> is, Tera Term can respond to telnet commands sent by the host. (except <a href="#detecttelnet">TelAutoDetect</a> setting is off.) |
155 |
</p> |
</p> |
156 |
|
|
157 |
<h2><a name="nontelnet">Terminal setup for non-telnet TCP/IP connection</a></h2> |
<h2><a name="nontelnet">Terminal setup for non-telnet TCP/IP connection</a></h2> |
158 |
|
|
159 |
<p> |
<p> |
160 |
For a non-telnet TCP/IP connection (usually with a port other than 23), you may need to set the "local echo" option on, and the "new-line (transmit)" option to CR+LF. If you edit the TCPLocalEcho and TCPCRSend lines in the [Tera Term] section of the setup file like the following: |
For a non-telnet TCP/IP connection (usually with a port other than 23), you may need to set the "local echo" option on, and the "new-line (transmit)" option to CR+LF. If you edit the TCPLocalEcho and TCPCRSend lines in the [Tera Term] section of the setup file like the following: |
161 |
</p> |
</p> |
162 |
|
|
163 |
<pre> |
<pre> |
164 |
TCPLocalEcho=on |
TCPLocalEcho=on |
165 |
TCPCRSend=CRLF (CR is also acceptable) |
TCPCRSend=CRLF (CR is also acceptable) |
166 |
</pre> |
</pre> |
167 |
|
|
168 |
<p> |
<p> |
169 |
the "local echo" option is turned on and the "new-line (transmit)" option is set to CRLF automatically when the connection is establised on condition that <telnet flag> is 0 (off), or <TCP port#> is not equal to <telnet port#>. Otherwise, setup values specified by [Setup] Terminal are used. By using these options, one setup file can support both the telnet connection and non-telnet connection. |
the "local echo" option is turned on and the "new-line (transmit)" option is set to CRLF automatically when the connection is establised on condition that <telnet flag> is 0 (off), or <TCP port#> is not equal to <telnet port#>. Otherwise, setup values specified by [Setup] Terminal are used. By using these options, one setup file can support both the telnet connection and non-telnet connection. |
170 |
</p> |
</p> |
171 |
|
|
172 |
<pre> |
<pre> |
173 |
Default: |
Default: |
174 |
TCPLocalEcho=off |
TCPLocalEcho=off |
175 |
; (This option is disabled and the "local echo" option |
; (This option is disabled and the "local echo" option |
176 |
; in the [Setup] Terminal dialog box is always used.) |
; in the [Setup] Terminal dialog box is always used.) |
177 |
TCPCRSend= |
TCPCRSend= |
178 |
; (This option is disabled and the "new-line (transmit)" option |
; (This option is disabled and the "new-line (transmit)" option |
179 |
; in the [Setup] Terminal dialog box is always used.) |
; in the [Setup] Terminal dialog box is always used.) |
180 |
</pre> |
</pre> |
181 |
|
|
182 |
<h2><a name="detecttelnet">Disable Auto-Detect mode of Telnet command</a></h2> |
<h2><a name="detecttelnet">Disable Auto-Detect mode of Telnet command</a></h2> |
183 |
|
|
184 |
<p> |
<p> |
185 |
Tera Term will detect a command of Telnet sent from host even a connection is in non-Telnet mode.Once it detects a command, a connection is treated as if in Telnet mode.<br> |
Tera Term will detect a command of Telnet sent from host even a connection is in non-Telnet mode.Once it detects a command, a connection is treated as if in Telnet mode.<br> |
186 |
However, there is a possible problem that a connection is forced to Telnet mode when a character of '0xFF' is sent from Tera Term, it will be echoed back and is recognized as Telnet command. |
However, there is a possible problem that a connection is forced to Telnet mode when a character of '0xFF' is sent from Tera Term, it will be echoed back and is recognized as Telnet command. |
187 |
</p> |
</p> |
188 |
|
|
189 |
<p> |
<p> |
190 |
This problem can be avoided by changing TelAutoDetect in [Tera Term] section of configuration file as follows, |
This problem can be avoided by changing TelAutoDetect in [Tera Term] section of configuration file as follows, |
191 |
</p> |
</p> |
192 |
|
|
193 |
<pre> |
<pre> |
194 |
TelAutoDetect=off |
TelAutoDetect=off |
195 |
</pre> |
</pre> |
196 |
|
|
197 |
<pre> |
<pre> |
198 |
Default: |
Default: |
199 |
TelAutoDetect=on |
TelAutoDetect=on |
200 |
</pre> |
</pre> |
201 |
|
|
202 |
</BODY> |
</BODY> |
203 |
</HTML> |
</HTML> |