svnno****@sourc*****
svnno****@sourc*****
2009年 8月 28日 (金) 14:00:15 JST
Revision: 3613 http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=3613 Author: maya Date: 2009-08-28 14:00:15 +0900 (Fri, 28 Aug 2009) Log Message: ----------- sftp ã¹ãã¼ã ãã¯ãªãã«ãã« URL ã®å¯¾è±¡ã¨ããã if ã並ãã§ããã®ã else if ã«ãã¦ãã¾ãã¾ãããã大ä¸å¤«ã§ããããã Modified Paths: -------------- trunk/doc/en/html/about/history.html trunk/doc/ja/html/about/history.html trunk/teraterm/teraterm/buffer.c -------------- next part -------------- Modified: trunk/doc/en/html/about/history.html =================================================================== --- trunk/doc/en/html/about/history.html 2009-08-27 08:38:39 UTC (rev 3612) +++ trunk/doc/en/html/about/history.html 2009-08-28 05:00:15 UTC (rev 3613) @@ -34,8 +34,9 @@ <ul class="history"> <li>Changes <ul> - <li>The clickable URL color is able to be painted.</li> - <li>When the clickable URL is enabled, the mouser cursor is not able to transform.</li> + <li>The clickable URL color is able to be painted.</li> + <li>When the clickable URL is enabled, the mouser cursor is not able to transform.</li> + <li>sftp scheme can be linked in a clickable URL.</li> </ul> </li> Modified: trunk/doc/ja/html/about/history.html =================================================================== --- trunk/doc/ja/html/about/history.html 2009-08-27 08:38:39 UTC (rev 3612) +++ trunk/doc/ja/html/about/history.html 2009-08-28 05:00:15 UTC (rev 3613) @@ -34,8 +34,9 @@ <ul class="history"> <li>ÏX <ul> - <li>NbJuURLÌF®«ð`æ·éæ¤Éµ½B</li> - <li>NbJuURLª³øÌêAnCp[NãÅ}EXJ[\ðÏ`³¹È¢æ¤Éµ½B</li> + <li>NbJuURLÌF®«ð`æ·éæ¤Éµ½B</li> + <li>NbJuURLª³øÌêAnCp[NãÅ}EXJ[\ðÏ`³¹È¢æ¤Éµ½B</li> + <li>sftp XL[àNbJuURLÉÈéæ¤Éµ½B</li> </ul> </li> Modified: trunk/teraterm/teraterm/buffer.c =================================================================== --- trunk/teraterm/teraterm/buffer.c 2009-08-27 08:38:39 UTC (rev 3612) +++ trunk/teraterm/teraterm/buffer.c 2009-08-28 05:00:15 UTC (rev 3613) @@ -1387,16 +1387,19 @@ if ((x-6>=0) && !strncmp(&CodeLine[x-6], "http", 4)) { len = 6; } - if ((x-7>=0) && !strncmp(&CodeLine[x-7], "https", 5)) { + else if ((x-7>=0) && !strncmp(&CodeLine[x-7], "https", 5)) { len = 7; } - if ((x-6>=0) && !strncmp(&CodeLine[x-6], "news", 4)) { + else if ((x-6>=0) && !strncmp(&CodeLine[x-6], "news", 4)) { len = 6; } - if ((x-5>=0) && !strncmp(&CodeLine[x-5], "ftp", 3)) { + else if ((x-6>=0) && !strncmp(&CodeLine[x-6], "sftp", 4)) { + len = 6; + } + else if ((x-5>=0) && !strncmp(&CodeLine[x-5], "ftp", 3)) { len = 5; } - if ((x-5>=0) && !strncmp(&CodeLine[x-5], "mms", 3)) { + else if ((x-5>=0) && !strncmp(&CodeLine[x-5], "mms", 3)) { len = 5; } #if 0