[Ttssh2-commit] [4084] 端末IDに VT420 , VT520, VT525 を追加。

svnno****@sourc***** svnno****@sourc*****
2010年 9月 2日 (木) 21:45:49 JST


Revision: 4084
          http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=4084
Author:   doda
Date:     2010-09-02 21:45:49 +0900 (Thu, 02 Sep 2010)

Log Message:
-----------
端末IDに VT420, VT520, VT525 を追加。

Modified Paths:
--------------
    trunk/teraterm/common/tttypes.h
    trunk/teraterm/teraterm/vtterm.c
    trunk/teraterm/ttpdlg/ttdlg.c
    trunk/teraterm/ttpset/ttset.c


-------------- next part --------------
Modified: trunk/teraterm/common/tttypes.h
===================================================================
--- trunk/teraterm/common/tttypes.h	2010-09-02 12:12:27 UTC (rev 4083)
+++ trunk/teraterm/common/tttypes.h	2010-09-02 12:45:49 UTC (rev 4084)
@@ -521,6 +521,9 @@
 #define IdVT282  7
 #define IdVT320  8
 #define IdVT382  9
+#define IdVT420  10
+#define IdVT520  11
+#define IdVT525  12
 
   /* Kanji Code ID */
 #define IdSJIS  1

Modified: trunk/teraterm/teraterm/vtterm.c
===================================================================
--- trunk/teraterm/teraterm/vtterm.c	2010-09-02 12:12:27 UTC (rev 4083)
+++ trunk/teraterm/teraterm/vtterm.c	2010-09-02 12:45:49 UTC (rev 4084)
@@ -1017,6 +1017,15 @@
     case IdVT382:
       strncat_s(Tmp,sizeof(Tmp),"63;1;2;4;5;6;7;8;10;15",_TRUNCATE);
       break;
+    case IdVT420:
+      strncat_s(Tmp,sizeof(Tmp),"64;1;2;7;8;9;15;18;21",_TRUNCATE);
+      break;
+    case IdVT520:
+      strncat_s(Tmp,sizeof(Tmp),"65;1;2;7;8;9;12;18;19;21;23;24;42;44;45;46",_TRUNCATE);
+      break;
+    case IdVT525:
+      strncat_s(Tmp,sizeof(Tmp),"65;1;2;7;9;12;18;19;21;22;23;24;42;44;45;46",_TRUNCATE);
+      break;
   }
   strncat_s(Tmp,sizeof(Tmp),"c",_TRUNCATE);
 

Modified: trunk/teraterm/ttpdlg/ttdlg.c
===================================================================
--- trunk/teraterm/ttpdlg/ttdlg.c	2010-09-02 12:12:27 UTC (rev 4083)
+++ trunk/teraterm/ttpdlg/ttdlg.c	2010-09-02 12:45:49 UTC (rev 4084)
@@ -48,12 +48,12 @@
 static PCHAR far NLListRcv[] = {"CR","CR+LF", "LF", NULL};
 static PCHAR far NLList[] = {"CR","CR+LF", NULL};
 static PCHAR far TermList[] =
-	{"VT100","VT101","VT102","VT282","VT320","VT382",NULL};
+	{"VT100","VT101","VT102","VT282","VT320","VT382","VT420","VT520","VT525",NULL};
 static WORD TermJ_Term[] = {1,1,2,3,3,4,4,5,6};
 static WORD Term_TermJ[] = {1,3,4,7,8,9};
 static PCHAR far TermListJ[] =
 	{"VT100","VT100J","VT101","VT102","VT102J","VT220J",
-	 "VT282","VT320","VT382",NULL};
+	 "VT282","VT320","VT382","VT420","VT520","VT525",NULL};
 static PCHAR far KanjiList[] = {"SJIS","EUC","JIS", "UTF-8", "UTF-8m", NULL};
 static PCHAR far KanjiListSend[] = {"SJIS","EUC","JIS", "UTF-8", NULL};
 static PCHAR far KanjiInList[] = {"^[$@","^[$B",NULL};

Modified: trunk/teraterm/ttpset/ttset.c
===================================================================
--- trunk/teraterm/ttpset/ttset.c	2010-09-02 12:12:27 UTC (rev 4083)
+++ trunk/teraterm/ttpset/ttset.c	2010-09-02 12:45:49 UTC (rev 4084)
@@ -22,7 +22,7 @@
 
 static PCHAR far TermList[] =
 	{ "VT100", "VT100J", "VT101", "VT102", "VT102J", "VT220J", "VT282",
-	"VT320", "VT382", NULL };
+	"VT320", "VT382", "VT420", "VT520", "VT525", NULL };
 
 static PCHAR far RussList[] =
 	{ "Windows", "KOI8-R", "CP-866", "ISO-8859-5", NULL };



Ttssh2-commit メーリングリストの案内