[ttssh2-commit] [10358] 印字開始シーケンスを無効化、ベルの動作設定をダイアログに追加

Zurück zum Archiv-Index
scmno****@osdn***** scmno****@osdn*****
2022年 11月 11日 (金) 23:13:12 JST


Revision: 10358
          https://osdn.net/projects/ttssh2/scm/svn/commits/10358
Author:   zmatsuo
Date:     2022-11-11 23:13:11 +0900 (Fri, 11 Nov 2022)
Log Message:
-----------
印字開始シーケンスを無効化、ベルの動作設定をダイアログに追加

- 設定-その他設定-制御シーケンス タブ

Modified Paths:
--------------
    trunk/doc/en/html/menu/setup-additional.html
    trunk/doc/ja/html/menu/setup-additional.html
    trunk/installer/release/lang_utf8/English.lng
    trunk/installer/release/lang_utf8/French.lng
    trunk/installer/release/lang_utf8/German.lng
    trunk/installer/release/lang_utf8/Japanese.lng
    trunk/installer/release/lang_utf8/Korean.lng
    trunk/installer/release/lang_utf8/Russian.lng
    trunk/installer/release/lang_utf8/Simplified Chinese.lng
    trunk/installer/release/lang_utf8/Spanish.lng
    trunk/installer/release/lang_utf8/Traditional Chinese.lng
    trunk/teraterm/common/tt_res.h
    trunk/teraterm/teraterm/addsetting.cpp
    trunk/teraterm/teraterm/ttermpro.rc

-------------- next part --------------
Modified: trunk/doc/en/html/menu/setup-additional.html
===================================================================
--- trunk/doc/en/html/menu/setup-additional.html	2022-11-11 14:13:00 UTC (rev 10357)
+++ trunk/doc/en/html/menu/setup-additional.html	2022-11-11 14:13:11 UTC (rev 10358)
@@ -207,6 +207,25 @@
         Enables the control sequence for clearing the scroll buffer. When enabled, the clear command clears the scroll buffer.
       </dd>
 
+      <dt id="DisablePrintStart">Disable print start sequence</dt>
+      <dd>
+	Disable print start by the control sequence.
+	(<a href="../setup/teraterm-prn.html#ignoremc">see also</a>)
+      </dd>
+
+      <dt id="Bell">Bell</dt>
+      <dd>
+	Select bell(BEL, ASCII $07) behavior.
+	<dl>
+    <dt>disable</dt>
+    <dt>sound</dt>
+    <dd>Output windows default beep sound.</dd>
+    <dt>visiualbell</dt>
+    <dd>Flash screen.</dd>
+	</dl>
+	(<a href="../setup/teraterm-term.html#BellLimitting">see also</a>)
+      </dd>
+
     </dl>
 
 

