[Ttssh2-commit] [4440] 不本意だが互換性のため r4079 の変更を戻す

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2011年 4月 14日 (木) 00:47:50 JST


Revision: 4440
          http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=4440
Author:   maya
Date:     2011-04-14 00:47:50 +0900 (Thu, 14 Apr 2011)

Log Message:
-----------
不本意だが互換性のため r4079 の変更を戻す
  box 系マクロコマンドの special 引数を復活

Modified Paths:
--------------
    trunk/doc/en/html/about/history.html
    trunk/doc/en/html/macro/command/inputbox.html
    trunk/doc/en/html/macro/command/messagebox.html
    trunk/doc/en/html/macro/command/passwordbox.html
    trunk/doc/en/html/macro/command/statusbox.html
    trunk/doc/en/html/macro/command/yesnobox.html
    trunk/doc/ja/html/about/history.html
    trunk/doc/ja/html/macro/command/inputbox.html
    trunk/doc/ja/html/macro/command/messagebox.html
    trunk/doc/ja/html/macro/command/passwordbox.html
    trunk/doc/ja/html/macro/command/statusbox.html
    trunk/doc/ja/html/macro/command/yesnobox.html
    trunk/teraterm/ttpmacro/ttl.c


-------------- next part --------------
Modified: trunk/doc/en/html/about/history.html
===================================================================
--- trunk/doc/en/html/about/history.html	2011-04-13 15:43:22 UTC (rev 4439)
+++ trunk/doc/en/html/about/history.html	2011-04-13 15:47:50 UTC (rev 4440)
@@ -46,6 +46,7 @@
       <li>DEC special character font can support the bold and the under line attribute.</li>
       <li>The Meta Key can be only assigned to the left ALT or the right ALT key.</li>
       <li>added support for the NetTerm style mouse event tracking.</li>
+      <li>Resurrected the special argument of the box-style macro command.</li>
     </ul>
   </li>
 

Modified: trunk/doc/en/html/macro/command/inputbox.html
===================================================================
--- trunk/doc/en/html/macro/command/inputbox.html	2011-04-13 15:43:22 UTC (rev 4439)
+++ trunk/doc/en/html/macro/command/inputbox.html	2011-04-13 15:47:50 UTC (rev 4440)
@@ -18,23 +18,56 @@
 </p>
 
 <pre class="macro-syntax">
-inputbox &lt;message&gt; &lt;title&gt; [&lt;default&gt; [&lt;special&gt;(obsolete)]]
+inputbox &lt;message&gt; &lt;title&gt; [&lt;default&gt; [&lt;special&gt;]]
 </pre>
 
-<h2>Remarks</h2>
+<h2>Parameters</h2>
 
-<p>
-The &lt;message&gt; is displayed in the dialog box. The &lt;title&gt; is displayed as the dialog box title. The string entered by the user is returned in the system variable "inputstr".
-</p>
+<dl>
+	<dt class="macro">string &lt;message&gt;</dt>
+	<dd>It is displayed in the dialog box.</dd>
+	
+	<dt class="macro">string &lt;title&gt;</dt>
+	<dd>It is displayed as the dialog box title.</dd>
+	
+	<dt class="macro">string &lt;default&gt; (optional default=''(empty))</dt>
+	<dd>The default string on edit control.</dd>
+	
+	<dt class="macro">integer &lt;special&gt; (optional default=1)</dt>
+	<dd>If it is non-zero, following strings in &lt;message&gt; is treated as spacial character.<br>
+	    &lt;special&gt; does not effect to &lt;default&gt;.<br>
+	    
+	    <table border="2">
+	     <tr>
+	      <th>input</th>
+	      <th>output</th>
+	     </tr>
+	     <tr>
+	      <td>\\</td>
+	      <td>"\"</td>
+	     </tr>
+	     <tr>
+	      <td>\n</td>
+	      <td>line feed</td>
+	     </tr>
+	     <tr>
+	      <td>\t</td>
+	      <td>tab</td>
+	     </tr>
+	    </table>
+	    
+	</dd>
 
-<p>
-The &lt;default&gt; is default string on edit control. If it is not specified, ''(empty) is used.
-</p>
+</dl>
 
-<p>
-&lt;special&gt; is an obsolete parameter. It has not effect.
-</p>
+<h2>Return Value</h2>
 
+<dl>
+	<dt class="macro">System valiable &lt;inputstr&gt;</dt>
+	<dd>The string entered by the user is returned.</dd>
+	
+</dl>
+
 <h2>Example</h2>
 
 <pre class="macro-example">

Modified: trunk/doc/en/html/macro/command/messagebox.html
===================================================================
--- trunk/doc/en/html/macro/command/messagebox.html	2011-04-13 15:43:22 UTC (rev 4439)
+++ trunk/doc/en/html/macro/command/messagebox.html	2011-04-13 15:47:50 UTC (rev 4440)
@@ -18,18 +18,43 @@
 </p>
 
 <pre class="macro-syntax">
