svnno****@sourc*****
svnno****@sourc*****
2010年 3月 25日 (木) 22:47:43 JST
Revision: 3823 http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=3823 Author: yutakapon Date: 2010-03-25 22:47:43 +0900 (Thu, 25 Mar 2010) Log Message: ----------- YMODEM ãã¯ãã³ãã³ãã追å ããã ãã»ymodemsend ãã»ymodemrecv ZMODEM ãã¯ãã³ãã³ãã®ãµã³ãã«ã³ã¼ã誤ããä¿®æ£ããã Modified Paths: -------------- trunk/doc/en/html/about/history.html trunk/doc/en/html/macro/command/index.html trunk/doc/en/html/macro/command/zmodemrecv.html trunk/doc/en/html/macro/command/zmodemsend.html trunk/doc/en/teraterm.hhc trunk/doc/en/teraterm.hhp trunk/doc/ja/html/about/history.html trunk/doc/ja/html/macro/command/index.html trunk/doc/ja/html/macro/command/zmodemrecv.html trunk/doc/ja/html/macro/command/zmodemsend.html trunk/doc/ja/teraterm.hhc trunk/doc/ja/teraterm.hhp Added Paths: ----------- trunk/doc/en/html/macro/command/ymodemrecv.html trunk/doc/en/html/macro/command/ymodemsend.html trunk/doc/ja/html/macro/command/ymodemrecv.html trunk/doc/ja/html/macro/command/ymodemsend.html -------------- next part -------------- Modified: trunk/doc/en/html/about/history.html =================================================================== --- trunk/doc/en/html/about/history.html 2010-03-25 13:19:53 UTC (rev 3822) +++ trunk/doc/en/html/about/history.html 2010-03-25 13:47:43 UTC (rev 3823) @@ -38,6 +38,8 @@ <ul> <li>added the "YMODEM" under the Transfer of File menu.</li> <li>added the YmodemRcvCommand entry in the teraterm.ini file. The default is empty.</li> + <li>added the "<a href="../macro/command/ymodemrecv.html">ymodemrecv</a>" macro command.</li> + <li>added the "<a href="../macro/command/ymodemsend.html">ymodemsend</a>" macro command.</li> </ul></li> </ul> </li> Modified: trunk/doc/en/html/macro/command/index.html =================================================================== --- trunk/doc/en/html/macro/command/index.html 2010-03-25 13:19:53 UTC (rev 3822) +++ trunk/doc/en/html/macro/command/index.html 2010-03-25 13:47:43 UTC (rev 3823) @@ -76,6 +76,8 @@ <li><a href="waitregex.html">waitregex</a> (version 4.21 or later) <li><a href="xmodemrecv.html">xmodemrecv</a> <li><a href="xmodemsend.html">xmodemsend</a> + <li><a href="ymodemrecv.html">ymodemrecv</a> (version 4.66 or later) + <li><a href="ymodemsend.html">ymodemsend</a> (version 4.66 or later) <li><a href="zmodemrecv.html">zmodemrecv</a> <li><a href="zmodemsend.html">zmodemsend</a> </ul> Added: trunk/doc/en/html/macro/command/ymodemrecv.html =================================================================== --- trunk/doc/en/html/macro/command/ymodemrecv.html (rev 0) +++ trunk/doc/en/html/macro/command/ymodemrecv.html 2010-03-25 13:47:43 UTC (rev 3823) @@ -0,0 +1,36 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" + "http://www.w3.org/TR/html4/strict.dtd"> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <title>ymodemrecv</title> + <meta http-equiv="Content-Style-Type" content="text/css"> + <link rel="stylesheet" href="../../style.css" type="text/css"> +</head> + +<body> + + +<h1>ymodemrecv</h1> + +<p> +Receives a file from the host with the YMODEM protocol. +</p> + +<pre class="macro-syntax"> +ymodemrecv +</pre> + +<h2>Remarks</h2> + +<p> +Pauses until the end of the file transfer.<br> +If the file is transferred successfully, the system variable "result" is set to 1. Otherwise, "result" is set to zero. +</p> + +<h2>Reference</h2> + +<a href="ymodemsend.html">ymodemsend</a><br> + +</body> +</html> Added: trunk/doc/en/html/macro/command/ymodemsend.html =================================================================== --- trunk/doc/en/html/macro/command/ymodemsend.html (rev 0) +++ trunk/doc/en/html/macro/command/ymodemsend.html 2010-03-25 13:47:43 UTC (rev 3823) @@ -0,0 +1,68 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" + "http://www.w3.org/TR/html4/strict.dtd"> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <title>ymodemsend</title> + <meta http-equiv="Content-Style-Type" content="text/css"> + <link rel="stylesheet" href="../../style.css" type="text/css"> +</head> + +<body> + + +<h1>ymodemsend</h1> + +<p> +Sends a file from the host with the YMODEM protocol. +</p> + +<pre class="macro-syntax"> +ymodemsend <filename> +</pre> + +<h2>Remarks</h2> + +<p> +Causes Tera Term to send the file <filename> to the host with the YMODEM protocol. Pauses until the end of the file transfer.<br> +If the file is transferred successfully, the system variable "result" is set to 1. Otherwise, "result" is set to zero. +</p> + +<h2>Example</h2> + +<pre class="macro-example"> +filename = 'test.ttl' +srcfile = 'C:\Documents and Settings\yutaka\My Documents\TeraTermMacro\test.ttl' +dstfile = 'C:\usr\ttssh2\teraterm\debug\test.ttl' + +ymodemsend srcfile +if result=1 then + messagebox 'File transfer success' 'Send' +else + messagebox 'File transfer failure' 'Send' +endif + +sprintf2 var 'sb %s' filename +sendln var +ymodemrecv +if result=1 then + messagebox 'File transfer success' 'Recv' +else + messagebox 'File transfer failure' 'Recv' +endif + +sprintf2 var 'fc /b %s %s' srcfile dstfile +exec var +if result=0 then + messagebox 'Two files are same.' 'Compare' +else + messagebox 'Two files are not same.' 'Compare' +endif +</pre> + +<h2>Reference</h2> + +<a href="ymodemrecv.html">ymodemrecv</a><br> + +</body> +</html> Modified: trunk/doc/en/html/macro/command/zmodemrecv.html =================================================================== --- trunk/doc/en/html/macro/command/zmodemrecv.html 2010-03-25 13:19:53 UTC (rev 3822) +++ trunk/doc/en/html/macro/command/zmodemrecv.html 2010-03-25 13:47:43 UTC (rev 3823) @@ -28,5 +28,9 @@ If the file is transferred successfully, the system variable "result" is set to 1. Otherwise, "result" is set to zero. </p> +<h2>Reference</h2> + +<a href="zmodemsend.html">zmodemsend</a><br> + </body> </html> Modified: trunk/doc/en/html/macro/command/zmodemsend.html =================================================================== --- trunk/doc/en/html/macro/command/zmodemsend.html 2010-03-25 13:19:53 UTC (rev 3822) +++ trunk/doc/en/html/macro/command/zmodemsend.html 2010-03-25 13:47:43 UTC (rev 3823) @@ -36,8 +36,12 @@ <h2>Example</h2> <pre class="macro-example"> -zmodem 'readme.txt' 0 +zmodemsend 'readme.txt' 0 </pre> +<h2>Reference</h2> + +<a href="zmodemrecv.html">zmodemrecv</a><br> + </body> </html> Modified: trunk/doc/en/teraterm.hhc =================================================================== --- trunk/doc/en/teraterm.hhc 2010-03-25 13:19:53 UTC (rev 3822) +++ trunk/doc/en/teraterm.hhc 2010-03-25 13:47:43 UTC (rev 3823) @@ -869,6 +869,16 @@ <param name="ImageNumber" value="11"> </OBJECT> <LI> <OBJECT type="text/sitemap"> + <param name="Name" value="ymodemrecv"> + <param name="Local" value="html\macro\command\ymodemrecv.html"> + <param name="ImageNumber" value="11"> + </OBJECT> + <LI> <OBJECT type="text/sitemap"> + <param name="Name" value="ymodemsend"> + <param name="Local" value="html\macro\command\ymodemsend.html"> + <param name="ImageNumber" value="11"> + </OBJECT> + <LI> <OBJECT type="text/sitemap"> <param name="Name" value="zmodemrecv"> <param name="Local" value="html\macro\command\zmodemrecv.html"> <param name="ImageNumber" value="11"> Modified: trunk/doc/en/teraterm.hhp =================================================================== --- trunk/doc/en/teraterm.hhp 2010-03-25 13:19:53 UTC (rev 3822) +++ trunk/doc/en/teraterm.hhp 2010-03-25 13:47:43 UTC (rev 3823) @@ -291,6 +291,8 @@ HlpMacroCommandXmodemrecv=html\macro\command\xmodemrecv.html HlpMacroCommandXmodemsend=html\macro\command\xmodemsend.html HlpMacroCommandYesnobox=html\macro\command\yesnobox.html +HlpMacroCommandYmodemrecv=html\macro\command\ymodemrecv.html +HlpMacroCommandYmodemsend=html\macro\command\ymodemsend.html HlpMacroCommandZmodemrecv=html\macro\command\zmodemrecv.html HlpMacroCommandZmodemsend=html\macro\command\zmodemsend.html HlpMacroAppendixes=html\macro\appendixes\index.html Modified: trunk/doc/ja/html/about/history.html =================================================================== --- trunk/doc/ja/html/about/history.html 2010-03-25 13:19:53 UTC (rev 3822) +++ trunk/doc/ja/html/about/history.html 2010-03-25 13:47:43 UTC (rev 3823) @@ -38,6 +38,8 @@ <ul> <li>Filej [ÌTransferÉ"YMODEM"ðÇÁµ½B</li> <li>teraterm.iniÉ YmodemRcvCommand GgðÇÁµ½BftHgÍóB</li> + <li>}NR}h "<a href="../macro/command/ymodemrecv.html">ymodemrecv</a>" ðÇÁµ½B</li> + <li>}NR}h "<a href="../macro/command/ymodemsend.html">ymodemsend</a>" ðÇÁµ½B</li> </ul></li> </ul> </li> Modified: trunk/doc/ja/html/macro/command/index.html =================================================================== --- trunk/doc/ja/html/macro/command/index.html 2010-03-25 13:19:53 UTC (rev 3822) +++ trunk/doc/ja/html/macro/command/index.html 2010-03-25 13:47:43 UTC (rev 3823) @@ -76,6 +76,8 @@ <li><a href="waitregex.html">waitregex</a> (o[W 4.21È~) <li><a href="xmodemrecv.html">xmodemrecv</a> <li><a href="xmodemsend.html">xmodemsend</a> + <li><a href="ymodemrecv.html">ymodemrecv</a> (o[W 4.66È~) + <li><a href="ymodemsend.html">ymodemsend</a> (o[W 4.66È~) <li><a href="zmodemrecv.html">zmodemrecv</a> <li><a href="zmodemsend.html">zmodemsend</a> </ul> Added: trunk/doc/ja/html/macro/command/ymodemrecv.html =================================================================== --- trunk/doc/ja/html/macro/command/ymodemrecv.html (rev 0) +++ trunk/doc/ja/html/macro/command/ymodemrecv.html 2010-03-25 13:47:43 UTC (rev 3823) @@ -0,0 +1,36 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" + "http://www.w3.org/TR/html4/strict.dtd"> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS"> + <title>ymodemrecv</title> + <meta http-equiv="Content-Style-Type" content="text/css"> + <link rel="stylesheet" href="../../style.css" type="text/css"> +</head> + +<body> + + +<h1>ymodemrecv</h1> + +<p> +YMODEM vgRÅt@CðóM·éB +</p> + +<pre class="macro-syntax"> +ymodemrecv +</pre> + +<h2>ðà</h2> + +<p> +óMªIíéÜÅÌR}hÍÀs³êÈ¢B<br> +t@Cª³µ]³ê½êAVXeÏ result É 1 ªi[³êéB»êÈOÌêA result É 0 ªi[³êéB +</p> + +<h2>QÆ</h2> + +<a href="ymodemsend.html">ymodemsend</a><br> + +</body> +</html> Added: trunk/doc/ja/html/macro/command/ymodemsend.html =================================================================== --- trunk/doc/ja/html/macro/command/ymodemsend.html (rev 0) +++ trunk/doc/ja/html/macro/command/ymodemsend.html 2010-03-25 13:47:43 UTC (rev 3823) @@ -0,0 +1,68 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" + "http://www.w3.org/TR/html4/strict.dtd"> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS"> + <title>ymodemsend</title> + <meta http-equiv="Content-Style-Type" content="text/css"> + <link rel="stylesheet" href="../../style.css" type="text/css"> +</head> + +<body> + + +<h1>ymodemsend</h1> + +<p> +YMODEM vgRÅt@CðM·éB +</p> + +<pre class="macro-syntax"> +ymodemsend <filename> +</pre> + +<h2>ðà</h2> + +<p> +t@C <filename> ð YMODEM vgRÅM·éBMªIíéÜÅÌR}hÍÀs³êÈ¢B<br> +t@Cª³µ]³ê½êAVXeÏ result É1ªi[³êéB»êÈOÌêA result É0ªi[³êéB +</p> + +<h2>á</h2> + +<pre class="macro-example"> +filename = 'test.ttl' +srcfile = 'C:\Documents and Settings\yutaka\My Documents\TeraTermMacro\test.ttl' +dstfile = 'C:\usr\ttssh2\teraterm\debug\test.ttl' + +ymodemsend srcfile +if result=1 then + messagebox 'File transfer success' 'Send' +else + messagebox 'File transfer failure' 'Send' +endif + +sprintf2 var 'sb %s' filename +sendln var +ymodemrecv +if result=1 then + messagebox 'File transfer success' 'Recv' +else + messagebox 'File transfer failure' 'Recv' +endif + +sprintf2 var 'fc /b %s %s' srcfile dstfile +exec var +if result=0 then + messagebox 'Two files are same.' 'Compare' +else + messagebox 'Two files are not same.' 'Compare' +endif +</pre> + +<h2>QÆ</h2> + +<a href="ymodemrecv.html">ymodemrecv</a><br> + +</body> +</html> Modified: trunk/doc/ja/html/macro/command/zmodemrecv.html =================================================================== --- trunk/doc/ja/html/macro/command/zmodemrecv.html 2010-03-25 13:19:53 UTC (rev 3822) +++ trunk/doc/ja/html/macro/command/zmodemrecv.html 2010-03-25 13:47:43 UTC (rev 3823) @@ -28,5 +28,9 @@ t@Cª³µ]³ê½êAVXeÏ result É 1 ªi[³êéB»êÈOÌêA result É 0 ªi[³êéB </p> +<h2>QÆ</h2> + +<a href="zmodemsend.html">zmodemsend</a><br> + </body> </html> Modified: trunk/doc/ja/html/macro/command/zmodemsend.html =================================================================== --- trunk/doc/ja/html/macro/command/zmodemsend.html 2010-03-25 13:19:53 UTC (rev 3822) +++ trunk/doc/ja/html/macro/command/zmodemsend.html 2010-03-25 13:47:43 UTC (rev 3823) @@ -36,8 +36,12 @@ <h2>á</h2> <pre class="macro-example"> -zmodem 'readme.txt' 0 +zmodemsend 'readme.txt' 0 </pre> +<h2>QÆ</h2> + +<a href="zmodemrecv.html">zmodemrecv</a><br> + </body> </html> Modified: trunk/doc/ja/teraterm.hhc =================================================================== --- trunk/doc/ja/teraterm.hhc 2010-03-25 13:19:53 UTC (rev 3822) +++ trunk/doc/ja/teraterm.hhc 2010-03-25 13:47:43 UTC (rev 3823) @@ -881,6 +881,14 @@ <param name="ImageNumber" value="11"> </OBJECT> <LI> <OBJECT type="text/sitemap"> + <param name="Name" value="ymodemrecv"> + <param name="Local" value="html\macro\command\ymodemrecv.html"> + </OBJECT> + <LI> <OBJECT type="text/sitemap"> + <param name="Name" value="ymodemsend"> + <param name="Local" value="html\macro\command\ymodemsend.html"> + </OBJECT> + <LI> <OBJECT type="text/sitemap"> <param name="Name" value="zmodemrecv"> <param name="Local" value="html\macro\command\zmodemrecv.html"> <param name="ImageNumber" value="11"> Modified: trunk/doc/ja/teraterm.hhp =================================================================== --- trunk/doc/ja/teraterm.hhp 2010-03-25 13:19:53 UTC (rev 3822) +++ trunk/doc/ja/teraterm.hhp 2010-03-25 13:47:43 UTC (rev 3823) @@ -301,6 +301,8 @@ HlpMacroCommandXmodemrecv=html\macro\command\xmodemrecv.html HlpMacroCommandXmodemsend=html\macro\command\xmodemsend.html HlpMacroCommandYesnobox=html\macro\command\yesnobox.html +HlpMacroCommandYmodemrecv=html\macro\command\ymodemrecv.html +HlpMacroCommandYmodemsend=html\macro\command\ymodemsend.html HlpMacroCommandZmodemrecv=html\macro\command\zmodemrecv.html HlpMacroCommandZmodemsend=html\macro\command\zmodemsend.html HlpMacroAppendixes=html\macro\appendixes\index.html