Keyboard setting dialog is moved to Keyboard tab of Additional setting dialog.
MACRO: send macro command check data and sends it as text or binary. added sendtext and sendbinary macro command
-
Macro
+
MACRO: password file using aes-256-ctr
added the setpassword2, getpassword2, ispassword2 and delpassword2 commands. The contents that is saved with setpassword2 command is protected by a password. This password file is not compatible with prior password file.
+
added the getttpos command to retrieve the display status, position, and size in the VT window of Tera Term.
Add ViewlogEditor argument on Log Tab in Additional settings.
+
Setup - Font was integrated into Font tab of Additional settings.
+
Added the MessageBoxPosParentRelative option to change the display position of the message box (excluding some) from the center of the screen to the center of the parent window.
Setup - Font was integrated into Font tab of Additional settings.
The display status of the VT window is stored.
+ 0 : Normal
+ 1 : Minimized (Iconified)
+ 2 : Maximized
+ 3 : Hidden
+
+
Integer variable <window x>
+
The X coordinate of the top-left corner of the window area is stored.
+
+
Integer variable <window y>
+
The Y coordinate of the top-left corner of the window area is stored.
+
+
Integer variable <window width>
+
The width of the window area is stored.
+
+
Integer variable <window height>
+
The height of the window area is stored.
+
+
Integer variable <client x>
+
The X coordinate of the top-left corner of the client area is stored.
+
+
Integer variable <client y>
+
The Y coordinate of the top-left corner of the client area is stored.
+
+
Integer variable <client width>
+
The width of the client area is stored.
+
+
Integer variable <client height>
+
The height of the client area is stored.
+
+
+
+
+
Return Value
+
+
+
System variable <result>
+
If the information retrieval is successful, the value 0 is stored.
+ If it fails, the value -1 is stored.
+
+
+
Remarks
+
+
+The units for coordinates, width, and height are pixels.
+The origin (0,0) refers to the top-left corner of the main display (primary display).
+The window area refers to the entire application window, while the client area refers to the text display area excluding the title bar, menu bar, frame etc from the window area.
+If the VT window is in a minimized or hidden state, the stored values for coordinates, width, and height are incorrect.
+If the MACRO is not linked to Tera Term, it will result in a macro error and the execution of the macro will be temporarily paused.
+
kmtrecv
diff --git a/doc/en/html/reference/build_with_cmake.md b/doc/en/html/reference/build_with_cmake.md
index 6837ed1b4..8ad8bb1bb 100644
--- a/doc/en/html/reference/build_with_cmake.md
+++ b/doc/en/html/reference/build_with_cmake.md
@@ -21,29 +21,27 @@
Please execute below commands on the top of source tree.
Use Visual Studio IDE
-```
-mkdir build_vs2022
-cd build_vs2022
-cmake .. -G "Visual Stuido 17 2022" -A Win32
-cmake --build . --config Release -j
-```
+
+ mkdir build_vs2022
+ cd build_vs2022
+ cmake .. -G "Visual Stuido 17 2022" -A Win32
+ cmake --build . --config Release -j
+
To build installer
-```
-cmake --build . --config Release --target Install
-cmake --build . --config Release --target inno_setup
-cmake --build . --config Release --target zip
-```
+
+ cmake --build . --config Release --target Install
+ cmake --build . --config Release --target inno_setup
+ cmake --build . --config Release --target zip
### NMake (Visual Studio, very experimental)
Execute vcvars32.bat,etc to prepare an environment where nmake, cl are avaiable,
Run next commands.
-```
-mkdir build_nmake
-cd build_nmake
-cmake .. -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release
-cmake --build . -j
-```
+
+ mkdir build_nmake
+ cd build_nmake
+ cmake .. -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release
+ cmake --build . -j
### MinGW (very experimental)
@@ -51,17 +49,15 @@ cmake --build . -j
- EXPERIMENTAL
Please execute below commands on the top of source tree by using the cmake available on MinGW.
-```
-mkdir build_mingw
-cd build_mingw
-cmake .. -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release
-cmake --build . -j
-```
+
+ mkdir build_mingw
+ cd build_mingw
+ cmake .. -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release
+ cmake --build . -j
When cygwin, linux
-```
-mkdir build_mingw_cygwin
-cd build_mingw_cygwin
-cmake .. -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=../mingw.toolchain.cmake -DCMAKE_BUILD_TYPE=Release
-cmake --build . -j
-```
+
+ mkdir build_mingw_cygwin
+ cd build_mingw_cygwin
+ cmake .. -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=../mingw.toolchain.cmake -DCMAKE_BUILD_TYPE=Release
+ cmake --build . -j
diff --git a/doc/en/html/reference/develop-memo.html b/doc/en/html/reference/develop-memo.html
index 17ca3ea7c..255edc2ff 100644
--- a/doc/en/html/reference/develop-memo.html
+++ b/doc/en/html/reference/develop-memo.html
@@ -28,7 +28,7 @@
Add entry to TERATERM.INI
Entry name
-Unfortunately, the confusing entries such as EnableFoo... and DisableBar... are included.
+Unfortunately, the confusing entries such as EnableFoo... and DisableBar... are included.
It recommends that the new name like as Baz....
@@ -37,23 +37,26 @@
Changes
source code
-
read/write INI file
+
read/write INI file
teraterm\ttpset\ttset.c
-
struct tttset
+
struct tttset
teraterm\common\tttypes.h
+ To make a plugin work in both Tera Term 4 (TT4) and Tera Term 5 (TT5), it is necessary to ensure compatibility with the structure of TT4.
+ Therefore, new members should be added at the end.
+ Similarly, any members that are no longer needed should not be deleted but renamed to reserve_XXX and kept.
Document
-
All items of Tera Term setup file
+
All items of Tera Term setup file
setup/teraterm-ini.html
-
help for setup dialog (when UI for change is present in a dialog)
+
help for setup dialog (when UI for change is present in a dialog)
dialog page under menu
-
help for setup item (when UI for change is not present in a dialog)
+
help for setup item (when UI for change is not present in a dialog)
category page under setup
-
Default INI file
+
Default INI file
installer\release\TERATERM.INI
@@ -63,10 +66,10 @@
Support i18n message
Add new i18n message
-
Source code
+
Source code
Read langage file
If a message is on dialog, put English message as default text
-
Modify language file
+
Modify language file
Modify files under installer/release/lang_utf8 folder.
English.lng (English)
@@ -113,28 +116,28 @@
What to do when new macro command is added?
Coding
-
get a new number of command internal ID.
+
get a new number of command internal ID.
... teraterm/ttmacro/ttmparse.h
-
add a if statement to below function.
+
add a if statement to below function.
... CheckReservedWord@teraterm/ttmacro/ttmparse.c
-
add a caller doing the macro command.
+
add a caller doing the macro command.
... ExecCmnd@teraterm/ttmacro/ttl.c
make a function code for the macro command.
Help topic
-
make the command help file.
+
make the command help file.
... doc/LANG/html/macro/command/hogefunc.html
-
add to command index page.
+
add to command index page.
... doc/LANG/html/macro/command/index.html
-
add the file to help topic.
+
add the file to help topic.
... doc/LANG/teraterm.hhc
-
get a new number of context ID in help page.
- The value is internal ID + 92000.
+
get a new number of context ID in help page.
+ The value is internal ID + 92000.
... teraterm/common/helpid.h
-
make the alias between context ID and calling file.
- Open the .hhp file by using Text Editor, added a html line in [ALIAS] tag.
+
make the alias between context ID and calling file.
+ Open the .hhp file by using Text Editor, added a html line in [ALIAS] tag.
... doc/LANG/teraterm.hhp
@@ -175,7 +178,7 @@
Naming rule to add menu ID
Icon
-Icon file includes 4bit 32px and 16px images, 32bit 256px, 48px, 32px and 16px images.
+Icon file includes 4bit 32px and 16px images, 32bit 256px, 48px, 32px and 16px images.
Each icon files include following kind images.
@@ -306,13 +309,13 @@
Icon
-The store order of image files in icon file is "bit depth ASC", "pixel size DESC."
+The store order of image files in icon file is "bit depth ASC", "pixel size DESC."
Otherwise, when a program load an icon image without specifying pixel size for get maximum size image, API returns first image.
-Icon file include 4-bit images.
-Windows NT 4.0 supports only 4-bit icon. And notification area icon on Windows 2000 supports only 4-bit icon.
+Icon file include 4-bit images.
+Windows NT 4.0 supports only 4-bit icon. And notification area icon on Windows 2000 supports only 4-bit icon.
4-bit color palette is followings:
@@ -550,7 +553,7 @@
Files
Under add/manual folder of TeraTermProject/update_website repository
-
License files for web site is managed in TeraTermProject/update_website repository.
+
License files for web site is managed in TeraTermProject/update_website repository.
Replace a license file when it is cahnged.
Limit bracketed pasting to cases containing contro
BracketedControlOnly=off
+
Display the message box in the center of the parent window
+
+
+By default, the message box is displayed in the center of the display.
+To display the message box in the center of the parent window, edit the MessageBoxPosParentRelative line in the [Tera Term] section as follows.
+(Even if set MessageBoxPosParentRelative=on, some message boxes may still be displayed in the center of the display.)
+