Develop and Download Open Source Software

Browse Subversion Repository

Contents of /trunk/doc/en/html/macro/command/wait4all.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8939 - (show annotations) (download) (as text)
Thu Oct 1 16:06:58 2020 UTC (3 years, 7 months ago) by nmaya
File MIME type: text/html
File size: 2087 byte(s)
マクロコマンドが Tera Term バージョンいくつから存在するか、それぞれのマクロコマンドのヘルプページに記載

ticket #40808
MFT to: 4-stable
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>wait4all</title>
7 <meta http-equiv="Content-Style-Type" content="text/css">
8 <link rel="stylesheet" href="../../style.css" type="text/css">
9 </head>
10
11 <body>
12
13
14 <h1>wait4all</h1>
15
16 <p>
17 Waits string for all macro linked terminals. <em>(version 4.63 or later)</em>
18 </p>
19
20 <pre class="macro-syntax">
21 wait4all &lt;string1&gt; [&lt;string2&gt; ...]
22 </pre>
23
24 <h2>Remarks</h2>
25
26 <p>
27
28 Pauses until one of the character strings for all macro linked terminals at the time of executing this command is received from the host, or until the timeout occurs. Maximum number of the strings is 10.<br>
29 The command does not watch the terminal executed after the command and the macro not-linked terminal.
30 </p>
31
32 <p>
33 If the system variable "timeout" or "mtimeout" is greater than zero, the timeout occurs when &lt;timeout&gt;.&lt;mtimeout&gt; seconds have passed. If the timeout is less than or equal to zero, the timeout never occurs.
34 </p>
35
36 <p>
37 These commands return one of the following values in the system variable "result":
38 </p>
39
40 <table>
41 <tr>
42 <th>Value</th>
43 <th>Meaning</th>
44 </tr>
45 <tr>
46 <td>0</td>
47 <td>Timeout. No string has received.</td>
48 </tr>
49 <tr>
50 <td>1</td>
51 <td>&lt;string1&gt; has received.</td>
52 </tr>
53 <tr>
54 <td>2</td>
55 <td>&lt;string2&gt; has received.</td>
56 </tr>
57 <tr>
58 <td>n</td>
59 <td>&lt;stringn&gt; has received. n=1..10.</td>
60 </tr>
61 </table>
62
63 <p>
64 NOTICE: The <a href="../../setup/teraterm-ini.html#Wait4allMacroCommand">Wait4allMacroCommand</a> entry in the teraterm.ini file must be "on" to use this macro command. Rarely, the macro command does not work well.
65 </p>
66
67 <h2>Example</h2>
68
69 <pre class="macro-example">
70 ; Terminal1
71 pause 3000
72 end
73 </pre>
74
75 <pre class="macro-example">
76 ; Terminal2
77 pause 3000
78 end
79 </pre>
80
81 <pre class="macro-example">
82 ; Terminal3
83 wait4all 'message'
84 </pre>
85
86 </body>
87 </html>

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