Modified: trunk/doc/ja/html/menu/setup-additional.html
===================================================================
--- trunk/doc/ja/html/menu/setup-additional.html	2022-11-11 14:13:00 UTC (rev 10357)
+++ trunk/doc/ja/html/menu/setup-additional.html	2022-11-11 14:13:11 UTC (rev 10358)
@@ -205,6 +205,25 @@
 	\x83z\x83X\x83g\x82\xA9\x82\xE7\x82̃X\x83N\x83\x8D\x81[\x83\x8B\x83o\x83b\x83t\x83@\x83N\x83\x8A\x83A\x97v\x8B\x81\x82\xF0\x8E󂯓\xFC\x82\xEA\x82邩\x82\xF0\x90ݒ肵\x82܂\xB7\x81B\x97L\x8C\xF8\x82ɂ\xB7\x82\xE9\x82\xC6 clear \x83R\x83}\x83\x93\x83h\x82ŃX\x83N\x83\x8D\x81[\x83\x8B\x83o\x83b\x83t\x83@\x82\xAA\x8F\xC1\x8B\x8E\x82\xB3\x82\xEA\x82\xE9\x82悤\x82ɂȂ\xE8\x82܂\xB7\x81B
       </dd>
 
+      <dt id="DisablePrintStart">Disable print start sequence</dt>
+      <dd>
+	\x88󎚊J\x8En\x83V\x81[\x83P\x83\x93\x83X\x82𖳌\x{27B0B5}\x82܂\xB7\x81B
+	(<a href="../setup/teraterm-prn.html#ignoremc">see also</a>)
+      </dd>
+
+      <dt id="Bell">Bell</dt>
+      <dd>
+	\x83x\x83\x8B(BEL, ASCII $07)\x82̓\xAE\x8D\xEC\x82\xF0\x91I\x91\xF0\x82\xB5\x82܂\xB7\x81B
+	<dl>
+    <dt>disable</dt>
+    <dt>\x83T\x83E\x83\x93\x83h</dt>
+    <dd>\x83V\x83X\x83e\x83\x80\x83f\x83t\x83H\x83\x8B\x83g\x83r\x81[\x83v\x89\xB9\x82\xAA\x8Fo\x97͂\xB3\x82\xEA\x82܂\xB7</dd>
+    <dt>\x83r\x83W\x83\x85\x83A\x83\x8B\x83x\x83\x8B</dt>
+    <dd>\x89\xE6\x96ʂ\xAA\x83t\x83\x89\x83b\x83V\x83\x85\x82\xB5\x82܂\xB7</dd>
+	</dl>
+	(<a href="../setup/teraterm-term.html#BellLimitting">see also</a>)
+      </dd>
+
     </dl>
 
 

Modified: trunk/installer/release/lang_utf8/English.lng
===================================================================
--- trunk/installer/release/lang_utf8/English.lng	2022-11-11 14:13:00 UTC (rev 10357)
+++ trunk/installer/release/lang_utf8/English.lng	2022-11-11 14:13:11 UTC (rev 10358)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2022-10-29)
+; Updated by TeraTerm Project (2022-11-11)
 
 [Tera Term]
 DLG_SYSTEM_FONT=System,14,0
@@ -214,6 +214,11 @@
 DLG_TAB_SEQUENCE_CLIPBOARD_ACCESS_WRITE=write only
 DLG_TAB_SEQUENCE_CLIPBOARD_NOTIFY=&Notify clipboard access from remote
 DLG_TAB_SEQUENCE_ACCEPT_CLEAR_SBUFF=Accept clearing &scroll buffer from remote
+DLG_TAB_SEQUENCE_PRINT_START=D&isable print start sequence
+DLG_TAB_SEQUENCE_BEEP_LABEL=&Beep
+DLG_TAB_SEQUENCE_BEEP_DISABLE=disable
+DLG_TAB_SEQUENCE_BEEP_SOUND=sound
+DLG_TAB_SEQUENCE_BEEP_VISUALBELL=visualbell
 
 DLG_TAB_COPYPASTE_CONTINUE=Enable continued &line copy
 DLG_TAB_COPYPASTE_MOUSEPASTE=&Disable mouse R button paste

Modified: trunk/installer/release/lang_utf8/French.lng
===================================================================
--- trunk/installer/release/lang_utf8/French.lng	2022-11-11 14:13:00 UTC (rev 10357)
+++ trunk/installer/release/lang_utf8/French.lng	2022-11-11 14:13:11 UTC (rev 10358)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2022-10-29)
+; Updated by TeraTerm Project (2022-11-11)
 ; Last translated (French language) by Francois MOCQ (2010-07-21)
 
 [Tera Term]
@@ -215,6 +215,11 @@
 DLG_TAB_SEQUENCE_CLIPBOARD_ACCESS_WRITE=write only
 DLG_TAB_SEQUENCE_CLIPBOARD_NOTIFY=&Notify clipboard access from remote
 DLG_TAB_SEQUENCE_ACCEPT_CLEAR_SBUFF=Accept clearing &scroll buffer from remote
+DLG_TAB_SEQUENCE_PRINT_START=D&isable print start sequence
+DLG_TAB_SEQUENCE_BEEP_LABEL=&Beep
+DLG_TAB_SEQUENCE_BEEP_DISABLE=disable
+DLG_TAB_SEQUENCE_BEEP_SOUND=sound
+DLG_TAB_SEQUENCE_BEEP_VISUALBELL=visualbell
 
 DLG_TAB_COPYPASTE_CONTINUE=Autoriser copie continue de ligne
 DLG_TAB_COPYPASTE_MOUSEPASTE=Interdire coller avec bouton D de la souris

Modified: trunk/installer/release/lang_utf8/German.lng
===================================================================
--- trunk/installer/release/lang_utf8/German.lng	2022-11-11 14:13:00 UTC (rev 10357)
+++ trunk/installer/release/lang_utf8/German.lng	2022-11-11 14:13:11 UTC (rev 10358)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2022-10-29)
+; Updated by TeraTerm Project (2022-11-11)
 ; Last translated (German language) by Frederik Schwarzer (2010-05-17)
 
 [Tera Term]