-messagebox &lt;message&gt; &lt;title&gt; [&lt;special&gt;(obsolete)]
+messagebox &lt;message&gt; &lt;title&gt; [&lt;special&gt;]
 </pre>
 
-<h2>Remarks</h2>
+<h2>Parameters</h2>
 
-<p>
-Displays a dialog box with &lt;message&gt; and &lt;title&gt;.
-</p>
+<dl>
+	<dt class="macro">string &lt;message&gt;</dt>
+	<dd>It is displayed in the dialog box.</dd>
+	
+	<dt class="macro">string &lt;title&gt;</dt>
+	<dd>It is displayed as the dialog box title.</dd>
+	
+	<dt class="macro">integer &lt;special&gt; (optional default=1)</dt>
+	<dd>If it is non-zero, following strings in &lt;message&gt; is treated as spacial character.<br>
+	    
+	    <table border="2">
+	     <tr>
+	      <th>input</th>
+	      <th>output</th>
+	     </tr>
+	     <tr>
+	      <td>\\</td>
+	      <td>"\"</td>
+	     </tr>
+	     <tr>
+	      <td>\n</td>
+	      <td>line feed</td>
+	     </tr>
+	     <tr>
+	      <td>\t</td>
+	      <td>tab</td>
+	     </tr>
+	    </table>
+	    
+	</dd>
 
-<p>
-&lt;special&gt; is an obsolete parameter. It has not effect.
-</p>
+</dl>
 
 <h2>Example</h2>
 

Modified: trunk/doc/en/html/macro/command/passwordbox.html
===================================================================
--- trunk/doc/en/html/macro/command/passwordbox.html	2011-04-13 15:43:22 UTC (rev 4439)
+++ trunk/doc/en/html/macro/command/passwordbox.html	2011-04-13 15:47:50 UTC (rev 4440)
@@ -18,22 +18,56 @@
 </p>
 
 <pre class="macro-syntax">
-passwordbox &lt;message&gt; &lt;title&gt; [&lt;special&gt;(obsolete)]
+passwordbox &lt;message&gt; &lt;title&gt; [&lt;special&gt;]
 </pre>
 
-<h2>Remarks</h2>
+<h2>Parameters</h2>
 
-<p>
-The &lt;message&gt; is displayed in the dialog box. The &lt;title&gt; is displayed as the dialog box title.
-</p>
+<dl>
+	<dt class="macro">string &lt;message&gt;</dt>
+	<dd>It is displayed in the dialog box.</dd>
+	
+	<dt class="macro">string &lt;title&gt;</dt>
+	<dd>It is displayed as the dialog box title.</dd>
+	
+	<dt class="macro">integer &lt;special&gt; (optional default=1)</dt>
+	<dd>If it is non-zero, following strings in &lt;message&gt; is treated as spacial character.<br>
+	    
+	    <table border="2">
+	     <tr>
+	      <th>input</th>
+	      <th>output</th>
+	     </tr>
+	     <tr>
+	      <td>\\</td>
+	      <td>"\"</td>
+	     </tr>
+	     <tr>
+	      <td>\n</td>
+	      <td>line feed</td>
+	     </tr>
+	     <tr>
+	      <td>\t</td>
+	      <td>tab</td>
+	     </tr>
+	    </table>
+	    
+	</dd>
 
-<p>
-The password typed by the user is not displayed as is.<br>
-Instead, asterisks are displayed. The password is returned in the system variable "inputstr".
-</p>
+</dl>
 
+<h2>Return Value</h2>
+
+<dl>
+	<dt class="macro">System valiable &lt;inputstr&gt;</dt>
+	<dd>The string entered by the user is returned.</dd>
+	
+</dl>
+
+<h2>Remarks</h2>
+
 <p>
-&lt;special&gt; is an obsolete parameter. It has not effect.
+The password typed by the user is not displayed as is. Instead, asterisks are displayed.
 </p>
 
 <h2>Example</h2>

Modified: trunk/doc/en/html/macro/command/statusbox.html
===================================================================
--- trunk/doc/en/html/macro/command/statusbox.html	2011-04-13 15:43:22 UTC (rev 4439)
+++ trunk/doc/en/html/macro/command/statusbox.html	2011-04-13 15:47:50 UTC (rev 4440)
@@ -18,9 +18,44 @@
 </p>
 
 <pre class="macro-syntax">
-statusbox &lt;message&gt; &lt;title&gt; [&lt;special&gt;(obsolete)]
+statusbox &lt;message&gt; &lt;title&gt; [&lt;special&gt;]
 </pre>
 
