X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/3ac7ae36115a6b43f6599e9dec48d74fde6285e7..684d367c45028e742c1f8751cbe1f2502426c308:/win_res.rc diff --git a/win_res.rc b/win_res.rc index b89b6b51..fc400c2c 100644 --- a/win_res.rc +++ b/win_res.rc @@ -1,6 +1,12 @@ +/* Some compilers, like Borland, don't have winresrc.h */ +#ifndef NO_WINRESRC_H #include +#endif +/* Some systems don't define this, so I do it myself if necessary */ +#ifndef TCS_MULTILINE #define TCS_MULTILINE 0x0200 +#endif #include "win_res.h" @@ -27,8 +33,13 @@ BEGIN DEFPUSHBUTTON "&Open", IDOK, 86, 199, 44, 14 PUSHBUTTON "&Cancel", IDCANCEL, 133, 199, 44, 14 PUSHBUTTON "&About", IDC_ABOUT, 3, 199, 44, 14, NOT WS_TABSTOP - CONTROL "", IDC_TAB, L"SysTabControl32", TCS_MULTILINE | WS_TABSTOP, - 3, 3, 174, 193 + CONTROL "", IDC_TAB, +#ifdef ASCIICTLS + "SysTabControl32", +#else + L"SysTabControl32", +#endif + TCS_MULTILINE | WS_TABSTOP, 3, 3, 174, 193 END IDD_RECONF DIALOG DISCARDABLE 0, 0, 180, 216 @@ -38,8 +49,13 @@ FONT 8, "MS Sans Serif" BEGIN DEFPUSHBUTTON "&Apply", IDOK, 86, 199, 44, 14 PUSHBUTTON "&Cancel", IDCANCEL, 133, 199, 44, 14 - CONTROL "", IDC_TAB, L"SysTabControl32", TCS_MULTILINE | WS_TABSTOP, - 3, 3, 174, 193 + CONTROL "", IDC_TAB, +#ifdef ASCIICTLS + "SysTabControl32", +#else + L"SysTabControl32", +#endif + TCS_MULTILINE | WS_TABSTOP, 3, 3, 174, 193 END IDD_PANEL0 DIALOG DISCARDABLE 6, 30, 168, 163 @@ -51,22 +67,25 @@ BEGIN LTEXT "&Port", IDC0_PORTSTATIC, 131, 3, 34, 8 EDITTEXT IDC0_PORT, 131, 11, 34, 12 #ifdef FWHACK - RTEXT "Protocol:", IDC0_PROTSTATIC, 3, 29, 77, 8 - AUTORADIOBUTTON "&Telnet", IDC0_PROTTELNET, 86, 29, 33, 10, WS_GROUP + RTEXT "Protocol:", IDC0_PROTSTATIC, 3, 29, 42, 8 + AUTORADIOBUTTON "&Raw", IDC0_PROTRAW, 51, 29, 33, 10, WS_GROUP + AUTORADIOBUTTON "&Telnet", IDC0_PROTTELNET, 86, 29, 33, 10 AUTORADIOBUTTON "SS&H/hack", IDC0_PROTSSH, 122, 29, 43, 10 #else - RTEXT "Protocol:", IDC0_PROTSTATIC, 3, 29, 87, 8 - AUTORADIOBUTTON "&Telnet", IDC0_PROTTELNET, 96, 29, 33, 10, WS_GROUP + RTEXT "Protocol:", IDC0_PROTSTATIC, 3, 29, 52, 8 + AUTORADIOBUTTON "&Raw", IDC0_PROTRAW, 61, 29, 33, 10, WS_GROUP + AUTORADIOBUTTON "&Telnet", IDC0_PROTTELNET, 96, 29, 33, 10 AUTORADIOBUTTON "SS&H", IDC0_PROTSSH, 132, 29, 33, 10 #endif - LTEXT "Sto&red Sessions", IDC0_SESSSTATIC, 3, 40, 122, 8 + LTEXT "Stor&ed Sessions", IDC0_SESSSTATIC, 3, 40, 122, 8 EDITTEXT IDC0_SESSEDIT, 3, 48, 122, 12, ES_AUTOHSCROLL LISTBOX IDC0_SESSLIST, 3, 63, 122, 81, LBS_HASSTRINGS | WS_VSCROLL | WS_TABSTOP PUSHBUTTON "&Load", IDC0_SESSLOAD, 131, 63, 34, 14 PUSHBUTTON "&Save", IDC0_SESSSAVE, 131, 80, 34, 14 PUSHBUTTON "&Delete", IDC0_SESSDEL, 131, 97, 34, 14 - AUTOCHECKBOX "Close &Window on Exit", IDC0_CLOSEEXIT, 3, 147, 162, 10 + AUTOCHECKBOX "Close &Window on Exit", IDC0_CLOSEEXIT, 3, 147, 91, 10 + AUTOCHECKBOX "Warn on C&lose", IDC0_CLOSEWARN, 96, 147, 69, 10 END IDD_PANEL1 DIALOG DISCARDABLE 6, 30, 168, 163 @@ -74,28 +93,36 @@ STYLE WS_CHILD | WS_VISIBLE | NOT WS_BORDER FONT 8, "MS Sans Serif" BEGIN LTEXT "Action of Backspace:", IDC1_DELSTATIC, 3, 3, 162, 8 - AUTORADIOBUTTON "Control-&H (ASCII 8)", IDC1_DEL008, 3, 12, 162, 10, WS_GROUP - AUTORADIOBUTTON "Control-&? (ASCII 127)", IDC1_DEL127, 3, 22, 162, 10 - LTEXT "Action of Home and End:", IDC1_HOMESTATIC, 3, 35, 162, 8 - AUTORADIOBUTTON "&Standard (ESC [ 1 ~ and ESC [ 4 ~)", - IDC1_HOMETILDE, 3, 44, 162, 10, WS_GROUP - AUTORADIOBUTTON "&rxvt (ESC [ H and ESC O w)", - IDC1_HOMERXVT, 3, 54, 162, 10 - LTEXT "Action of F1 through F5:", IDC1_FUNCSTATIC, 3, 67, 162, 8 - AUTORADIOBUTTON "S&tandard (ESC [ 11 ~ through ESC [ 15 ~)", - IDC1_FUNCTILDE, 3, 76, 162, 10, WS_GROUP - AUTORADIOBUTTON "&Linux (ESC [ [ A through ESC [ [ E)", - IDC1_FUNCLINUX, 3, 86, 162, 10 - LTEXT "Initial state of numeric keypad:", IDC1_KPSTATIC, 3, 99, 162, 8 - AUTORADIOBUTTON "&Normal (depends on NumLock)", - IDC1_KPNORMAL, 3, 108, 162, 10, WS_GROUP - AUTORADIOBUTTON "A&pplication (ESC O P etc)", - IDC1_KPAPPLIC, 3, 118, 162, 10 - LTEXT "Initial state of cursor keys:", IDC1_CURSTATIC, 3, 131, 162, 8 - AUTORADIOBUTTON "Nor&mal (ESC [ A through ESC [ D)", - IDC1_CURNORMAL, 3, 140, 162, 10, WS_GROUP - AUTORADIOBUTTON "Appl&ication (ESC O A through ESC O D)", - IDC1_CURAPPLIC, 3, 150, 162, 10 + AUTORADIOBUTTON "Control-&H", IDC1_DEL008, 3, 12, 50, 10, WS_GROUP + AUTORADIOBUTTON "Control-&? (127)", IDC1_DEL127, 62, 12, 100, 10 + LTEXT "Action of Home and End:", IDC1_HOMESTATIC, 3, 25, 162, 8 + AUTORADIOBUTTON "&Standard", + IDC1_HOMETILDE, 3, 34, 50, 10, WS_GROUP + AUTORADIOBUTTON "&rxvt", + IDC1_HOMERXVT, 62, 34, 50, 10 + LTEXT "Action of F1 through F5:", IDC1_FUNCSTATIC, 3, 47, 162, 8 + AUTORADIOBUTTON "S&tandard", + IDC1_FUNCTILDE, 3, 56, 50, 10, WS_GROUP + AUTORADIOBUTTON "&Linux console", + IDC1_FUNCLINUX, 62, 56, 100, 10 + LTEXT "Initial state of cursor keys:", IDC1_CURSTATIC, 3, 69, 162, 8 + AUTORADIOBUTTON "&Normal", + IDC1_CURNORMAL, 3, 78, 50, 10, WS_GROUP + AUTORADIOBUTTON "A&pplication", + IDC1_CURAPPLIC, 62, 78, 50, 10 + LTEXT "Initial state of numeric keypad:", IDC1_KPSTATIC, 3, 91, 162, 8 + AUTORADIOBUTTON "Nor&mal", + IDC1_KPNORMAL, 3, 100, 50, 10, WS_GROUP + AUTORADIOBUTTON "Appl&ication", + IDC1_KPAPPLIC, 62, 100, 50, 10 + AUTORADIOBUTTON "N&etHack", + IDC1_KPNH, 121, 100, 50, 10 + AUTOCHECKBOX "ALT-F&4 is special (closes window)", + IDC1_ALTF4, 3, 113, 162, 10 + AUTOCHECKBOX "ALT-Space is special (S&ystem menu)", + IDC1_ALTSPACE, 3, 123, 162, 10 + AUTOCHECKBOX "&Use local terminal line discipline", + IDC1_LDISCTERM, 3, 133, 162, 10 END IDD_PANEL2 DIALOG DISCARDABLE 6, 30, 168, 163 @@ -163,6 +190,8 @@ BEGIN LTEXT "Cipher:", IDC3_CIPHERSTATIC, 3, 50, 40, 8 AUTORADIOBUTTON "&3DES", IDC3_CIPHER3DES, 46, 50, 35, 10, WS_GROUP AUTORADIOBUTTON "&Blowfish", IDC3_CIPHERBLOWF, 84, 50, 40, 10 + AUTORADIOBUTTON "&DES", IDC3_CIPHERDES, 127, 50, 30, 10 + AUTOCHECKBOX "Attempt TIS authentication", IDC3_AUTHTIS, 3, 60, 162, 10 END IDD_PANEL4 DIALOG DISCARDABLE 6, 30, 168, 163 @@ -200,45 +229,59 @@ BEGIN PUSHBUTTON "C&hange...", IDC5_CHANGE, 109, 140, 56, 14 END +IDD_PANEL6 DIALOG DISCARDABLE 6, 30, 168, 163 +STYLE WS_CHILD | WS_VISIBLE +FONT 8, "MS Sans Serif" +BEGIN + LTEXT "Character set translation:", IDC6_XLATSTATIC, 3, 3, 162, 8 + AUTORADIOBUTTON "&None", + IDC6_NOXLAT, 3, 12, 162, 10, WS_GROUP + AUTORADIOBUTTON "&KOI8 / Win-1251", + IDC6_KOI8WIN1251, 3, 22, 162, 10 + AUTORADIOBUTTON "&ISO-8859-2 / Win-1250", + IDC6_88592WIN1250, 3, 32, 162, 10 + AUTOCHECKBOX "CA&PS LOCK acts as cyrillic switch", + IDC6_CAPSLOCKCYR, 3, 46, 162, 10 +END + IDD_LOGBOX DIALOG DISCARDABLE 100, 20, 160, 119 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "PuTTY Negotiation Log" +CAPTION "PuTTY Event Log" FONT 8, "MS Sans Serif" BEGIN DEFPUSHBUTTON "&Close", IDOK, 58, 102, 44, 14 LISTBOX IDN_LIST, 3, 3, 154, 95, LBS_HASSTRINGS | LBS_USETABSTOPS | WS_VSCROLL END -IDD_LICENCEBOX DIALOG DISCARDABLE 50, 50, 226, 231 +IDD_LICENCEBOX DIALOG DISCARDABLE 50, 50, 226, 223 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "PuTTY Licence" FONT 8, "MS Sans Serif" BEGIN - DEFPUSHBUTTON "OK", IDOK, 98, 211, 44, 14 - - LTEXT "Copyright \251 1997-9 Simon Tatham", 1000, 10, 10, 206, 8 - LTEXT "Portions copyright Gary S. Brown and Eric Young", 1100, 10, 18, 206, 8 - - LTEXT "Permission is hereby granted, free of charge, to any person", 1002, 10, 34, 206, 8 - LTEXT "obtaining a copy of this software and associated documentation", 1003, 10, 42, 206, 8 - LTEXT "files (the ""Software""), to deal in the Software without restriction,", 1004, 10, 50, 206, 8 - LTEXT "including without limitation the rights to use, copy, modify, merge,", 1005, 10, 58, 206, 8 - LTEXT "publish, distribute, sublicense, and/or sell copies of the Software,", 1006, 10, 66, 206, 8 - LTEXT "and to permit persons to whom the Software is furnished to do so,", 1007, 10, 74, 206, 8 - LTEXT "subject to the following conditions:", 1008, 10, 82, 206, 8 - - LTEXT "The above copyright notice and this permission notice shall be", 1010, 10, 98, 206, 8 - LTEXT "included in all copies or substantial portions of the Software.", 1011, 10, 106, 206, 8 - - LTEXT "THE SOFTWARE IS PROVIDED ""AS IS"", WITHOUT", 1013, 10, 122, 206, 8 - LTEXT "WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,", 1014, 10, 130, 206, 8 - LTEXT "INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF", 1015, 10, 138, 206, 8 - LTEXT "MERCHANTABILITY, FITNESS FOR A PARTICULAR", 1016, 10, 146, 206, 8 - LTEXT "PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL", 1017, 10, 154, 206, 8 - LTEXT "SIMON TATHAM BE LIABLE FOR ANY CLAIM, DAMAGES OR", 1018, 10, 162, 206, 8 - LTEXT "OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,", 1019, 10, 170, 206, 8 - LTEXT "TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN", 1020, 10, 178, 206, 8 - LTEXT "CONNECTION WITH THE SOFTWARE OR THE USE OR", 1021, 10, 186, 206, 8 - LTEXT "OTHER DEALINGS IN THE SOFTWARE.", 1022, 10, 194, 206, 8 + DEFPUSHBUTTON "OK", IDOK, 98, 203, 44, 14 + + LTEXT "Copyright \251 1997-2000 Simon Tatham", 1000, 10, 10, 206, 8 + + LTEXT "Permission is hereby granted, free of charge, to any person", 1002, 10, 26, 206, 8 + LTEXT "obtaining a copy of this software and associated documentation", 1003, 10, 34, 206, 8 + LTEXT "files (the ""Software""), to deal in the Software without restriction,", 1004, 10, 42, 206, 8 + LTEXT "including without limitation the rights to use, copy, modify, merge,", 1005, 10, 50, 206, 8 + LTEXT "publish, distribute, sublicense, and/or sell copies of the Software,", 1006, 10, 58, 206, 8 + LTEXT "and to permit persons to whom the Software is furnished to do so,", 1007, 10, 66, 206, 8 + LTEXT "subject to the following conditions:", 1008, 10, 74, 206, 8 + + LTEXT "The above copyright notice and this permission notice shall be", 1010, 10, 90, 206, 8 + LTEXT "included in all copies or substantial portions of the Software.", 1011, 10, 98, 206, 8 + + LTEXT "THE SOFTWARE IS PROVIDED ""AS IS"", WITHOUT", 1013, 10, 114, 206, 8 + LTEXT "WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,", 1014, 10, 122, 206, 8 + LTEXT "INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF", 1015, 10, 130, 206, 8 + LTEXT "MERCHANTABILITY, FITNESS FOR A PARTICULAR", 1016, 10, 138, 206, 8 + LTEXT "PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL", 1017, 10, 146, 206, 8 + LTEXT "SIMON TATHAM BE LIABLE FOR ANY CLAIM, DAMAGES OR", 1018, 10, 154, 206, 8 + LTEXT "OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,", 1019, 10, 162, 206, 8 + LTEXT "TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN", 1020, 10, 170, 206, 8 + LTEXT "CONNECTION WITH THE SOFTWARE OR THE USE OR", 1021, 10, 178, 206, 8 + LTEXT "OTHER DEALINGS IN THE SOFTWARE.", 1022, 10, 186, 206, 8 END