@@ -215,6 +215,11 @@
 DLG_TAB_SEQUENCE_CLIPBOARD_ACCESS_WRITE=write only
 DLG_TAB_SEQUENCE_CLIPBOARD_NOTIFY=&Notify clipboard access from remote
 DLG_TAB_SEQUENCE_ACCEPT_CLEAR_SBUFF=Accept clearing &scroll buffer from remote
+DLG_TAB_SEQUENCE_PRINT_START=D&isable print start sequence
+DLG_TAB_SEQUENCE_BEEP_LABEL=&Beep
+DLG_TAB_SEQUENCE_BEEP_DISABLE=disable
+DLG_TAB_SEQUENCE_BEEP_SOUND=sound
+DLG_TAB_SEQUENCE_BEEP_VISUALBELL=visualbell
 
 DLG_TAB_COPYPASTE_CONTINUE=Mehrere Zeilen kopieren
 DLG_TAB_COPYPASTE_MOUSEPASTE=&Einfügen mit rechter Maustaste aus

Modified: trunk/installer/release/lang_utf8/Japanese.lng
===================================================================
--- trunk/installer/release/lang_utf8/Japanese.lng	2022-11-11 14:13:00 UTC (rev 10357)
+++ trunk/installer/release/lang_utf8/Japanese.lng	2022-11-11 14:13:11 UTC (rev 10358)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2022-10-29)
+; Updated by TeraTerm Project (2022-11-11)
 
 [Tera Term]
 DLG_SYSTEM_FONT=MS Pゴシック,12,128
@@ -214,6 +214,11 @@
 DLG_TAB_SEQUENCE_CLIPBOARD_ACCESS_WRITE=書込のみ
 DLG_TAB_SEQUENCE_CLIPBOARD_NOTIFY=リモートからのクリップボードアクセスを通知する(&N)
 DLG_TAB_SEQUENCE_ACCEPT_CLEAR_SBUFF=リモートからのスクロールバッファの消去を受け入れる(&S)
+DLG_TAB_SEQUENCE_PRINT_START=印字開始シーケンスを無効化(&I)
+DLG_TAB_SEQUENCE_BEEP_LABEL=ベル(&B)
+DLG_TAB_SEQUENCE_BEEP_DISABLE=DISABLE
+DLG_TAB_SEQUENCE_BEEP_SOUND=サウンド
+DLG_TAB_SEQUENCE_BEEP_VISUALBELL=ビジュアルベル
 
 DLG_TAB_COPYPASTE_CONTINUE=継続行コピーを有効にする(&L)
 DLG_TAB_COPYPASTE_MOUSEPASTE=右クリックでの貼り付けを無効にする(&D)

Modified: trunk/installer/release/lang_utf8/Korean.lng
===================================================================
--- trunk/installer/release/lang_utf8/Korean.lng	2022-11-11 14:13:00 UTC (rev 10357)
+++ trunk/installer/release/lang_utf8/Korean.lng	2022-11-11 14:13:11 UTC (rev 10358)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2022-10-29)
+; Updated by TeraTerm Project (2022-11-11)
 ; Last translated (Korean language) by Daehong Kim (2013-07-25)
 
 [Tera Term]
