svnno****@sourc*****
svnno****@sourc*****
2013年 6月 24日 (月) 22:04:08 JST
Revision: 5332 http://sourceforge.jp/projects/ttssh2/scm/svn/commits/5332 Author: yutakapon Date: 2013-06-24 22:04:08 +0900 (Mon, 24 Jun 2013) Log Message: ----------- logautoclosemode マクロコマンドを追加した。 マクロ内で logopen でログを開いている状態で、マクロを停止させた場合、 自動的にログファイルをクローズする。 マクロを終了させたのに、裏でログが採取され続けているような状況を回避したい場合に利用する。 Modified Paths: -------------- trunk/doc/en/html/about/history.html trunk/doc/en/html/macro/command/index.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/teraterm.hhc trunk/doc/ja/teraterm.hhp Added Paths: ----------- trunk/doc/en/html/macro/command/logautoclosemode.html trunk/doc/ja/html/macro/command/logautoclosemode.html -------------- next part -------------- Modified: trunk/doc/en/html/about/history.html =================================================================== --- trunk/doc/en/html/about/history.html 2013-06-24 12:45:31 UTC (rev 5331) +++ trunk/doc/en/html/about/history.html 2013-06-24 13:04:08 UTC (rev 5332) @@ -50,6 +50,7 @@ <ul> <li>added the "Command not supported." new message in the <a href="../macro/appendixes/errormessages.html">Error messages</a>.</li> <li>added the detail information on the error dialog.</li> + <li>added the <a href="../macro/command/logautoclosemode.html">logautoclosemode</a> command.</li> </ul></li> </ul> </li> Modified: trunk/doc/en/html/macro/command/index.html =================================================================== --- trunk/doc/en/html/macro/command/index.html 2013-06-24 12:45:31 UTC (rev 5331) +++ trunk/doc/en/html/macro/command/index.html 2013-06-24 13:04:08 UTC (rev 5332) @@ -38,6 +38,7 @@ <li><a href="kmtrecv.html">kmtrecv</a> <li><a href="kmtsend.html">kmtsend</a> <li><a href="loadkeymap.html">loadkeymap</a> + <li><a href="logautoclosemode.html">logautoclosemode</a> (version 4.79 or later) <li><a href="logclose.html">logclose</a> <li><a href="loginfo.html">loginfo</a> (version 4.73 or later) <li><a href="logopen.html">logopen</a> Copied: trunk/doc/en/html/macro/command/logautoclosemode.html (from rev 5330, trunk/doc/en/html/macro/command/enablekeyb.html) =================================================================== --- trunk/doc/en/html/macro/command/logautoclosemode.html (rev 0) +++ trunk/doc/en/html/macro/command/logautoclosemode.html 2013-06-24 13:04:08 UTC (rev 5332) @@ -0,0 +1,49 @@ +<!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>logautoclosemode</title> + <meta http-equiv="Content-Style-Type" content="text/css"> + <link rel="stylesheet" href="../../style.css" type="text/css"> +</head> + +<body> + + +<h1>logautoclosemode</h1> + +<p> +Closes a log file automatically when macro ends. +</p> + +<pre class="macro-syntax"> +logautoclosemode <flag> +</pre> + +<h2>Remarks</h2> + +<p> +When the value of <flag> is 1, a log file will be closed after the macro is finished.<br> +When the value of <flag> is 0, a log file will not be closed after the macro is finished. +</p> + +<h2>Example</h2> + +<pre class="macro-example"> +logautoclosemode 1 +logopen 'D:\teraterm_sample.log' 0 0 + +; do something... + +end +</pre> + +<h2>See also</h2> +<ul> + <li><a href="logopen.html">logopen</a></li> + <li><a href="logclose.html">logclose</a></li> +</ul> + +</body> +</html> Modified: trunk/doc/en/teraterm.hhc =================================================================== --- trunk/doc/en/teraterm.hhc 2013-06-24 12:45:31 UTC (rev 5331) +++ trunk/doc/en/teraterm.hhc 2013-06-24 13:04:08 UTC (rev 5332) @@ -717,6 +717,11 @@ <param name="ImageNumber" value="11"> </OBJECT> <LI> <OBJECT type="text/sitemap"> + <param name="Name" value="logautoclosemode"> + <param name="Local" value="html\macro\command\logautoclosemode.html"> + <param name="ImageNumber" value="11"> + </OBJECT> + <LI> <OBJECT type="text/sitemap"> <param name="Name" value="logclose"> <param name="Local" value="html\macro\command\logclose.html"> <param name="ImageNumber" value="11"> Modified: trunk/doc/en/teraterm.hhp =================================================================== --- trunk/doc/en/teraterm.hhp 2013-06-24 12:45:31 UTC (rev 5331) +++ trunk/doc/en/teraterm.hhp 2013-06-24 13:04:08 UTC (rev 5332) @@ -246,6 +246,7 @@ HlpMacroCommandKmtsend=html\macro\command\kmtsend.html HlpMacroCommandListbox=html\macro\command\listbox.html HlpMacroCommandLoadkeymap=html\macro\command\loadkeymap.html +HlpMacroCommandLogautoclose=html\macro\command\logautoclosemode.html HlpMacroCommandLogclose=html\macro\command\logclose.html HlpMacroCommandLoginfo=html\macro\command\loginfo.html HlpMacroCommandLogopen=html\macro\command\logopen.html Modified: trunk/doc/ja/html/about/history.html =================================================================== --- trunk/doc/ja/html/about/history.html 2013-06-24 12:45:31 UTC (rev 5331) +++ trunk/doc/ja/html/about/history.html 2013-06-24 13:04:08 UTC (rev 5332) @@ -50,6 +50,7 @@ <ul> <li><a href="../macro/appendixes/errormessages.html">\x83G\x83\x89\x81[\x83\x81\x83b\x83Z\x81[\x83W</a>\x82\xC9"Command not supported."\x82\xF0\x92lj\xC1\x82\xB5\x82\xBD\x81B</li> <li>\x83G\x83\x89\x81[\x83_\x83C\x83A\x83\x8D\x83O\x82ɏڍ\xEE\x95\xF1\x82\xF0\x92lj\xC1\x82\xB5\x82\xBD\x81B</li> + <li><a href="../macro/command/logautoclosemode.html">logautoclosemode</a>\x83R\x83}\x83\x93\x83h\x82\xF0\x92lj\xC1\x82\xB5\x82\xBD\x81B</li> </ul></li> </ul> </li> Modified: trunk/doc/ja/html/macro/command/index.html =================================================================== --- trunk/doc/ja/html/macro/command/index.html 2013-06-24 12:45:31 UTC (rev 5331) +++ trunk/doc/ja/html/macro/command/index.html 2013-06-24 13:04:08 UTC (rev 5332) @@ -38,6 +38,7 @@ <li><a href="kmtrecv.html">kmtrecv</a> <li><a href="kmtsend.html">kmtsend</a> <li><a href="loadkeymap.html">loadkeymap</a> + <li><a href="logautoclosemode.html">logautoclosemode</a> (\x83o\x81[\x83W\x83\x87\x83\x93 4.79\x88ȍ~) <li><a href="logclose.html">logclose</a> <li><a href="loginfo.html">loginfo</a> (\x83o\x81[\x83W\x83\x87\x83\x93 4.73\x88ȍ~) <li><a href="logopen.html">logopen</a> Copied: trunk/doc/ja/html/macro/command/logautoclosemode.html (from rev 5330, trunk/doc/ja/html/macro/command/enablekeyb.html) =================================================================== --- trunk/doc/ja/html/macro/command/logautoclosemode.html (rev 0) +++ trunk/doc/ja/html/macro/command/logautoclosemode.html 2013-06-24 13:04:08 UTC (rev 5332) @@ -0,0 +1,50 @@ +<!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>logautoclosemode</title> + <meta http-equiv="Content-Style-Type" content="text/css"> + <link rel="stylesheet" href="../../style.css" type="text/css"> +</head> + +<body> + + +<h1>logautoclosemode</h1> + +<p> +\x83}\x83N\x83\x8D\x8FI\x97\xB9\x8E\x9E\x81A\x8E\xA9\x93\xAE\x93I\x82Ƀ\x8D\x83O\x8D̎\xE6\x82\xF0\x92\xE2\x8E~\x82\xB7\x82\xE9\x81B +</p> + +<pre class="macro-syntax"> +logautoclosemode <flag> +</pre> + +<h2>\x89\xF0\x90\xE0</h2> + +<p> +<flag> \x82̒l\x82\xAA1\x82̏ꍇ\x81A\x83}\x83N\x83\x8D\x8FI\x97\xB9\x8E\x9E\x81A\x8E\xA9\x93\xAE\x93I\x82Ƀ\x8D\x83O\x8D̎\xE6\x82\xF0\x92\xE2\x8E~\x82\xB7\x82\xE9\x81B<br> +<flag> \x82̒l\x82\xAA0\x82̏ꍇ\x81A\x83}\x83N\x83\x8D\x8FI\x97\xB9\x8E\x9E\x81A\x8E\xA9\x93\xAE\x93I\x82Ƀ\x8D\x83O\x8D̎\xE6\x82\xF0\x92\xE2\x8E~\x82\xB5\x82Ȃ\xA2\x81B +</p> + +<h2>\x97\xE1</h2> + +<pre class="macro-example"> +logautoclosemode 1 +logopen 'D:\teraterm_sample.log' 0 0 + +; do something... + +end +</pre> + + +<h2>\x8EQ\x8F\xC6</h2> +<ul> + <li><a href="logopen.html">logopen</a></li> + <li><a href="logclose.html">logclose</a></li> +</ul> + +</body> +</html> Modified: trunk/doc/ja/teraterm.hhc =================================================================== --- trunk/doc/ja/teraterm.hhc 2013-06-24 12:45:31 UTC (rev 5331) +++ trunk/doc/ja/teraterm.hhc 2013-06-24 13:04:08 UTC (rev 5332) @@ -729,6 +729,10 @@ <param name="ImageNumber" value="11"> </OBJECT> <LI> <OBJECT type="text/sitemap"> + <param name="Name" value="logautoclosemode"> + <param name="Local" value="html\macro\command\logautoclosemode.html"> + </OBJECT> + <LI> <OBJECT type="text/sitemap"> <param name="Name" value="logclose"> <param name="Local" value="html\macro\command\logclose.html"> <param name="ImageNumber" value="11"> Modified: trunk/doc/ja/teraterm.hhp =================================================================== --- trunk/doc/ja/teraterm.hhp 2013-06-24 12:45:31 UTC (rev 5331) +++ trunk/doc/ja/teraterm.hhp 2013-06-24 13:04:08 UTC (rev 5332) @@ -256,6 +256,7 @@ HlpMacroCommandKmtsend=html\macro\command\kmtsend.html HlpMacroCommandListbox=html\macro\command\listbox.html HlpMacroCommandLoadkeymap=html\macro\command\loadkeymap.html +HlpMacroCommandLogautoclose=html\macro\command\logautoclosemode.html HlpMacroCommandLogclose=html\macro\command\logclose.html HlpMacroCommandLoginfo=html\macro\command\loginfo.html HlpMacroCommandLogopen=html\macro\command\logopen.html