[Ttssh2-commit] [6865] DECRQM で DECLRMM の状態を正しく返さなかった問題を修正。 Ticket : #37383

svnno****@sourc***** svnno****@sourc*****
2017年 7月 20日 (木) 01:48:12 JST


Revision: 6865
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/6865
Author:   doda
Date:     2017-07-20 01:48:12 +0900 (Thu, 20 Jul 2017)
Log Message:
-----------
DECRQM で DECLRMM の状態を正しく返さなかった問題を修正。 Ticket: #37383

Ticket Links:
------------
    http://sourceforge.jp/projects/ttssh2/tracker/detail/37383

Modified Paths:
--------------
    trunk/doc/en/html/about/history.html
    trunk/doc/ja/html/about/history.html
    trunk/teraterm/teraterm/vtterm.c

-------------- next part --------------
Modified: trunk/doc/en/html/about/history.html
===================================================================
--- trunk/doc/en/html/about/history.html	2017-07-14 06:13:10 UTC (rev 6864)
+++ trunk/doc/en/html/about/history.html	2017-07-19 16:48:12 UTC (rev 6865)
@@ -47,10 +47,11 @@
     </ul>
   </li>
 
-  <!--li>Bug fixes
+  <li>Bug fixes
     <ul>
+      <li>The response of DECLRMM status query by DECRQM was invalid.</li>
     </ul>
-  </li-->
+  </li>
 
   <li>Misc
     <ul>

Modified: trunk/doc/ja/html/about/history.html
===================================================================
--- trunk/doc/ja/html/about/history.html	2017-07-14 06:13:10 UTC (rev 6864)
+++ trunk/doc/ja/html/about/history.html	2017-07-19 16:48:12 UTC (rev 6865)
@@ -47,10 +47,11 @@
     </ul>
   </li>
 
-  <!--li>\x83o\x83O\x8FC\x90\xB3
+  <li>\x83o\x83O\x8FC\x90\xB3
     <ul>
+      <li>DECRQM \x90\xA7\x8C\xE4\x83V\x81[\x83P\x83\x93\x83X\x82\xC5 DECLRMM \x82̏\xF3\x91Ԃ𐳂\xB5\x82\xAD\x95Ԃ\xB3\x82Ȃ\xA2\x96\xE2\x91\xE8\x82\xF0\x8FC\x90\xB3\x82\xB5\x82\xBD\x81B</li>
     </ul>
-  </li-->
+  </li>
 
   <li>\x82\xBB\x82̑\xBC
     <ul>

Modified: trunk/teraterm/teraterm/vtterm.c
===================================================================
--- trunk/teraterm/teraterm/vtterm.c	2017-07-14 06:13:10 UTC (rev 6864)
+++ trunk/teraterm/teraterm/vtterm.c	2017-07-19 16:48:12 UTC (rev 6865)
@@ -3078,7 +3078,7 @@
 	}
 }
 
-void CSDolRequestMode()
+void CSDolRequestMode() // DECRQM
 {
 	char buff[256];
 	char *pp;
@@ -3230,6 +3230,12 @@
 			else
 				resp = 2;
 			break;
+		  case 69:	// DECRQM
+			if (LRMarginMode)
+				resp = 1;
+			else
+				resp = 2;
+			break;
 		  case	1000:	// XT_MSE_X11
 			if (!ts.MouseEventTracking)
 				resp = 4;



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