@@ -215,6 +215,11 @@
 DLG_TAB_SEQUENCE_CLIPBOARD_ACCESS_WRITE=쓰기 전용
 DLG_TAB_SEQUENCE_CLIPBOARD_NOTIFY=&Notify clipboard access from remote
 DLG_TAB_SEQUENCE_ACCEPT_CLEAR_SBUFF=Accept clearing &scroll buffer from remote
+DLG_TAB_SEQUENCE_PRINT_START=D&isable print start sequence
+DLG_TAB_SEQUENCE_BEEP_LABEL=&Beep
+DLG_TAB_SEQUENCE_BEEP_DISABLE=disable
+DLG_TAB_SEQUENCE_BEEP_SOUND=sound
+DLG_TAB_SEQUENCE_BEEP_VISUALBELL=visualbell
 
 DLG_TAB_COPYPASTE_CONTINUE=연속된 줄 복사 할성화(&L)
 DLG_TAB_COPYPASTE_MOUSEPASTE=마우스 오른쪽 버튼 붙여넣기 비활성화(&D)

Modified: trunk/installer/release/lang_utf8/Russian.lng
===================================================================
--- trunk/installer/release/lang_utf8/Russian.lng	2022-11-11 14:13:00 UTC (rev 10357)
+++ trunk/installer/release/lang_utf8/Russian.lng	2022-11-11 14:13:11 UTC (rev 10358)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2022-10-29)
+; Updated by TeraTerm Project (2022-11-11)
 ; Last translated (Russian language) by Ryumik Sergey (2017-07-19)
 
 [Tera Term]
@@ -215,6 +215,11 @@
 DLG_TAB_SEQUENCE_CLIPBOARD_ACCESS_WRITE=запись
 DLG_TAB_SEQUENCE_CLIPBOARD_NOTIFY=&Уведомлять об удаленном доступе к буферу
 DLG_TAB_SEQUENCE_ACCEPT_CLEAR_SBUFF=Accept clearing &scroll buffer from remote
+DLG_TAB_SEQUENCE_PRINT_START=D&isable print start sequence
+DLG_TAB_SEQUENCE_BEEP_LABEL=&Beep
+DLG_TAB_SEQUENCE_BEEP_DISABLE=disable
+DLG_TAB_SEQUENCE_BEEP_SOUND=sound
+DLG_TAB_SEQUENCE_BEEP_VISUALBELL=visualbell
 
 DLG_TAB_COPYPASTE_CONTINUE=&Возможность продолжения копирования строки
 DLG_TAB_COPYPASTE_MOUSEPASTE=&Отключить вставку правой кнопкой мыши

Modified: trunk/installer/release/lang_utf8/Simplified Chinese.lng
===================================================================
--- trunk/installer/release/lang_utf8/Simplified Chinese.lng	2022-11-11 14:13:00 UTC (rev 10357)
+++ trunk/installer/release/lang_utf8/Simplified Chinese.lng	2022-11-11 14:13:11 UTC (rev 10358)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2022-10-29)
+; Updated by TeraTerm Project (2022-11-11)
 ; Last translated (Simplified Chinese language) by LiShaohui (2017-04-11)
 
 [Tera Term]
@@ -215,6 +215,11 @@
 DLG_TAB_SEQUENCE_CLIPBOARD_ACCESS_WRITE=只写
 DLG_TAB_SEQUENCE_CLIPBOARD_NOTIFY=远程通知剪贴板访问(&N)
 DLG_TAB_SEQUENCE_ACCEPT_CLEAR_SBUFF=Accept clearing &scroll buffer from remote
