[Ttssh2-commit] [4567] サンプルコードを追加した。

svnno****@sourc***** svnno****@sourc*****
2011年 8月 3日 (水) 19:24:44 JST


Revision: 4567
          http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=4567
Author:   yutakapon
Date:     2011-08-03 19:24:44 +0900 (Wed, 03 Aug 2011)

Log Message:
-----------
サンプルコードを追加した。
cf.
http://logmett.com/forum/viewtopic.php?f=3&t=1538&p=5402#p5402

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


-------------- next part --------------
Modified: trunk/doc/en/html/macro/command/waitrecv.html
===================================================================
--- trunk/doc/en/html/macro/command/waitrecv.html	2011-08-02 14:08:28 UTC (rev 4566)
+++ trunk/doc/en/html/macro/command/waitrecv.html	2011-08-03 10:24:44 UTC (rev 4567)
@@ -64,5 +64,28 @@
  </tr>
 </table>
 
+<h2>Example</h2>
+
+<pre class="macro-example">
+; Every byte is shown in hexadecimal
+setdebug 2
+waitrecv '43 0D'  2 1
+setdebug 0
+
+; In this mode non printable characters are shown as control keys e.g. ^A = 1, ^B = 2 etc.
+setdebug 1
+waitrecv 'C^M' 2 1
+setdebug 0
+
+; Normal mode
+setdebug 0
+waitrecv 'C'#13 2 1
+</pre>
+
+<h2>Reference</h2>
+
+<a href="setdebug.html">setdebug</a><br>
+<a href="wait.html">wait</a><br>
+
 </body>
 </html>

Modified: trunk/doc/ja/html/macro/command/waitrecv.html
===================================================================
--- trunk/doc/ja/html/macro/command/waitrecv.html	2011-08-02 14:08:28 UTC (rev 4566)
+++ trunk/doc/ja/html/macro/command/waitrecv.html	2011-08-03 10:24:44 UTC (rev 4567)
@@ -63,5 +63,29 @@
  </tr>
 </table>
 
+
+<h2>—á</h2>
+
+<pre class="macro-example">
+; Every byte is shown in hexadecimal
+setdebug 2
+waitrecv '43 0D'  2 1
+setdebug 0
+
+; In this mode non printable characters are shown as control keys e.g. ^A = 1, ^B = 2 etc.
+setdebug 1
+waitrecv 'C^M' 2 1
+setdebug 0
+
+; Normal mode
+setdebug 0
+waitrecv 'C'#13 2 1
+</pre>
+
+<h2>ŽQÆ</h2>
+
+<a href="setdebug.html">setdebug</a><br>
+<a href="wait.html">wait</a><br>
+
 </body>
 </html>



Ttssh2-commit メーリングリストの案内