[Ttssh2-commit] [4419] CSI のパラメータで受け付ける値の上限を、9999 から 99999 に増やした。

svnno****@sourc***** svnno****@sourc*****
2011年 4月 8日 (金) 11:41:15 JST


Revision: 4419
          http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=4419
Author:   doda
Date:     2011-04-08 11:41:15 +0900 (Fri, 08 Apr 2011)

Log Message:
-----------
CSI のパラメータで受け付ける値の上限を、9999 から 99999 に増やした。
例えば DECSET で 10020 が指定された時、1002 として扱われて Button-event Mouse Tracking が有効になってしまうという問題が有った。

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	2011-04-08 01:55:35 UTC (rev 4418)
+++ trunk/doc/en/html/about/history.html	2011-04-08 02:41:15 UTC (rev 4419)
@@ -53,6 +53,7 @@
       <li>When a last one byte of a string is removed by using the strremove macro command, the BOF will be ocurred. cf. <a href="http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=24631">Ticket#24631</a></li>
       <li>YMODEM: When a file is sent, the block1 can be sent not waiting the ACK from the YMODEM server. cf. <a href="http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=24286">Sending with Y-Modem fails with u-boot (intermittent)</a></li>
       <!-- li>xterm Œ`Ž®‚̃}ƒEƒXƒCƒxƒ“ƒg’Ê’m‚ŁAƒ}ƒEƒXƒ|ƒCƒ“ƒ^‚̈ʒu‚ª224s–ڈȍ~‚¾‚Á‚½ê‡‚É•s³‚È•ñ‚ð‚·‚é–â‘è‚ðC³‚µ‚½B</li -->
+      <!-- li>DECSET/DECRST §ŒäƒV[ƒPƒ“ƒX‚ŁA10000 ˆÈã‚̃‚[ƒh‚ªŽw’肳‚ꂽŽž‚ɐ³‚µ‚­–³Ž‹‚Å‚«‚È‚¢ê‡‚ª—L‚Á‚½–â‘è‚ðC³‚µ‚½B</li -->
     </ul>
   </li>
 

Modified: trunk/doc/ja/html/about/history.html
===================================================================
--- trunk/doc/ja/html/about/history.html	2011-04-08 01:55:35 UTC (rev 4418)
+++ trunk/doc/ja/html/about/history.html	2011-04-08 02:41:15 UTC (rev 4419)
@@ -53,6 +53,7 @@
       <li>strremove ƒ}ƒNƒ‚É‚¨‚¢‚āA•¶Žš—ñ‚Ì––”ö1ƒoƒCƒg‚̍폜Žž‚ÉBOF‚ª”­¶‚µ‚Ä‚¢‚½–â‘è‚ðC³‚µ‚½B cf. <a href="http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=24631">Ticket#24631</a></li>
       <li>YMODEM: ƒtƒ@ƒCƒ‹‘—M‚É‚¨‚¢‚āAACK‚ð‘Ò‚½‚¸‚Æ‚àAƒuƒƒbƒN1‚𑗐M‚µ‚Ä‚µ‚Ü‚¤–â‘è‚ðC³‚µ‚½B cf. <a href="http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=24286">Sending with Y-Modem fails with u-boot (intermittent)</a></li>
       <li>xterm Œ`Ž®‚̃}ƒEƒXƒCƒxƒ“ƒg’Ê’m‚ŁAƒ}ƒEƒXƒ|ƒCƒ“ƒ^‚̈ʒu‚ª224s–ڈȍ~‚¾‚Á‚½ê‡‚É•s³‚È•ñ‚ð‚·‚é–â‘è‚ðC³‚µ‚½B</li>
+      <li>DECSET/DECRST §ŒäƒV[ƒPƒ“ƒX‚ŁA10000 ˆÈã‚̃‚[ƒh‚ªŽw’肳‚ꂽŽž‚ɐ³‚µ‚­–³Ž‹‚Å‚«‚È‚¢ê‡‚ª—L‚Á‚½–â‘è‚ðC³‚µ‚½B</li>
     </ul>
   </li>
 

Modified: trunk/teraterm/teraterm/vtterm.c
===================================================================
--- trunk/teraterm/teraterm/vtterm.c	2011-04-08 01:55:35 UTC (rev 4418)
+++ trunk/teraterm/teraterm/vtterm.c	2011-04-08 02:41:15 UTC (rev 4419)
@@ -2977,7 +2977,7 @@
     {
       if (Param[NParam] < 0)
 	Param[NParam] = 0;
-      if (Param[NParam]<1000)
+      if (Param[NParam]<10000)
        Param[NParam] = Param[NParam]*10 + b - 0x30;
     }
     else if (b==0x3B)



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