+DLG_TAB_SEQUENCE_PRINT_START=D&isable print start sequence
+DLG_TAB_SEQUENCE_BEEP_LABEL=&Beep
+DLG_TAB_SEQUENCE_BEEP_DISABLE=disable
+DLG_TAB_SEQUENCE_BEEP_SOUND=sound
+DLG_TAB_SEQUENCE_BEEP_VISUALBELL=visualbell
 
 DLG_TAB_COPYPASTE_CONTINUE=多行复制(&L)
 DLG_TAB_COPYPASTE_MOUSEPASTE=禁用右键单击粘贴(&D)

Modified: trunk/installer/release/lang_utf8/Spanish.lng
===================================================================
--- trunk/installer/release/lang_utf8/Spanish.lng	2022-11-11 14:13:00 UTC (rev 10357)
+++ trunk/installer/release/lang_utf8/Spanish.lng	2022-11-11 14:13:11 UTC (rev 10358)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2022-10-29)
+; Updated by TeraTerm Project (2022-11-11)
 ; Traducido por Filiberto Olguin Ascona.
 
 [Tera Term]
@@ -175,26 +175,41 @@
 DLG_TAB_GENERAL_AUTOSCROLL_ONLY_IN_BOTTOM_LINE=A&uto scroll only in bottom line
 DLG_TAB_GENERAL_CLEAR_ON_RESIZE=&Clear display when window resized
 DLG_TAB_GENERAL_CURSOR_CHANGE_IME=Change cursor shape with &IME state
+DLG_TAB_GENERAL_LIST_HIDDEN_FONTS=List &hidden fonts in font dialog
+DLG_TAB_GENERAL_TITLEFMT_GROUP=Title format
+DLG_TAB_GENERAL_TITLEFMT_DISPHOSTNAME=&Display host/port name
+DLG_TAB_GENERAL_TITLEFMT_DISPSESSION=Display session &number
+DLG_TAB_GENERAL_TITLEFMT_DISPVTTEK=Display &VT/TEK
+DLG_TAB_GENERAL_TITLEFMT_SWAPHOSTTITLE=Swap hostname and &title position
+DLG_TAB_GENERAL_TITLEFMT_DISPTCPPORT=Display tcp &port number
+DLG_TAB_GENERAL_TITLEFMT_DISPSERIALSPEED=Display se&rial port speed
 
