win_res.rc 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. #include <winresrc.h>
  2. #define TCS_MULTILINE 0x0200
  3. #include "win_res.h"
  4. IDI_MAINICON ICON "putty.ico"
  5. IDD_ABOUTBOX DIALOG DISCARDABLE 140, 40, 136, 70
  6. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  7. CAPTION "About PuTTY"
  8. FONT 8, "MS Sans Serif"
  9. BEGIN
  10. DEFPUSHBUTTON "&Close", IDOK, 82, 52, 48, 14
  11. PUSHBUTTON "View &Licence", IDA_LICENCE, 6, 52, 70, 14
  12. CTEXT "PuTTY", IDA_TEXT1, 10, 6, 120, 8
  13. CTEXT "", IDA_VERSION, 10, 16, 120, 16
  14. CTEXT "\251 1997-9 Simon Tatham. All rights reserved.",
  15. IDA_TEXT2, 10, 34, 120, 16
  16. END
  17. IDD_MAINBOX DIALOG DISCARDABLE 0, 0, 180, 216
  18. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  19. CAPTION "PuTTY Configuration"
  20. FONT 8, "MS Sans Serif"
  21. BEGIN
  22. DEFPUSHBUTTON "&Open", IDOK, 86, 199, 44, 14
  23. PUSHBUTTON "&Cancel", IDCANCEL, 133, 199, 44, 14
  24. PUSHBUTTON "&About", IDC_ABOUT, 3, 199, 44, 14, NOT WS_TABSTOP
  25. CONTROL "", IDC_TAB, L"SysTabControl32", TCS_MULTILINE | WS_TABSTOP,
  26. 3, 3, 174, 193
  27. END
  28. IDD_RECONF DIALOG DISCARDABLE 0, 0, 180, 216
  29. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  30. CAPTION "PuTTY Reconfiguration"
  31. FONT 8, "MS Sans Serif"
  32. BEGIN
  33. DEFPUSHBUTTON "&Apply", IDOK, 86, 199, 44, 14
  34. PUSHBUTTON "&Cancel", IDCANCEL, 133, 199, 44, 14
  35. CONTROL "", IDC_TAB, L"SysTabControl32", TCS_MULTILINE | WS_TABSTOP,
  36. 3, 3, 174, 193
  37. END
  38. IDD_PANEL0 DIALOG DISCARDABLE 6, 30, 168, 163
  39. STYLE WS_CHILD | WS_VISIBLE | NOT WS_BORDER
  40. FONT 8, "MS Sans Serif"
  41. BEGIN
  42. LTEXT "Host Name", IDC0_HOSTSTATIC, 3, 3, 122, 8
  43. EDITTEXT IDC0_HOST, 3, 11, 122, 12, ES_AUTOHSCROLL
  44. LTEXT "Port", IDC0_PORTSTATIC, 131, 3, 34, 8
  45. EDITTEXT IDC0_PORT, 131, 11, 34, 12
  46. #ifdef FWHACK
  47. RTEXT "Protocol:", IDC0_PROTSTATIC, 3, 29, 77, 8
  48. AUTORADIOBUTTON "Telnet", IDC0_PROTTELNET, 86, 29, 33, 10, WS_GROUP
  49. AUTORADIOBUTTON "SSH/hack", IDC0_PROTSSH, 122, 29, 43, 10
  50. #else
  51. RTEXT "Protocol:", IDC0_PROTSTATIC, 3, 29, 87, 8
  52. AUTORADIOBUTTON "Telnet", IDC0_PROTTELNET, 96, 29, 33, 10, WS_GROUP
  53. AUTORADIOBUTTON "SSH", IDC0_PROTSSH, 132, 29, 33, 10
  54. #endif
  55. LTEXT "Stored Sessions", IDC0_SESSSTATIC, 3, 40, 122, 8
  56. EDITTEXT IDC0_SESSEDIT, 3, 48, 122, 12, ES_AUTOHSCROLL
  57. LISTBOX IDC0_SESSLIST, 3, 63, 122, 81, LBS_HASSTRINGS | WS_VSCROLL
  58. PUSHBUTTON "Load", IDC0_SESSLOAD, 131, 63, 34, 14
  59. PUSHBUTTON "Save", IDC0_SESSSAVE, 131, 80, 34, 14
  60. PUSHBUTTON "Delete", IDC0_SESSDEL, 131, 97, 34, 14
  61. AUTOCHECKBOX "Close Window on Exit", IDC0_CLOSEEXIT, 3, 147, 162, 10
  62. END
  63. IDD_PANEL1 DIALOG DISCARDABLE 6, 30, 168, 163
  64. STYLE WS_CHILD | WS_VISIBLE | NOT WS_BORDER
  65. FONT 8, "MS Sans Serif"
  66. BEGIN
  67. LTEXT "Action of Backspace:", IDC1_DELSTATIC, 3, 3, 162, 8
  68. AUTORADIOBUTTON "Control-H (ASCII 8)", IDC1_DEL008, 3, 12, 162, 10, WS_GROUP
  69. AUTORADIOBUTTON "Control-? (ASCII 127)", IDC1_DEL127, 3, 22, 162, 10
  70. LTEXT "Action of Home and End:", IDC1_HOMESTATIC, 3, 35, 162, 8
  71. AUTORADIOBUTTON "Standard (ESC [ 1 ~ and ESC [ 4 ~)",
  72. IDC1_HOMETILDE, 3, 44, 162, 10, WS_GROUP
  73. AUTORADIOBUTTON "rxvt (ESC [ H and ESC O w)",
  74. IDC1_HOMERXVT, 3, 54, 162, 10
  75. LTEXT "Action of F1 through F5:", IDC1_FUNCSTATIC, 3, 67, 162, 8
  76. AUTORADIOBUTTON "Standard (ESC [ 11 ~ through ESC [ 15 ~)",
  77. IDC1_FUNCTILDE, 3, 76, 162, 10, WS_GROUP
  78. AUTORADIOBUTTON "Linux (ESC [ [ A through ESC [ [ E)",
  79. IDC1_FUNCLINUX, 3, 86, 162, 10
  80. LTEXT "Initial state of numeric keypad:", IDC1_KPSTATIC, 3, 99, 162, 8
  81. AUTORADIOBUTTON "Normal (depends on NumLock)",
  82. IDC1_KPNORMAL, 3, 108, 162, 10, WS_GROUP
  83. AUTORADIOBUTTON "Application (ESC O P etc)",
  84. IDC1_KPAPPLIC, 3, 118, 162, 10
  85. LTEXT "Initial state of cursor keys:", IDC1_CURSTATIC, 3, 131, 162, 8
  86. AUTORADIOBUTTON "Normal (ESC [ A through ESC [ D)",
  87. IDC1_CURNORMAL, 3, 140, 162, 10, WS_GROUP
  88. AUTORADIOBUTTON "Application (ESC O A through ESC O D)",
  89. IDC1_CURAPPLIC, 3, 150, 162, 10
  90. END
  91. IDD_PANEL2 DIALOG DISCARDABLE 6, 30, 168, 163
  92. STYLE WS_CHILD | WS_VISIBLE | NOT WS_BORDER
  93. FONT 8, "MS Sans Serif"
  94. BEGIN
  95. AUTOCHECKBOX "Auto wrap mode initially on", IDC2_WRAPMODE, 3, 3, 162, 10
  96. AUTOCHECKBOX "DEC Origin Mode initially on", IDC2_DECOM, 3, 13, 162, 10
  97. AUTOCHECKBOX "Avoid ever using icon title", IDC2_WINNAME, 3, 23, 162, 10
  98. AUTOCHECKBOX "Implicit CR in every LF", IDC2_LFHASCR, 3, 33, 162, 10
  99. LTEXT "Terminal screen dimensions:", IDC2_DIMSTATIC, 3, 48, 162, 8
  100. RTEXT "Rows", IDC2_ROWSSTATIC, 10, 59, 32, 8
  101. EDITTEXT IDC2_ROWSEDIT, 50, 57, 30, 12
  102. RTEXT "Columns", IDC2_COLSSTATIC, 95, 59, 32, 8
  103. EDITTEXT IDC2_COLSEDIT, 135, 57, 30, 12
  104. RTEXT "Saved lines of scrollback", IDC2_SAVESTATIC, 20, 74, 107, 8
  105. EDITTEXT IDC2_SAVEEDIT, 135, 72, 30, 12
  106. LTEXT "Font:", IDC2_FONTSTATIC, 3, 93, 99, 8
  107. PUSHBUTTON "Change...", IDC2_CHOOSEFONT, 105, 90, 60, 14
  108. LTEXT "Handling of VT100 line drawing characters:",IDC2_VTSTATIC, 3, 111, 162, 8
  109. AUTORADIOBUTTON "Font has XWindows encoding",
  110. IDC2_VTXWINDOWS, 3, 120, 162, 10, WS_GROUP
  111. AUTORADIOBUTTON "Use font in both ANSI and OEM modes",
  112. IDC2_VTOEMANSI, 3, 130, 162, 10
  113. AUTORADIOBUTTON "Use font in OEM mode only",
  114. IDC2_VTOEMONLY, 3, 140, 162, 10
  115. AUTORADIOBUTTON "Poor man's line drawing (""+"", ""-"" and ""|"")",
  116. IDC2_VTPOORMAN, 3, 150, 162, 10
  117. END
  118. IDD_PANEL3 DIALOG DISCARDABLE 6, 30, 168, 163
  119. STYLE WS_CHILD | WS_VISIBLE | NOT WS_BORDER
  120. FONT 8, "MS Sans Serif"
  121. BEGIN
  122. LTEXT "Terminal-type string", IDC3_TTSTATIC, 3, 5, 90, 8
  123. EDITTEXT IDC3_TTEDIT, 96, 3, 69, 12, ES_AUTOHSCROLL
  124. LTEXT "Terminal-speed string", IDC3_TSSTATIC, 3, 20, 90, 8
  125. EDITTEXT IDC3_TSEDIT, 96, 18, 69, 12, ES_AUTOHSCROLL
  126. LTEXT "Auto-login username", IDC3_LOGSTATIC, 3, 35, 90, 8
  127. EDITTEXT IDC3_LOGEDIT, 96, 33, 69, 12, ES_AUTOHSCROLL
  128. LTEXT "Environment variables:", IDC3_ENVSTATIC, 3, 53, 162, 8
  129. LTEXT "Variable", IDC3_VARSTATIC, 3, 70, 29, 8
  130. EDITTEXT IDC3_VAREDIT, 35, 68, 35, 12, ES_AUTOHSCROLL
  131. LTEXT "Value", IDC3_VALSTATIC, 76, 70, 19, 8
  132. EDITTEXT IDC3_VALEDIT, 98, 68, 67, 12, ES_AUTOHSCROLL
  133. LISTBOX IDC3_ENVLIST, 3, 85, 122, 55,
  134. LBS_HASSTRINGS | LBS_USETABSTOPS | WS_VSCROLL
  135. PUSHBUTTON "Add", IDC3_ENVADD, 131, 85, 34, 14
  136. PUSHBUTTON "Remove", IDC3_ENVREMOVE, 131, 102, 34, 14
  137. LTEXT "ENVIRON interpretation:", IDC3_EMSTATIC, 3, 147, 90, 8
  138. AUTORADIOBUTTON "BSD", IDC3_EMBSD, 96, 147, 33, 10, WS_GROUP
  139. AUTORADIOBUTTON "RFC", IDC3_EMRFC, 132, 147, 33, 10
  140. END
  141. IDD_PANEL35 DIALOG DISCARDABLE 6, 30, 168, 163
  142. STYLE WS_CHILD | WS_VISIBLE | NOT WS_BORDER
  143. FONT 8, "MS Sans Serif"
  144. BEGIN
  145. LTEXT "Terminal-type string", IDC3_TTSTATIC, 3, 5, 90, 8
  146. EDITTEXT IDC3_TTEDIT, 96, 3, 69, 12, ES_AUTOHSCROLL
  147. AUTOCHECKBOX "Don't allocate a pseudo-terminal", IDC3_NOPTY,
  148. 3, 19, 162, 10
  149. LTEXT "Auto-login username", IDC3_LOGSTATIC, 3, 35, 90, 8
  150. EDITTEXT IDC3_LOGEDIT, 96, 33, 69, 12, ES_AUTOHSCROLL
  151. LTEXT "Cipher:", IDC3_CIPHERSTATIC, 3, 50, 40, 8
  152. AUTORADIOBUTTON "3DES", IDC3_CIPHER3DES, 46, 50, 35, 10, WS_GROUP
  153. AUTORADIOBUTTON "Blowfish", IDC3_CIPHERBLOWF, 84, 50, 40, 10
  154. END
  155. IDD_PANEL4 DIALOG DISCARDABLE 6, 30, 168, 163
  156. STYLE WS_CHILD | WS_VISIBLE | NOT WS_BORDER
  157. FONT 8, "MS Sans Serif"
  158. BEGIN
  159. LTEXT "Action of mouse buttons:", IDC4_MBSTATIC, 3, 3, 162, 8
  160. AUTORADIOBUTTON "Windows (Right pastes, Middle extends)",
  161. IDC4_MBWINDOWS, 3, 12, 162, 10, WS_GROUP
  162. AUTORADIOBUTTON "xterm (Right extends, Middle pastes)",
  163. IDC4_MBXTERM, 3, 22, 162, 10
  164. LTEXT "Character classes:", IDC4_CCSTATIC, 3, 35, 162, 8
  165. LISTBOX IDC4_CCLIST, 3, 45, 162, 96,
  166. LBS_HASSTRINGS | WS_VSCROLL | LBS_USETABSTOPS | LBS_MULTIPLESEL
  167. PUSHBUTTON "Set", IDC4_CCSET, 33, 145, 34, 14
  168. LTEXT "to class", IDC4_CCSTATIC2, 73, 148, 26, 8
  169. EDITTEXT IDC4_CCEDIT, 105, 146, 36, 12
  170. END
  171. IDD_PANEL5 DIALOG DISCARDABLE 6, 30, 168, 163
  172. STYLE WS_CHILD | WS_VISIBLE | NOT WS_BORDER
  173. FONT 8, "MS Sans Serif"
  174. BEGIN
  175. AUTOCHECKBOX "Bolded text is a different colour", IDC5_BOLDCOLOUR,3, 10, 162, 10
  176. AUTOCHECKBOX "Attempt to use logical palettes", IDC5_PALETTE, 3, 25, 162, 10
  177. LTEXT "Colours:", IDC5_STATIC, 3, 40, 162, 8
  178. LISTBOX IDC5_LIST, 3, 50, 100, 110, LBS_HASSTRINGS | WS_VSCROLL
  179. LTEXT "Red:", IDC5_RSTATIC, 109, 50, 27, 8
  180. RTEXT "", IDC5_RVALUE, 138, 50, 27, 8
  181. LTEXT "Green:", IDC5_GSTATIC, 109, 58, 27, 8
  182. RTEXT "", IDC5_GVALUE, 138, 58, 27, 8
  183. LTEXT "Blue:", IDC5_BSTATIC, 109, 66, 27, 8
  184. RTEXT "", IDC5_BVALUE, 138, 66, 27, 8
  185. PUSHBUTTON "Change...", IDC5_CHANGE, 109, 140, 56, 14
  186. END
  187. IDD_LOGBOX DIALOG DISCARDABLE 100, 20, 160, 119
  188. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  189. CAPTION "PuTTY Negotiation Log"
  190. FONT 8, "MS Sans Serif"
  191. BEGIN
  192. DEFPUSHBUTTON "&Close", IDOK, 58, 102, 44, 14
  193. LISTBOX IDN_LIST, 3, 3, 154, 95, LBS_HASSTRINGS | LBS_USETABSTOPS | WS_VSCROLL
  194. END
  195. IDD_LICENCEBOX DIALOG DISCARDABLE 50, 50, 226, 231
  196. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  197. CAPTION "PuTTY Licence"
  198. FONT 8, "MS Sans Serif"
  199. BEGIN
  200. DEFPUSHBUTTON "OK", IDOK, 98, 211, 44, 14
  201. LTEXT "Copyright \251 1997-9 Simon Tatham", 1000, 10, 10, 206, 8
  202. LTEXT "Portions copyright Gary S. Brown and Eric Young", 1100, 10, 18, 206, 8
  203. LTEXT "Permission is hereby granted, free of charge, to any person", 1002, 10, 34, 206, 8
  204. LTEXT "obtaining a copy of this software and associated documentation", 1003, 10, 42, 206, 8
  205. LTEXT "files (the ""Software""), to deal in the Software without restriction,", 1004, 10, 50, 206, 8
  206. LTEXT "including without limitation the rights to use, copy, modify, merge,", 1005, 10, 58, 206, 8
  207. LTEXT "publish, distribute, sublicense, and/or sell copies of the Software,", 1006, 10, 66, 206, 8
  208. LTEXT "and to permit persons to whom the Software is furnished to do so,", 1007, 10, 74, 206, 8
  209. LTEXT "subject to the following conditions:", 1008, 10, 82, 206, 8
  210. LTEXT "The above copyright notice and this permission notice shall be", 1010, 10, 98, 206, 8
  211. LTEXT "included in all copies or substantial portions of the Software.", 1011, 10, 106, 206, 8
  212. LTEXT "THE SOFTWARE IS PROVIDED ""AS IS"", WITHOUT", 1013, 10, 122, 206, 8
  213. LTEXT "WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,", 1014, 10, 130, 206, 8
  214. LTEXT "INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF", 1015, 10, 138, 206, 8
  215. LTEXT "MERCHANTABILITY, FITNESS FOR A PARTICULAR", 1016, 10, 146, 206, 8
  216. LTEXT "PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL", 1017, 10, 154, 206, 8
  217. LTEXT "SIMON TATHAM BE LIABLE FOR ANY CLAIM, DAMAGES OR", 1018, 10, 162, 206, 8
  218. LTEXT "OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,", 1019, 10, 170, 206, 8
  219. LTEXT "TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN", 1020, 10, 178, 206, 8
  220. LTEXT "CONNECTION WITH THE SOFTWARE OR THE USE OR", 1021, 10, 186, 206, 8
  221. LTEXT "OTHER DEALINGS IN THE SOFTWARE.", 1022, 10, 194, 206, 8
  222. END