[Ttssh2-commit] [5398] logopen マクロに " Include screen buffer" オプションを追加した。

Zurück zum Archiv-Index

svnno****@sourc***** svnno****@sourc*****
2013年 10月 8日 (火) 16:20:15 JST


Revision: 5398
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/5398
Author:   yutakapon
Date:     2013-10-08 16:20:14 +0900 (Tue, 08 Oct 2013)
Log Message:
-----------
logopen マクロに"Include screen buffer"オプションを追加した。

Modified Paths:
--------------
    trunk/teraterm/teraterm/ttdde.c
    trunk/teraterm/ttpmacro/ttl.c
    trunk/teraterm/ttpmacro/ttmdde.c

-------------- next part --------------
Modified: trunk/teraterm/teraterm/ttdde.c
===================================================================
--- trunk/teraterm/teraterm/ttdde.c	2013-10-02 16:26:26 UTC (rev 5397)
+++ trunk/teraterm/teraterm/ttdde.c	2013-10-08 07:20:14 UTC (rev 5398)
@@ -402,6 +402,7 @@
 		ts.LogTypePlainText = Command[13] & 1;
 		ts.LogTimestamp     = Command[14] & 1;
 		ts.LogHideDialog    = Command[15] & 1;
+		ts.LogAllBuffIncludedInFirst    = Command[16] & 1;
 		break;
 	case CmdSetXmodemOpt:
 		ParamXmodemOpt = Command[1] & 3;

Modified: trunk/teraterm/ttpmacro/ttl.c
===================================================================
--- trunk/teraterm/ttpmacro/ttl.c	2013-10-02 16:26:26 UTC (rev 5397)
+++ trunk/teraterm/ttpmacro/ttl.c	2013-10-08 07:20:14 UTC (rev 5398)
@@ -3100,6 +3100,14 @@
 				if (Err!=0) return Err;
 				TmpOpt = (TmpFlag == 0) ? 0 : 1;
 				AppendFlag |= TmpOpt * 0x4000;
+
+				if (CheckParameterGiven()) { // Include screen buffer
+					GetIntVal(&TmpFlag, &Err);
+					if (Err!=0) return Err;
+					TmpOpt = (TmpFlag == 0) ? 0 : 1;
+					AppendFlag |= TmpOpt * 0x8000;
+				}
+
 			}
 		}
 	}

Modified: trunk/teraterm/ttpmacro/ttmdde.c
===================================================================
--- trunk/teraterm/ttpmacro/ttmdde.c	2013-10-02 16:26:26 UTC (rev 5397)
+++ trunk/teraterm/ttpmacro/ttmdde.c	2013-10-08 07:20:14 UTC (rev 5398)
@@ -915,7 +915,7 @@
 	Cmd[13] = 0x30 + ((AppendFlag & 0x1000) != 0);
 	Cmd[14] = 0x30 + ((AppendFlag & 0x2000) != 0);
 	Cmd[15] = 0x30 + ((AppendFlag & 0x4000) != 0);
-	Cmd[16] = 0x30;
+	Cmd[16] = 0x30 + ((AppendFlag & 0x8000) != 0);
 	Cmd[17] = 0;
 	DdeClientTransaction(Cmd,strlen(Cmd)+1,ConvH,0,CF_OEMTEXT,XTYP_EXECUTE,1000,NULL);
 }



Ttssh2-commit メーリングリストの案内
Zurück zum Archiv-Index