-DLG_TAB_SEQENCE_ACCEPT_MOUSE_EVENT_TRACKING=Accept &mouse event tracking request
-DLG_TAB_SEQENCE_DISABLE_MOUSE_TRACKING_CTRL=&Disable mouse event tracking when Control is pressed
-DLG_TAB_SEQENCE_ACCEPT_TITLE_CHANGING=Accept window &title change request
-DLG_TAB_SEQENCE_ACCEPT_TITLE_CHANGING_OFF=off
-DLG_TAB_SEQENCE_ACCEPT_TITLE_CHANGING_OVERWRITE=overwrite
-DLG_TAB_SEQENCE_ACCEPT_TITLE_CHANGING_AHEAD=ahead
-DLG_TAB_SEQENCE_ACCEPT_TITLE_CHANGING_LAST=last
-DLG_TAB_SEQENCE_CURSOR_CTRL=&Cursor control sequence
-DLG_TAB_SEQENCE_WINDOW_CTRL=&Window control sequence
-DLG_TAB_SEQENCE_WINDOW_REPORT=Window &report sequence
-DLG_TAB_SEQENCE_TITLE_REPORT=Window t&itle report
-DLG_TAB_SEQENCE_TITLE_REPORT_IGNORE=ignore
-DLG_TAB_SEQENCE_TITLE_REPORT_ACCEPT=accept
-DLG_TAB_SEQENCE_TITLE_REPORT_EMPTY=empty
-DLG_TAB_SEQENCE_CLIPBOARD_ACCESS=C&lipboard access from remote
-DLG_TAB_SEQENCE_CLIPBOARD_ACCESS_OFF=off
-DLG_TAB_SEQENCE_CLIPBOARD_ACCESS_ON=read/write
-DLG_TAB_SEQENCE_CLIPBOARD_ACCESS_READ=read only
-DLG_TAB_SEQENCE_CLIPBOARD_ACCESS_WRITE=write only
+DLG_TAB_SEQUENCE_ACCEPT_MOUSE_EVENT_TRACKING=Accept &mouse event tracking request
+DLG_TAB_SEQUENCE_DISABLE_MOUSE_TRACKING_CTRL=&Disable mouse event tracking when Control is pressed
+DLG_TAB_SEQUENCE_ACCEPT_TITLE_CHANGING=Accept window &title change request
+DLG_TAB_SEQUENCE_ACCEPT_TITLE_CHANGING_OFF=off
+DLG_TAB_SEQUENCE_ACCEPT_TITLE_CHANGING_OVERWRITE=overwrite
+DLG_TAB_SEQUENCE_ACCEPT_TITLE_CHANGING_AHEAD=ahead
+DLG_TAB_SEQUENCE_ACCEPT_TITLE_CHANGING_LAST=last
+DLG_TAB_SEQUENCE_CURSOR_CTRL=&Cursor control sequence
+DLG_TAB_SEQUENCE_WINDOW_CTRL=&Window control sequence
+DLG_TAB_SEQUENCE_WINDOW_REPORT=Window &report sequence
+DLG_TAB_SEQUENCE_TITLE_REPORT=Window t&itle report
+DLG_TAB_SEQUENCE_TITLE_REPORT_IGNORE=ignore
+DLG_TAB_SEQUENCE_TITLE_REPORT_ACCEPT=accept
+DLG_TAB_SEQUENCE_TITLE_REPORT_EMPTY=empty
+DLG_TAB_SEQUENCE_CLIPBOARD_ACCESS=C&lipboard access from remote
+DLG_TAB_SEQUENCE_CLIPBOARD_ACCESS_OFF=off
+DLG_TAB_SEQUENCE_CLIPBOARD_ACCESS_ON=read/write
+DLG_TAB_SEQUENCE_CLIPBOARD_ACCESS_READ=read only
+DLG_TAB_SEQUENCE_CLIPBOARD_ACCESS_WRITE=write only
+DLG_TAB_SEQUENCE_CLIPBOARD_NOTIFY=&Notify clipboard access from remote
+DLG_TAB_SEQUENCE_ACCEPT_CLEAR_SBUFF=Accept clearing &scroll buffer from remote
+DLG_TAB_SEQUENCE_PRINT_START=D&isable print start sequence
+DLG_TAB_SEQUENCE_BEEP_LABEL=&Beep
+DLG_TAB_SEQUENCE_BEEP_DISABLE=disable
+DLG_TAB_SEQUENCE_BEEP_SOUND=sound
+DLG_TAB_SEQUENCE_BEEP_VISUALBELL=visualbell
 
 DLG_TAB_COPYPASTE_CONTINUE=Enable continued &line copy
 DLG_TAB_COPYPASTE_MOUSEPASTE=&Disable mouse R button paste

Modified: trunk/installer/release/lang_utf8/Traditional Chinese.lng
===================================================================
--- trunk/installer/release/lang_utf8/Traditional Chinese.lng	2022-11-11 14:13:00 UTC (rev 10357)
+++ trunk/installer/release/lang_utf8/Traditional Chinese.lng	2022-11-11 14:13:11 UTC (rev 10358)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2022-10-29)
+; Updated by TeraTerm Project (2022-11-11)
 ; Last translated (Traditional Chinese language) by kikiqqp (2014-09-20)
 
 [Tera Term]
@@ -215,6 +215,11 @@
 DLG_TAB_SEQUENCE_CLIPBOARD_ACCESS_WRITE=只寫
 DLG_TAB_SEQUENCE_CLIPBOARD_NOTIFY=&Notify clipboard access from remote
 DLG_TAB_SEQUENCE_ACCEPT_CLEAR_SBUFF=Accept clearing &scroll buffer from remote
