svnno****@sourc*****
svnno****@sourc*****
2013年 3月 23日 (土) 18:32:31 JST
Revision: 5164 http://sourceforge.jp/projects/ttssh2/scm/svn/commits/5164 Author: yutakapon Date: 2013-03-23 18:32:31 +0900 (Sat, 23 Mar 2013) Log Message: ----------- logrotate マクロコマンドのドキュメントを追加した。 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/logrotate.html trunk/doc/ja/html/macro/command/logrotate.html -------------- next part -------------- Modified: trunk/doc/en/html/about/history.html =================================================================== --- trunk/doc/en/html/about/history.html 2013-03-23 09:30:16 UTC (rev 5163) +++ trunk/doc/en/html/about/history.html 2013-03-23 09:32:31 UTC (rev 5164) @@ -42,6 +42,7 @@ <li>added the <a href="../macro/command/listbox.html">listbox</a> command.</li> <li>added the <a href="../macro/command/getipv4addr.html">getipv4addr</a> command.</li> <li>added the <a href="../macro/command/getipv6addr.html">getipv6addr</a> command.</li> + <li>added the <a href="../macro/command/logrotate.html">logrotate</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-03-23 09:30:16 UTC (rev 5163) +++ trunk/doc/en/html/macro/command/index.html 2013-03-23 09:32:31 UTC (rev 5164) @@ -42,6 +42,7 @@ <li><a href="loginfo.html">loginfo</a> (version 4.73 or later) <li><a href="logopen.html">logopen</a> <li><a href="logpause.html">logpause</a> + <li><a href="logrotate.html">logrotate</a> (version 4.78 or later) <li><a href="logstart.html">logstart</a> <li><a href="logwrite.html">logwrite</a> <li><a href="quickvanrecv.html">quickvanrecv</a> Copied: trunk/doc/en/html/macro/command/logrotate.html (from rev 5161, trunk/doc/en/html/macro/command/getipv6addr.html) =================================================================== --- trunk/doc/en/html/macro/command/logrotate.html (rev 0) +++ trunk/doc/en/html/macro/command/logrotate.html 2013-03-23 09:32:31 UTC (rev 5164) @@ -0,0 +1,57 @@ +<!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>logrotate</title> + <meta http-equiv="Content-Style-Type" content="text/css"> + <link rel="stylesheet" href="../../style.css" type="text/css"> +</head> + +<body> + + +<h1>logrotate</h1> + +<p> +Rotates a log file. +</p> + +<pre class="macro-syntax"> +logrotate 'size' <num> +logrotate 'halt' +</pre> + +<h2>Parameters</h2> + +<dl> + <dt class="macro">'size' <num></dt> + <dd>When a log file size is over <num> byte, the log file is be rotated.<br> + The <num> value must be larger than 128.</dd> + + <dt class="macro">'halt'</dt> + <dd>The log rotation is stopped.</dd> +</dl> + +<h2>Example</h2> + +<pre class="macro-example"> +getspecialfolder str "Desktop" +changedir str +logopen 'teraterm_sample.log' 0 0 +; Start log rotation +logrotate 'size' 2048 +pause 600 +; Stop log rotation +logrotate 'halt' +pause 600 +logclose +</pre> + +<h2>See also</h2> +<ul> + <li><a href="logopen.html">logopen</a></li> +</ul> + +</body> +</html> Modified: trunk/doc/en/teraterm.hhc =================================================================== --- trunk/doc/en/teraterm.hhc 2013-03-23 09:30:16 UTC (rev 5163) +++ trunk/doc/en/teraterm.hhc 2013-03-23 09:32:31 UTC (rev 5164) @@ -737,6 +737,11 @@ <param name="ImageNumber" value="11"> </OBJECT> <LI> <OBJECT type="text/sitemap"> + <param name="Name" value="logrotate"> + <param name="Local" value="html\macro\command\logrotate.html"> + <param name="ImageNumber" value="11"> + </OBJECT> + <LI> <OBJECT type="text/sitemap"> <param name="Name" value="logstart"> <param name="Local" value="html\macro\command\logstart.html"> <param name="ImageNumber" value="11"> Modified: trunk/doc/en/teraterm.hhp =================================================================== --- trunk/doc/en/teraterm.hhp 2013-03-23 09:30:16 UTC (rev 5163) +++ trunk/doc/en/teraterm.hhp 2013-03-23 09:32:31 UTC (rev 5164) @@ -241,6 +241,7 @@ HlpMacroCommandLoginfo=html\macro\command\loginfo.html HlpMacroCommandLogopen=html\macro\command\logopen.html HlpMacroCommandLogpause=html\macro\command\logpause.html +HlpMacroCommandLogrotate=html\macro\command\logrotate.html HlpMacroCommandLogstart=html\macro\command\logstart.html HlpMacroCommandLogwrite=html\macro\command\logwrite.html HlpMacroCommandLoop=html\macro\command\doloop.html Modified: trunk/doc/ja/html/about/history.html =================================================================== --- trunk/doc/ja/html/about/history.html 2013-03-23 09:30:16 UTC (rev 5163) +++ trunk/doc/ja/html/about/history.html 2013-03-23 09:32:31 UTC (rev 5164) @@ -41,6 +41,7 @@ <li><a href="../macro/command/listbox.html">listbox</a>\x83R\x83}\x83\x93\x83h\x82\xF0\x92lj\xC1\x82\xB5\x82\xBD\x81B</li> <li><a href="../macro/command/getipv4addr.html">getipv4addr</a>\x83R\x83}\x83\x93\x83h\x82\xF0\x92lj\xC1\x82\xB5\x82\xBD\x81B</li> <li><a href="../macro/command/getipv6addr.html">getipv6addr</a>\x83R\x83}\x83\x93\x83h\x82\xF0\x92lj\xC1\x82\xB5\x82\xBD\x81B</li> + <li><a href="../macro/command/logrotate.html">logrotate</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-03-23 09:30:16 UTC (rev 5163) +++ trunk/doc/ja/html/macro/command/index.html 2013-03-23 09:32:31 UTC (rev 5164) @@ -42,6 +42,7 @@ <li><a href="loginfo.html">loginfo</a> (\x83o\x81[\x83W\x83\x87\x83\x93 4.73\x88ȍ~) <li><a href="logopen.html">logopen</a> <li><a href="logpause.html">logpause</a> + <li><a href="logrotate.html">logrotate</a> (\x83o\x81[\x83W\x83\x87\x83\x93 4.78\x88ȍ~) <li><a href="logstart.html">logstart</a> <li><a href="logwrite.html">logwrite</a> <li><a href="quickvanrecv.html">quickvanrecv</a> Copied: trunk/doc/ja/html/macro/command/logrotate.html (from rev 5161, trunk/doc/ja/html/macro/command/getipv6addr.html) =================================================================== --- trunk/doc/ja/html/macro/command/logrotate.html (rev 0) +++ trunk/doc/ja/html/macro/command/logrotate.html 2013-03-23 09:32:31 UTC (rev 5164) @@ -0,0 +1,59 @@ +<!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>logrotate</title> + <meta http-equiv="Content-Style-Type" content="text/css"> + <link rel="stylesheet" href="../../style.css" type="text/css"> +</head> + +<body> + + +<h1>logrotate</h1> + +<p> +\x83\x8D\x83O\x82\xF0\x83\x8D\x81[\x83e\x81[\x83g\x82\xB7\x82\xE9\x81B +</p> + +<pre class="macro-syntax"> +logrotate 'size' <num> +logrotate 'halt' +</pre> + + +<h2>\x83p\x83\x89\x83\x81\x81[\x83^</h2> + +<dl> + <dt class="macro">'size' <num></dt> + <dd>\x83\x8D\x83O\x82̃T\x83C\x83Y\x82\xAA<num>\x83o\x83C\x83g\x82\xA6\x82Ă\xA2\x82\xEA\x82A\x83\x8D\x81[\x83e\x81[\x83V\x83\x87\x83\x93\x82\xF0\x8Ds\x82\xA4\x81B<br> + <num>\x82\xCD128\x88ȏ\xE3\x82ł\xA0\x82邱\x82ƁB</dd> + + <dt class="macro">'halt'</dt> + <dd>\x83\x8D\x81[\x83e\x81[\x83V\x83\x87\x83\x93\x82\xF0\x92\xE2\x8E~\x82\xB7\x82\xE9\x81B</dd> +</dl> + + +<h2>\x97\xE1</h2> + +<pre class="macro-example"> +getspecialfolder str "Desktop" +changedir str +logopen 'teraterm_sample.log' 0 0 +; Start log rotation +logrotate 'size' 2048 +pause 600 +; Stop log rotation +logrotate 'halt' +pause 600 +logclose +</pre> + +<h2>\x8EQ\x8F\xC6</h2> +<ul> + <li><a href="logopen.html">logopen</a></li> +</ul> + +</body> +</html> Modified: trunk/doc/ja/teraterm.hhc =================================================================== --- trunk/doc/ja/teraterm.hhc 2013-03-23 09:30:16 UTC (rev 5163) +++ trunk/doc/ja/teraterm.hhc 2013-03-23 09:32:31 UTC (rev 5164) @@ -749,6 +749,10 @@ <param name="ImageNumber" value="11"> </OBJECT> <LI> <OBJECT type="text/sitemap"> + <param name="Name" value="logrotate"> + <param name="Local" value="html\macro\command\logrotate.html"> + </OBJECT> + <LI> <OBJECT type="text/sitemap"> <param name="Name" value="logstart"> <param name="Local" value="html\macro\command\logstart.html"> <param name="ImageNumber" value="11"> Modified: trunk/doc/ja/teraterm.hhp =================================================================== --- trunk/doc/ja/teraterm.hhp 2013-03-23 09:30:16 UTC (rev 5163) +++ trunk/doc/ja/teraterm.hhp 2013-03-23 09:32:31 UTC (rev 5164) @@ -251,6 +251,7 @@ HlpMacroCommandLoginfo=html\macro\command\loginfo.html HlpMacroCommandLogopen=html\macro\command\logopen.html HlpMacroCommandLogpause=html\macro\command\logpause.html +HlpMacroCommandLogrotate=html\macro\command\logrotate.html HlpMacroCommandLogstart=html\macro\command\logstart.html HlpMacroCommandLogwrite=html\macro\command\logwrite.html HlpMacroCommandLoop=html\macro\command\doloop.html