[Ttssh2-commit] [3501] Line at a timeモードを無効に設定できるようにした。

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 6月 16日 (火) 16:43:31 JST


Revision: 3501
          http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=3501
Author:   doda
Date:     2009-06-16 16:43:31 +0900 (Tue, 16 Jun 2009)

Log Message:
-----------
Line at a timeモードを無効に設定できるようにした。
  EnableLineMode=off

Modified Paths:
--------------
    trunk/installer/release/TERATERM.INI
    trunk/installer/teraterm.iss
    trunk/teraterm/common/tttypes.h
    trunk/teraterm/teraterm/commlib.c
    trunk/teraterm/ttpset/ttset.c


-------------- next part --------------
Modified: trunk/installer/release/TERATERM.INI
===================================================================
--- trunk/installer/release/TERATERM.INI	2009-06-16 07:01:38 UTC (rev 3500)
+++ trunk/installer/release/TERATERM.INI	2009-06-16 07:43:31 UTC (rev 3501)
@@ -370,6 +370,9 @@
 ; Disable wheel to cursor translation when Control-Key is pressed.
 DisableWheelToCursorByCtrl=on
 
+; Line at a time mode
+EnableLineMode=on
+
 ; Popup menu
 EnablePopupMenu=on
 

Modified: trunk/installer/teraterm.iss
===================================================================
--- trunk/installer/teraterm.iss	2009-06-16 07:01:38 UTC (rev 3500)
+++ trunk/installer/teraterm.iss	2009-06-16 07:43:31 UTC (rev 3501)
@@ -141,6 +141,8 @@
 Name: {userappdata}\Microsoft\Internet Explorer\Quick Launch\cyglaunch; Filename: {app}\cyglaunch.exe; WorkingDir: {app}; IconFilename: {app}\cyglaunch.exe; Components: cygterm; Tasks: quickcyglaunch; IconIndex: 0; Flags: createonlyiffileexists
 
 [INI]
+Filename: {app}\teraterm.ini; Section: Tera Term; Key: EnableLineMode; String: on; Flags: createkeyifdoesntexist; Components: TeraTerm
+Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: EnableLineMode; String: on; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm
 Filename: {app}\teraterm.ini; Section: Tera Term; Key: TitleReportSequence; String: on; Flags: createkeyifdoesntexist; Components: TeraTerm
 Filename: {userdocs}\teraterm.ini; Section: Tera Term; Key: TitleReportSequence; String: on; Flags: createkeyifdoesntexist; Check: isUserIniExists; Components: TeraTerm
 Filename: {app}\teraterm.ini; Section: Tera Term; Key: WindowReportSequence; String: on; Flags: createkeyifdoesntexist; Components: TeraTerm

Modified: trunk/teraterm/common/tttypes.h
===================================================================
--- trunk/teraterm/common/tttypes.h	2009-06-16 07:01:38 UTC (rev 3500)
+++ trunk/teraterm/common/tttypes.h	2009-06-16 07:43:31 UTC (rev 3501)
@@ -464,6 +464,7 @@
 	WORD FontScaling;
 	WORD Meta8Bit;
 	WORD WindowFlag;
+	WORD EnableLineMode;
 };
 
 typedef struct tttset TTTSet, *PTTSet;
@@ -912,6 +913,7 @@
  *   added tttset.FontScaling.
  *   added tttset.Meta8Bit.
  *   added tttset.WindowFlag.
+ *   added tttset.EnableLineMode
  *
  * - At version 4.62, ttset_memfilemap was replaced with ttset_memfilemap_10.
  *   added tttset.DisableMouseTrackingByCtrl.

Modified: trunk/teraterm/teraterm/commlib.c
===================================================================
--- trunk/teraterm/teraterm/commlib.c	2009-06-16 07:01:38 UTC (rev 3500)
+++ trunk/teraterm/teraterm/commlib.c	2009-06-16 07:43:31 UTC (rev 3501)
@@ -303,7 +303,9 @@
 	switch (ts->PortType) {
 		case IdTCPIP:
 			cv->TelFlag = (ts->Telnet > 0);
-			cv->TelLineMode = TRUE;
+			if (ts->EnableLineMode) {
+				cv->TelLineMode = TRUE;
+			}
 			if (! LoadWinsock()) {
 				if (cv->NoMsg==0) {
 					get_lang_msg("MSG_TT_ERROR", uimsg, sizeof(uimsg), "Tera Term: Error", ts->UILanguageFile);

Modified: trunk/teraterm/ttpset/ttset.c
===================================================================
--- trunk/teraterm/ttpset/ttset.c	2009-06-16 07:01:38 UTC (rev 3500)
+++ trunk/teraterm/ttpset/ttset.c	2009-06-16 07:43:31 UTC (rev 3501)
@@ -1311,6 +1311,9 @@
 	// Window report sequence
 	if (GetOnOff(Section, "TitleReportSequence", FName, TRUE))
 		ts->WindowFlag |= WF_TITLEREPORT;
+
+	// Line at a time mode
+	ts->EnableLineMode = GetOnOff(Section, "EnableLineMode", FName, TRUE);
 }
 
 void FAR PASCAL WriteIniFile(PCHAR FName, PTTSet ts)
@@ -2275,6 +2278,9 @@
 	// Title report sequence
 	WriteOnOff(Section, "TitleReportSequence", FName,
 		ts->WindowFlag & WF_TITLEREPORT);
+
+	// Line at a time mode
+	WriteOnOff(Section, "EnableLineMode", FName, ts->EnableLineMode);
 }
 
 #define VTEditor "VT editor keypad"



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