[Ttssh2-commit] [6532] チケット #36667 Add SendHex Command

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2016年 11月 3日 (木) 13:37:37 JST


Revision: 6532
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/6532
Author:   yutakapon
Date:     2016-11-03 13:37:37 +0900 (Thu, 03 Nov 2016)
Log Message:
-----------
チケット #36667 Add SendHex Command

sendマクロサンプルに16進数の使用例を追加した。

Ticket Links:
------------
    http://sourceforge.jp/projects/ttssh2/tracker/detail/36667

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

-------------- next part --------------
Modified: trunk/doc/en/html/macro/command/send.html
===================================================================
--- trunk/doc/en/html/macro/command/send.html	2016-11-02 17:28:22 UTC (rev 6531)
+++ trunk/doc/en/html/macro/command/send.html	2016-11-03 04:37:37 UTC (rev 6532)
@@ -36,8 +36,21 @@
 
 ; Send "ABC". (ASCII code of the character "A" is 65.)
 send  65 66 67
+
 myname='Tera Term'
 send 'My name is ' myname '.'
+
+; "ABC"
+send $41 $42 $43
+
+; "1"
+value = $31
+send value
+
+; "31"
+value = $31
+sprintf2 command "%02X" value
+send command
 </pre>
 
 
@@ -57,5 +70,11 @@
 See also "<a href="setsync.html">setsync</a>" for the synchronous mode.
 </p>
 
+<h2>See also</h2>
+<ul>
+  <li><a href="sendln.html">sendln</a></li>
+  <li><a href="../syntax/formats.html">Formats of constants</a></li>
+</ul>
+
 </body>
 </html>

Modified: trunk/doc/en/html/macro/command/sendln.html
===================================================================
--- trunk/doc/en/html/macro/command/sendln.html	2016-11-02 17:28:22 UTC (rev 6531)
+++ trunk/doc/en/html/macro/command/sendln.html	2016-11-03 04:37:37 UTC (rev 6532)
@@ -44,5 +44,10 @@
 See also "<a href="setsync.html">setsync</a>" for the synchronous mode.
 </p>
 
+<h2>See also</h2>
+<ul>
+  <li><a href="send.html">send</a></li>
+</ul>
+
 </body>
 </html>

Modified: trunk/doc/ja/html/macro/command/send.html
===================================================================
--- trunk/doc/ja/html/macro/command/send.html	2016-11-02 17:28:22 UTC (rev 6531)
+++ trunk/doc/ja/html/macro/command/send.html	2016-11-03 04:37:37 UTC (rev 6532)
@@ -35,8 +35,21 @@
 
 ; "ABC" \x82𑗐M\x82\xB3\x82\xB9\x82\xE9\x81B("A" \x82\xCC ASCII \x83R\x81[\x83h\x82\xCD65)
 send  65 66 67
+
 myname='Tera Term'
 send 'My name is ' myname '.'
+
+; "ABC"
+send $41 $42 $43
+
+; "1"
+value = $31
+send value
+
+; "31"
+value = $31
+sprintf2 command "%02X" value
+send command
 </pre>
 
 
@@ -56,5 +69,11 @@
 \x93\xAF\x8A\xFA\x83\x82\x81[\x83h\x82ɂ‚\xA2\x82Ă\xCD "<a href="setsync.html">setsync</a>" \x82\xF0\x8EQ\x8FƁB
 </p>
 
+<h2>\x8EQ\x8F\xC6</h2>
+<ul>
+  <li><a href="sendln.html">sendln</a></li>
+  <li><a href="../syntax/formats.html">\x92萔\x82̌`\x8E\xAE</a></li>
+</ul>
+
 </body>
 </html>

Modified: trunk/doc/ja/html/macro/command/sendln.html
===================================================================
--- trunk/doc/ja/html/macro/command/sendln.html	2016-11-02 17:28:22 UTC (rev 6531)
+++ trunk/doc/ja/html/macro/command/sendln.html	2016-11-03 04:37:37 UTC (rev 6532)
@@ -44,5 +44,10 @@
 \x93\xAF\x8A\xFA\x83\x82\x81[\x83h\x82ɂ‚\xA2\x82Ă\xCD "<a href="setsync.html">setsync</a>" \x82\xF0\x8EQ\x8FƁB
 </p>
 
+<h2>\x8EQ\x8F\xC6</h2>
+<ul>
+  <li><a href="send.html">send</a></li>
+</ul>
+
 </body>
 </html>



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