+DLG_TAB_SEQUENCE_PRINT_START=D&isable print start sequence
+DLG_TAB_SEQUENCE_BEEP_LABEL=&Beep
+DLG_TAB_SEQUENCE_BEEP_DISABLE=disable
+DLG_TAB_SEQUENCE_BEEP_SOUND=sound
+DLG_TAB_SEQUENCE_BEEP_VISUALBELL=visualbell
 
 DLG_TAB_COPYPASTE_CONTINUE=多行複製(&L)
 DLG_TAB_COPYPASTE_MOUSEPASTE=禁用右鍵單擊貼上(&D)

Modified: trunk/teraterm/common/tt_res.h
===================================================================
--- trunk/teraterm/common/tt_res.h	2022-11-11 14:13:00 UTC (rev 10357)
+++ trunk/teraterm/common/tt_res.h	2022-11-11 14:13:11 UTC (rev 10358)
@@ -230,6 +230,9 @@
 #define IDC_THEME_EDIT                  2611
 #define IDC_THEME_EDITOR_BUTTON         2612
 #define IDC_THEME_ENABLE                2613
+#define IDC_DISABLE_PRINT_START         2614
+#define IDC_BEEP_LABEL                  2615
+#define IDC_BEEP_DROPDOWN               2616
 #define ID_ACC_SENDBREAK                50001
 #define ID_ACC_COPY                     50002
 #define ID_ACC_NEWCONNECTION            50003

Modified: trunk/teraterm/teraterm/addsetting.cpp
===================================================================
--- trunk/teraterm/teraterm/addsetting.cpp	2022-11-11 14:13:00 UTC (rev 10357)
+++ trunk/teraterm/teraterm/addsetting.cpp	2022-11-11 14:13:11 UTC (rev 10358)
@@ -222,16 +222,15 @@
 		{ IDC_ACCEPT_MOUSE_EVENT_TRACKING, "DLG_TAB_SEQUENCE_ACCEPT_MOUSE_EVENT_TRACKING" },
 		{ IDC_DISABLE_MOUSE_TRACKING_CTRL, "DLG_TAB_SEQUENCE_DISABLE_MOUSE_TRACKING_CTRL" },
 		{ IDC_ACCEPT_TITLE_CHANGING_LABEL, "DLG_TAB_SEQUENCE_ACCEPT_TITLE_CHANGING" },
-
 		{ IDC_CURSOR_CTRL_SEQ, "DLG_TAB_SEQUENCE_CURSOR_CTRL" },
 		{ IDC_WINDOW_CTRL, "DLG_TAB_SEQUENCE_WINDOW_CTRL" },
 		{ IDC_WINDOW_REPORT, "DLG_TAB_SEQUENCE_WINDOW_REPORT" },
 		{ IDC_TITLE_REPORT_LABEL, "DLG_TAB_SEQUENCE_TITLE_REPORT" },
-
 		{ IDC_CLIPBOARD_ACCESS_LABEL, "DLG_TAB_SEQUENCE_CLIPBOARD_ACCESS" },
-
 		{ IDC_CLIPBOARD_NOTIFY, "DLG_TAB_SEQUENCE_CLIPBOARD_NOTIFY" },
 		{ IDC_ACCEPT_CLEAR_SBUFF, "DLG_TAB_SEQUENCE_ACCEPT_CLEAR_SBUFF" },
+		{ IDC_DISABLE_PRINT_START, "DLG_TAB_SEQUENCE_PRINT_START" },
+		{ IDC_BEEP_LABEL, "DLG_TAB_SEQUENCE_BEEP_LABEL" },
 	};
 	SetDlgTextsW(m_hWnd, TextInfos, _countof(TextInfos), ts.UILanguageFileW);
 
@@ -300,6 +299,16 @@
 	// (10)IDC_ACCEPT_CLEAR_SBUFF
 	SetCheck(IDC_ACCEPT_CLEAR_SBUFF, (ts.TermFlag & TF_REMOTECLEARSBUFF) != 0);
 