+<h2>Parameters</h2>
+
+<dl>
+	<dt class="macro">string &lt;message&gt;</dt>
+	<dd>It is displayed in the dialog box.</dd>
+	
+	<dt class="macro">string &lt;title&gt;</dt>
+	<dd>It is displayed as the dialog box title.</dd>
+	
+	<dt class="macro">integer &lt;special&gt; (optional default=1)</dt>
+	<dd>If it is non-zero, following strings in &lt;message&gt; is treated as spacial character.<br>
+	    
+	    <table border="2">
+	     <tr>
+	      <th>input</th>
+	      <th>output</th>
+	     </tr>
+	     <tr>
+	      <td>\\</td>
+	      <td>"\"</td>
+	     </tr>
+	     <tr>
+	      <td>\n</td>
+	      <td>line feed</td>
+	     </tr>
+	     <tr>
+	      <td>\t</td>
+	      <td>tab</td>
+	     </tr>
+	    </table>
+	    
+	</dd>
+
+</dl>
+
 <h2>Remarks</h2>
 
 <p>
@@ -33,10 +68,6 @@
 The "<a href="closebox.html">closesbox</a>" command closes the status dialog box. A user can not close the status dialog box by using the Enter and ESC key.
 </p>
 
-<p>
-&lt;special&gt; is an obsolete parameter. It has not effect.
-</p>
-
 <h2>Example</h2>
 
 <pre class="macro-example">

Modified: trunk/doc/en/html/macro/command/yesnobox.html
===================================================================
--- trunk/doc/en/html/macro/command/yesnobox.html	2011-04-13 15:43:22 UTC (rev 4439)
+++ trunk/doc/en/html/macro/command/yesnobox.html	2011-04-13 15:47:50 UTC (rev 4440)
@@ -18,23 +18,53 @@
 </p>
 
 <pre class="macro-syntax">
-yesnobox &lt;message&gt; &lt;title&gt; [&lt;special&gt;(obsolete)]
+yesnobox &lt;message&gt; &lt;title&gt; [&lt;special&gt;]
 </pre>
 
-<h2>Remarks</h2>
+<h2>Parameters</h2>
 
-<p>
-Displays a dialog box with the &lt;message&gt;, &lt;title&gt;, "Yes" button and "No" button.
-</p>
+<dl>
+	<dt class="macro">string &lt;message&gt;</dt>
+	<dd>It is displayed in the dialog box.</dd>
+	
+	<dt class="macro">string &lt;title&gt;</dt>
+	<dd>It is displayed as the dialog box title.</dd>
+	
+	<dt class="macro">integer &lt;special&gt; (optional default=1)</dt>
+	<dd>If it is non-zero, following strings in &lt;message&gt; is treated as spacial character.<br>
+	    
+	    <table border="2">
+	     <tr>
+	      <th>input</th>
+	      <th>output</th>
+	     </tr>
+	     <tr>
+	      <td>\\</td>
+	      <td>"\"</td>
+	     </tr>
+	     <tr>
+	      <td>\n</td>
+	      <td>line feed</td>
+	     </tr>
+	     <tr>
+	      <td>\t</td>
+	      <td>tab</td>
+	     </tr>
+	    </table>
+	    
+	</dd>
 
-<p>
-If the user clicks on the "Yes" button, the system variable "result" is set to 1. If the user clicks on the "No" button, "result" is set to zero.
-</p>
+</dl>
 
-<p>
-&lt;special&gt; is an obsolete parameter. It has not effect.
-</p>
+<h2>Return Value</h2>
 
+<dl>
+	<dt class="macro">System valiable &lt;result&gt;</dt>
+	<dd>If the user clicks on the "Yes" button, it is set to 1.<br>
+	    If the user clicks on the "No" button, it is set to zero.</dd>
+	
+</dl>
+
 <h2>Example</h2>
 
 <pre class="macro-example">

