[Ttssh2-commit] [3288] Tera Term の /M= 等のオプションを ttssh で正しく取り扱えていなかったのを修正。

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 4月 7日 (火) 14:56:56 JST


Revision: 3288
          http://svn.sourceforge.jp/view?root=ttssh2&view=rev&rev=3288
Author:   doda
Date:     2009-04-07 14:56:56 +0900 (Tue, 07 Apr 2009)

Log Message:
-----------
Tera Term の /M= 等のオプションを ttssh で正しく取り扱えていなかったのを修正。
http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=15910

Modified Paths:
--------------
    trunk/ttssh2/ttxssh/ttxssh.c


-------------- next part --------------
Modified: trunk/ttssh2/ttxssh/ttxssh.c
===================================================================
--- trunk/ttssh2/ttxssh/ttxssh.c	2009-04-06 18:05:05 UTC (rev 3287)
+++ trunk/ttssh2/ttxssh/ttxssh.c	2009-04-07 05:56:56 UTC (rev 3288)
@@ -1808,10 +1808,16 @@
 				continue;
 			}
 			if ((option[0] == '-' || option[0] == '/') &&
-			    (MATCH_STR(option + 1, "ssh-f=") == 0 ||
-			     MATCH_STR(option + 1, "ssh-consume=") == 0 ||
-			     MATCH_STR_I(option + 1, "f=") == 0 ||
-			     MATCH_STR(option + 1, "keyfile=") == 0)) {
+			    (MATCH_STR(option + 1, "ssh-f=") == 0 ||       // ttssh option
+			     MATCH_STR(option + 1, "ssh-consume=") == 0 || // ttssh option
+			     MATCH_STR_I(option + 1, "f=") == 0 ||         // Tera Term option
+			     MATCH_STR_I(option + 1, "fd=") == 0 ||        // Tera Term option
+			     MATCH_STR_I(option + 1, "k=") == 0 ||         // Tera Term option
+			     MATCH_STR_I(option + 1, "l=") == 0 ||         // Tera Term option
+			     MATCH_STR_I(option + 1, "m=") == 0 ||         // Tera Term option
+			     MATCH_STR_I(option + 1, "r=") == 0 ||         // Tera Term option
+			     MATCH_STR_I(option + 1, "w=") == 0 ||         // Tera Term option
+			     MATCH_STR(option + 1, "keyfile=") == 0)) {	   // ttssh option
 				if (param[i] == '"') {
 					inQuotes = TRUE;
 				}



Ttssh2-commit メーリングリストの案内
Back to archive index