Open-Source-Software-Entwicklung und Downloads

Browse Subversion Repository

Contents of /trunk/doc/en/html/commandline/teraterm.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10894 - (show annotations) (download) (as text)
Fri Sep 8 15:18:31 2023 UTC (8 months, 4 weeks ago) by zmatsuo
File MIME type: text/html
File size: 14295 byte(s)
ポータブル版の説明を英訳
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
3 <html>
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6 <title>Tera Term command line</title>
7 <meta http-equiv="Content-Style-Type" content="text/css">
8 <link rel="stylesheet" href="../style.css" type="text/css">
9 </head>
10 <body>
11
12
13 <h1>Tera Term command line</h1>
14
15 <pre class="syntax">
16 TTERMPRO [ &lt;host&gt;[[:]&lt;TCP port#&gt;] | telnet://&lt;host&gt;[:&lt;TCP port#&gt;][/] | \\&lt;server&gt;\pipe\&lt;pipe name&gt;]
17 [/B] [/BAUD=&lt;speed&gt;] [/C=&lt;serial port#&gt;] [/DS] [/E] [/ES]
18 [/F=&lt;setup file&gt;] [/FD=&lt;file transfer directory&gt;]
19 [/H] [/I] [/K=&lt;keyboard setup file&gt;]
20 [/KR=&lt;kanji code (receive)&gt;] [/KT=&lt;kanji code (transmit)&gt;]
21 [/L=&lt;log file&gt;] [/LA=&lt;language&gt;] [/M=&lt;macro file&gt;] [/NOLOG]
22 [/P=&lt;TCP port#&gt;] [/R=&lt;replay file&gt;] [/SPEED=&lt;speed&gt;] [/T=&lt;telnet flag&gt;]
23 [/TEKICON=&lt;icon name&gt;] [/TIMEOUT=&lt;connecting timeout value&gt;]
24 [/V] [/VTICON=&lt;icon name&gt;] [/W="&lt;window title&gt;"] [/WAITCOM]
25 [/X=&lt;window pos (x)&gt;] [/Y=&lt;window pos (y)&gt;] [/PIPE]
26 [/AUTOWINCLOSE=&lt;flag&gt;] [/OSC52=&lt;operations to permit&gt;]
27 [;&lt;comment&gt;]
28 </pre>
29
30
31 <h2 id="options">Options</h2>
32
33 <dl>
34 <dt id="host">&lt;host&gt;</dt>
35 <dd>Host name or IP address.</dd>
36
37 <dt>&lt;host&gt;:&lt;TCP port#&gt;</dt>
38 <dd>&lt;host&gt; with a TCP port number.<br>
39 ":" is placed between &lt;host&gt; and &lt;TCP port#&gt;.</dd>
40
41 <dt>&lt;host&gt; &lt;TCP port#&gt;</dt>
42 <dd>&lt;host&gt; with a TCP port number.<br>
43 Space character(s) between &lt;host&gt; and &lt;TCP port#&gt;.<br>
44 Number just after &lt;host&gt; is interpreted as a port number.</dd>
45
46 <dt>telnet://&lt;host&gt;[:&lt;TCP port#&gt;][/]</dt>
47 <dd>URL style - for telnet handler<br>
48 TCP port number and "/" at the end are optional.<br>
49 If TCP port number is omitted, use 23. (TCPPort setting in setup file is ignored.)
50 </dd>
51
52 <dt>\\&lt;server&gt;\pipe\&lt;pipe name&gt;</dt>
53 <dd>Pipe name.<br>
54 Connects to a named pipe &lt;pipe name&gt; on the &lt;server&gt;. <br>
55 Connects to local named pipe by specifying \\.\pipe\&lt;pipe name&gt;.
56 </dd>
57
58 <dt id="b">/B</dt>
59 <dd>Telnet binary option.</dd>
60
61 <dt id="baud">/BAUD=&lt;speed&gt;</dt>
62 <dd>
63 speed of serial port. Same as the <a href="#speed">/SPEED=</a> option.
64 Actually, the serial port driver may not reflect your speed.
65 </dd>
66
67 <dt id="c">/C=&lt;serial port#&gt;</dt>
68 <dd>Serial port
69 <ul>
70 <li><span class="syntax">/C=1</span> COM1</li>
71 <li><span class="syntax">/C=2</span> COM2</li>
72 <li><span class="syntax">/C=3</span> COM3</li>
73 <li>:</li>
74 <li><span class="syntax">/C=256</span> COM256</li>
75 </ul>
76 By default, maximum serial port number is 256. It is configurable in <a href="../setup/teraterm-com.html#maxport">MaxComPort</a> setting.
77 </dd>
78
79 <dt id="cdatabit">/CDATABIT=&lt;value&gt;</dt>
80 <dd>Data bit of serial port
81 <ul>
82 <li><span class="syntax">/CDATABIT=7</span> 7bit</li>
83 <li><span class="syntax">/CDATABIT=8</span> 8bit</li>
84 </ul>
85 </dd>
86
87 <dt id="cparity">/CPARITY=&lt;value&gt;</dt>
88 <dd>Parity of serial port
89 <ul>
90 <li><span class="syntax">/CPARITY=none</span> none</li>
91 <li><span class="syntax">/CPARITY=odd</span> odd</li>
92 <li><span class="syntax">/CPARITY=even</span> even</li>
93 <li><span class="syntax">/CPARITY=mark</span> mark</li>
94 <li><span class="syntax">/CPARITY=space</span> space</li>
95 </ul>
96 </dd>
97
98 <dt id="cstopbit">/CSTOPBIT=&lt;value&gt;</dt>
99 <dd>Stop bit of serial port
100 <ul>
101 <li><span class="syntax">/CSTOPBIT=1</span> 1bit</li>
102 <li><span class="syntax">/CSTOPBIT=1.5</span> 1.5bit</li>
103 <li><span class="syntax">/CSTOPBIT=2</span> 2bit</li>
104 </ul>
105 </dd>
106
107 <dt id="cflowctrl">/CFLOWCTRL=&lt;value&gt;</dt>
108 <dd>Flow control of serial port
109 <ul>
110 <li><span class="syntax">/CFLOWCTRL=x</span> Xon/Xoff</li>
111 <li><span class="syntax">/CFLOWCTRL=hard</span> RTS/CTS</li>
112 <li><span class="syntax">/CFLOWCTRL=rtscts</span> RTS/CTS</li>
113 <li><span class="syntax">/CFLOWCTRL=none</span> none</li>
114 <li><span class="syntax">/CFLOWCTRL=dsrdtr</span> DSR/DTR</li>
115 </ul>
116 </dd>
117
118 <dt id="cdelayperchar">/CDELAYPERCHAR=&lt;value&gt;</dt>
119 <dd>Transmission delay time per character of serial port(msec)
120 <ul>
121 <li><span class="syntax">/CDELAYPERCHAR=n</span> n millisecond</li>
122 </ul>
123 </dd>
124
125 <dt id="cdelayperline">/CDELAYPERLINE=&lt;value&gt;</dt>
126 <dd>Transmission delay time per line of serial port(msec)
127 <ul>
128 <li><span class="syntax">/CDELAYPERLINE=n</span> nmillisecond</li>
129 </ul>
130 </dd>
131
132 <!--
133 <dt id="duplicate">/DUPLICATE</dt>
134 <dd>Internal use(must not specify this option)</dd>
135 -->
136
137 <dt id="ds">/DS</dt>
138 <dd>Disable displaying the "New connection" dialog on startup</dd>
139
140 <dt id="e">/E</dt>
141 <dd>Disable TCPLocalEcho and TCPCRSend option</dd>
142
143 <dt id="es">/ES</dt>
144 <dd>Enable displaying the "<a href="../menu/file-new.html">New connection</a>" dialog on startup<br>
145 When the port type is TCP/IP, "New connection" dialog is shown basically.
146 However, the dialog can be not shown when <a href="../setup/teraterm-ini.html#HostDialogOnStartup">HostDialogOnStartup</a> is off.
147 The /ES option can be forced to show the "New connection" dialog regardless of the setting. <br>
148 When the port type is Serial, the "New connection" dialog does not be shown. Also, the /ES option can not be effected.
149 </dd>
150
151 <dt id="f">/F=&lt;setup file&gt;</dt>
152 <dd>Setup file<br>
153 <span class="syntax">/F=TERATERM.INI</span> (default)<br>
154 If this value is not a full path, it is understood as a relative path from %APPDATA%\teraterm5\.</dd>
155
156 <dt id="fd">/FD=&lt;file transfer directory&gt;</dt>
157 <dd>File transfer directory</dd>
158
159 <dt id="h">/H</dt>
160 <dd>Hide title bar.</dd>
161
162 <dt id="i">/I</dt>
163 <dd>Iconify Tera Term window.<br>
164 NOTICE: This mode can also be used with Windows task scheduler when a user is not logged in.
165 </dd>
166
167 <dt id="k">/K=&lt;keyboard setup file&gt;</dt>
168 <dd>Keyboard setup file<br>
169 <span class="syntax">/K=KEYBOARD.CNF</span> (default)<br>
170 If this value is not a full path, it is understood as a relative path from %APPDATA%\teraterm5\.</dd>
171
172 <dt id="kr">/KR=&lt;kanji code (receive)&gt;</dt>
173 <dd>Note: Japanese, Korean and UTF-8 mode only
174 <ul>
175 <li><span class="syntax">/KR=SJIS</span></li>
176 <li><span class="syntax">/KR=EUC</span></li>
177 <li><span class="syntax">/KR=JIS</span></li>
178 <li><span class="syntax">/KR=UTF8</span> UTF-8(Normalization Form C: Windows, Linux)</li>
179 <li><span class="syntax">/KR=UTF8m</span> UTF-8(Normalization Form D: Mac OS X)</li>
180 <li><span class="syntax">/KR=KS5601</span> for Korean mode</li>
181 </ul></dd>
182
183 <dt id="kt">/KT=&lt;kanji code (transmit)&gt;</dt>
184 <dd>Note: Japanese and Korean mode only
185 <ul>
186 <li><span class="syntax">/KT=SJIS</span></li>
187 <li><span class="syntax">/KT=EUC</span></li>
188 <li><span class="syntax">/KT=JIS</span></li>
189 <li><span class="syntax">/KT=UTF8</span></li>
190 <li><span class="syntax">/KT=KS5601</span> for Korean mode</li>
191 </ul></dd>
192
193 <dt id="l">/L=&lt;log file&gt;</dt>
194 <dd>Start Tera Term with logging.<br />
195 File name can include <a href="../menu/setup-additional-log.html#LogFileNameFormat">formats of Tera Term and strftime</a>.<br />
196 If this value is not a full path, file name is <a href="../menu/setup-additional-log.html#LogFullpath">converted to fullpath</a> before open.</dd>
197
198 <dt id="la">/LA=&lt;language&gt;</dt>
199 <dd>Language mode.
200 <ul>
201 <li><span class="syntax">/LA=E</span> English</li>
202 <li><span class="syntax">/LA=J</span> Japanese</li>
203 <li><span class="syntax">/LA=K</span> Korean</li>
204 <li><span class="syntax">/LA=R</span> Russian</li>
205 <li><span class="syntax">/LA=U</span> UTF-8</li>
206 </ul></dd>
207
208 <dt id="m">/M=&lt;macro file&gt;</dt>
209 <dd>Start Tera Term with macro.<br>
210 If this value is not a full path, it is understood as a relative path from %APPDATA%\teraterm5\.</dd>
211
212 <dt id="mn">/MN=&lt;multicastname&gt;</dt>
213 <dd>Multicast name for <a href="../macro/command/sendmulticast.html">sendmulticast</a> macro command.</dd>
214
215 <dt id="nolog">/NOLOG</dt>
216 <dd>Start Tera Term without logging.</dd>
217
218 <dt id="osc52">/OSC52=&lt;operations to permit&gt;</dt>
219 <dd>
220 operations to permit for clipboard access from remote host.
221 <ul>
222 <li><span class="syntax">/OCS52=off</span> deny read and write access.</li>
223 <li><span class="syntax">/OCS52=read</span> permits read access only</li>
224 <li><span class="syntax">/OCS52=write</span> permits write access only</li>
225 <li><span class="syntax">/OCS52=readwrite</span> permits read and write access</li>
226 </ul>
227 </dd>
228
229 <dt id="p">/P=&lt;TCP port#&gt;</dt>
230 <dd>TCP port number</dd>
231
232 <dt id="r">/R=&lt;replay file&gt;</dt>
233 <dd>Replay file</dd>
234
235 <dt id="speed">/SPEED=&lt;speed&gt;</dt>
236 <dd>
237 speed of serial port. Same as the <a href="#baud">/BAUD=</a> option.
238 Actually, the serial port driver may not reflect your speed.
239 </dd>
240
241 <dt id="t">/T=&lt;telnet flag&gt;</dt>
242 <dd><ul>
243 <li><span class="syntax">/T=1</span> Enable telnet</li>
244 <li><span class="syntax">/T=0</span> Disable telnet</li>
245 </ul></dd>
246
247 <dt id="tekicon">/TEKICON=&lt;icon name&gt;</dt>
248 <dd>TEK window icon.<br>
249 Could be specified the same value of <a href="../setup/teraterm-win.html#WindowIcon">TEKIcon of setup file</a>.</dd>
250
251 <dt id="theme">/THEME=&lt;theme file&gt;</dt>
252 <dd>Theme file<br>
253 If this value is not a full path, it is understood as a relative path from %APPDATA%\teraterm5\.</dd>
254
255 <dt id="timeout">/TIMEOUT=&lt;connecting timeout value&gt;</dt>
256 <dd>Could be specified per seconds.</dd>
257
258 <dt id="v">/V</dt>
259 <dd>Start Tera Term in hidden (invisible) state.</dd>
260
261 <dt id="vticon">/VTICON=&lt;icon name&gt;</dt>
262 <dd>VT window icon.<br>
263 Could be specified the same value of <a href="../setup/teraterm-win.html#WindowIcon">VTIcon of setup file</a>.</dd>
264
265 <dt id="w">/W=&lt;window title&gt;</dt>
266 <dd>Window title</dd>
267
268 <dt id="waitcom">/WAITCOM</dt>
269 <dd>When serial port is specified with with /C= option and the port does not exist, Tera Term will wait for port connection.</dd>
270
271 <dt id="x">/X=&lt;window position (x)&gt;</dt>
272 <dd>Windows position (horizontal)</dd>
273
274 <dt id="y">/Y=&lt;window position (y)&gt;</dt>
275 <dd>Windows position (vertical)</dd>
276
277 <dt id="pipe">/PIPE</dt>
278 <dd>Connects to a named pipe. The host name(pipe name) is ccomplemented by these rules:
279 <ul>
280 <li>If the host name begins with a \, the name is not changed.</li>
281 <li>If the host name does not include a \, the \\.\pipe\ is added at the beginning.</li>
282 <li>If the host name includes a \ anywhere but first, before that is treated as server name and after that is treated as pipe name. </li>
283 </ul>
284 </dd>
285
286 <dt id="autowinclose">/AUTOWINCLOSE=&lt;flag&gt;</dt>
287 <dd>AutoWinClose
288 <ul>
289 <li><span class="syntax">/AUTOWINCLOSE=on</span> Automatically close the window on disconnection.</li>
290 <li><span class="syntax">/AUTOWINCLOSE=off</span> Do not close the window on disconnection.</li>
291 </ul></dd>
292
293 <dt id="comment">;&lt;comment&gt;</dt>
294 <dd>Comment. Should be last in the command line.</dd>
295 </dl>
296
297
298 <h2 id="example">Examples</h2>
299
300 <pre>
301 TTERMPRO
302 TTERMPRO myhost.example.com
303 TTERMPRO myhost.example.com:23
304 TTERMPRO myhost.example.com 23
305 TTERMPRO 192.0.2.1
306 TTERMPRO myhost.example.com /T=0 /P=7
307 TTERMPRO \\.\pipe\vmware-serial-port
308 TTERMPRO /C=1
309 TTERMPRO /F=TELNET.INI
310 TTERMPRO foohost.example.org /F=FOOHOST.INI
311 TTERMPRO /C=2 /SPEED=9600 /F=MYSETUP.INI
312 TTERMPRO /K=MYKEY.CNF /W="My host"
313 TTERMPRO /R=README.TXT ; replay a file
314 TTERMPRO myhost /B /X=100 /Y=50
315 TTERMPRO /PIPE pipename ; same as \\.\pipe\pipename
316 </pre>
317
318
319 <h2 id="default">Default values</h2>
320
321 <p>
322 Following default values are stored in the Tera Term setup file:
323 </p>
324
325 <pre>
326 &lt;TCP port#&gt;
327 /B
328 &lt;speed&gt;
329 &lt;serial port#&gt;
330 &lt;file transfer directory&gt;
331 /H
332 &lt;kanji code (receive)&gt;
333 &lt;kanji code (transmit)&gt;
334 &lt;language&gt;
335 &lt;macro file&gt;
336 &lt;telnet flag&gt;
337 &lt;icon name&gt;
338 &lt;window title&gt;
339 &lt;window pos (x)&gt;
340 &lt;window pos (y)&gt;
341 </pre>
342
343
344 <h2 id="notes">Note</h2>
345
346 <p id="note1">
347 [1] Only if &lt;telnet flag&gt; is 1 (on) and &lt;TCP port#&gt; 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.
348 </p>
349
350 <p id="note2">
351 [2] If the parameter value can include the space character and semicolon, a user should put the value in quotations by using `"' character.<br />
352 If the value includes the `"' character, the user should write the `"' character two times.(version 4.63 or later)
353 </p>
354
355 <pre>
356 /F="C:\Document and Settings\user\My Documents\teraterm\server1.INI"
357 /W="Tera Term"
358 /W="""Tera Term"""
359 /W="Tera;Term"
360 </pre>
361
362 <p id="note3">
363 [3] If portable.ini exists in the same folder of ttermpro.exe, ttermpro works as portable version<br />
364 In portable version, the configuration file folder is the same folder of ttermpro.exe.
365
366 <h2 id="refs">See also</h2>
367
368 <p>
369 <a href="../usage/tips/not_port23.html">Telnet port number / Terminal setup for non-telnet connection</a>
370 </p>
371
372
373 </body>
374 </html>

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