+	SetCheck(IDC_DISABLE_PRINT_START, (ts.TermFlag & TF_PRINTERCTRL) == 0);
+
+	const static I18nTextInfo beep_type[] = {
+		{ "DLG_TAB_SEQUENCE_BEEP_DISABLE", L"disable" },		// IdBeepOff = 0
+		{ "DLG_TAB_SEQUENCE_BEEP_SOUND", L"sound" },			// IdBeepOn = 1
+		{ "DLG_TAB_SEQUENCE_BEEP_VISUALBELL", L"visualbell" },	// IdBeepVisual = 2
+	};
+	SetI18nListW("Tera Term", m_hWnd, IDC_BEEP_DROPDOWN, beep_type,
+				 _countof(beep_type), ts.UILanguageFileW, ts.Beep);
+
 	// \x83_\x83C\x83A\x83\x8D\x83O\x82Ƀt\x83H\x81[\x83J\x83X\x82𓖂Ă\xE9 (2004.12.7 yutaka)
 	::SetFocus(::GetDlgItem(GetSafeHwnd(), IDC_ACCEPT_MOUSE_EVENT_TRACKING));
 }
@@ -387,6 +396,14 @@
 	if (((ts.TermFlag & TF_REMOTECLEARSBUFF) != 0) != GetCheck(IDC_ACCEPT_CLEAR_SBUFF)) {
 		ts.TermFlag ^= TF_REMOTECLEARSBUFF;
 	}
+
+	if (GetCheck(IDC_DISABLE_PRINT_START) == 0) {
+		ts.TermFlag |= TF_PRINTERCTRL;
+	} else {
+		ts.TermFlag &= ~TF_PRINTERCTRL;
+	}
+
+	ts.Beep = GetCurSel(IDC_BEEP_DROPDOWN);
 }
 
 void CSequencePropPageDlg::OnHelp()

Modified: trunk/teraterm/teraterm/ttermpro.rc
===================================================================
--- trunk/teraterm/teraterm/ttermpro.rc	2022-11-11 14:13:00 UTC (rev 10357)
+++ trunk/teraterm/teraterm/ttermpro.rc	2022-11-11 14:13:11 UTC (rev 10358)
@@ -85,7 +85,7 @@
                     "Button",BS_AUTOCHECKBOX | WS_TABSTOP,120,170,130,10
 END
 
-IDD_TABSHEET_SEQUENCE DIALOGEX 0, 0, 258, 188
+IDD_TABSHEET_SEQUENCE DIALOGEX 0, 0, 258, 204
 STYLE DS_SETFONT | DS_CONTROL | WS_CHILD | WS_SYSMENU
 FONT 8, "Tahoma", 0, 0, 0x0
 BEGIN
@@ -106,6 +106,10 @@
                     "Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,130,220,10
     CONTROL         "Accept clearing &scroll buffer from remote",IDC_ACCEPT_CLEAR_SBUFF,
                     "Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,145,220,10
+    CONTROL         "D&isable print start sequence",IDC_DISABLE_PRINT_START,
+                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,160,220,10
+    LTEXT           "&Beep",IDC_BEEP_LABEL,10,174,141,8
+    COMBOBOX        IDC_BEEP_DROPDOWN,163,171,45,52,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
 END
 
 IDD_TABSHEET_COPYPASTE DIALOGEX 0, 0, 258, 177
@@ -386,7 +390,7 @@
         LEFTMARGIN, 5
         RIGHTMARGIN, 252
         TOPMARGIN, 5
-        BOTTOMMARGIN, 185
+        BOTTOMMARGIN, 201
     END
 
     IDD_TABSHEET_COPYPASTE, DIALOG
@@ -407,7 +411,6 @@
         VERTGUIDE, 148
         VERTGUIDE, 272
         TOPMARGIN, 5
-        BOTTOMMARGIN, 291
     END
 
     IDD_TABSHEET_LOG, DIALOG


ttssh2-commit メーリングリストの案内
Zurück zum Archiv-Index