[Ttssh2-commit] [3604] gethostname コマンドの説明文追加と、サンプルコード誤りを修正した。

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 8月 17日 (月) 00:15:22 JST


Revision: 3604
          http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=3604
Author:   yutakapon
Date:     2009-08-17 00:15:22 +0900 (Mon, 17 Aug 2009)

Log Message:
-----------
gethostname コマンドの説明文追加と、サンプルコード誤りを修正した。

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


-------------- next part --------------
Modified: trunk/doc/en/html/macro/command/gethostname.html
===================================================================
--- trunk/doc/en/html/macro/command/gethostname.html	2009-08-16 13:34:05 UTC (rev 3603)
+++ trunk/doc/en/html/macro/command/gethostname.html	2009-08-16 15:15:22 UTC (rev 3604)
@@ -14,7 +14,7 @@
 <h1>gethostname</h1>
 
 <p>
-Gets the hostname.
+Gets the hostname or IP address.
 </p>
 
 <pre class="macro-syntax">
@@ -24,17 +24,17 @@
 <h2>Remarks</h2>
 
 <p>
-Retrieves the connecting hostname of Tera Term and stores it in the string variable &lt;strvar&gt;.
+Retrieves the destination hostname or IP address of Tera Term and stores it in the string variable &lt;strvar&gt;.
 </p>
 
 <h2>Example</h2>
 
 <pre class="macro-example">
 testlink
-if result > 0 then
+if result > 1 then
     gethostname hostname
     messagebox hostname result
-end if
+endif
 </pre>
 
 </body>

Modified: trunk/doc/ja/html/macro/command/gethostname.html
===================================================================
--- trunk/doc/ja/html/macro/command/gethostname.html	2009-08-16 13:34:05 UTC (rev 3603)
+++ trunk/doc/ja/html/macro/command/gethostname.html	2009-08-16 15:15:22 UTC (rev 3604)
@@ -14,7 +14,7 @@
 <h1>gethostname</h1>
 
 <p>
-ƒzƒXƒg–¼‚𓾂éB
+Ú‘±æ‚̃zƒXƒg–¼iIPƒAƒhƒŒƒXj‚𓾂éB
 </p>
 
 <pre class="macro-syntax">
@@ -24,17 +24,17 @@
 <h2>‰ðà</h2>
 
 <p>
-Tera Term ‚ªÚ‘±‚µ‚Ä‚¢‚éƒzƒXƒg–¼‚𕶎š—ñ•Ï” &lt;strvar&gt; ‚ÉŠi”[‚·‚éB
+Tera Term ‚ªÚ‘±‚µ‚Ä‚¢‚éƒzƒXƒg–¼iIPƒAƒhƒŒƒXj‚ðA•¶Žš—ñ•Ï” &lt;strvar&gt; ‚ÉŠi”[‚·‚éB
 </p>
 
 <h2>—á</h2>
 
 <pre class="macro-example">
 testlink
-if result > 0 then
+if result > 1 then
     gethostname hostname
     messagebox hostname result
-end if
+endif
 </pre>
 
 </body>



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