[Ttssh2-commit] [5270] / NOLOG コマンドラインオプションを追加

svnno****@sourc***** svnno****@sourc*****
2013年 5月 20日 (月) 12:54:08 JST


Revision: 5270
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/5270
Author:   doda
Date:     2013-05-20 12:54:08 +0900 (Mon, 20 May 2013)
Log Message:
-----------
/NOLOG コマンドラインオプションを追加

Modified Paths:
--------------
    trunk/doc/en/html/about/history.html
    trunk/doc/en/html/commandline/teraterm.html
    trunk/doc/en/html/menu/setup-additional.html
    trunk/doc/ja/html/about/history.html
    trunk/doc/ja/html/commandline/teraterm.html
    trunk/doc/ja/html/menu/setup-additional.html
    trunk/teraterm/ttpset/ttset.c

-------------- next part --------------
Modified: trunk/doc/en/html/about/history.html
===================================================================
--- trunk/doc/en/html/about/history.html	2013-05-20 03:32:49 UTC (rev 5269)
+++ trunk/doc/en/html/about/history.html	2013-05-20 03:54:08 UTC (rev 5270)
@@ -37,7 +37,7 @@
   <li>Changes
     <ul>
       <li>Upgraded checking the invalid character of a file name.</li>
-      <li>added the Log Rotate configuration on the <a href="../menu/setup-additional.html">Additional settings dialog</a>.
+      <li>added the <a href="../menu/setup-additional.html#logrotate">Log Rotate</a> configuration on the <a href="../menu/setup-additional.html">Additional settings dialog</a>.
         <ul>
           <li>added the LogRotate, LogRotateSize, LogRotateSizeType and LogRotateStep entries in the teraterm.ini file.</li>
         </ul></li>
@@ -58,6 +58,7 @@
       <li>Select "Selection" by default in the printer dialog when there is a selection. Special thanks to tentner.</li>
       <li>added the Cascade, Stacked and Side By Side under the <a href="../menu/window.html">Window menu</a>.</li>
       <li>added the Exit All under the <a href="../menu/file.html">File menu</a>.</li>
+      <!-- li><a href="../menu/setup-additional.html#autologging">\x8E\xA9\x93\xAE\x83\x8D\x83O\x8E擾</a>\x82𖳌\x{27B0B7}\x82\xE9 <a href="../commandline/teraterm.html#nolog">/nolog</a> \x83R\x83}\x83\x93\x83h\x83\x89\x83C\x83\x93\x83I\x83v\x83V\x83\x87\x83\x93\x82\xF0\x92lj\xC1\x82\xB5\x82\xBD\x81B</li -->
     </ul>
   </li>
 

Modified: trunk/doc/en/html/commandline/teraterm.html
===================================================================
--- trunk/doc/en/html/commandline/teraterm.html	2013-05-20 03:32:49 UTC (rev 5269)
+++ trunk/doc/en/html/commandline/teraterm.html	2013-05-20 03:54:08 UTC (rev 5270)
@@ -18,7 +18,7 @@
          [/F=&lt;setup file&gt;] [/FD=&lt;file transfer directory&gt;]
          [/H] [/I] [/K=&lt;keyboard setup file&gt;]
          [/KR=&lt;kanji code (receive)&gt;] [/KT=&lt;kanji code (transmit)&gt;]
