svnno****@sourc*****
svnno****@sourc*****
2009年 7月 6日 (月) 12:10:47 JST
Revision: 3580 http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=3580 Author: doda Date: 2009-07-06 12:10:47 +0900 (Mon, 06 Jul 2009) Log Message: ----------- ã»æ¥ç¶åã«è¡ã£ããã¼ã«ã«ã¨ã³ã¼ãéä¿¡æ¹è¡ã³ã¼ãã®è¨å®ãç¡è¦ãããã®ãä¿®æ£ ã»ã·ãªã¢ã«æ¥ç¶æãåã®æ¥ç¶ã§é©ç¨ãããTCPLocalEcho/TCPCRSendã®è¨å®ããªã»ãããããªãã®ãä¿®æ£ https://sourceforge.jp/ticket/browse.php?group_id=1412&tid=17591 https://sourceforge.jp/ticket/browse.php?group_id=1412&tid=17593 Modified Paths: -------------- trunk/doc/en/html/about/history.html trunk/doc/ja/html/about/history.html trunk/teraterm/teraterm/vtwin.cpp -------------- next part -------------- Modified: trunk/doc/en/html/about/history.html =================================================================== --- trunk/doc/en/html/about/history.html 2009-07-06 02:56:52 UTC (rev 3579) +++ trunk/doc/en/html/about/history.html 2009-07-06 03:10:47 UTC (rev 3580) @@ -37,10 +37,12 @@ </ul> </li--> - <!--li>Bug fixes + <li>Bug fixes <ul> + <!--li>Ú±OÉsÁ½[JGR[ÆMüsR[hÌÝ誳³êéª éÌðC³µ½B</li--> + <!--li>VAÚ±ÉAOÌÚ±Ågíê½TCPLocalEcho/TCPCRSendÌÝèªZbg³êÈ¢ÌðC³µ½B</li--> </ul> - </li--> + </li> <li>Misc <ul> Modified: trunk/doc/ja/html/about/history.html =================================================================== --- trunk/doc/ja/html/about/history.html 2009-07-06 02:56:52 UTC (rev 3579) +++ trunk/doc/ja/html/about/history.html 2009-07-06 03:10:47 UTC (rev 3580) @@ -34,16 +34,21 @@ <ul class="history"> <!--li>ÏX <ul> - </ul></li--> + </ul> + </li--> - <!--li>oOC³ + <li>oOC³ <ul> - </ul></li--> + <li>Ú±OÉsÁ½[JGR[ÆMüsR[hÌÝ誳³êéª éÌðC³µ½B</li> + <li>VAÚ±ÉAOÌÚ±Ågíê½TCPLocalEcho/TCPCRSendÌÝèªZbg³êÈ¢ÌðC³µ½B<li--> + </ul> + </li> <li>»Ì¼ <ul> <li><a href="#ttssh_2.52">SSH2ÎTTSSH(2.52)</a>Ö·µÖ¦½B</li> - </ul></li> + </ul> + </li> </ul> <h3><a name="teraterm_4.63">2009.7.5 (Ver 4.63)</a></h3> Modified: trunk/teraterm/teraterm/vtwin.cpp =================================================================== --- trunk/teraterm/teraterm/vtwin.cpp 2009-07-06 02:56:52 UTC (rev 3579) +++ trunk/teraterm/teraterm/vtwin.cpp 2009-07-06 03:10:47 UTC (rev 3580) @@ -78,6 +78,9 @@ static HFONT DlgBroadcastFont; static HFONT DlgCommentFont; +static BOOL TCPLocalEchoUsed = FALSE; +static BOOL TCPCRSendUsed = FALSE; + // {ÌÍ addsetting.cpp extern mouse_cursor_t MouseCursor[]; @@ -3086,6 +3089,17 @@ CommProcRRQ(&cv); break; case FD_CLOSE: + if (cv.PortType == IdTCPIP) { + if (TCPLocalEchoUsed) { + TCPLocalEchoUsed=FALSE; + ts.LocalEcho = ts.LocalEcho_ini; + } + if (TCPCRSendUsed) { + TCPCRSendUsed = FALSE; + ts.CRSend = ts.CRSend_ini; + cv.CRSend = ts.CRSend_ini; + } + } Connecting = FALSE; TCPIPClosed = TRUE; // disable transmition @@ -3155,29 +3169,16 @@ TelEnableHisOpt(BINARY); } - // ¼OÌÚ±ªñTelnetÚ±¾Á½êAWindow ð¶ĢȢÆÝèªcÁÄ¢é - // (LocalEcho, CRSend ª TCPLocalEcho, TCPCRSend ÌlÅ㫳êÄ¢é) - // Telnet ÌÆ«ÉÍ LocalEcho/CRSend ð³ÌlÉß·½ßÉA - // ÇÝÝÌÝèðÁÄé (2008.4.22 maya) - ts.CRSend = ts.CRSend_ini; - cv.CRSend = ts.CRSend_ini; - ts.LocalEcho = ts.LocalEcho_ini; - TelStartKeepAliveThread(); } - // SSH, Cygwin ÈÇÅÚ±·éÆ«Ép³êé - else if (ts.DisableTCPEchoCR) { - // ãƯ¶RÅAÇÝÝÌÝèðÁÄé (2008.4.22 maya) - ts.CRSend = ts.CRSend_ini; - cv.CRSend = ts.CRSend_ini; - ts.LocalEcho = ts.LocalEcho_ini; - } - else { + else if (!ts.DisableTCPEchoCR) { if (ts.TCPCRSend>0) { + TCPCRSendUsed = TRUE; ts.CRSend = ts.TCPCRSend; cv.CRSend = ts.TCPCRSend; } if (ts.TCPLocalEcho>0) { + TCPLocalEchoUsed = TRUE; ts.LocalEcho = ts.TCPLocalEcho; } }