svnno****@sourc*****
svnno****@sourc*****
2013年 8月 17日 (土) 15:08:19 JST
Revision: 5353 http://sourceforge.jp/projects/ttssh2/scm/svn/commits/5353 Author: yutakapon Date: 2013-08-17 15:08:18 +0900 (Sat, 17 Aug 2013) Log Message: ----------- /AUTOWINCLOSE コマンドラインオプションの追加。 Modified Paths: -------------- trunk/teraterm/ttpset/ttset.c -------------- next part -------------- Modified: trunk/teraterm/ttpset/ttset.c =================================================================== --- trunk/teraterm/ttpset/ttset.c 2013-08-17 04:54:27 UTC (rev 5352) +++ trunk/teraterm/ttpset/ttset.c 2013-08-17 06:08:18 UTC (rev 5353) @@ -3283,7 +3283,14 @@ HostNameFlag = FALSE; } - if (_strnicmp(Temp, "/NAMEDPIPE", 10) == 0) { /* \x96\xBC\x91O\x95t\x82\xAB\x83p\x83C\x83v */ + if (_strnicmp(Temp, "/AUTOWINCLOSE=", 14) == 0) { /* AutoWinClose=on|off */ + char *s = &Temp[14]; + if (_stricmp(s, "on") == 0) + ts->AutoWinClose = 1; + else + ts->AutoWinClose = 0; + } + else if (_strnicmp(Temp, "/NAMEDPIPE", 10) == 0) { /* \x96\xBC\x91O\x95t\x82\xAB\x83p\x83C\x83v */ ParamPort = IdNamedPipe; } else if (_strnicmp(Temp, "/BAUD=", 6) == 0) { /* Serial port baud rate */