Modified: trunk/doc/en/html/menu/setup-additional.html
===================================================================
--- trunk/doc/en/html/menu/setup-additional.html 2018-06-11 14:34:12 UTC (rev 7130)
+++ trunk/doc/en/html/menu/setup-additional.html 2018-06-14 08:43:41 UTC (rev 7131)
@@ -56,6 +56,28 @@
When this setting is enabled, whole fonts can be selected on the Font setting dialog.
+
Title format
+
Configures the window title format.
+
+
Display host/port name
+
Displays hostname or serial port name
+
+
Display session number
+
Displays session number
+
+
Display VT/TEK
+
Displays VT or TEK
+
+
Swap hostname and title position
+
Swaps the hostname and title text, displays hostname first.
+
+
Display tcp port number
+
Displays tcp port number (TCP/IP connection only)
+
+
Display serial port speed
+
Displays speed of serial port (serial connection only)
Window size is maximized when the titlie bar is double-clicked if "Term size = win size" setting is on.
Modified: trunk/doc/en/html/usage/mouse.html
===================================================================
--- trunk/doc/en/html/usage/mouse.html 2018-06-14 08:43:41 UTC (rev 7131)
+++ trunk/doc/en/html/usage/mouse.html 2018-06-14 08:43:47 UTC (rev 7132)
@@ -40,8 +40,16 @@
It is effective when DisableMouseRButtonPaste is disabled.
Double clicking the left button on the title bar
-
If the window size (real screen size) is not equal to the terminal size (logical size of the terminal), resizes the window to the terminal size. A further double clicking restores the original window size.
Maximize window. If the window is already maximized, restore to the original size.
+
Off
+
If the window size (real screen size) is not equal to the terminal size (logical size of the terminal), resizes the window to the terminal size. A further double clicking restores the original window size.
+
+
+
Clicking the left button while pressing the Ctrl key
If the menu bar is hidden, the pop-up menu appears. To hide the menu bar, check the Hide menu bar option in the [Setup] Window dialog box.
Term size = win size \x90?肪 on \x82??\x82?A\x83^\x83C\x83g\x83\x8B\x83o\x81[\x82\xF0\x83_\x83u\x83\x8B\x83N\x83\x8A\x83b\x83N\x82\xB5\x82\xBD\x8E\x9E\x82?E\x83B\x83\x93\x83h\x83E\x83T\x83C\x83Y\x82\xF0\x8Dő?\x82\xB7\x82\xE9\x82悤\x82?ύX\x82\xB5\x82\xBD\x81B
\x83\x81\x83j\x83\x85\x81[\x83o\x81[\x82\xAA\x82?\xAF\x82\xEA\x82?A\x83|\x83b\x83v\x83A\x83b\x83v\x83\x81\x83j\x83\x85\x81[\x82\xAA\x8C\xBB\x82\xEA\x82?\xB7\x81B\x83\x81\x83j\x83\x85\x81[\x83o\x81[\x82\xF0\x89B\x82\xB7\x82??A[Setup] Window \x82\xC5 Hide menu bar \x82\xF0\x91I\x91\xF0\x82\xB5\x82Ă\xAD\x82\xBE\x82\xB3\x82\xA2\x81B
Modified: branches/drag_and_drop/doc/en/html/menu/setup-additional.html
===================================================================
--- branches/drag_and_drop/doc/en/html/menu/setup-additional.html 2018-06-28 14:24:07 UTC (rev 7141)
+++ branches/drag_and_drop/doc/en/html/menu/setup-additional.html 2018-06-29 15:29:01 UTC (rev 7142)
@@ -56,6 +56,28 @@
When this setting is enabled, whole fonts can be selected on the Font setting dialog.
+
Title format
+
Configures the window title format.
+
+
Display host/port name
+
Displays hostname or serial port name
+
+
Display session number
+
Displays session number
+
+
Display VT/TEK
+
Displays VT or TEK
+
+
Swap hostname and title position
+
Swaps the hostname and title text, displays hostname first.
+
+
Display tcp port number
+
Displays tcp port number (TCP/IP connection only)
+
+
Display serial port speed
+
Displays speed of serial port (serial connection only)
+
+
Modified: branches/drag_and_drop/doc/en/html/usage/mouse.html
===================================================================
--- branches/drag_and_drop/doc/en/html/usage/mouse.html 2018-06-28 14:24:07 UTC (rev 7141)
+++ branches/drag_and_drop/doc/en/html/usage/mouse.html 2018-06-29 15:29:01 UTC (rev 7142)
@@ -40,8 +40,16 @@
It is effective when DisableMouseRButtonPaste is disabled.
Double clicking the left button on the title bar
-
If the window size (real screen size) is not equal to the terminal size (logical size of the terminal), resizes the window to the terminal size. A further double clicking restores the original window size.
Maximize window. If the window is already maximized, restore to the original size.
+
Off
+
If the window size (real screen size) is not equal to the terminal size (logical size of the terminal), resizes the window to the terminal size. A further double clicking restores the original window size.
+
+
+
Clicking the left button while pressing the Ctrl key
If the menu bar is hidden, the pop-up menu appears. To hide the menu bar, check the Hide menu bar option in the [Setup] Window dialog box.
Term size = win size \x90?肪 on \x82??\x82?A\x83^\x83C\x83g\x83\x8B\x83o\x81[\x82\xF0\x83_\x83u\x83\x8B\x83N\x83\x8A\x83b\x83N\x82\xB5\x82\xBD\x8E\x9E\x82?E\x83B\x83\x93\x83h\x83E\x83T\x83C\x83Y\x82\xF0\x8Dő?\x82\xB7\x82\xE9\x82悤\x82?ύX\x82\xB5\x82\xBD\x81B
+
\x83\x81\x83j\x83\x85\x81[\x83o\x81[\x82\xAA\x82?\xAF\x82\xEA\x82?A\x83|\x83b\x83v\x83A\x83b\x83v\x83\x81\x83j\x83\x85\x81[\x82\xAA\x8C\xBB\x82\xEA\x82?\xB7\x81B\x83\x81\x83j\x83\x85\x81[\x83o\x81[\x82\xF0\x89B\x82\xB7\x82??A[Setup] Window \x82\xC5 Hide menu bar \x82\xF0\x91I\x91\xF0\x82\xB5\x82Ă\xAD\x82\xBE\x82\xB3\x82\xA2\x81B
Modified: branches/drag_and_drop/installer/release/lang/English.lng
===================================================================
--- branches/drag_and_drop/installer/release/lang/English.lng 2018-06-28 14:24:07 UTC (rev 7141)
+++ branches/drag_and_drop/installer/release/lang/English.lng 2018-06-29 15:29:01 UTC (rev 7142)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2018-05-17)
+; Updated by TeraTerm Project (2018-06-14)
[Tera Term]
DLG_SYSTEM_FONT=System,14,0
@@ -184,6 +184,13 @@
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_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
Modified: branches/drag_and_drop/installer/release/lang/French.lng
===================================================================
--- branches/drag_and_drop/installer/release/lang/French.lng 2018-06-28 14:24:07 UTC (rev 7141)
+++ branches/drag_and_drop/installer/release/lang/French.lng 2018-06-29 15:29:01 UTC (rev 7142)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2018-05-17)
+; Updated by TeraTerm Project (2018-06-14)
; Last translated (French language) by Francois MOCQ (2010-07-21)
[Tera Term]
@@ -185,6 +185,13 @@
DLG_TAB_GENERAL_CLEAR_ON_RESIZE=Effacer l'\xE9cran quand la fen\xEAtre est redimensionn\xE9e
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_SEQUENCE_ACCEPT_MOUSE_EVENT_TRACKING=Accepter les \xE9v\xE9nement souris
DLG_TAB_SEQUENCE_DISABLE_MOUSE_TRACKING_CTRL=Accepter les \xE9v\xE9nement souris quand CTRL est appuy\xE9
Modified: branches/drag_and_drop/installer/release/lang/German.lng
===================================================================
--- branches/drag_and_drop/installer/release/lang/German.lng 2018-06-28 14:24:07 UTC (rev 7141)
+++ branches/drag_and_drop/installer/release/lang/German.lng 2018-06-29 15:29:01 UTC (rev 7142)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2018-05-17)
+; Updated by TeraTerm Project (2018-06-14)
; Last translated (German language) by Frederik Schwarzer (2010-05-17)
[Tera Term]
@@ -185,6 +185,13 @@
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_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
Modified: branches/drag_and_drop/installer/release/lang/Japanese.lng
===================================================================
--- branches/drag_and_drop/installer/release/lang/Japanese.lng 2018-06-28 14:24:07 UTC (rev 7141)
+++ branches/drag_and_drop/installer/release/lang/Japanese.lng 2018-06-29 15:29:01 UTC (rev 7142)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2018-05-17)
+; Updated by TeraTerm Project (2018-06-14)
[Tera Term]
DLG_SYSTEM_FONT=\x82l\x82r \x82o\x83S\x83V\x83b\x83N,12,128
@@ -186,6 +186,13 @@
DLG_TAB_GENERAL_CLEAR_ON_RESIZE=\x83E\x83B\x83\x93\x83h\x83E\x83T\x83C\x83Y\x95ύX\x8E\x9E\x82?\\x8E\xA6\x93\xE0\x97e\x82\xF0\x83N\x83\x8A\x83A\x82\xB7\x82\xE9(&C)
DLG_TAB_GENERAL_CURSOR_CHANGE_IME=&IME\x82?\xF3\x91??\xE6\x82\xC1\x82ăJ\x81[\x83\\x83\x8B\x8C`\x8F\xF3\x82\xF0\x95ύX\x82\xB7\x82\xE9
DLG_TAB_GENERAL_LIST_HIDDEN_FONTS=OS\x82Ŕ\xF1\x95\\x8E\xA6\x82?t\x83H\x83\x93\x83g\x82\xE0\x83t\x83H\x83\x93\x83g\x83_\x83C\x83A\x83\x8D\x83O\x82??\x82?\\x8E\xA6\x82\xB7\x82\xE9(&H)
+DLG_TAB_GENERAL_TITLEFMT_GROUP=\x83^\x83C\x83g\x83\x8B\x8C`\x8E\xAE
+DLG_TAB_GENERAL_TITLEFMT_DISPHOSTNAME=\x83z\x83X\x83g/\x83|\x81[\x83g\x96\xBC\x82\xF0\x95\\x8E\xA6\x82\xB7\x82\xE9(&D)
+DLG_TAB_GENERAL_TITLEFMT_DISPSESSION=\x83Z\x83b\x83V\x83\x87\x83\x93\x94?\x86\x82\xF0\x95\\x8E\xA6\x82\xB7\x82\xE9(&N)
+DLG_TAB_GENERAL_TITLEFMT_DISPVTTEK=&VT/TEK \x82\xF0\x95\\x8E\xA6\x82\xB7\x82\xE9
+DLG_TAB_GENERAL_TITLEFMT_SWAPHOSTTITLE=\x83^\x83C\x83g\x83\x8B\x82?z\x83X\x83g\x96\xBC\x82??\x82\xF0\x93\xFC\x82?\x82\xA6\x82\xE9(&T)
+DLG_TAB_GENERAL_TITLEFMT_DISPTCPPORT=TCP \x83|\x81[\x83g\x94?\x86\x82\xF0\x95\\x8E\xA6\x82\xB7\x82\xE9(&P)
+DLG_TAB_GENERAL_TITLEFMT_DISPSERIALSPEED=\x83V\x83\x8A\x83A\x83\x8B\x83|\x81[\x83g\x82?X\x83s\x81[\x83h\x82\xF0\x95\\x8E\xA6\x82\xB7\x82\xE9(&R)
DLG_TAB_SEQUENCE_ACCEPT_MOUSE_EVENT_TRACKING=\x83}\x83E\x83X\x83C\x83x\x83\x93\x83g\x92?m\x97v\x8B\x81\x82\xF0\x8E?\xFC\x82\xEA\x82\xE9(&M)
DLG_TAB_SEQUENCE_DISABLE_MOUSE_TRACKING_CTRL=Control\x83L\x81[\x82\xF0\x89\x9F\x82\xB5\x82Ă\xA2\x82\xE9\x8A??}\x83E\x83X\x83C\x83x\x83\x93\x83g\x82\xF0\x92?m\x82\xB5\x82?\xA2(&D)
Modified: branches/drag_and_drop/installer/release/lang/Korean.lng
===================================================================
--- branches/drag_and_drop/installer/release/lang/Korean.lng 2018-06-28 14:24:07 UTC (rev 7141)
+++ branches/drag_and_drop/installer/release/lang/Korean.lng 2018-06-29 15:29:01 UTC (rev 7142)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2018-05-17)
+; Updated by TeraTerm Project (2018-06-14)
; Last translated (Korean language) by Daehong Kim (2013-07-25)
[Tera Term]
@@ -185,6 +185,13 @@
DLG_TAB_GENERAL_CLEAR_ON_RESIZE=â ũ\xB1? \xC0?\xC1\xA4\xB5\xC9 \xB6\xA7 ?\xB8\xE9 \xBA\xF1\xBF\xEC\xB1\xE2(&C)
DLG_TAB_GENERAL_CURSOR_CHANGE_IME=IME\xBB\xF3\xC5¿\xA1 \xB5\xFB\xB6\xF3 Ŀ\xBC\xAD \xB8\xF0\xBE\xE7 \xBA\xAF\xB0\xE6(&I)
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_SEQUENCE_ACCEPT_MOUSE_EVENT_TRACKING=\xB8\xB6\xBF? \xC0?\xA5? \xC3\xDFô \xBF\xE4û\xC0\xBB \xB9?\xC0\xB4?\xD9(&M)
DLG_TAB_SEQUENCE_DISABLE_MOUSE_TRACKING_CTRL=\xC4\xC1?\xB7\xD1\xC0\xCC \xB4\xAD\xB7\xC8\xC0\xBB \xB6\xA7 \xB8\xB6\xBF? \xC0?\xA5? \xC3\xDF\xC0\xFB \xBA\xF1?\xBC\xBA?(&D)
Modified: branches/drag_and_drop/installer/release/lang/Russian.lng
===================================================================
--- branches/drag_and_drop/installer/release/lang/Russian.lng 2018-06-28 14:24:07 UTC (rev 7141)
+++ branches/drag_and_drop/installer/release/lang/Russian.lng 2018-06-29 15:29:01 UTC (rev 7142)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2018-05-17)
+; Updated by TeraTerm Project (2018-06-14)
; Last translated (Russian language) by Ryumik Sergey (2017-07-19)
[Tera Term]
@@ -185,6 +185,13 @@
DLG_TAB_GENERAL_CLEAR_ON_RESIZE=&\xCE\xF7\xE8\xF1\xF2\xE8\xF2\xFC \xFD\xEA\xF0\xE0\xED \xEF\xF0\xE8 \xE8\xE7\xEC\xE5\xED\xE5\xED\xE8\xE8 \xF0\xE0\xE7\xEC\xE5\xF0\xE0 \xEE\xEA\xED\xE0
DLG_TAB_GENERAL_CURSOR_CHANGE_IME=&\xC8\xE7\xEC\xE5\xED\xE8\xF2\xFC \xE2\xE8\xE4 \xEA\xF3\xF0\xF1\xEE\xF0\xE0 \xE2 \xF1\xEE\xEE\xF2\xE2\xE5\xF2\xF1\xF2\xE2\xE8\xE8 \xF1 \xF0\xE5\xE6\xE8\xEC\xEE\xEC IME
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_SEQUENCE_ACCEPT_MOUSE_EVENT_TRACKING=\xCF\xF0\xE8\xED\xFF\xF2\xFC \xE7\xE0\xEF\xF0\xEE\xF1 \xED\xE0 \xEE\xF2\xF1\xEB\xE5\xE6\xE8\xE2\xE0\xED\xE8\xE5 \xF1\xEE\xE1\xFB\xF2\xE8\xE9 \xEC\xFB\xF8\xE8
DLG_TAB_SEQUENCE_DISABLE_MOUSE_TRACKING_CTRL=&\xCE\xF2\xEA\xEB\xFE\xF7\xE8\xF2\xFC \xEE\xF2\xF1\xEB\xE5\xE6\xE8\xE2\xE0\xED\xE8\xE5 \xF1\xEE\xE1\xFB\xF2\xE8\xE9 \xEC\xFB\xF8\xE8
Modified: branches/drag_and_drop/installer/release/lang/Simplified Chinese.lng
===================================================================
--- branches/drag_and_drop/installer/release/lang/Simplified Chinese.lng 2018-06-28 14:24:07 UTC (rev 7141)
+++ branches/drag_and_drop/installer/release/lang/Simplified Chinese.lng 2018-06-29 15:29:01 UTC (rev 7142)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2018-05-17)
+; Updated by TeraTerm Project (2018-06-14)
; Last translated (Simplified Chinese language) by LiShaohui (2017-04-11)
[Tera Term]
@@ -185,6 +185,13 @@
DLG_TAB_GENERAL_CLEAR_ON_RESIZE=\xB8ı?\xBF?\xF3С?\xC7\xE5\xBF\xD5\xC6\xC1Ļ(&C)
DLG_TAB_GENERAL_CURSOR_CHANGE_IME=\xB8\xF9\xBE\xDD\xCA\xE4\xC8???\xB8ı\xE4\xB9\xE2\xB1\xEA\xD0\xCE?(&I)
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_SEQUENCE_ACCEPT_MOUSE_EVENT_TRACKING=\xBD\xD3\xCA\xDC\xCA\xF3\xB1\xEA\xCA?\xFE\xB8\xFA\xD7\xD9\xC7\xEB\xC7\xF3(&M)
DLG_TAB_SEQUENCE_DISABLE_MOUSE_TRACKING_CTRL=\xB0\xB4\xCF\xC2 Ctrl \xBC\xFC?\xA3\xAC\xBD\xFB\xD3\xC3\xCA\xF3\xB1\xEA\xCA?\xFE\xB8\xFA\xD7\xD9(&D)
Modified: branches/drag_and_drop/installer/release/lang/Traditional Chinese.lng
===================================================================
--- branches/drag_and_drop/installer/release/lang/Traditional Chinese.lng 2018-06-28 14:24:07 UTC (rev 7141)
+++ branches/drag_and_drop/installer/release/lang/Traditional Chinese.lng 2018-06-29 15:29:01 UTC (rev 7142)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2018-05-17)
+; Updated by TeraTerm Project (2018-06-13)
; Last translated (Traditional Chinese language) by kikiqqp (2014-09-20)
[Tera Term]
@@ -185,6 +185,13 @@
DLG_TAB_GENERAL_CLEAR_ON_RESIZE=\xA7\xEF\xC5?\xF8\xB5\xA1\xA4j\xA4p\xAE?M\xAA?ù\xF5(&C)
DLG_TAB_GENERAL_CURSOR_CHANGE_IME=\xAE??\xE9\xA4J\xAAk\xAA\xAC\xBAA\xA7\xEF\xC5?\xE5\xBCЧΪ\xAC(&I)
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_SEQUENCE_ACCEPT_MOUSE_EVENT_TRACKING=\xB1\xB5\xA8\xFC\xB7?\xAB\xA8?\xF3\xB8\xF2\xC2?ШD(&M)
DLG_TAB_SEQUENCE_DISABLE_MOUSE_TRACKING_CTRL=\xAB\xF6\xA4U Ctrl \xC1\xE4\xAE?A\xB8T\xA5η?\xAB\xA8?\xF3\xB8\xF2\xC2\xDC(&D)
Index: branches/drag_and_drop/teraterm
===================================================================
--- branches/drag_and_drop/teraterm 2018-06-28 14:24:07 UTC (rev 7141)
+++ branches/drag_and_drop/teraterm 2018-06-29 15:29:01 UTC (rev 7142)
Property changes on: branches/drag_and_drop/teraterm
___________________________________________________________________
Modified: svn:mergeinfo
## -1 +1,2 ##
-/branches/vs2015_warn/teraterm:6194-6285
\ No newline at end of property
+/branches/vs2015_warn/teraterm:6194-6285
+/trunk/teraterm:7131-7140
\ No newline at end of property
Modified: branches/drag_and_drop/teraterm/common/tt_res.h
===================================================================
--- branches/drag_and_drop/teraterm/common/tt_res.h 2018-06-28 14:24:07 UTC (rev 7141)
+++ branches/drag_and_drop/teraterm/common/tt_res.h 2018-06-29 15:29:01 UTC (rev 7142)
@@ -213,20 +213,27 @@
#define IDC_NORMALIZE_LINEBREAK 2565
#define IDC_CLIPBOARD_NOTIFY 2566
#define IDC_LIST_HIDDEN_FONTS 2567
-#define IDC_BINARY_CHECK 2568
-#define IDC_SAME_PROCESS_CHECK 2569
-#define IDC_FILENAME_EDIT 2570
-#define IDC_SCP_RADIO 2571
-#define IDC_SENDFILE_RADIO 2572
-#define IDC_PASTE_RADIO 2573
-#define IDC_ESCAPE_CHECK 2574
-#define IDC_SCP_PATH_LABEL 2575
-#define IDC_SCP_PATH_NOTE 2576
-#define IDC_SPACE_RADIO 2577
-#define IDC_NEWLINE_RADIO 2578
-#define IDC_DAD_NOTE 2579
-#define IDC_SAME_PROCESS_NEXTDROP_CHECK 2580
-#define IDC_DONTSHOW_CHECK 2581
+#define IDC_TITLEFMT_GROUP 2568
+#define IDC_TITLEFMT_DISPHOSTNAME 2569
+#define IDC_TITLEFMT_DISPSESSION 2570
+#define IDC_TITLEFMT_DISPVTTEK 2571
+#define IDC_TITLEFMT_SWAPHOSTTITLE 2572
+#define IDC_TITLEFMT_DISPTCPPORT 2573
+#define IDC_TITLEFMT_DISPSERIALSPEED 2574
+#define IDC_FILENAME_EDIT 2575
+#define IDC_SCP_RADIO 2576
+#define IDC_SENDFILE_RADIO 2577
+#define IDC_PASTE_RADIO 2578
+#define IDC_SCP_PATH_LABEL 2579
+#define IDC_SCP_PATH_NOTE 2580
+#define IDC_BINARY_CHECK 2581
+#define IDC_ESCAPE_CHECK 2582
+#define IDC_SPACE_RADIO 2583
+#define IDC_NEWLINE_RADIO 2584
+#define IDC_SAME_PROCESS_CHECK 2585
+#define IDC_SAME_PROCESS_NEXTDROP_CHECK 2586
+#define IDC_DONTSHOW_CHECK 2587
+#define IDC_DAD_NOTE 2588
#define ID_ACC_SENDBREAK 50001
#define ID_ACC_COPY 50002
#define ID_ACC_NEWCONNECTION 50003
@@ -324,7 +331,7 @@
#define _APS_NO_MFC 1
#define _APS_NEXT_RESOURCE_VALUE 126
#define _APS_NEXT_COMMAND_VALUE 52031
-#define _APS_NEXT_CONTROL_VALUE 2582
+#define _APS_NEXT_CONTROL_VALUE 2589
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif
Modified: branches/drag_and_drop/teraterm/keycode/keycode.v15.vcxproj
===================================================================
--- branches/drag_and_drop/teraterm/keycode/keycode.v15.vcxproj 2018-06-28 14:24:07 UTC (rev 7141)
+++ branches/drag_and_drop/teraterm/keycode/keycode.v15.vcxproj 2018-06-29 15:29:01 UTC (rev 7142)
@@ -14,7 +14,7 @@
{B31BF2E8-79E6-4735-BEA2-C1B4041C2D2E}keycodekeycode
- 8.1
+ 10.0.17134.0
@@ -133,4 +133,4 @@
-
+
\ No newline at end of file
Modified: branches/drag_and_drop/teraterm/svnrev/svnrev.v15.vcxproj
===================================================================
--- branches/drag_and_drop/teraterm/svnrev/svnrev.v15.vcxproj 2018-06-28 14:24:07 UTC (rev 7141)
+++ branches/drag_and_drop/teraterm/svnrev/svnrev.v15.vcxproj 2018-06-29 15:29:01 UTC (rev 7142)
@@ -15,7 +15,7 @@
svnrevWin32Projsvnrev
- 8.1
+ 10.0.17134.0
Modified: branches/drag_and_drop/teraterm/teraterm/addsetting.cpp
===================================================================
--- branches/drag_and_drop/teraterm/teraterm/addsetting.cpp 2018-06-28 14:24:07 UTC (rev 7141)
+++ branches/drag_and_drop/teraterm/teraterm/addsetting.cpp 2018-06-29 15:29:01 UTC (rev 7142)
@@ -120,6 +120,13 @@
SendDlgItemMessage(IDC_CLEAR_ON_RESIZE, WM_SETFONT, (WPARAM)DlgGeneralFont, MAKELPARAM(TRUE,0));
SendDlgItemMessage(IDC_CURSOR_CHANGE_IME, WM_SETFONT, (WPARAM)DlgGeneralFont, MAKELPARAM(TRUE,0));
SendDlgItemMessage(IDC_LIST_HIDDEN_FONTS, WM_SETFONT, (WPARAM)DlgGeneralFont, MAKELPARAM(TRUE,0));
+ SendDlgItemMessage(IDC_TITLEFMT_GROUP, WM_SETFONT, (WPARAM)DlgGeneralFont, MAKELPARAM(TRUE,0));
+ SendDlgItemMessage(IDC_TITLEFMT_DISPHOSTNAME, WM_SETFONT, (WPARAM)DlgGeneralFont, MAKELPARAM(TRUE,0));
+ SendDlgItemMessage(IDC_TITLEFMT_DISPSESSION, WM_SETFONT, (WPARAM)DlgGeneralFont, MAKELPARAM(TRUE,0));
+ SendDlgItemMessage(IDC_TITLEFMT_DISPVTTEK, WM_SETFONT, (WPARAM)DlgGeneralFont, MAKELPARAM(TRUE,0));
+ SendDlgItemMessage(IDC_TITLEFMT_SWAPHOSTTITLE, WM_SETFONT, (WPARAM)DlgGeneralFont, MAKELPARAM(TRUE,0));
+ SendDlgItemMessage(IDC_TITLEFMT_DISPTCPPORT, WM_SETFONT, (WPARAM)DlgGeneralFont, MAKELPARAM(TRUE,0));
+ SendDlgItemMessage(IDC_TITLEFMT_DISPSERIALSPEED, WM_SETFONT, (WPARAM)DlgGeneralFont, MAKELPARAM(TRUE,0));
}
else {
DlgGeneralFont = NULL;
@@ -150,6 +157,28 @@
get_lang_msg("DLG_TAB_GENERAL_LIST_HIDDEN_FONTS", ts.UIMsg, sizeof(ts.UIMsg), uimsg, ts.UILanguageFile);
SetDlgItemText(IDC_LIST_HIDDEN_FONTS, ts.UIMsg);
+ GetDlgItemText(IDC_TITLEFMT_GROUP, uimsg, sizeof(uimsg));
+ get_lang_msg("DLG_TAB_GENERAL_TITLEFMT_GROUP", ts.UIMsg, sizeof(ts.UIMsg), uimsg, ts.UILanguageFile);
+ SetDlgItemText(IDC_TITLEFMT_GROUP, ts.UIMsg);
+ GetDlgItemText(IDC_TITLEFMT_DISPHOSTNAME, uimsg, sizeof(uimsg));
+ get_lang_msg("DLG_TAB_GENERAL_TITLEFMT_DISPHOSTNAME", ts.UIMsg, sizeof(ts.UIMsg), uimsg, ts.UILanguageFile);
+ SetDlgItemText(IDC_TITLEFMT_DISPHOSTNAME, ts.UIMsg);
+ GetDlgItemText(IDC_TITLEFMT_DISPSESSION, uimsg, sizeof(uimsg));
+ get_lang_msg("DLG_TAB_GENERAL_TITLEFMT_DISPSESSION", ts.UIMsg, sizeof(ts.UIMsg), uimsg, ts.UILanguageFile);
+ SetDlgItemText(IDC_TITLEFMT_DISPSESSION, ts.UIMsg);
+ GetDlgItemText(IDC_TITLEFMT_DISPVTTEK, uimsg, sizeof(uimsg));
+ get_lang_msg("DLG_TAB_GENERAL_TITLEFMT_DISPVTTEK", ts.UIMsg, sizeof(ts.UIMsg), uimsg, ts.UILanguageFile);
+ SetDlgItemText(IDC_TITLEFMT_DISPVTTEK, ts.UIMsg);
+ GetDlgItemText(IDC_TITLEFMT_SWAPHOSTTITLE, uimsg, sizeof(uimsg));
+ get_lang_msg("DLG_TAB_GENERAL_TITLEFMT_SWAPHOSTTITLE", ts.UIMsg, sizeof(ts.UIMsg), uimsg, ts.UILanguageFile);
+ SetDlgItemText(IDC_TITLEFMT_SWAPHOSTTITLE, ts.UIMsg);
+ GetDlgItemText(IDC_TITLEFMT_DISPTCPPORT, uimsg, sizeof(uimsg));
+ get_lang_msg("DLG_TAB_GENERAL_TITLEFMT_DISPTCPPORT", ts.UIMsg, sizeof(ts.UIMsg), uimsg, ts.UILanguageFile);
+ SetDlgItemText(IDC_TITLEFMT_DISPTCPPORT, ts.UIMsg);
+ GetDlgItemText(IDC_TITLEFMT_DISPSERIALSPEED, uimsg, sizeof(uimsg));
+ get_lang_msg("DLG_TAB_GENERAL_TITLEFMT_DISPSERIALSPEED", ts.UIMsg, sizeof(ts.UIMsg), uimsg, ts.UILanguageFile);
+ SetDlgItemText(IDC_TITLEFMT_DISPSERIALSPEED, ts.UIMsg);
+
// (1)DisableAcceleratorSendBreak
btn = (CButton *)GetDlgItem(IDC_DISABLE_SENDBREAK);
btn->SetCheck(ts.DisableAcceleratorSendBreak);
@@ -182,6 +211,25 @@
btn = (CButton *)GetDlgItem(IDC_LIST_HIDDEN_FONTS);
btn->SetCheck(ts.ListHiddenFonts);
+ // (9) Title Format
+ btn = (CButton *)GetDlgItem(IDC_TITLEFMT_DISPHOSTNAME);
+ btn->SetCheck((ts.TitleFormat & 1) != 0);
+
+ btn = (CButton *)GetDlgItem(IDC_TITLEFMT_DISPSESSION);
+ btn->SetCheck((ts.TitleFormat & (1<<1)) != 0);
+
+ btn = (CButton *)GetDlgItem(IDC_TITLEFMT_DISPVTTEK);
+ btn->SetCheck((ts.TitleFormat & (1<<2)) != 0);
+
+ btn = (CButton *)GetDlgItem(IDC_TITLEFMT_SWAPHOSTTITLE);
+ btn->SetCheck((ts.TitleFormat & (1<<3)) != 0);
+
+ btn = (CButton *)GetDlgItem(IDC_TITLEFMT_DISPTCPPORT);
+ btn->SetCheck((ts.TitleFormat & (1<<4)) != 0);
+
+ btn = (CButton *)GetDlgItem(IDC_TITLEFMT_DISPSERIALSPEED);
+ btn->SetCheck((ts.TitleFormat & (1<<5)) != 0);
+
// \x83_\x83C\x83A\x83\x8D\x83O\x82?t\x83H\x81[\x83J\x83X\x82?Ă\xE9 (2004.12.7 yutaka)
::SetFocus(::GetDlgItem(GetSafeHwnd(), IDC_CLICKABLE_URL));
@@ -231,6 +279,20 @@
// (8)IDC_LIST_HIDDEN_FONTS
btn = (CButton *)GetDlgItem(IDC_LIST_HIDDEN_FONTS);
ts.ListHiddenFonts = btn->GetCheck();
+
+ // (9) Title Format
+ btn = (CButton *)GetDlgItem(IDC_TITLEFMT_DISPHOSTNAME);
+ ts.TitleFormat = (btn->GetCheck() == BST_CHECKED);
+ btn = (CButton *)GetDlgItem(IDC_TITLEFMT_DISPSESSION);
+ ts.TitleFormat |= ((btn->GetCheck() == BST_CHECKED) << 1);
+ btn = (CButton *)GetDlgItem(IDC_TITLEFMT_DISPVTTEK);
+ ts.TitleFormat |= ((btn->GetCheck() == BST_CHECKED) << 2);
+ btn = (CButton *)GetDlgItem(IDC_TITLEFMT_SWAPHOSTTITLE);
+ ts.TitleFormat |= ((btn->GetCheck() == BST_CHECKED) << 3);
+ btn = (CButton *)GetDlgItem(IDC_TITLEFMT_DISPTCPPORT);
+ ts.TitleFormat |= ((btn->GetCheck() == BST_CHECKED) << 4);
+ btn = (CButton *)GetDlgItem(IDC_TITLEFMT_DISPSERIALSPEED);
+ ts.TitleFormat |= ((btn->GetCheck() == BST_CHECKED) << 5);
}
Modified: branches/drag_and_drop/teraterm/teraterm/clipboar.c
===================================================================
--- branches/drag_and_drop/teraterm/teraterm/clipboar.c 2018-06-28 14:24:07 UTC (rev 7141)
+++ branches/drag_and_drop/teraterm/teraterm/clipboar.c 2018-06-29 15:29:01 UTC (rev 7142)
@@ -31,6 +31,7 @@
#include "teraterm.h"
#include "tttypes.h"
#include "vtdisp.h"
+#include "vtterm.h"
#include
#include
#include
@@ -372,12 +373,8 @@
}
}
-#define BracketStartLen (sizeof(BracketStart)-1)
-#define BracketEndLen (sizeof(BracketEnd)-1)
void CBStartPaste(HWND HWin, BOOL AddCR, BOOL Bracketed)
{
- static char BracketStart[] = "\033[200~";
- static char BracketEnd[] = "\033[201~";
UINT Cf;
PCHAR TmpPtr;
LPWSTR TmpPtrW;
Modified: branches/drag_and_drop/teraterm/teraterm/ttermpro.rc
===================================================================
--- branches/drag_and_drop/teraterm/teraterm/ttermpro.rc 2018-06-28 14:24:07 UTC (rev 7141)
+++ branches/drag_and_drop/teraterm/teraterm/ttermpro.rc 2018-06-29 15:29:01 UTC (rev 7142)
@@ -82,6 +82,19 @@
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,100,220,10
CONTROL "List &hidden fonts in font dialog",IDC_LIST_HIDDEN_FONTS,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,115,220,10
+ GROUPBOX "Title format",IDC_TITLEFMT_GROUP,5,130,250,55
+ CONTROL "&Display host/port name",IDC_TITLEFMT_DISPHOSTNAME,
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,140,108,10
+ CONTROL "Display session &number",IDC_TITLEFMT_DISPSESSION,
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,155,108,10
+ CONTROL "Display &VT/TEK",IDC_TITLEFMT_DISPVTTEK,
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,170,108,10
+ CONTROL "Swap hostname and &title position",IDC_TITLEFMT_SWAPHOSTTITLE,
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,120,140,130,10
+ CONTROL "Display tcp &port number",IDC_TITLEFMT_DISPTCPPORT,
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,120,155,130,10
+ CONTROL "Display se&rial port speed",IDC_TITLEFMT_DISPSERIALSPEED,
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,120,170,130,10
END
IDD_TABSHEET_SEQUENCE DIALOGEX 0, 0, 258, 188
Modified: branches/drag_and_drop/teraterm/teraterm/ttermpro.v15.vcxproj
===================================================================
--- branches/drag_and_drop/teraterm/teraterm/ttermpro.v15.vcxproj 2018-06-28 14:24:07 UTC (rev 7141)
+++ branches/drag_and_drop/teraterm/teraterm/ttermpro.v15.vcxproj 2018-06-29 15:29:01 UTC (rev 7142)
@@ -15,7 +15,7 @@
ttermproMFCProjttermpro
- 8.1
+ 10.0.17134.0
@@ -219,4 +219,4 @@
-
+
\ No newline at end of file
Modified: branches/drag_and_drop/teraterm/teraterm/vtterm.c
===================================================================
--- branches/drag_and_drop/teraterm/teraterm/vtterm.c 2018-06-28 14:24:07 UTC (rev 7141)
+++ branches/drag_and_drop/teraterm/teraterm/vtterm.c 2018-06-29 15:29:01 UTC (rev 7142)
@@ -98,8 +98,13 @@
static BOOL AltScr;
static BOOL LRMarginMode;
static BOOL RectangleMode;
-BOOL BracketedPaste;
+static BOOL BracketedPaste;
+char BracketStart[] = "\033[200~";
+char BracketEnd[] = "\033[201~";
+int BracketStartLen = (sizeof(BracketStart)-1);
+int BracketEndLen = (sizeof(BracketEnd)-1);
+
static int VTlevel;
BOOL AcceptWheelToCursor;
@@ -6104,3 +6109,33 @@
Send8BitMode = ts.Send8BitCtrl;
}
}
+
+void TermPasteString(char *str, int len)
+{
+ TermSendStartBracket();
+ CommTextOut(&cv, str, len);
+ if (ts.LocalEcho) {
+ CommTextEcho(&cv, str, len);
+ }
+ TermSendEndBracket();
+
+ return;
+}
+
+void TermSendStartBracket()
+{
+ if (BracketedPaste) {
+ CommBinaryOut(&cv, BracketStart, BracketStartLen);
+ }
+
+ return;
+}
+
+void TermSendEndBracket()
+{
+ if (BracketedPaste) {
+ CommBinaryOut(&cv, BracketEnd, BracketEndLen);
+ }
+
+ return;
+}
Modified: branches/drag_and_drop/teraterm/teraterm/vtterm.h
===================================================================
--- branches/drag_and_drop/teraterm/teraterm/vtterm.h 2018-06-28 14:24:07 UTC (rev 7141)
+++ branches/drag_and_drop/teraterm/teraterm/vtterm.h 2018-06-29 15:29:01 UTC (rev 7142)
@@ -46,7 +46,15 @@
BOOL WheelToCursorMode();
void EndTerm();
void ChangeTerminalID();
+void TermPasteString(char *str, int len);
+void TermSendStartBracket(void);
+void TermSendEndBracket(void);
#ifdef __cplusplus
}
#endif
+
+extern int BracketStartLen;
+extern int BracketEndLen;
+extern char BracketStart[];
+extern char BracketEnd[];
Modified: branches/drag_and_drop/teraterm/teraterm/vtwin.cpp
===================================================================
--- branches/drag_and_drop/teraterm/teraterm/vtwin.cpp 2018-06-28 14:24:07 UTC (rev 7141)
+++ branches/drag_and_drop/teraterm/teraterm/vtwin.cpp 2018-06-29 15:29:01 UTC (rev 7142)
@@ -2899,7 +2899,7 @@
void CVTWindow::OnNcLButtonDblClk(UINT nHitTest, CPoint point)
{
- if (! Minimized && (nHitTest == HTCAPTION)) {
+ if (! Minimized && !ts.TermIsWin && (nHitTest == HTCAPTION)) {
DispRestoreWinSize();
}
else {
Modified: branches/drag_and_drop/teraterm/ttpcmn/ttpcmn.v15.vcxproj
===================================================================
--- branches/drag_and_drop/teraterm/ttpcmn/ttpcmn.v15.vcxproj 2018-06-28 14:24:07 UTC (rev 7141)
+++ branches/drag_and_drop/teraterm/ttpcmn/ttpcmn.v15.vcxproj 2018-06-29 15:29:01 UTC (rev 7142)
@@ -14,7 +14,7 @@
{118E0D32-5553-4F73-9927-E873C1C500E4}ttpcmnttpcmn
- 8.1
+ 10.0.17134.0
@@ -152,4 +152,4 @@
-
+
\ No newline at end of file
Modified: branches/drag_and_drop/teraterm/ttpdlg/ttpdlg.v15.vcxproj
===================================================================
--- branches/drag_and_drop/teraterm/ttpdlg/ttpdlg.v15.vcxproj 2018-06-28 14:24:07 UTC (rev 7141)
+++ branches/drag_and_drop/teraterm/ttpdlg/ttpdlg.v15.vcxproj 2018-06-29 15:29:01 UTC (rev 7142)
@@ -14,7 +14,7 @@
{47CB840D-85C8-460F-9101-BEB54BEF9D56}ttpdlgttpdlg
- 8.1
+ 10.0.17134.0
@@ -167,4 +167,4 @@
-
+
\ No newline at end of file
Modified: branches/drag_and_drop/teraterm/ttpfile/ttpfile.v15.vcxproj
===================================================================
--- branches/drag_and_drop/teraterm/ttpfile/ttpfile.v15.vcxproj 2018-06-28 14:24:07 UTC (rev 7141)
+++ branches/drag_and_drop/teraterm/ttpfile/ttpfile.v15.vcxproj 2018-06-29 15:29:01 UTC (rev 7142)
@@ -14,7 +14,7 @@
{311F2B21-AEC4-4384-8209-BB83B54749B4}ttpfilettpfile
- 8.1
+ 10.0.17134.0
@@ -166,4 +166,4 @@
-
+
\ No newline at end of file
Modified: branches/drag_and_drop/teraterm/ttpmacro/ttpmacro.v15.vcxproj
===================================================================
--- branches/drag_and_drop/teraterm/ttpmacro/ttpmacro.v15.vcxproj 2018-06-28 14:24:07 UTC (rev 7141)
+++ branches/drag_and_drop/teraterm/ttpmacro/ttpmacro.v15.vcxproj 2018-06-29 15:29:01 UTC (rev 7142)
@@ -15,7 +15,7 @@
ttpmacroMFCProjttpmacro
- 8.1
+ 10.0.17134.0
@@ -191,4 +191,4 @@
-
+
\ No newline at end of file
Modified: branches/drag_and_drop/teraterm/ttpset/ttpset.v15.vcxproj
===================================================================
--- branches/drag_and_drop/teraterm/ttpset/ttpset.v15.vcxproj 2018-06-28 14:24:07 UTC (rev 7141)
+++ branches/drag_and_drop/teraterm/ttpset/ttpset.v15.vcxproj 2018-06-29 15:29:01 UTC (rev 7142)
@@ -14,7 +14,7 @@
{5CF58947-E861-4A5C-B0B1-E85486F149CD}ttpsetttpset
- 8.1
+ 10.0.17134.0
@@ -153,4 +153,4 @@
-
+
\ No newline at end of file
Modified: branches/drag_and_drop/teraterm/ttpset/ttpset.v15.vcxproj.filters
===================================================================
--- branches/drag_and_drop/teraterm/ttpset/ttpset.v15.vcxproj.filters 2018-06-28 14:24:07 UTC (rev 7141)
+++ branches/drag_and_drop/teraterm/ttpset/ttpset.v15.vcxproj.filters 2018-06-29 15:29:01 UTC (rev 7142)
@@ -50,10 +50,10 @@
- Resource File
+ Source Files
- Resource File
+ Source Files
-
+
\ No newline at end of file
Modified: branches/drag_and_drop/teraterm/ttptek/ttptek.v15.vcxproj
===================================================================
--- branches/drag_and_drop/teraterm/ttptek/ttptek.v15.vcxproj 2018-06-28 14:24:07 UTC (rev 7141)
+++ branches/drag_and_drop/teraterm/ttptek/ttptek.v15.vcxproj 2018-06-29 15:29:01 UTC (rev 7142)
@@ -14,7 +14,7 @@
{6D08053B-1C68-4A7E-8766-3553F5AF010B}ttptekttptek
- 8.1
+ 10.0.17134.0
@@ -149,4 +149,4 @@
-
+
\ No newline at end of file
Modified: branches/drag_and_drop/teraterm/ttptek/ttptek.v15.vcxproj.filters
===================================================================
--- branches/drag_and_drop/teraterm/ttptek/ttptek.v15.vcxproj.filters 2018-06-28 14:24:07 UTC (rev 7141)
+++ branches/drag_and_drop/teraterm/ttptek/ttptek.v15.vcxproj.filters 2018-06-29 15:29:01 UTC (rev 7142)
@@ -43,11 +43,11 @@
-
- Resource File
-
-
- Resource File
-
+
+ Source Files
+
+
+ Source Files
+
-
+
\ No newline at end of file
Modified: branches/drag_and_drop/ttssh2/ttxssh/crypt.c
===================================================================
--- branches/drag_and_drop/ttssh2/ttxssh/crypt.c 2018-06-28 14:24:07 UTC (rev 7141)
+++ branches/drag_and_drop/ttssh2/ttxssh/crypt.c 2018-06-29 15:29:01 UTC (rev 7142)
@@ -72,6 +72,8 @@
#define CMP(a,b) memcmp(a, b, SSH_BLOCKSIZE)
+static unsigned char *encbuff = NULL;
+static unsigned int encbufflen = 0;
static char *get_cipher_name(int cipher);
@@ -200,7 +202,7 @@
BOOL CRYPT_encrypt_aead(PTInstVar pvar, unsigned char *data, unsigned int bytes, unsigned int aadlen, unsigned int authlen)
{
- unsigned char *newbuf = NULL;
+ unsigned char *newbuff = NULL;
unsigned int block_size = pvar->ssh2_keys[MODE_OUT].enc.block_size;
unsigned char lastiv[1];
char tmp[80];
@@ -218,8 +220,12 @@
return FALSE;
}
- if ((newbuf = malloc(bytes)) == NULL)
- goto err;
+ if (bytes > encbufflen) {
+ if ((newbuff = realloc(encbuff, bytes)) == NULL)
+ goto err;
+ encbuff = newbuff;
+ encbufflen = bytes;
+ }
if (!EVP_CIPHER_CTX_ctrl(evp, EVP_CTRL_GCM_IV_GEN, 1, lastiv))
goto err;
@@ -227,10 +233,10 @@
if (aadlen && !EVP_Cipher(evp, NULL, data, aadlen) < 0)
goto err;
- if (EVP_Cipher(evp, newbuf, data+aadlen, bytes) < 0)
+ if (EVP_Cipher(evp, encbuff, data+aadlen, bytes) < 0)
goto err;
- memcpy(data+aadlen, newbuf, bytes);
+ memcpy(data+aadlen, encbuff, bytes);
if (EVP_Cipher(evp, NULL, NULL, 0) < 0)
goto err;
@@ -238,13 +244,9 @@
if (!EVP_CIPHER_CTX_ctrl(evp, EVP_CTRL_GCM_GET_TAG, authlen, data+aadlen+bytes))
goto err;
- free(newbuf);
-
return TRUE;
err:
- free(newbuf);
-
UTIL_get_lang_msg("MSG_ENCRYPT_ERROR2", pvar, "%s encrypt error(2)");
_snprintf_s(tmp, sizeof(tmp), _TRUNCATE, pvar->ts->UIMsg,
get_cipher_name(pvar->crypt_state.sender_cipher));
@@ -254,7 +256,7 @@
BOOL CRYPT_decrypt_aead(PTInstVar pvar, unsigned char *data, unsigned int bytes, unsigned int aadlen, unsigned int authlen)
{
- unsigned char *newbuf = NULL;
+ unsigned char *newbuff = NULL;
unsigned int block_size = pvar->ssh2_keys[MODE_IN].enc.block_size;
unsigned char lastiv[1];
char tmp[80];
@@ -272,8 +274,12 @@
return FALSE;
}
- if ((newbuf = malloc(bytes)) == NULL)
- goto err;
+ if (bytes > encbufflen) {
+ if ((newbuff = realloc(encbuff, bytes)) == NULL)
+ goto err;
+ encbuff = newbuff;
+ encbufflen = bytes;
+ }
if (!EVP_CIPHER_CTX_ctrl(evp, EVP_CTRL_GCM_IV_GEN, 1, lastiv))
goto err;
@@ -284,11 +290,10 @@
if (aadlen && !EVP_Cipher(evp, NULL, data, aadlen) < 0)
goto err;
- if (EVP_Cipher(evp, newbuf, data+aadlen, bytes) < 0)
+ if (EVP_Cipher(evp, encbuff, data+aadlen, bytes) < 0)
goto err;
- memcpy(data+aadlen, newbuf, bytes);
- free(newbuf);
+ memcpy(data+aadlen, encbuff, bytes);
if (EVP_Cipher(evp, NULL, NULL, 0) < 0)
return FALSE;
@@ -296,8 +301,6 @@
return TRUE;
err:
- free(newbuf);
-
UTIL_get_lang_msg("MSG_DECRYPT_ERROR2", pvar, "%s decrypt error(2)");
_snprintf_s(tmp, sizeof(tmp), _TRUNCATE, pvar->ts->UIMsg,
get_cipher_name(pvar->crypt_state.receiver_cipher));
@@ -311,7 +314,7 @@
static void crypt_SSH2_encrypt(PTInstVar pvar, unsigned char *buf, int bytes)
{
- unsigned char *newbuf;
+ unsigned char *newbuff;
int block_size = pvar->ssh2_keys[MODE_OUT].enc.block_size;
char tmp[80];
@@ -328,24 +331,26 @@
return;
}
- if ((newbuf = malloc(bytes)) == NULL)
- return;
+ if (bytes > encbufflen) {
+ if ((newbuff = realloc(encbuff, bytes)) == NULL)
+ return;
+ encbuff = newbuff;
+ encbufflen = bytes;
+ }
- if (EVP_Cipher(&pvar->evpcip[MODE_OUT], newbuf, buf, bytes) == 0) {
+ if (EVP_Cipher(&pvar->evpcip[MODE_OUT], encbuff, buf, bytes) == 0) {
UTIL_get_lang_msg("MSG_ENCRYPT_ERROR2", pvar, "%s encrypt error(2)");
_snprintf_s(tmp, sizeof(tmp), _TRUNCATE, pvar->ts->UIMsg,
get_cipher_name(pvar->crypt_state.sender_cipher));
notify_fatal_error(pvar, tmp, TRUE);
} else {
- memcpy(buf, newbuf, bytes);
+ memcpy(buf, encbuff, bytes);
}
-
- free(newbuf);
}
static void crypt_SSH2_decrypt(PTInstVar pvar, unsigned char *buf, int bytes)
{
- unsigned char *newbuf;
+ unsigned char *newbuff;
int block_size = pvar->ssh2_keys[MODE_IN].enc.block_size;
char tmp[80];
@@ -362,19 +367,21 @@
return;
}
- if ((newbuf = malloc(bytes)) == NULL)
- return;
+ if (bytes > encbufflen) {
+ if ((newbuff = malloc(bytes)) == NULL)
+ return;
+ encbuff = newbuff;
+ encbufflen = bytes;
+ }
- if (EVP_Cipher(&pvar->evpcip[MODE_IN], newbuf, buf, bytes) == 0) {
+ if (EVP_Cipher(&pvar->evpcip[MODE_IN], encbuff, buf, bytes) == 0) {
UTIL_get_lang_msg("MSG_DECRYPT_ERROR2", pvar, "%s decrypt error(2)");
_snprintf_s(tmp, sizeof(tmp), _TRUNCATE, pvar->ts->UIMsg,
get_cipher_name(pvar->crypt_state.receiver_cipher));
notify_fatal_error(pvar, tmp, TRUE);
} else {
- memcpy(buf, newbuf, bytes);
+ memcpy(buf, encbuff, bytes);
}
-
- free(newbuf);
}
static void c3DES_encrypt(PTInstVar pvar, unsigned char *buf, int bytes)
@@ -1307,6 +1314,10 @@
void CRYPT_end(PTInstVar pvar)
{
+ free(encbuff);
+ encbuff = NULL;
+ encbufflen = 0;
+
destroy_public_key(&pvar->crypt_state.host_key);
destroy_public_key(&pvar->crypt_state.server_key);
From scmnotify @ osdn.net Sat Jun 30 00:52:53 2018
From: scmnotify @ osdn.net (scmnotify @ osdn.net)
Date: Sat, 30 Jun 2018 00:52:53 +0900
Subject: [Ttssh2-commit] [7143] Support Bracketed Paste Mode when Drag And
Drop Paste filename
Message-ID: <1530287573.972285.73896.nullmailer@users.osdn.me>
Revision: 7143
http://sourceforge.jp/projects/ttssh2/scm/svn/commits/7143
Author: zmatsuo
Date: 2018-06-30 00:52:53 +0900 (Sat, 30 Jun 2018)
Log Message:
-----------
Support Bracketed Paste Mode when Drag And Drop Paste filename
Modified Paths:
--------------
branches/drag_and_drop/teraterm/teraterm/vtwin.cpp
-------------- next part --------------
Modified: branches/drag_and_drop/teraterm/teraterm/vtwin.cpp
===================================================================
--- branches/drag_and_drop/teraterm/teraterm/vtwin.cpp 2018-06-29 15:29:01 UTC (rev 7142)
+++ branches/drag_and_drop/teraterm/teraterm/vtwin.cpp 2018-06-29 15:52:53 UTC (rev 7143)
@@ -2565,6 +2565,9 @@
case DROP_TYPE_PASTE_FILENAME:
{
const bool escape = (DropTypePaste & DROP_TYPE_PASTE_ESCAPE) ? true : false;
+ if (!BracketedPasteMode()) {
+ TermSendStartBracket();
+ }
PasteString(&cv, FileName, escape);
if (DropListCount > 1 && i < DropListCount - 1) {
const char *separator = (DropTypePaste & DROP_TYPE_PASTE_NEWLINE) ? "\n" : " ";
@@ -2587,6 +2590,9 @@
}
finish:
+ if (BracketedPasteMode()) {
+ TermSendEndBracket();
+ }
DropListFree();
return 0;
}
From scmnotify @ osdn.net Sat Jun 30 00:54:17 2018
From: scmnotify @ osdn.net (scmnotify @ osdn.net)
Date: Sat, 30 Jun 2018 00:54:17 +0900
Subject: [Ttssh2-commit] [7144] Enable Multi Processor Compilation on VS2017
Message-ID: <1530287657.445752.76056.nullmailer@users.osdn.me>
Revision: 7144
http://sourceforge.jp/projects/ttssh2/scm/svn/commits/7144
Author: zmatsuo
Date: 2018-06-30 00:54:17 +0900 (Sat, 30 Jun 2018)
Log Message:
-----------
Enable Multi Processor Compilation on VS2017
Modified Paths:
--------------
branches/drag_and_drop/teraterm/keycode/keycode.v15.vcxproj
branches/drag_and_drop/teraterm/teraterm/ttermpro.v15.vcxproj
branches/drag_and_drop/teraterm/ttpcmn/ttpcmn.v15.vcxproj
branches/drag_and_drop/teraterm/ttpdlg/ttpdlg.v15.vcxproj
branches/drag_and_drop/teraterm/ttpfile/ttpfile.v15.vcxproj
branches/drag_and_drop/teraterm/ttpmacro/ttpmacro.v15.vcxproj
branches/drag_and_drop/teraterm/ttpset/ttpset.v15.vcxproj
branches/drag_and_drop/teraterm/ttptek/ttptek.v15.vcxproj
-------------- next part --------------
Modified: branches/drag_and_drop/teraterm/keycode/keycode.v15.vcxproj
===================================================================
--- branches/drag_and_drop/teraterm/keycode/keycode.v15.vcxproj 2018-06-29 15:52:53 UTC (rev 7143)
+++ branches/drag_and_drop/teraterm/keycode/keycode.v15.vcxproj 2018-06-29 15:54:17 UTC (rev 7144)
@@ -68,6 +68,7 @@
Level3trueDefault
+ true$(SolutionDir)common;%(AdditionalIncludeDirectories)
@@ -99,6 +100,7 @@
trueProgramDatabaseDefault
+ true$(SolutionDir)common;%(AdditionalIncludeDirectories)
Modified: branches/drag_and_drop/teraterm/teraterm/ttermpro.v15.vcxproj
===================================================================
--- branches/drag_and_drop/teraterm/teraterm/ttermpro.v15.vcxproj 2018-06-29 15:52:53 UTC (rev 7143)
+++ branches/drag_and_drop/teraterm/teraterm/ttermpro.v15.vcxproj 2018-06-29 15:54:17 UTC (rev 7144)
@@ -73,6 +73,7 @@
trueProgramDatabaseDefault
+ true_DEBUG;%(PreprocessorDefinitions)
@@ -114,6 +115,7 @@
Level3trueDefault
+ trueNDEBUG;%(PreprocessorDefinitions)
Modified: branches/drag_and_drop/teraterm/ttpcmn/ttpcmn.v15.vcxproj
===================================================================
--- branches/drag_and_drop/teraterm/ttpcmn/ttpcmn.v15.vcxproj 2018-06-29 15:52:53 UTC (rev 7143)
+++ branches/drag_and_drop/teraterm/ttpcmn/ttpcmn.v15.vcxproj 2018-06-29 15:54:17 UTC (rev 7144)
@@ -71,6 +71,7 @@
Level3trueDefault
+ trueNDEBUG;%(PreprocessorDefinitions)
@@ -109,6 +110,7 @@
trueProgramDatabaseDefault
+ true_DEBUG;%(PreprocessorDefinitions)
Modified: branches/drag_and_drop/teraterm/ttpdlg/ttpdlg.v15.vcxproj
===================================================================
--- branches/drag_and_drop/teraterm/ttpdlg/ttpdlg.v15.vcxproj 2018-06-29 15:52:53 UTC (rev 7143)
+++ branches/drag_and_drop/teraterm/ttpdlg/ttpdlg.v15.vcxproj 2018-06-29 15:54:17 UTC (rev 7144)
@@ -74,6 +74,7 @@
Level3trueDefault
+ trueNDEBUG;%(PreprocessorDefinitions)
@@ -113,6 +114,7 @@
trueProgramDatabaseDefault
+ true_DEBUG;%(PreprocessorDefinitions)
Modified: branches/drag_and_drop/teraterm/ttpfile/ttpfile.v15.vcxproj
===================================================================
--- branches/drag_and_drop/teraterm/ttpfile/ttpfile.v15.vcxproj 2018-06-29 15:52:53 UTC (rev 7143)
+++ branches/drag_and_drop/teraterm/ttpfile/ttpfile.v15.vcxproj 2018-06-29 15:54:17 UTC (rev 7144)
@@ -71,6 +71,7 @@
Level3trueDefault
+ trueNDEBUG;%(PreprocessorDefinitions)
@@ -107,6 +108,7 @@
trueProgramDatabaseDefault
+ true_DEBUG;%(PreprocessorDefinitions)
Modified: branches/drag_and_drop/teraterm/ttpmacro/ttpmacro.v15.vcxproj
===================================================================
--- branches/drag_and_drop/teraterm/ttpmacro/ttpmacro.v15.vcxproj 2018-06-29 15:52:53 UTC (rev 7143)
+++ branches/drag_and_drop/teraterm/ttpmacro/ttpmacro.v15.vcxproj 2018-06-29 15:54:17 UTC (rev 7144)
@@ -73,6 +73,7 @@
Level3trueDefault
+ trueNDEBUG;%(PreprocessorDefinitions)
@@ -109,6 +110,7 @@
trueProgramDatabaseDefault
+ true_DEBUG;%(PreprocessorDefinitions)
Modified: branches/drag_and_drop/teraterm/ttpset/ttpset.v15.vcxproj
===================================================================
--- branches/drag_and_drop/teraterm/ttpset/ttpset.v15.vcxproj 2018-06-29 15:52:53 UTC (rev 7143)
+++ branches/drag_and_drop/teraterm/ttpset/ttpset.v15.vcxproj 2018-06-29 15:54:17 UTC (rev 7144)
@@ -71,6 +71,7 @@
trueProgramDatabaseDefault
+ true_DEBUG;%(PreprocessorDefinitions)
@@ -109,6 +110,7 @@
Level3trueDefault
+ trueNDEBUG;%(PreprocessorDefinitions)
Modified: branches/drag_and_drop/teraterm/ttptek/ttptek.v15.vcxproj
===================================================================
--- branches/drag_and_drop/teraterm/ttptek/ttptek.v15.vcxproj 2018-06-29 15:52:53 UTC (rev 7143)
+++ branches/drag_and_drop/teraterm/ttptek/ttptek.v15.vcxproj 2018-06-29 15:54:17 UTC (rev 7144)
@@ -69,6 +69,7 @@
trueProgramDatabaseDefault
+ true_DEBUG;%(PreprocessorDefinitions)
@@ -107,6 +108,7 @@
Level3trueDefault
+ trueNDEBUG;%(PreprocessorDefinitions)