-         [/L=&lt;log file&gt;] [/LA=&lt;language&gt;] [/M=&lt;macro file&gt;]
+         [/L=&lt;log file&gt;] [/LA=&lt;language&gt;] [/M=&lt;macro file&gt;] [/NOLOG]
          [/P=&lt;TCP port#&gt;] [/R=&lt;replay file&gt;] [/T=&lt;telnet flag&gt;]
          [/TEKICON=&lt;icon name&gt;] [/TIMEOUT=&lt;connecting timeout value&gt;]
          [/V] [/VTICON=&lt;icon name&gt;] [/W="&lt;window title&gt;"]
@@ -134,6 +134,9 @@
   <dd>Start Tera Term with macro.<br>
       If this value is not a full path, it is understood as a relative path from ttermpro.exe.</dd>
 
+  <dt id="nolog">/NOLOG</dt>
+  <dd>Start Tera Term without logging.</dd>
+
   <dt id="p">/P=&lt;TCP port#&gt;</dt>
   <dd>TCP port number</dd>
 

Modified: trunk/doc/en/html/menu/setup-additional.html
===================================================================
--- trunk/doc/en/html/menu/setup-additional.html	2013-05-20 03:32:49 UTC (rev 5269)
+++ trunk/doc/en/html/menu/setup-additional.html	2013-05-20 03:54:08 UTC (rev 5270)
@@ -331,12 +331,12 @@
 	Specify default path to save log file. It is used when the log file name is not a full path.
       </dd>
 
-      <dt>Auto start logging</dt>
+      <dt><a href="autologging">Auto start logging</a></dt>
       <dd>
     Start logging automaticaly when connecting. Default Log File Name is used for log file name.
       </dd>
 
-      <dt>Log Rotate</dt>
+      <dt><a href="logrotate">Log Rotate</a></dt>
       <dd>
     The log rotation is enabled. The extension of the rotated file is added .1, .2, .3 etc.
       </dd>

Modified: trunk/doc/ja/html/about/history.html
===================================================================
--- trunk/doc/ja/html/about/history.html	2013-05-20 03:32:49 UTC (rev 5269)
+++ trunk/doc/ja/html/about/history.html	2013-05-20 03:54:08 UTC (rev 5270)
@@ -36,7 +36,7 @@
   <li>\x95ύX
     <ul>
       <li>\x83t\x83@\x83C\x83\x8B\x96\xBC\x82̕s\x90\xB3\x95\xB6\x8E\x9A\x83`\x83F\x83b\x83N\x82\xF0\x8B\xAD\x89\xBB\x82\xB5\x82\xBD\x81B</li>
-      <li><a href="../menu/setup-additional.html">Additional settings \x83_\x83C\x83A\x83\x8D\x83O</a>\x82\xC9 \x83\x8D\x83O\x81E\x83\x8D\x81[\x83e\x81[\x83g \x90ݒ荀\x96ڂ\xF0\x92lj\xC1\x82\xB5\x82\xBD\x81B
+      <li><a href="../menu/setup-additional.html">Additional settings \x83_\x83C\x83A\x83\x8D\x83O</a>\x82\xC9 <a href="../menu/setup-additional.html#logrotate">\x83\x8D\x83O\x81E\x83\x8D\x81[\x83e\x81[\x83g</a> \x90ݒ荀\x96ڂ\xF0\x92lj\xC1\x82\xB5\x82\xBD\x81B
         <ul>
           <li>teraterm.ini\x82\xC9LogRotate, LogRotateSize, LogRotateSizeType, LogRotateStep\x83G\x83\x93\x83g\x83\x8A\x82\xF0\x92lj\xC1\x82\xB5\x82\xBD\x81B</li>
         </ul></li>
@@ -57,6 +57,7 @@
       <li>\x82\xB7\x82łɑI\x91\xF0\x82\xB3\x82\xEA\x82Ă\xA2\x82\xE9\x83e\x83L\x83X\x83g\x82\xAA\x91\xB6\x8D݂\xB7\x82\xE9\x8Fꍇ\x81A\x83v\x83\x8A\x83\x93\x83^\x83_\x83C\x83A\x83\x8D\x83O\x82̃f\x83t\x83H\x83\x8B\x83g\x91I\x91\xF0\x8E\x88\x82\xF0\x81u\x91I\x91\xF0\x82\xB5\x82\xBD\x95\x94\x95\xAA\x81v\x82ɂ\xB7\x82\xE9\x82悤\x82ɂ\xB5\x82\xBD\x81Btentner\x8E\x81\x82Ɋ\xB4\x8EӁB</li>
       <li><a href="../menu/window.html">Window\x83\x81\x83j\x83\x85\x81[</a>\x82Ɂu\x8Fd\x82˂ĕ\\x8E\xA6(Cascade)\x81v\x81u\x8F㉺\x82ɕ\xC0\x82ׂĕ\\x8E\xA6(Stacked)\x81v\x81u\x8D\xB6\x89E\x82ɕ\xC0\x82ׂĕ\\x8E\xA6(Side By Side)\x81v\x82\xF0\x92lj\xC1\x82\xB5\x82\xBD\x81B</li>
       <li><a href="../menu/file.html">File\x83\x81\x83j\x83\x85\x81[</a>\x82ɁuTera Term\x82̑S\x8FI\x97\xB9(Exit All)\x81v\x82\xF0\x92lj\xC1\x82\xB5\x82\xBD\x81B</li>
+      <li><a href="../menu/setup-additional.html#autologging">\x8E\xA9\x93\xAE\x83\x8D\x83O\x8E擾</a>\x82𖳌\x{27B0B7}\x82\xE9 <a href="../commandline/teraterm.html#nolog">/nolog</a> \x83R\x83}\x83\x93\x83h\x83\x89\x83C\x83\x93\x83I\x83v\x83V\x83\x87\x83\x93\x82\xF0\x92lj\xC1\x82\xB5\x82\xBD\x81B</li>
     </ul>
   </li>
 

Modified: trunk/doc/ja/html/commandline/teraterm.html
===================================================================
--- trunk/doc/ja/html/commandline/teraterm.html	2013-05-20 03:32:49 UTC (rev 5269)
+++ trunk/doc/ja/html/commandline/teraterm.html	2013-05-20 03:54:08 UTC (rev 5270)
@@ -22,7 +22,7 @@
          [/F=&lt;setup file&gt;] [/FD=&lt;file transfer directory&gt;]
          [/H] [/I] [/K=&lt;keyboard setup file&gt;]
          [/KR=&lt;kanji code (receive)&gt;] [/KT=&lt;kanji code (transmit)&gt;]
-         [/L=&lt;log file&gt;] [/LA=&lt;language&gt;] [/M=&lt;macro file&gt;]
+         [/L=&lt;log file&gt;] [/LA=&lt;language&gt;] [/M=&lt;macro file&gt;] [/NOLOG]
          [/P=&lt;TCP port#&gt;] [/R=&lt;replay file&gt;] [/T=&lt;telnet flag&gt;]
          [/TEKICON=&lt;icon name&gt;] [/TIMEOUT=&lt;connecting timeout value&gt;]
          [/V] [/VTICON=&lt;icon name&gt;] [/W="&lt;window title&gt;"]
@@ -139,6 +139,9 @@
   <dd>\x8BN\x93\xAE\x8E\x9E\x82Ƀ}\x83N\x83\x8D\x82\xF0\x8E\xC0\x8Ds<br>
       \x83t\x83@\x83C\x83\x8B\x96\xBC\x82\xAA\x90\xE2\x91΃p\x83X\x82łȂ\xA2\x82Ƃ\xAB\x82́Attermpro.exe \x82\xA9\x82\xE7\x82̑\x8A\x91΃p\x83X\x82ƌ\xA9\x82Ȃ\xB3\x82\xEA\x82܂\xB7\x81B</dd>
 
+  <dt id="nolog">/NOLOG</dt>
+  <dd>\x8BN\x93\xAE\x8E\x9E\x82Ƀ\x8D\x83O\x82\xF0\x8AJ\x8En\x82\xB5\x82Ȃ\xA2</dd>
+
   <dt id="p">/P=&lt;TCP port#&gt;</dt>
   <dd>TCP \x83|\x81[\x83g\x94ԍ\x86</dd>
 

Modified: trunk/doc/ja/html/menu/setup-additional.html
===================================================================
--- trunk/doc/ja/html/menu/setup-additional.html	2013-05-20 03:32:49 UTC (rev 5269)
+++ trunk/doc/ja/html/menu/setup-additional.html	2013-05-20 03:54:08 UTC (rev 5270)
@@ -328,12 +328,12 @@
 	\x95W\x8F\x80\x82̃\x8D\x83O\x95ۑ\xB6\x90\xE6\x82\xF0\x8Ew\x92肵\x82܂\xB7\x81B\x83\x8D\x83O\x83t\x83@\x83C\x83\x8B\x82\xAA\x83t\x83\x8B\x83p\x83X\x82Ŏw\x92肳\x82\xEA\x82Ȃ\xA9\x82\xC1\x82\xBD\x82Ƃ\xAB\x82Ɏg\x97p\x82\xB3\x82\xEA\x82܂\xB7\x81B
       </dd>
 
-      <dt>Auto start logging</dt>
+      <dt><a name="autologging">Auto start logging</a></dt>
       <dd>
     \x90ڑ\xB1\x8E\x9E\x82Ɏ\xA9\x93\xAE\x93I\x82Ƀ\x8D\x83O\x8D̎\xE6\x82\xF0\x8AJ\x8En\x82\xB7\x82\xE9\x8B@\x94\\x82\xF0\x97L\x8C\xF8\x82ɂ\xB5\x82܂\xB7\x81B\x83\x8D\x83O\x83t\x83@\x83C\x83\x8B\x96\xBC\x82ɂ́A\x95W\x8F\x80\x82̃\x8D\x83O\x83t\x83@\x83C\x83\x8B\x96\xBC\x82\xAA\x8Eg\x97p\x82\xB3\x82\xEA\x82܂\xB7\x81B
       </dd>
       
-      <dt>Log Rotate</dt>
+      <dt><a name="logrotate">Log Rotate</a></dt>
       <dd>
     \x83\x8D\x83O\x82̃\x8D\x81[\x83e\x81[\x83g\x82\xF0\x97L\x8C\xF8\x82ɂ\xB5\x82܂\xB7\x81B\x83\x8D\x81[\x83e\x81[\x83g\x82\xB3\x82ꂽ\x83\x8D\x83O\x83t\x83@\x83C\x83\x8B\x82ɂ́A\x8Ag\x92\xA3\x8Eq\x82\xC9 .1, .2, .3 \x81c \x82ƕt\x97^\x82\xB3\x82\xEA\x82܂\xB7\x81B
       </dd>

Modified: trunk/teraterm/ttpset/ttset.c
===================================================================
--- trunk/teraterm/ttpset/ttset.c	2013-05-20 03:32:49 UTC (rev 5269)
+++ trunk/teraterm/ttpset/ttset.c	2013-05-20 03:54:08 UTC (rev 5270)
@@ -3379,6 +3379,10 @@
 			/* Disable auto connect to serial when macro mode (2006.9.15 maya) */
 			ts->ComAutoConnect = FALSE;
 		}
+		else if (_stricmp(Temp, "/NOLOG") == 0) {	/* disable auto logging */
+			ts->LogFN[0] = '\0';
+			ts->LogAutoStart = 0;
+		}
 		else if (_strnicmp(Temp, "/P=", 3) == 0) {	/* TCP port num */
 			ParamPort = IdTCPIP;
 			if (sscanf(&Temp[3], "%d", &ParamTCP) != 1)



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