[Ttssh2-commit] [4406] dispstrコマンドに注意事項とNGサンプル例を追加した。

アーカイブの一覧に戻る

svnno****@sourc***** svnno****@sourc*****
2011年 3月 30日 (水) 21:10:17 JST


Revision: 4406
          http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=4406
Author:   yutakapon
Date:     2011-03-30 21:10:17 +0900 (Wed, 30 Mar 2011)

Log Message:
-----------
dispstrコマンドに注意事項とNGサンプル例を追加した。

http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=23072

Modified Paths:
--------------
    trunk/doc/en/html/macro/command/dispstr.html
    trunk/doc/ja/html/macro/command/dispstr.html


-------------- next part --------------
Modified: trunk/doc/en/html/macro/command/dispstr.html
===================================================================
--- trunk/doc/en/html/macro/command/dispstr.html	2011-03-30 10:33:46 UTC (rev 4405)
+++ trunk/doc/en/html/macro/command/dispstr.html	2011-03-30 12:10:17 UTC (rev 4406)
@@ -65,11 +65,25 @@
 next 
 </pre>
 
+<pre class="macro-example">
+connect '/C=1'
+if result == 1 then
+  dispstr 'Error opening COM1'   ; Command error because of not connection.
+elseif result == 2 then
+  dispstr 'Successfully opened COM1'
+endif
+end
+</pre>
+
 <h2>Note</h2>
 
 <p>
 The remote host can not recognize the dispstr output data. So, the terminal screen may not display properly because the buffer of the terminal screen differs from the remote host screen.
 </p>
 
+<p>
+When Tera Term does not connect to the host, this macro command can not be executed.
+</p>
+
 </body>
 </html>

Modified: trunk/doc/ja/html/macro/command/dispstr.html
===================================================================
--- trunk/doc/ja/html/macro/command/dispstr.html	2011-03-30 10:33:46 UTC (rev 4405)
+++ trunk/doc/ja/html/macro/command/dispstr.html	2011-03-30 12:10:17 UTC (rev 4406)
@@ -64,11 +64,25 @@
 next 
 </pre>
 
+<pre class="macro-example">
+connect '/C=1'
+if result == 1 then
+  dispstr 'Error opening COM1'   ; Ú‘±ó‘Ô‚Å‚È‚¢‚½‚߁A‚±‚̃Rƒ}ƒ“ƒh‚ÍŽ¸”s‚·‚éB
+elseif result == 2 then
+  dispstr 'Successfully opened COM1'
+endif
+end
+</pre>
+
 <h2>’ˆÓ</h2>
 
 <p>
 “–ŠYƒRƒ}ƒ“ƒh‚̏o—Í“à—e‚̓zƒXƒg‘¤‚©‚ç‚Í”FŽ¯‚Å‚«‚È‚¢B‚»‚Ì‚½‚߁A“–ŠYƒRƒ}ƒ“ƒh‚ðŽg—p‚·‚é‚ƁA’[––‰æ–Ê‚Ì•\Ž¦ó‘Ô‚ªƒzƒXƒg‘¤‚Æ‚¸‚ê‚Ä‚µ‚Ü‚¢A’[––‰æ–Ê‚Ì•\Ž¦‚ª•ö‚ê‚é‰Â”\«‚ª‚ ‚éB
 </p>
 
+<p>
+Tera Term‚͐ڑ±ó‘Ô‚Å‚È‚¢‚ƁAƒ}ƒNƒƒRƒ}ƒ“ƒh‚ÍŽÀs‚³‚ê‚È‚¢B
+</p>
+
 </body>
 </html>



Ttssh2-commit メーリングリストの案内
アーカイブの一覧に戻る