Revision: 10885 https://osdn.net/projects/ttssh2/scm/svn/commits/10885 Author: zmatsuo Date: 2023-09-02 22:25:23 +0900 (Sat, 02 Sep 2023) Log Message: ----------- エミュレーションページを英訳 - lngファイルを読み込まなかったとき(または、default.lng時)のダイアログの表示を変更 - teraterm/ttpdlg/ttpdlg.rc - english.lng と同じにした - "&Color emulation" -> "&16 Colors (PC style)" Modified Paths: -------------- trunk/doc/en/html/about/emulations.html trunk/doc/ja/html/about/emulations.html trunk/teraterm/ttpdlg/ttpdlg.rc -------------- next part -------------- Modified: trunk/doc/en/html/about/emulations.html =================================================================== --- trunk/doc/en/html/about/emulations.html 2023-09-02 13:25:09 UTC (rev 10884) +++ trunk/doc/en/html/about/emulations.html 2023-09-02 13:25:23 UTC (rev 10885) @@ -29,123 +29,124 @@ Reference: <a href="qanda.html">Frequently asked questions</a> </p> -<h1>\x90F</h1> +<h1>Color</h1> -\x95\xB6\x8E\x9A\x82Ɣw\x8Ci\x82̐F\x82ɂ\xA2\x82āB +About text and background colors. -<h2>\x8Eg\x97p\x82ł\xAB\x82\xE9\x90F\x83\x82\x81[\x83h</h2> +<h2>Available color modes</h2> -\x90ݒ\xE8-\x83E\x83B\x83\x93\x83h\x83E\x82̐ݒ\xE8\x82̎\x9F\x82̃`\x83F\x83b\x83N\x83{\x83b\x83N\x83X\x82Őݒ\xE8\x82ł\xAB\x82܂\xB7\x81B +Following checkboxes can be setted in Settings - Window Settings. -\x8Ae\x83\x82\x81[\x83h\x82͓\xAF\x8E\x9E\x82Ɏg\x97p\x82\xB7\x82邱\x82Ƃ\xAA\x82ł\xAB\x82܂\xB7\x81B +Each mode can be used simultaneously. <ul> - <li>16 color mode (PC-Style) / 16\x90F\x83\x82\x81[\x83h(PC\x8C`\x8E\xAE) - <li>16 color mode (aixterm) / 16\x90F\x83\x82\x81[\x83h(aixterm\x8C`\x8E\xAE) - <li>256 color mode (xterm) / 256\x90F\x83\x82\x81[\x83h(xterm\x8C`\x8E\xAE) + <li>16 color mode (PC style) + <li>16 color mode (aixterm style) + <li>256 color mode (xterm style) </ul> -\x82\xB7\x82ׂĂ\xF0disable\x82ɂ\xB7\x82\xE9\x82\xC68\x90F\x83\x82\x81[\x83h\x82ƂȂ\xE8\x82܂\xB7\x81B +If all are set to disable, 8-color mode is used. -<h2>\x90F\x82̐ݒ\xE8\x8F\xF3\x91Ԃɂ\xE6\x82\xC1\x82Ďg\x97p\x89s\x89\xAA\x95ω\xBB\x82\xB7\x82\xE9\x83V\x81[\x83P\x83\x93\x83X</h2> +<h2>Sequence which changes availability depends on color setting</h2> -<h3>8\x90F\x83\x82\x81[\x83h</h3> +<h3>8 color mode</h3> <p> -16\x90F\x82܂\xBD\x82\xCD256\x90F\x83\x82\x81[\x83h\x82̂\xA2\x82\xB8\x82ꂩ\x82\xAAenable\x82̎\x9E\x82́A1-7\x82̐F\x82͏\xAD\x82\xB5\x88Â\xA2\x90F\x82ƂȂ\xC1\x82Ă\xA2\x82܂\xB7\x81B +When either 16 or 256 color mode is enabled, colors 1-7 are slightly darker. <p> -16\x90F\x82\xC6256\x90F\x83\x82\x81[\x83h\x82̂\xB7\x82ׂĂ\xAAdisable\x82̎\x9E\x82\xC98\x90F\x83\x82\x81[\x83h\x82ƂȂ\xE8\x81A -1-7\x82̐F\x82͖\xBE\x82邢\x90F(\x8C\xB4\x90F)\x82ƂȂ\xE8\x82܂\xB7\x81B +When 16 and 256 color modes are disable, 8 color mode is used +and colors 1-7 are bright(primary) colors. <ul> - <li>\x95\xB6\x8E\x9A\x90F0-7 = SGR 30-37 - <li>\x94w\x8Ci\x90F0-7 = SGR 40-47 + <li>Fore color 0-7 = SGR 30-37 + <li>Back color 0-7 = SGR 40-47 </ul> -<h3>16\x90F\x83\x82\x81[\x83h(PC\x8C`\x8E\xAE)</h3> +<h3>16 color mode (PC style)</h3> <p> -Blink\x91\xAE\x90\xAB\x82\xCDTera Term\x8Ag\x92\xA3\x82ł\xB7\x81B +Blink attribute is Tera Term extension. <ul> - <li>\x95\xB6\x8E\x9A\x90F0-7 = SGR 30-37 - <li>\x95\xB6\x8E\x9A\x90F8-15 = Bold\x91\xAE\x90\xAB + SGR 30-37 - <li>\x94w\x8Ci\x90F0-7 = SGR 40-47 - <li>\x94w\x8Ci\x90F8-15 = Blink\x91\xAE\x90\xAB + SGR 40-47 + <li>Fore color 0-7 = SGR 30-37 + <li>Fore color 8-15 = Bold + SGR 30-37 + <li>Back color 0-7 = SGR 40-47 + <li>Back color 8-15 = Blink + SGR 40-47 </ul> -<h3>16\x90F\x83\x82\x81[\x83h(aixterm\x8C`\x8E\xAE)</h3> +<h3>16 color mode (aixterm style)</h3> <p> -16\x90F\x83\x82\x81[\x83h(aixterm\x8C`\x8E\xAE) \x82\xAA disalbe \x8E\x9E SGR100 \x82\xCD \x81u\x95\xB6\x8E\x9A\x90F\x82Ɣw\x8Ci\x90F\x82\xAA -\x83f\x83t\x83H\x83\x8B\x83g\x82ɖ߂\xE9\x81v\x82ƂȂ\xE8\x82܂\xB7\x81B +When the 16-color mode (aixterm style) is disalbe, +SGR100 is "text and background colors set to default". <ul> - <li>\x95\xB6\x8E\x9A\x90F0-7,8-15 = SGR 30-37,90-97 - <li>\x94w\x8Ci\x90F0-7,8-15 = SGR 40-47,100-107 + <li>Fore color 0-7,8-15 = SGR 30-37,90-97 + <li>Back color 0-7,8-15 = SGR 40-47,100-107 </ul> -<h3>256\x90F\x83\x82\x81[\x83h(xterm\x8C`\x8E\xAE)</h3> +<h3>256 color mode(xterm style)</h3> <ul> - <li>\x95\xB6\x8E\x9A\x90F0-255 = SGR 38\x82ŐF\x94ԍ\x86\x82\xF0\x8Ew\x92\xE8 - <li>\x94w\x8Ci\x90F0-255 = SGR 48\x82ŐF\x94ԍ\x86\x82\xF0\x8Ew\x92\xE8 + <li>Fore color 0-255 = Set color number with SGR 38 + <li>Back color 0-255 = Set color number with SGR 48 </ul> -<h2>16\x90F\x83\x82\x81[\x83h(PC\x8C`\x8E\xAE)\x8Fڍ\xD7</h2> +<h2>16 color mode (PC style) detail</h2> <p> -Tera Term\x82ł\xCD -\x95\xB6\x8E\x9A\x90F\x82Ɣw\x8Ci\x90F\x82\x9E\x82\xC916\x90F\x8Ag\x92\xA3\x82\xB7\x82邽\x82߁A -\x95\xB6\x8E\x9A\x90F\x82̊g\x92\xA3\x82\xC9Bold\x91\xAE\x90\xAB\x81A\x94w\x8Ci\x90F\x82̊g\x92\xA3\x82\xC9Blink\x91\xAE\x90\xAB\x82\xF0\x8Eg\x97p\x82\xB5\x82܂\xB7\x81B +In Tera Term To extend fore and background 16 color simultaneously, +bold attribute is used to extend the fore color and +blink attribute is used to extend the background color. <p> -\x94w\x8Ci\x90F\x82̊g\x92\xA3\x82ɂ\xE0Bold\x91\xAE\x90\xAB\x82\xF0\x8Eg\x82\xC1\x82Ă\xB5\x82܂\xA4\x82ƁA -\x95\xB6\x8E\x9A\x90F15+\x94w\x8Ci\x90F1\x82̂悤\x82Ȏw\x92肪\x95s\x89\\x82ɂȂ\xE8\x82܂\xB7\x81B +If bold attribute is used to extend the background color, for example, +it is not possible to specify a fore color is 15 and background color +is 1. <p> -TERMINFO\x82ɏ]\x82\xC1\x82ďo\x97͂\xB7\x82\xE9\x83A\x83v\x83\x8A(ncurses\x97\x98\x97p\x83A\x83v\x83\x8A\x93\x99)\x82Ȃ\xE7\x81A -TERMINFO\x82̒[\x96\x96\x83G\x83\x93\x83g\x83\x8A\x82\xCCsetab\x82\xF0\x8E\x9F\x82̂悤\x82ɂ\xB7\x82\xE9\x82Ɨ\x98\x97p\x89\\x82ƂȂ\xE8\x82܂\xB7\x81B +Application outputs according to TERMINFO (e.g. ncurses applications), +TERMINFO entry setab as follows: <pre> setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t5;4%p1%{8}%-%d%e48;5;%p1%d%;m, </pre> -<h2>\x90F\x82̕ύX\x82ɂ\xA2\x82\xC4</h2> +<h2>About changing color</h2> <p> -16\x90F\x82̃f\x83t\x83H\x83\x8B\x83g\x92l\x82\xCDTERATERM.INI\x82ŕύX\x82\xB7\x82邱\x82Ƃ\xAA\x82ł\xAB\x82܂\xB7\x81B +16 default colors can be changed in TERATERM.INI. <p> -\x83J\x83\x89\x81[\x83e\x81[\x83}\x82\xF0\x8Eg\x82\xC1\x82ĕύX\x82\xB7\x82邱\x82Ƃ\xE0\x82ł\xAB\x82܂\xB7\x81B +<a href="../menu/setup-additional-visual-theme.html#color">Color themes</a> can also be changed. -<h3>\x83f\x83t\x83H\x83\x8B\x83g\x90F\x82̕ύX</h3> +<h3>Change default color</h3> <ul> - <li>TERATERM.INI \x82\xCC [Tera Term] section + <li>[Tera Term] section in TERATERM.INI <li><a href="../setup/teraterm-ini.html#ANSIColor">ANSIColor</a> key - <li>\x8Dŏ\x89\x82\xA9\x82\xE78\x90F\x95\xAA\x82\xAA\x96\xBE\x82邢\x90F(\x8C\xB4\x90F,bright version) - <li>\x8E\x9F\x82\xCC8\x90F\x95\xAA\x82\xAA\x8Dŏ\x89\x82\xCC8\x90F\x82\xF0\x8F\xAD\x82\xB5\x88Â\xAD\x82\xB5\x82\xBD\x90F(\x8D\x95\x82͓\xFC\x82\xEA\x91ւ\xA6\x82Ȃ\xA2) - + <li>8 bright colors from the beginning (primary color, bright version) + <li>Next 8 colors are slightly darker than first 8 colors (black is not replaced) </ul> -<h3>16/256\x90F\x83\x82\x81[\x83h\x8E\x9E</h3> +<h3>16/256 color mode</h3> -\x90F\x94ԍ\x860\x82\xA9\x82\xE715\x82́ATERATERM.INI\x82\xCCANSIColor\x82Őݒ肵\x82\xBD\x90F\x82̕\xC0\x82тƈقȂ\xC1\x82Ă\xA2\x82܂\xB7\x81B -\x91O\x94\xBC7\x90F\x82ƌ㔼7\x90F\x82\xAA\x93\xFC\x82\xEA\x91ւ\xED\x82\xC1\x82Ă\xA2\x82܂\xB7(\x8D\x95\x82\xC6gray\x82͓\xFC\x82\xEA\x91ւ\xED\x82\xE8\x82܂\xB9\x82\xF1)\x81B +Color numbers 0 through 15 are different in ANSIColor in TERATERM.INI. +first 7 colors and second 7 colors are replaced (black and gray are not replaced). + <ul> - <li>0\x82͍\x95 - <li>1-7\x82͏\xAD\x82\xB5\x88Â\xA2\x90F - <li>8\x82\xCDgray - <li>9-15\x82\xCDBright(\x96\xBE\x82邢)\x90F\x81A\x8C\xB4\x90F + <li>0 black + <li>1-7 Slightly darker color + <li>8 gray + <li>9-15 Bright color, primary color </ul> -<h3>8\x90F\x83\x82\x81[\x83h\x8E\x9E</h3> +<h3>8 color mode</h3> -\x90F\x94ԍ\x860\x82\xA9\x82\xE78\x82́ATERATERM.INI\x82\xCCANSIColor\x82Őݒ肵\x82\xBD\x8Dŏ\x89\x82\xCC8\x90F\x82ƂȂ\xE8\x82܂\xB7\x81B +Color numbers 0 through 8 are first 8 colors set in ANSIColor in TERATERM.INI. <ul> - <li>0-7\x82͌\xB4\x90F + <li>0-7 Bright color, primary color </ul> -<h3>\x90F\x91Ή\x9E\x95\</h3> +<h3>color table</h3> <pre> TERATERM.INI 16/256 color 8 color @@ -167,26 +168,25 @@ 15 "White" "Bright White" </pre> -<h2>\x94\xBD\x93]\x95\\x8E\xA6</h2> +<h2>Reverse color</h2> <p> -\x8E\x9F\x82̂Ƃ\xAB\x81A\x94\xBD\x93]\x95\\x8E\xA6\x82ƂȂ\xE8\x82܂\xB7\x81B +Reverse color is displayed in the following cases: <ul> <li>SGR 7 - <li>DECSCNM set\x8E\x9E - <li>\x83}\x83E\x83X\x91I\x91\xF0\x8E\x9E + <li>When DECSCNM set + <li>When the mouse is selected </ul> <p> -Tera Term\x82ł͑O\x8Ci\x90F\x82Ɣw\x8Ci\x90F\x82\xF0\x93\xFC\x82\xEA\x91ւ\xA6\x82邱\x82ƂŔ\xBD\x93]\x95\\x8E\xA6\x82Ƃ\xB5\x82Ă\xA2\x82܂\xB7\x81B -((R,G,B)\x90F\x82̔\xBD\x93]\x82Ƃ\xB5\x82\xC4(255-R,255-G,255-B)\x82\xF0\x8Eg\x97p\x82\xB5\x82Ă\xA2\x82\xE9\x92[\x96\x96\x83G\x83~\x83\x85\x83\x8C\x81[\x83^\x82\xE0\x82\xA0\x82\xE8\x82܂\xB7) +In Tera Term, the fore and back colors are replace to make the display reverse color. +(Some terminal emulators use (255-R,255-G,255-B) as (R,G,B) color invert color.) <p> -\x82\xB1\x82\xEA\x82͎\x9F\x82̂悤\x82ȗ\x9D\x97R\x82\xA9\x82\xE7\x82ł\xB7 +This is for following reasons: <ul> - <li>Tera Term\x82̎\xE5\x82ȃG\x83~\x83\x85\x83\x8C\x81[\x83V\x83\x87\x83\x93\x91Ώۂ\xCDDEC VT\x83V\x83\x8A\x81[\x83Y - <li>VT\x83V\x83\x8A\x81[\x83Y\x82ŃJ\x83\x89\x81[\x82\xAA\x88\xB5\x82\xA6\x82\xE9VT525\x82̓\xAE\x8D\xEC\x82Ɠ\xAF\x82\xB6 - <li>VT525\x82̓\xAE\x8D\xEC\x82ɂȂ\xE9\x82ׂ\xAD\x8D\x87\x82킹\x82\xE9 + <li>Tera Term's main emulation target is DEC VT series + <li>Same as VT525 operation, which can handle color in the VT series. </ul> </body> Modified: trunk/doc/ja/html/about/emulations.html =================================================================== --- trunk/doc/ja/html/about/emulations.html 2023-09-02 13:25:09 UTC (rev 10884) +++ trunk/doc/ja/html/about/emulations.html 2023-09-02 13:25:23 UTC (rev 10885) @@ -40,9 +40,9 @@ \x8Ae\x83\x82\x81[\x83h\x82͓\xAF\x8E\x9E\x82Ɏg\x97p\x82\xB7\x82邱\x82Ƃ\xAA\x82ł\xAB\x82܂\xB7\x81B <ul> - <li>16 color mode (PC-Style) / 16\x90F\x83\x82\x81[\x83h(PC\x8C`\x8E\xAE) - <li>16 color mode (aixterm) / 16\x90F\x83\x82\x81[\x83h(aixterm\x8C`\x8E\xAE) - <li>256 color mode (xterm) / 256\x90F\x83\x82\x81[\x83h(xterm\x8C`\x8E\xAE) + <li>16 color mode (PC style) / 16\x90F\x83\x82\x81[\x83h(PC\x8C`\x8E\xAE) + <li>16 color mode (aixterm style) / 16\x90F\x83\x82\x81[\x83h(aixterm\x8C`\x8E\xAE) + <li>256 color mode (xterm style) / 256\x90F\x83\x82\x81[\x83h(xterm\x8C`\x8E\xAE) </ul> \x82\xB7\x82ׂĂ\xF0disable\x82ɂ\xB7\x82\xE9\x82\xC68\x90F\x83\x82\x81[\x83h\x82ƂȂ\xE8\x82܂\xB7\x81B @@ -115,7 +115,7 @@ 16\x90F\x82̃f\x83t\x83H\x83\x8B\x83g\x92l\x82\xCDTERATERM.INI\x82ŕύX\x82\xB7\x82邱\x82Ƃ\xAA\x82ł\xAB\x82܂\xB7\x81B <p> -\x83J\x83\x89\x81[\x83e\x81[\x83}\x82\xF0\x8Eg\x82\xC1\x82ĕύX\x82\xB7\x82邱\x82Ƃ\xE0\x82ł\xAB\x82܂\xB7\x81B +<a href="../menu/setup-additional-visual-theme.html#color">\x83J\x83\x89\x81[\x83e\x81[\x83}</a>\x82\xF0\x8Eg\x82\xC1\x82ĕύX\x82\xB7\x82邱\x82Ƃ\xE0\x82ł\xAB\x82܂\xB7\x81B <h3>\x83f\x83t\x83H\x83\x8B\x83g\x90F\x82̕ύX</h3> @@ -186,7 +186,6 @@ <ul> <li>Tera Term\x82̎\xE5\x82ȃG\x83~\x83\x85\x83\x8C\x81[\x83V\x83\x87\x83\x93\x91Ώۂ\xCDDEC VT\x83V\x83\x8A\x81[\x83Y <li>VT\x83V\x83\x8A\x81[\x83Y\x82ŃJ\x83\x89\x81[\x82\xAA\x88\xB5\x82\xA6\x82\xE9VT525\x82̓\xAE\x8D\xEC\x82Ɠ\xAF\x82\xB6 - <li>VT525\x82̓\xAE\x8D\xEC\x82ɂȂ\xE9\x82ׂ\xAD\x8D\x87\x82킹\x82\xE9 </ul> </body> Modified: trunk/teraterm/ttpdlg/ttpdlg.rc =================================================================== --- trunk/teraterm/ttpdlg/ttpdlg.rc 2023-09-02 13:25:09 UTC (rev 10884) +++ trunk/teraterm/ttpdlg/ttpdlg.rc 2023-09-02 13:25:23 UTC (rev 10885) @@ -316,7 +316,7 @@ CONTROL "H&ide title bar",IDC_WINHIDETITLE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,98,30,90,10 CONTROL "No Frame",IDC_NO_FRAME,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,105,42,83,10 CONTROL "Hide &menu bar",IDC_WINHIDEMENU,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,98,54,90,10 - CONTROL "&Color emulation",IDC_WINCOLOREMU,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,98,66,90,10 + CONTROL "&16 Colors (PC style)",IDC_WINCOLOREMU,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,98,66,90,10 CONTROL "1&6 Colors (aixterm style)",IDC_WINAIXTERM16,"Button",BS_AUTOCHECKBOX | NOT WS_VISIBLE | WS_TABSTOP,98,78,100,10 CONTROL "&256 Colors (xterm style)",IDC_WINXTERM256,"Button",BS_AUTOCHECKBOX | NOT WS_VISIBLE | WS_TABSTOP,98,90,100,10 CONTROL "&Scroll buffer:",IDC_WINSCROLL1,"Button",BS_AUTOCHECKBOX | NOT WS_VISIBLE | WS_TABSTOP,98,108,83,12