Revision: 10518 https://osdn.net/projects/ttssh2/scm/svn/commits/10518 Author: zmatsuo Date: 2023-01-18 23:46:34 +0900 (Wed, 18 Jan 2023) Log Message: ----------- cygtermで設定していた環境変数MAKE_MODEを削除 - r9723 - 文字コードのオプションを SJIS から UTF8 に変更 Revision Links: -------------- https://osdn.net/projects/ttssh2/scm/svn/commits/9723 Modified Paths: -------------- trunk/doc/en/html/setup/cygterm.html trunk/doc/ja/html/setup/cygterm.html trunk/teraterm/teraterm/addsetting.cpp -------------- next part -------------- Modified: trunk/doc/en/html/setup/cygterm.html =================================================================== --- trunk/doc/en/html/setup/cygterm.html 2023-01-18 14:46:19 UTC (rev 10517) +++ trunk/doc/en/html/setup/cygterm.html 2023-01-18 14:46:34 UTC (rev 10518) @@ -20,13 +20,12 @@ An example of cygterm.cfg </p> <pre> -TERM = C:\program files\ttermpro\ttermpro.exe %s %d /KR=SJIS /KT=SJIS +TERM = C:\program files\ttermpro\ttermpro.exe %s %d /KR=UTF8 /KT=UTF8 TERM_TYPE = vt100 PORT_START = 20000 PORT_RANGE = 40 SHELL = /bin/bash -ENV_1 = MAKE_MODE=unix -ENV_2 = HOME=/home +ENV_1 = HOME=/home : : </pre> Modified: trunk/doc/ja/html/setup/cygterm.html =================================================================== --- trunk/doc/ja/html/setup/cygterm.html 2023-01-18 14:46:19 UTC (rev 10517) +++ trunk/doc/ja/html/setup/cygterm.html 2023-01-18 14:46:34 UTC (rev 10518) @@ -20,13 +20,12 @@ cygterm.cfg \x82̗\xE1 </p> <pre> -TERM = C:\program files\ttermpro\ttermpro.exe %s %d /KR=SJIS /KT=SJIS +TERM = C:\program files\ttermpro\ttermpro.exe %s %d /KR=UTF8 /KT=UTF8 TERM_TYPE = vt100 PORT_START = 20000 PORT_RANGE = 40 SHELL = /bin/bash -ENV_1 = MAKE_MODE=unix -ENV_2 = HOME=/home +ENV_1 = HOME=/home : : </pre> Modified: trunk/teraterm/teraterm/addsetting.cpp =================================================================== --- trunk/teraterm/teraterm/addsetting.cpp 2023-01-18 14:46:19 UTC (rev 10517) +++ trunk/teraterm/teraterm/addsetting.cpp 2023-01-18 14:46:34 UTC (rev 10518) @@ -1862,12 +1862,12 @@ // try to read CygTerm config file memset(&settings, 0, sizeof(settings)); - _snprintf_s(settings.term, sizeof(settings.term), _TRUNCATE, "ttermpro.exe %%s %%d /E /KR=SJIS /KT=SJIS /VTICON=CygTerm /nossh"); + _snprintf_s(settings.term, sizeof(settings.term), _TRUNCATE, "ttermpro.exe %%s %%d /E /KR=UTF8 /KT=UTF8 /VTICON=CygTerm /nossh"); _snprintf_s(settings.term_type, sizeof(settings.term_type), _TRUNCATE, "vt100"); _snprintf_s(settings.port_start, sizeof(settings.port_start), _TRUNCATE, "20000"); _snprintf_s(settings.port_range, sizeof(settings.port_range), _TRUNCATE, "40"); _snprintf_s(settings.shell, sizeof(settings.shell), _TRUNCATE, "auto"); - _snprintf_s(settings.env1, sizeof(settings.env1), _TRUNCATE, "MAKE_MODE=unix"); + _snprintf_s(settings.env1, sizeof(settings.env1), _TRUNCATE, ""); _snprintf_s(settings.env2, sizeof(settings.env2), _TRUNCATE, ""); settings.login_shell = FALSE; settings.home_chdir = FALSE;