[Ttssh2-commit] [4447] サンプルコードを実用性のあるものに差し替えた。

Zurück zum Archiv-Index

svnno****@sourc***** svnno****@sourc*****
2011年 4月 18日 (月) 00:20:24 JST


Revision: 4447
          http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=4447
Author:   yutakapon
Date:     2011-04-18 00:20:24 +0900 (Mon, 18 Apr 2011)

Log Message:
-----------
サンプルコードを実用性のあるものに差し替えた。

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


-------------- next part --------------
Modified: trunk/doc/en/html/macro/command/enablekeyb.html
===================================================================
--- trunk/doc/en/html/macro/command/enablekeyb.html	2011-04-17 10:18:37 UTC (rev 4446)
+++ trunk/doc/en/html/macro/command/enablekeyb.html	2011-04-17 15:20:24 UTC (rev 4447)
@@ -31,7 +31,21 @@
 <h2>Example</h2>
 
 <pre class="macro-example">
+; Disabling a user input
 enablekeyb 0
+
+for i 1 5
+	sendln 'date'
+	wait '$'
+	pause 5
+next
+
+; Enabling a user input
+enablekeyb 1
+
+sendln 'cat &gt; /tmp/foo.txt'
+pause 10
+send $4   ; CTRL+D
 </pre>
 
 </body>

Modified: trunk/doc/ja/html/macro/command/enablekeyb.html
===================================================================
--- trunk/doc/ja/html/macro/command/enablekeyb.html	2011-04-17 10:18:37 UTC (rev 4446)
+++ trunk/doc/ja/html/macro/command/enablekeyb.html	2011-04-17 15:20:24 UTC (rev 4447)
@@ -31,7 +31,21 @@
 <h2>—á</h2>
 
 <pre class="macro-example">
+; ƒ†[ƒU‚̃L[“ü—͂𖳎‹‚·‚é
 enablekeyb 0
+
+for i 1 5
+	sendln 'date'
+	wait '$'
+	pause 5
+next
+
+; ƒ†[ƒU‚̃L[“ü—Í‚ð‹–‰Â‚·‚é
+enablekeyb 1
+
+sendln 'cat &gt; /tmp/foo.txt'
+pause 10
+send $4   ; CTRL+D
 </pre>
 
 </body>



Ttssh2-commit メーリングリストの案内
Zurück zum Archiv-Index