1 |
maya |
331 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
2 |
|
|
"http://www.w3.org/TR/html4/strict.dtd"> |
3 |
maya |
591 |
<html> |
4 |
|
|
<head> |
5 |
maya |
331 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
6 |
doda |
932 |
<title>Tera Term command line</title> |
7 |
maya |
591 |
<meta http-equiv="Content-Style-Type" content="text/css"> |
8 |
maya |
330 |
<link rel="stylesheet" href="../style.css" type="text/css"> |
9 |
maya |
591 |
</head> |
10 |
|
|
<body> |
11 |
yutakapon |
280 |
|
12 |
maya |
591 |
|
13 |
doda |
932 |
<h1>Tera Term command line</h1> |
14 |
yutakapon |
280 |
|
15 |
doda |
892 |
<pre class="syntax"> |
16 |
doda |
1090 |
TTERMPRO [ <host>[[:]<TCP port#>] | telnet://<host>[:<TCP port#>][/] ] |
17 |
maya |
1052 |
[/B] [/BAUD=<baud rate>] [/C=<serial port#>] [/DS] [/E] |
18 |
maya |
381 |
[/F=<setup file>] [/FD=<file transfer directory>] |
19 |
|
|
[/H] [/I] [/K=<keyboard setup file>] |
20 |
|
|
[/KR=<kanji code (receive)>] [/KT=<kanji code (transmit)>] |
21 |
|
|
[/L=<log file>] [/LA=<language>] [/M=<macro file>] |
22 |
|
|
[/P=<TCP port#>] [/R=<replay file>] [/T=<telnet flag>] |
23 |
doda |
890 |
[/TEKICON=<icon name>] [/TIMEOUT=<connecting timeout value>] |
24 |
|
|
[/V] [/VTICON=<icon name>] [/W="<window title>"] |
25 |
maya |
381 |
[/X=<window pos (x)] [/Y=<window pos (y)] |
26 |
doda |
892 |
[;<comment>] |
27 |
maya |
381 |
</pre> |
28 |
yutakapon |
280 |
|
29 |
yutakapon |
329 |
|
30 |
doda |
1116 |
<h2 id="options">Options</h2> |
31 |
yutakapon |
329 |
|
32 |
maya |
591 |
<dl> |
33 |
doda |
1116 |
<dt id="host"><host></dt> |
34 |
maya |
591 |
<dd>Host name or IP address.</dd> |
35 |
maya |
381 |
|
36 |
maya |
591 |
<dt><host>:<TCP port#></dt> |
37 |
|
|
<dd><host> with a TCP port number.<br> |
38 |
|
|
":" is placed between <host> and <TCP port#>.</dd> |
39 |
maya |
381 |
|
40 |
maya |
591 |
<dt><host> <TCP port#></dt> |
41 |
|
|
<dd><host> with a TCP port number.<br> |
42 |
|
|
Space character(s) between <host> and <TCP port#>.<br> |
43 |
|
|
Number just after <host> is interpreted as a port number.</dd> |
44 |
maya |
381 |
|
45 |
doda |
1090 |
<dt>telnet://<host>[:<TCP port#>][/]</dt> |
46 |
|
|
<dd>URL style - for telnet handler<br> |
47 |
yutakapon |
1093 |
TCP port number and "/" at the end are optional.<br> |
48 |
doda |
1090 |
If TCP port number is omitted, use 23. (TCPPort setting in setup file is ignored.) |
49 |
|
|
</dd> |
50 |
|
|
|
51 |
doda |
1116 |
<dt id="b">/B</dt> |
52 |
maya |
591 |
<dd>Telnet binary option.</dd> |
53 |
maya |
381 |
|
54 |
doda |
1116 |
<dt id="baud">/BAUD=<baud rate></dt> |
55 |
doda |
607 |
<dd> |
56 |
|
|
baud rate of serial port. |
57 |
doda |
932 |
If the baud rate not supported by Tera Term is specified, this option is ignored. |
58 |
doda |
607 |
</dd> |
59 |
|
|
|
60 |
doda |
1116 |
<dt id="c">/C=<serial port#></dt> |
61 |
maya |
591 |
<dd>Serial port |
62 |
|
|
<ul> |
63 |
|
|
<li><span class="syntax">/C=1</span> COM1</li> |
64 |
|
|
<li><span class="syntax">/C=2</span> COM2</li> |
65 |
|
|
<li><span class="syntax">/C=3</span> COM3</li> |
66 |
|
|
<li>:</li> |
67 |
|
|
<li><span class="syntax">/C=256</span> COM256</li> |
68 |
|
|
</ul></dd> |
69 |
maya |
435 |
|
70 |
doda |
1116 |
<dt id="duplicate">/DUPLICATE</dt> |
71 |
maya |
591 |
<dd>Internal use(must not specify this option)</dd> |
72 |
maya |
381 |
|
73 |
doda |
1116 |
<dt id="ds">/DS</dt> |
74 |
maya |
1052 |
<dd>Disable displaying the "New connection" dialog on startup</dd> |
75 |
|
|
|
76 |
doda |
1116 |
<dt id="e">/E</dt> |
77 |
maya |
591 |
<dd>Disable TCPLocalEcho and TCPCRSend option</dd> |
78 |
maya |
381 |
|
79 |
doda |
1116 |
<dt id="f">/F=<setup file></dt> |
80 |
maya |
591 |
<dd>Setup file<br> |
81 |
maya |
906 |
<span class="syntax">/F=TERATERM.INI</span> (default)<br> |
82 |
maya |
926 |
If this value is not a full path, it is understood as a relative path from ttermpro.exe.</dd> |
83 |
maya |
381 |
|
84 |
doda |
1116 |
<dt id="fd">/FD=<file transfer directory></dt> |
85 |
maya |
591 |
<dd>File transfer directory</dd> |
86 |
maya |
381 |
|
87 |
doda |
1116 |
<dt id="h">/H</dt> |
88 |
maya |
591 |
<dd>Hide title bar.</dd> |
89 |
maya |
381 |
|
90 |
doda |
1116 |
<dt id="i">/I</dt> |
91 |
maya |
591 |
<dd>Start Tera Term in iconized state.</dd> |
92 |
maya |
381 |
|
93 |
doda |
1116 |
<dt id="k">/K=<keyboard setup file></dt> |
94 |
maya |
591 |
<dd>Keyboard setup file<br> |
95 |
maya |
906 |
<span class="syntax">/K=KEYBOARD.CNF</span> (default)<br> |
96 |
maya |
926 |
If this value is not a full path, it is understood as a relative path from ttermpro.exe.</dd> |
97 |
maya |
381 |
|
98 |
doda |
1116 |
<dt id="kr">/KR=<kanji code (receive)></dt> |
99 |
maya |
591 |
<dd>Note: Japanese mode only |
100 |
|
|
<ul> |
101 |
|
|
<li><span class="syntax">/KR=SJIS</span></li> |
102 |
|
|
<li><span class="syntax">/KR=EUC</span></li> |
103 |
|
|
<li><span class="syntax">/KR=JIS</span></li> |
104 |
|
|
<li><span class="syntax">/KR=UTF8</span> UTF-8(Normalization Form C: Windows, Linux)</li> |
105 |
|
|
<li><span class="syntax">/KR=UTF8m</span> UTF-8(Normalization Form D: Mac OS X)</li> |
106 |
|
|
</ul></dd> |
107 |
maya |
381 |
|
108 |
doda |
1116 |
<dt id="kt">/KT=<kanji code (transmit)></dt> |
109 |
maya |
591 |
<dd>Note: Japanese mode only |
110 |
|
|
<ul> |
111 |
|
|
<li><span class="syntax">/KR=SJIS</span></li> |
112 |
|
|
<li><span class="syntax">/KR=EUC</span></li> |
113 |
|
|
<li><span class="syntax">/KR=JIS</span></li> |
114 |
|
|
<li><span class="syntax">/KR=UTF8</span></li> |
115 |
|
|
</ul></dd> |
116 |
maya |
381 |
|
117 |
doda |
1116 |
<dt id="l">/L=<log file></dt> |
118 |
maya |
591 |
<dd>Start Tera Term with logging.</dd> |
119 |
maya |
381 |
|
120 |
doda |
1116 |
<dt id="la">/LA=<language></dt> |
121 |
maya |
591 |
<dd>Language mode. |
122 |
|
|
<ul> |
123 |
|
|
<li><span class="syntax">/LA=E</span> English</li> |
124 |
|
|
<li><span class="syntax">/LA=J</span> Japanese</li> |
125 |
|
|
<li><span class="syntax">/LA=R</span> Russian</li> |
126 |
|
|
</ul></dd> |
127 |
maya |
381 |
|
128 |
doda |
1116 |
<dt id="m">/M=<macro file></dt> |
129 |
maya |
906 |
<dd>Start Tera Term with macro.<br> |
130 |
maya |
926 |
If this value is not a full path, it is understood as a relative path from ttermpro.exe.</dd> |
131 |
maya |
381 |
|
132 |
doda |
1116 |
<dt id="p">/P=<TCP port#></dt> |
133 |
maya |
591 |
<dd>TCP port number</dd> |
134 |
maya |
381 |
|
135 |
doda |
1116 |
<dt id="r">/R=<replay file></dt> |
136 |
maya |
591 |
<dd>Replay file</dd> |
137 |
maya |
381 |
|
138 |
doda |
1116 |
<dt id="t">/T=<telnet flag></dt> |
139 |
maya |
591 |
<dd><ul> |
140 |
|
|
<li><span class="syntax">/T=1</span> Enable telnet</li> |
141 |
|
|
<li><span class="syntax">/T=0</span> Disable telnet</li> |
142 |
|
|
</ul></dd> |
143 |
maya |
381 |
|
144 |
doda |
1116 |
<dt id="tekicon">/TEKICON=<icon name></dt> |
145 |
maya |
926 |
<dd>TEK window icon. Could be specify the same value of <a href="../setup/teraterm-win.html#WindowIcon">TEKIcon of setup file</a>.</dd> |
146 |
doda |
890 |
|
147 |
doda |
1116 |
<dt id="timeout">/TIMEOUT=<connecting timeout value></dt> |
148 |
doda |
890 |
<dd>Could be specified per seconds.</dd> |
149 |
|
|
|
150 |
doda |
1116 |
<dt id="v">/V</dt> |
151 |
maya |
591 |
<dd>Start Tera Term in hidden (invisible) state.</dd> |
152 |
maya |
381 |
|
153 |
doda |
1116 |
<dt id="vticon">/VTICON=<icon name></dt> |
154 |
maya |
926 |
<dd>VT window icon. Could be specify the same value of <a href="../setup/teraterm-win.html#WindowIcon">VTIcon of setup file</a>.</dd> |
155 |
doda |
890 |
|
156 |
doda |
1116 |
<dt id="w">/W="<window title>"</dt> |
157 |
maya |
591 |
<dd>Window title</dd> |
158 |
maya |
381 |
|
159 |
doda |
1116 |
<dt id="x">/X=<window position (x)></dt> |
160 |
maya |
591 |
<dd>Windows position (horizontal)</dd> |
161 |
maya |
381 |
|
162 |
doda |
1116 |
<dt id="y">/Y=<window position (y)></dt> |
163 |
maya |
591 |
<dd>Windows position (vertical)</dd> |
164 |
yutakapon |
280 |
|
165 |
doda |
1116 |
<dt id="comment">;<comment></dt> |
166 |
maya |
591 |
<dd>Comment. Should be last in the command line.</dd> |
167 |
|
|
</dl> |
168 |
|
|
|
169 |
|
|
|
170 |
doda |
1116 |
<h2 id="example">Examples</h2> |
171 |
maya |
591 |
|
172 |
maya |
368 |
<pre> |
173 |
maya |
591 |
TTERMPRO |
174 |
|
|
TTERMPRO myhost.mydomain |
175 |
|
|
TTERMPRO myhost.mydomain:23 |
176 |
|
|
TTERMPRO myhost.mydomain 23 |
177 |
|
|
TTERMPRO 111.111.11.11 |
178 |
|
|
TTERMPRO myhost.mydomain /T=0 /P=7 |
179 |
|
|
TTERMPRO /C=1 |
180 |
|
|
TTERMPRO /F=TELNET.INI |
181 |
|
|
TTERMPRO foohost.foodomain /F=FOOHOST.INI |
182 |
doda |
609 |
TTERMPRO /C=2 /BAUD=9600 /F=MYSETUP.INI |
183 |
maya |
591 |
TTERMPRO /K=MYKEY.CNF /W="My host" |
184 |
|
|
TTERMPRO /R=README.TXT ; replay a file |
185 |
doda |
890 |
TTERMPRO myhost /B /X=100 /Y=50 |
186 |
maya |
368 |
</pre> |
187 |
yutakapon |
280 |
|
188 |
maya |
591 |
|
189 |
doda |
1116 |
<h2 id="default">Default values</h2> |
190 |
maya |
591 |
|
191 |
|
|
<p> |
192 |
|
|
Following default values are stored in the Tera Term setup file: |
193 |
|
|
</p> |
194 |
|
|
|
195 |
maya |
368 |
<pre> |
196 |
maya |
591 |
<TCP port#> |
197 |
|
|
/B |
198 |
doda |
607 |
<baud rate> |
199 |
maya |
591 |
<serial port#> |
200 |
|
|
<file transfer directory> |
201 |
|
|
/H |
202 |
|
|
<kanji code (receive)> |
203 |
|
|
<kanji code (transmit)> |
204 |
|
|
<language> |
205 |
|
|
<macro file> |
206 |
|
|
<telnet flag> |
207 |
doda |
890 |
<icon name> |
208 |
maya |
591 |
<window title> |
209 |
|
|
<window pos (x)> |
210 |
|
|
<window pos (y)> |
211 |
maya |
368 |
</pre> |
212 |
yutakapon |
280 |
|
213 |
maya |
591 |
|
214 |
doda |
1116 |
<h2 id="notes">Note</h2> |
215 |
maya |
591 |
|
216 |
maya |
368 |
<p> |
217 |
|
|
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. In any cases, Tera Term can respond to telnet commands sent by the host. |
218 |
|
|
</p> |
219 |
yutakapon |
280 |
|
220 |
maya |
591 |
|
221 |
doda |
1116 |
<h2 id="refs">See also</h2> |
222 |
maya |
591 |
|
223 |
maya |
368 |
<p> |
224 |
maya |
591 |
<a href="../usage/tips/not_port23.html">Telnet port number / Terminal setup for non-telnet connection</a> |
225 |
maya |
368 |
</p> |
226 |
yutakapon |
280 |
|
227 |
maya |
591 |
|
228 |
|
|
</body> |
229 |
|
|
</html> |