Modified: trunk/doc/ja/html/about/history.html
===================================================================
--- trunk/doc/ja/html/about/history.html	2011-04-13 15:43:22 UTC (rev 4439)
+++ trunk/doc/ja/html/about/history.html	2011-04-13 15:47:50 UTC (rev 4440)
@@ -46,6 +46,7 @@
       <li>DEC “ÁŽê•¶Žš‚̃tƒHƒ“ƒg‚ɍ‚‹P“x/‰ºü‘®«‚𔽉f‚·‚é‚悤‚É‚µ‚½B</li>
       <li>Meta Key ‚̐ݒè‚ŁA¶Alt‚â‰EAlt‚Ì‚ÝMeta Key‚ɐݒè‚Å‚«‚é‚悤‚É‚µ‚½B</li>
       <li>NetTerm Œ`Ž®‚̃}ƒEƒXƒCƒxƒ“ƒg’Ê’m‚ɑΉž‚µ‚½B</li>
+      <li>box Œnƒ}ƒNƒƒRƒ}ƒ“ƒh‚Ì special ˆø”‚𕜊ˆ‚³‚¹‚½B</li>
     </ul>
   </li>
 

Modified: trunk/doc/ja/html/macro/command/inputbox.html
===================================================================
--- trunk/doc/ja/html/macro/command/inputbox.html	2011-04-13 15:43:22 UTC (rev 4439)
+++ trunk/doc/ja/html/macro/command/inputbox.html	2011-04-13 15:47:50 UTC (rev 4440)
@@ -18,23 +18,56 @@
 </p>
 
 <pre class="macro-syntax">
-inputbox &lt;message&gt; &lt;title&gt; [&lt;default&gt; [&lt;special&gt;(”pŽ~)]]
+inputbox &lt;message&gt; &lt;title&gt; [&lt;default&gt; [&lt;special&gt;]]
 </pre>
 
-<h2>‰ðà</h2>
+<h2>ƒpƒ‰ƒ[ƒ^</h2>
 
-<p>
-•¶Žš—ñ &lt;message&gt; ‚̓_ƒCƒAƒƒOƒ{ƒbƒNƒX‚É•\Ž¦‚³‚ê‚郁ƒbƒZ[ƒWA•¶Žš—ñ &lt;title&gt; ‚̓_ƒCƒAƒƒOƒ{ƒbƒNƒX‚̃^ƒCƒgƒ‹B“ü—Í‚³‚ꂽ•¶Žš—ñ‚̓VƒXƒeƒ€•Ï” inputstr ‚É‘ã“ü‚³‚ê‚éB
-</p>
+<dl>
+	<dt class="macro">•¶Žš—ñ &lt;message&gt;</dt>
+	<dd>ƒ_ƒCƒAƒƒOƒ{ƒbƒNƒX‚É•\Ž¦‚³‚ê‚郁ƒbƒZ[ƒWB</dd>
+	
+	<dt class="macro">•¶Žš—ñ &lt;title&gt;</dt>
+	<dd>ƒ_ƒCƒAƒƒOƒ{ƒbƒNƒX‚̃^ƒCƒgƒ‹B</dd>
+	
+	<dt class="macro">•¶Žš—ñ &lt;default&gt; (ƒIƒvƒVƒ‡ƒ“ ƒfƒtƒHƒ‹ƒg=""(‹ó•¶Žš—ñ))</dt>
+	<dd>ƒGƒfƒBƒbƒgƒRƒ“ƒgƒ[ƒ‹‚̃fƒtƒHƒ‹ƒg•¶Žš—ñ‚Å‚·B</dd>
+	
+	<dt class="macro">®”’l &lt;special&gt; (ƒIƒvƒVƒ‡ƒ“ ƒfƒtƒHƒ‹ƒg=1)</dt>
+	<dd>0 ‚Å‚È‚¢ê‡‚́A&lt;message&gt; ‚ÉŠÜ‚Ü‚ê‚éˆÈ‰º‚Ì•¶Žš—ñ‚Í“ÁŽê•¶Žš‚Æ‚µ‚Ĉµ‚í‚ê‚Ü‚·B<br>
+	    &lt;special&gt; ‚Ì’l‚Í &lt;default&gt; ‚ɂ͉e‹¿‚ð—^‚¦‚Ü‚¹‚ñB<br>
+	    
+	    <table border="2">
+	     <tr>
+	      <th>“ü—Í</th>
+	      <th>o—Í</th>
+	     </tr>
+	     <tr>
+	      <td>\\</td>
+	      <td>"\"</td>
+	     </tr>
+	     <tr>
+	      <td>\n</td>
+	      <td>‰üs</td>
+	     </tr>
+	     <tr>
+	      <td>\t</td>
+	      <td>ƒ^ƒu</td>
+	     </tr>
+	    </table>
+	    
+	</dd>
 
-<p>
-&lt;default&gt; ‚̓GƒfƒBƒbƒgƒRƒ“ƒgƒ[ƒ‹‚̃fƒtƒHƒ‹ƒg•¶Žš—ñ‚Å‚·BŽw’肳‚ê‚È‚¢ê‡‚Í ""(‹ó•¶Žš—ñ) ‚ªŽg—p‚³‚ê‚Ü‚·B
-</p>
+</dl>
 
-<p>
-&lt;special&gt; ‚Í”pŽ~‚³‚ê‚Ü‚µ‚½BƒGƒ‰[‚É‚Í‚È‚è‚Ü‚¹‚ñ‚ªA–³Œø‚Å‚·B
-</p>
+<h2>•Ô‚è’l</h2>
 
+<dl>
+	<dt class="macro">ƒVƒXƒeƒ€•Ï” &lt;inputstr&gt;</dt>
+	<dd>“ü—Í‚³‚ꂽ•¶Žš—ñ‚ª‘ã“ü‚³‚ê‚éB</dd>
+	
+</dl>
+
 <h2>—á</h2>
 
 <pre class="macro-example">

Modified: trunk/doc/ja/html/macro/command/messagebox.html
===================================================================
--- trunk/doc/ja/html/macro/command/messagebox.html	2011-04-13 15:43:22 UTC (rev 4439)
+++ trunk/doc/ja/html/macro/command/messagebox.html	2011-04-13 15:47:50 UTC (rev 4440)
@@ -18,18 +18,43 @@
 </p>
 
 <pre class="macro-syntax">
-messagebox &lt;message&gt; &lt;title&gt; [&lt;special&gt;(”pŽ~)]
+messagebox &lt;message&gt; &lt;title&gt; [&lt;special&gt;]
 </pre>
 
-<h2>‰ðà</h2>
+<h2>ƒpƒ‰ƒ[ƒ^</h2>
 
-<p>
-•¶Žš—ñ &lt;message&gt; ‚̓_ƒCƒAƒƒOƒ{ƒbƒNƒX‚É•\Ž¦‚³‚ê‚郁ƒbƒZ[ƒWA•¶Žš—ñ &lt;title&gt; ‚̓_ƒCƒAƒƒOƒ{ƒbƒNƒX‚̃^ƒCƒgƒ‹‚ð•\‚·B
-</p>
+<dl>
+	<dt class="macro">•¶Žš—ñ &lt;message&gt;</dt>
+	<dd>ƒ_ƒCƒAƒƒOƒ{ƒbƒNƒX‚É•\Ž¦‚³‚ê‚郁ƒbƒZ[ƒWB</dd>
+	
+	<dt class="macro">•¶Žš—ñ &lt;title&gt;</dt>
+	<dd>ƒ_ƒCƒAƒƒOƒ{ƒbƒNƒX‚̃^ƒCƒgƒ‹B</dd>
+	
+	<dt class="macro">®”’l &lt;special&gt; (ƒIƒvƒVƒ‡ƒ“ ƒfƒtƒHƒ‹ƒg=1)</dt>
+	<dd>0 ‚Å‚È‚¢ê‡‚́A&lt;message&gt; ‚ÉŠÜ‚Ü‚ê‚éˆÈ‰º‚Ì•¶Žš—ñ‚Í“ÁŽê•¶Žš‚Æ‚µ‚Ĉµ‚í‚ê‚Ü‚·B<br>
+	    
+	    <table border="2">
+	     <tr>
+	      <th>“ü—Í</th>
+	      <th>o—Í</th>
+	     </tr>
+	     <tr>
+	      <td>\\</td>
+	      <td>"\"</td>
+	     </tr>
+	     <tr>
+	      <td>\n</td>
+	      <td>‰üs</td>
+	     </tr>
+	     <tr>
+	      <td>\t</td>
+	      <td>ƒ^ƒu</td>
+	     </tr>
+	    </table>
+	    
+	</dd>
 
-<p>
-&lt;special&gt; ‚Í”pŽ~‚³‚ê‚Ü‚µ‚½BƒGƒ‰[‚É‚Í‚È‚è‚Ü‚¹‚ñ‚ªA–³Œø‚Å‚·B
-</p>
+</dl>
 
 <h2>—á</h2>
 

Modified: trunk/doc/ja/html/macro/command/passwordbox.html
===================================================================
--- trunk/doc/ja/html/macro/command/passwordbox.html	2011-04-13 15:43:22 UTC (rev 4439)
+++ trunk/doc/ja/html/macro/command/passwordbox.html	2011-04-13 15:47:50 UTC (rev 4440)
@@ -18,22 +18,56 @@
 </p>
 
 <pre class="macro-syntax">
-passwordbox &lt;message&gt; &lt;title&gt; [&lt;special&gt;(”pŽ~)]
+passwordbox &lt;message&gt; &lt;title&gt; [&lt;special&gt;]
 </pre>
 
-<h2>‰ðà</h2>
+<h2>ƒpƒ‰ƒ[ƒ^</h2>
 
-<p>
-•¶Žš—ñ &lt;message&gt; ‚̓_ƒCƒAƒƒOƒ{ƒbƒNƒX‚É•\Ž¦‚³‚ê‚郁ƒbƒZ[ƒWA•¶Žš—ñ &lt;title&gt; ‚̓_ƒCƒAƒƒOƒ{ƒbƒNƒX‚̃^ƒCƒgƒ‹B
-</p>
+<dl>
+	<dt class="macro">•¶Žš—ñ &lt;message&gt;</dt>
+	<dd>ƒ_ƒCƒAƒƒOƒ{ƒbƒNƒX‚É•\Ž¦‚³‚ê‚郁ƒbƒZ[ƒWB</dd>
+	
+	<dt class="macro">•¶Žš—ñ &lt;title&gt;</dt>
+	<dd>ƒ_ƒCƒAƒƒOƒ{ƒbƒNƒX‚̃^ƒCƒgƒ‹B</dd>
+	
+	<dt class="macro">®”’l &lt;special&gt; (ƒIƒvƒVƒ‡ƒ“ ƒfƒtƒHƒ‹ƒg=1)</dt>
+	<dd>0 ‚Å‚È‚¢ê‡‚́A&lt;message&gt; ‚ÉŠÜ‚Ü‚ê‚éˆÈ‰º‚Ì•¶Žš—ñ‚Í“ÁŽê•¶Žš‚Æ‚µ‚Ĉµ‚í‚ê‚Ü‚·B<br>
+	    
+	    <table border="2">
+	     <tr>
+	      <th>“ü—Í</th>
+	      <th>o—Í</th>
+	     </tr>
+	     <tr>
+	      <td>\\</td>
+	      <td>"\"</td>
+	     </tr>
+	     <tr>
+	      <td>\n</td>
+	      <td>‰üs</td>
+	     </tr>
+	     <tr>
+	      <td>\t</td>
+	      <td>ƒ^ƒu</td>
+	     </tr>
+	    </table>
+	    
+	</dd>
 
-<p>
-“ü—Í‚³‚ê‚éƒpƒXƒ[ƒh‚Í‚»‚Ì‚Ü‚Ü•\Ž¦‚³‚ꂸA‚©‚í‚è‚ɁA"****" ‚̂悤‚É•\Ž¦‚³‚ê‚éB<br>
-“ü—Í‚³‚ꂽƒpƒXƒ[ƒh‚̓VƒXƒeƒ€•Ï” inputstr ‚É‘ã“ü‚³‚ê‚éB
-</p>
+</dl>
 
+<h2>•Ô‚è’l</h2>
+
+<dl>
+	<dt class="macro">ƒVƒXƒeƒ€•Ï” &lt;inputstr&gt;</dt>
+	<dd>“ü—Í‚³‚ꂽ•¶Žš—ñ‚ª‘ã“ü‚³‚ê‚éB</dd>
+	
+</dl>
+
+<h2>‰ðà</h2>
+
 <p>
-&lt;special&gt; ‚Í”pŽ~‚³‚ê‚Ü‚µ‚½BƒGƒ‰[‚É‚Í‚È‚è‚Ü‚¹‚ñ‚ªA–³Œø‚Å‚·B
+“ü—Í‚³‚ê‚éƒpƒXƒ[ƒh‚Í‚»‚Ì‚Ü‚Ü•\Ž¦‚³‚ꂸA‚©‚í‚è‚ɁA"****" ‚̂悤‚É•\Ž¦‚³‚ê‚éB
 </p>
 
 <h2>—á</h2>

Modified: trunk/doc/ja/html/macro/command/statusbox.html
===================================================================
--- trunk/doc/ja/html/macro/command/statusbox.html	2011-04-13 15:43:22 UTC (rev 4439)
+++ trunk/doc/ja/html/macro/command/statusbox.html	2011-04-13 15:47:50 UTC (rev 4440)
@@ -18,25 +18,56 @@
 </p>
 
 <pre class="macro-syntax">
-statusbox &lt;message&gt; &lt;title&gt; [&lt;special&gt;(”pŽ~)]
+statusbox &lt;message&gt; &lt;title&gt; [&lt;special&gt;]
 </pre>
 
+<h2>ƒpƒ‰ƒ[ƒ^</h2>
+
+<dl>
+	<dt class="macro">•¶Žš—ñ &lt;message&gt;</dt>
+	<dd>ƒ_ƒCƒAƒƒOƒ{ƒbƒNƒX‚É•\Ž¦‚³‚ê‚郁ƒbƒZ[ƒWB</dd>
+	
+	<dt class="macro">•¶Žš—ñ &lt;title&gt;</dt>
+	<dd>ƒ_ƒCƒAƒƒOƒ{ƒbƒNƒX‚̃^ƒCƒgƒ‹B</dd>
+	
+	<dt class="macro">®”’l &lt;special&gt; (ƒIƒvƒVƒ‡ƒ“ ƒfƒtƒHƒ‹ƒg=1)</dt>
+	<dd>0 ‚Å‚È‚¢ê‡‚́A&lt;message&gt; ‚ÉŠÜ‚Ü‚ê‚éˆÈ‰º‚Ì•¶Žš—ñ‚Í“ÁŽê•¶Žš‚Æ‚µ‚Ĉµ‚í‚ê‚Ü‚·B<br>
+	    
+	    <table border="2">
+	     <tr>
+	      <th>“ü—Í</th>
+	      <th>o—Í</th>
+	     </tr>
+	     <tr>
+	      <td>\\</td>
+	      <td>"\"</td>
+	     </tr>
+	     <tr>
+	      <td>\n</td>
+	      <td>‰üs</td>
+	     </tr>
+	     <tr>
+	      <td>\t</td>
+	      <td>ƒ^ƒu</td>
+	     </tr>
+	    </table>
+	    
+	</dd>
+
+</dl>
+
 <h2>‰ðà</h2>
 
 <p>
-ƒXƒe[ƒ^ƒXƒ_ƒCƒAƒƒOƒ{ƒbƒNƒX‚ª•\Ž¦‚³‚ê‚Ä‚¢‚È‚¢ê‡A‚»‚ê‚ð•\Ž¦‚·‚éB<br>
-ƒ_ƒCƒAƒƒOƒ{ƒbƒNƒX‚̃ƒbƒZ[ƒW‚ð &lt;message&gt; ‚ɁAƒ^ƒCƒgƒ‹‚ð &lt;title&gt; ‚É•Ï‚¦‚éB
+ƒXƒe[ƒ^ƒXƒ_ƒCƒAƒƒOƒ{ƒbƒNƒX‚ª•\Ž¦‚³‚ê‚Ä‚¢‚È‚¢ê‡A‚»‚ê‚ð•\Ž¦‚µ‚Ü‚·B<br>
+ƒ_ƒCƒAƒƒOƒ{ƒbƒNƒX‚̃ƒbƒZ[ƒW‚ð &lt;message&gt; ‚ɁAƒ^ƒCƒgƒ‹‚ð &lt;title&gt; ‚É•Ï‚¦‚Ü‚·B
 </p>
 
 <p>
-"<a href="setdlgpos.html">setdlgpos</a>" ƒRƒ}ƒ“ƒh‚̓Xƒe[ƒ^ƒXƒ_ƒCƒAƒƒOƒ{ƒbƒNƒX‚̈ʒu‚ð•Ï‚¦‚éB<br>
-"<a href="closesbox.html">closesbox</a>" ƒRƒ}ƒ“ƒh‚̓Xƒe[ƒ^ƒXƒ_ƒCƒAƒƒOƒ{ƒbƒNƒX‚ð•Â‚¶‚éBEnterƒL[‚âESCƒL[‚ł͕‚¶‚邱‚Æ‚Í‚Å‚«‚Ü‚¹‚ñB
+"<a href="setdlgpos.html">setdlgpos</a>" ƒRƒ}ƒ“ƒh‚̓Xƒe[ƒ^ƒXƒ_ƒCƒAƒƒOƒ{ƒbƒNƒX‚̈ʒu‚ð•Ï‚¦‚Ü‚·B<br>
+"<a href="closesbox.html">closesbox</a>" ƒRƒ}ƒ“ƒh‚̓Xƒe[ƒ^ƒXƒ_ƒCƒAƒƒOƒ{ƒbƒNƒX‚ð•Â‚¶‚Ü‚·BEnterƒL[‚âESCƒL[‚ł͕‚¶‚邱‚Æ‚Í‚Å‚«‚Ü‚¹‚ñB
 </p>
 
-<p>
-&lt;special&gt; ‚Í”pŽ~‚³‚ê‚Ü‚µ‚½BƒGƒ‰[‚É‚Í‚È‚è‚Ü‚¹‚ñ‚ªA–³Œø‚Å‚·B
-</p>
-
 <h2>—á</h2>
 
 <pre class="macro-example">

Modified: trunk/doc/ja/html/macro/command/yesnobox.html
===================================================================
--- trunk/doc/ja/html/macro/command/yesnobox.html	2011-04-13 15:43:22 UTC (rev 4439)
+++ trunk/doc/ja/html/macro/command/yesnobox.html	2011-04-13 15:47:50 UTC (rev 4440)
@@ -18,23 +18,53 @@
 </p>
 
 <pre class="macro-syntax">
-yesnobox &lt;message&gt; &lt;title&gt; [&lt;special&gt;(”pŽ~)]
+yesnobox &lt;message&gt; &lt;title&gt; [&lt;special&gt;]
 </pre>
 
-<h2>‰ðà</h2>
+<h2>ƒpƒ‰ƒ[ƒ^</h2>
 
-<p>
-•¶Žš—ñ &lt;message&gt; ‚̓_ƒCƒAƒƒOƒ{ƒbƒNƒX‚É•\Ž¦‚³‚ê‚郁ƒbƒZ[ƒWA•¶Žš—ñ &lt;title&gt; ‚̓_ƒCƒAƒƒOƒ{ƒbƒNƒX‚̃^ƒCƒgƒ‹B
-</p>
+<dl>
+	<dt class="macro">•¶Žš—ñ &lt;message&gt;</dt>
+	<dd>ƒ_ƒCƒAƒƒOƒ{ƒbƒNƒX‚É•\Ž¦‚³‚ê‚郁ƒbƒZ[ƒWB</dd>
+	
+	<dt class="macro">•¶Žš—ñ &lt;title&gt;</dt>
+	<dd>ƒ_ƒCƒAƒƒOƒ{ƒbƒNƒX‚̃^ƒCƒgƒ‹B</dd>
+	
+	<dt class="macro">®”’l &lt;special&gt; (ƒIƒvƒVƒ‡ƒ“ ƒfƒtƒHƒ‹ƒg=1)</dt>
+	<dd>0 ‚Å‚È‚¢ê‡‚́A&lt;message&gt; ‚ÉŠÜ‚Ü‚ê‚éˆÈ‰º‚Ì•¶Žš—ñ‚Í“ÁŽê•¶Žš‚Æ‚µ‚Ĉµ‚í‚ê‚Ü‚·B<br>
+	    
+	    <table border="2">
+	     <tr>
+	      <th>“ü—Í</th>
+	      <th>o—Í</th>
+	     </tr>
+	     <tr>
+	      <td>\\</td>
+	      <td>"\"</td>
+	     </tr>
+	     <tr>
+	      <td>\n</td>
+	      <td>‰üs</td>
+	     </tr>
+	     <tr>
+	      <td>\t</td>
+	      <td>ƒ^ƒu</td>
+	     </tr>
+	    </table>
+	    
+	</dd>
 
-<p>
-u‚Í‚¢vƒ{ƒ^ƒ“‚ª‰Ÿ‚³‚ꂽê‡AƒVƒXƒeƒ€•Ï” result‚É1‚ªŠi”[‚³‚ê‚éBu‚¢‚¢‚¦vƒ{ƒ^ƒ“‚ª‰Ÿ‚³‚ꂽê‡Aresult ‚É0‚ªŠi”[‚³‚ê‚éB
-</p>
+</dl>
 
-<p>
-&lt;special&gt; ‚Í”pŽ~‚³‚ê‚Ü‚µ‚½BƒGƒ‰[‚É‚Í‚È‚è‚Ü‚¹‚ñ‚ªA–³Œø‚Å‚·B
-</p>
+<h2>•Ô‚è’l</h2>
 
+<dl>
+	<dt class="macro">ƒVƒXƒeƒ€•Ï” &lt;result&gt;</dt>
+	<dd>u‚Í‚¢vƒ{ƒ^ƒ“‚ª‰Ÿ‚³‚ꂽê‡A1‚ªŠi”[‚³‚ê‚éB<br>
+	    u‚¢‚¢‚¦vƒ{ƒ^ƒ“‚ª‰Ÿ‚³‚ꂽê‡A0‚ªŠi”[‚³‚ê‚éB</dd>
+	
+</dl>
+
 <h2>—á</h2>
 
 <pre class="macro-example">

Modified: trunk/teraterm/ttpmacro/ttl.c
===================================================================
--- trunk/teraterm/ttpmacro/ttl.c	2011-04-13 15:43:22 UTC (rev 4439)
+++ trunk/teraterm/ttpmacro/ttl.c	2011-04-13 15:47:50 UTC (rev 4440)
@@ -2312,7 +2312,7 @@
 {
 	TStrVal Str1, Str2, Str3;
 	WORD Err, ValType, VarId, P;
-	int sp;
+	int sp = 1;
 
 	Err = 0;
 	GetStrVal(Str1,&Err);
@@ -2334,7 +2334,6 @@
 	}
 
 	// get 4th(3rd) arg(optional) if given
-	// this parameter is not used.
 	if (CheckParameterGiven()) {
 		GetIntVal(&sp, &Err);
 	}
@@ -2343,6 +2342,10 @@
 		Err = ErrSyntax;
 	if (Err!=0) return Err;
 
+	if (sp) {
+		RestoreNewLine(Str1);
+	}
+
 	SetInputStr("");
 	if (CheckVar("inputstr",&ValType,&VarId) &&
 	    (ValType==TypString))
@@ -2566,7 +2569,7 @@
 int MessageCommand(int BoxId, LPWORD Err)
 {
 	TStrVal Str1, Str2;
-	int sp;
+	int sp = 1;
 	int ret;
 
 	*Err = 0;
@@ -2575,7 +2578,6 @@
 	if (*Err!=0) return 0;
 
 	// get 3rd arg(optional) if given
-	// this parameter is not used.
 	if (CheckParameterGiven()) {
 		GetIntVal(&sp, Err);
 	}
@@ -2584,6 +2586,10 @@
 		*Err = ErrSyntax;
 	if (*Err!=0) return 0;
 
+	if (sp) {
+		RestoreNewLine(Str1);
+	}
+
 	if (BoxId==IdMsgBox) {
 		ret = OpenMsgDlg(Str1,Str2,FALSE);
 		// ƒƒbƒZ[ƒWƒ{ƒbƒNƒX‚ðƒLƒƒƒ“ƒZƒ‹‚·‚é‚ƁAƒ}ƒNƒ‚̏I—¹‚Æ‚·‚éB



Ttssh2-commit メーリングリストの案内
Back to archive index