help.h 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. /*
  2. * help.h - define Windows Help context names.
  3. * Each definition is simply a string which matches up with the
  4. * section names in the Halibut source, and is used for HTML Help.
  5. */
  6. /* Maximum length for WINHELP_CTX_foo strings */
  7. #define WINHELP_CTX_MAXLEN 80
  8. /* These are used in the cross-platform configuration dialog code. */
  9. typedef const char *HelpCtx;
  10. #define NULL_HELPCTX NULL
  11. #define HELPCTX(x) WINHELP_CTX_ ## x
  12. #define WINHELP_CTX_no_help NULL
  13. #define WINHELP_CTX_session_hostname "config-hostname"
  14. #define WINHELP_CTX_session_saved "config-saving"
  15. #define WINHELP_CTX_session_coe "config-closeonexit"
  16. #define WINHELP_CTX_logging_main "config-logging"
  17. #define WINHELP_CTX_logging_filename "config-logfilename"
  18. #define WINHELP_CTX_logging_exists "config-logfileexists"
  19. #define WINHELP_CTX_logging_flush "config-logflush"
  20. #define WINHELP_CTX_logging_header "config-logheader"
  21. #define WINHELP_CTX_logging_ssh_omit_password "config-logssh"
  22. #define WINHELP_CTX_logging_ssh_omit_data "config-logssh"
  23. #define WINHELP_CTX_keyboard_backspace "config-backspace"
  24. #define WINHELP_CTX_keyboard_homeend "config-homeend"
  25. #define WINHELP_CTX_keyboard_funkeys "config-funkeys"
  26. #define WINHELP_CTX_keyboard_sharrow "config-sharrow"
  27. #define WINHELP_CTX_keyboard_appkeypad "config-appkeypad"
  28. #define WINHELP_CTX_keyboard_appcursor "config-appcursor"
  29. #define WINHELP_CTX_keyboard_nethack "config-nethack"
  30. #define WINHELP_CTX_keyboard_compose "config-compose"
  31. #define WINHELP_CTX_keyboard_ctrlalt "config-ctrlalt"
  32. #define WINHELP_CTX_features_application "config-features-application"
  33. #define WINHELP_CTX_features_mouse "config-features-mouse"
  34. #define WINHELP_CTX_features_resize "config-features-resize"
  35. #define WINHELP_CTX_features_altscreen "config-features-altscreen"
  36. #define WINHELP_CTX_features_retitle "config-features-retitle"
  37. #define WINHELP_CTX_features_qtitle "config-features-qtitle"
  38. #define WINHELP_CTX_features_dbackspace "config-features-dbackspace"
  39. #define WINHELP_CTX_features_charset "config-features-charset"
  40. #define WINHELP_CTX_features_clearscroll "config-features-clearscroll"
  41. #define WINHELP_CTX_features_arabicshaping "config-features-shaping"
  42. #define WINHELP_CTX_features_bidi "config-features-bidi"
  43. #define WINHELP_CTX_features_bracketed_paste "config-features-bracketed-paste"
  44. #define WINHELP_CTX_terminal_autowrap "config-autowrap"
  45. #define WINHELP_CTX_terminal_decom "config-decom"
  46. #define WINHELP_CTX_terminal_lfhascr "config-crlf"
  47. #define WINHELP_CTX_terminal_crhaslf "config-lfcr"
  48. #define WINHELP_CTX_terminal_bce "config-erase"
  49. #define WINHELP_CTX_terminal_blink "config-blink"
  50. #define WINHELP_CTX_terminal_answerback "config-answerback"
  51. #define WINHELP_CTX_terminal_localecho "config-localecho"
  52. #define WINHELP_CTX_terminal_localedit "config-localedit"
  53. #define WINHELP_CTX_terminal_printing "config-printing"
  54. #define WINHELP_CTX_supdup_location "supdup-location"
  55. #define WINHELP_CTX_supdup_ascii "supdup-ascii"
  56. #define WINHELP_CTX_supdup_more "supdup-more"
  57. #define WINHELP_CTX_supdup_scroll "supdup-scroll"
  58. #define WINHELP_CTX_bell_style "config-bellstyle"
  59. #define WINHELP_CTX_bell_taskbar "config-belltaskbar"
  60. #define WINHELP_CTX_bell_overload "config-bellovl"
  61. #define WINHELP_CTX_window_size "config-winsize"
  62. #define WINHELP_CTX_window_resize "config-winsizelock"
  63. #define WINHELP_CTX_window_scrollback "config-scrollback"
  64. #define WINHELP_CTX_window_erased "config-erasetoscrollback"
  65. #define WINHELP_CTX_behaviour_closewarn "config-warnonclose"
  66. #define WINHELP_CTX_behaviour_altf4 "config-altf4"
  67. #define WINHELP_CTX_behaviour_altspace "config-altspace"
  68. #define WINHELP_CTX_behaviour_altonly "config-altonly"
  69. #define WINHELP_CTX_behaviour_alwaysontop "config-alwaysontop"
  70. #define WINHELP_CTX_behaviour_altenter "config-fullscreen"
  71. #define WINHELP_CTX_appearance_cursor "config-cursor"
  72. #define WINHELP_CTX_appearance_font "config-font"
  73. #define WINHELP_CTX_appearance_title "config-title"
  74. #define WINHELP_CTX_appearance_hidemouse "config-mouseptr"
  75. #define WINHELP_CTX_appearance_border "config-winborder"
  76. #define WINHELP_CTX_connection_termtype "config-termtype"
  77. #define WINHELP_CTX_connection_termspeed "config-termspeed"
  78. #define WINHELP_CTX_connection_username "config-username"
  79. #define WINHELP_CTX_connection_username_from_env "config-username-from-env"
  80. #define WINHELP_CTX_connection_keepalive "config-keepalive"
  81. #define WINHELP_CTX_connection_nodelay "config-nodelay"
  82. #define WINHELP_CTX_connection_ipversion "config-address-family"
  83. #define WINHELP_CTX_connection_tcpkeepalive "config-tcp-keepalives"
  84. #define WINHELP_CTX_connection_loghost "config-loghost"
  85. #define WINHELP_CTX_proxy_type "config-proxy-type"
  86. #define WINHELP_CTX_proxy_main "config-proxy"
  87. #define WINHELP_CTX_proxy_exclude "config-proxy-exclude"
  88. #define WINHELP_CTX_proxy_dns "config-proxy-dns"
  89. #define WINHELP_CTX_proxy_auth "config-proxy-auth"
  90. #define WINHELP_CTX_proxy_command "config-proxy-command"
  91. #define WINHELP_CTX_proxy_logging "config-proxy-logging"
  92. #define WINHELP_CTX_telnet_environ "config-environ"
  93. #define WINHELP_CTX_telnet_oldenviron "config-oldenviron"
  94. #define WINHELP_CTX_telnet_passive "config-ptelnet"
  95. #define WINHELP_CTX_telnet_specialkeys "config-telnetkey"
  96. #define WINHELP_CTX_telnet_newline "config-telnetnl"
  97. #define WINHELP_CTX_rlogin_localuser "config-rlogin-localuser"
  98. #define WINHELP_CTX_ssh_nopty "config-ssh-pty"
  99. #define WINHELP_CTX_ssh_ttymodes "config-ttymodes"
  100. #define WINHELP_CTX_ssh_noshell "config-ssh-noshell"
  101. #define WINHELP_CTX_ssh_ciphers "config-ssh-encryption"
  102. #define WINHELP_CTX_ssh_protocol "config-ssh-prot"
  103. #define WINHELP_CTX_ssh_command "config-command"
  104. #define WINHELP_CTX_ssh_compress "config-ssh-comp"
  105. #define WINHELP_CTX_ssh_share "config-ssh-sharing"
  106. #define WINHELP_CTX_ssh_kexlist "config-ssh-kex-order"
  107. #define WINHELP_CTX_ssh_hklist "config-ssh-hostkey-order"
  108. #define WINHELP_CTX_ssh_hk_known "config-ssh-prefer-known-hostkeys"
  109. #define WINHELP_CTX_ssh_gssapi_kex_delegation "config-ssh-kex-gssapi-delegation"
  110. #define WINHELP_CTX_ssh_kex_repeat "config-ssh-kex-rekey"
  111. #define WINHELP_CTX_ssh_kex_manual_hostkeys "config-ssh-kex-manual-hostkeys"
  112. #define WINHELP_CTX_ssh_kex_cert "config-ssh-kex-cert"
  113. #define WINHELP_CTX_ssh_cert_valid_expr "config-ssh-cert-valid-expr"
  114. #define WINHELP_CTX_ssh_cert_rsa_hash "config-ssh-cert-rsa-hash"
  115. #define WINHELP_CTX_ssh_auth_bypass "config-ssh-noauth"
  116. #define WINHELP_CTX_ssh_no_trivial_userauth "config-ssh-notrivialauth"
  117. #define WINHELP_CTX_ssh_auth_banner "config-ssh-banner"
  118. #define WINHELP_CTX_ssh_auth_privkey "config-ssh-privkey"
  119. #define WINHELP_CTX_ssh_auth_plugin "config-ssh-authplugin"
  120. #define WINHELP_CTX_ssh_auth_cert "config-ssh-cert"
  121. #define WINHELP_CTX_ssh_auth_agentfwd "config-ssh-agentfwd"
  122. #define WINHELP_CTX_ssh_auth_changeuser "config-ssh-changeuser"
  123. #define WINHELP_CTX_ssh_auth_pageant "config-ssh-tryagent"
  124. #define WINHELP_CTX_ssh_auth_tis "config-ssh-tis"
  125. #define WINHELP_CTX_ssh_auth_ki "config-ssh-ki"
  126. #define WINHELP_CTX_ssh_gssapi "config-ssh-auth-gssapi"
  127. #define WINHELP_CTX_ssh_gssapi_delegation "config-ssh-auth-gssapi-delegation"
  128. #define WINHELP_CTX_ssh_gssapi_libraries "config-ssh-auth-gssapi-libraries"
  129. #define WINHELP_CTX_selection_buttons "config-mouse"
  130. #define WINHELP_CTX_selection_shiftdrag "config-mouseshift"
  131. #define WINHELP_CTX_selection_rect "config-rectselect"
  132. #define WINHELP_CTX_selection_linedraw "config-linedrawpaste"
  133. #define WINHELP_CTX_selection_autocopy "config-selection-autocopy"
  134. #define WINHELP_CTX_selection_clipactions "config-selection-clipactions"
  135. #define WINHELP_CTX_selection_pastectrl "config-paste-ctrl-char"
  136. #define WINHELP_CTX_copy_charclasses "config-charclasses"
  137. #define WINHELP_CTX_copy_rtf "config-rtfcopy"
  138. #define WINHELP_CTX_colours_ansi "config-ansicolour"
  139. #define WINHELP_CTX_colours_xterm256 "config-xtermcolour"
  140. #define WINHELP_CTX_colours_truecolour "config-truecolour"
  141. #define WINHELP_CTX_colours_bold "config-boldcolour"
  142. #define WINHELP_CTX_colours_system "config-syscolour"
  143. #define WINHELP_CTX_colours_logpal "config-logpalette"
  144. #define WINHELP_CTX_colours_config "config-colourcfg"
  145. #define WINHELP_CTX_translation_codepage "config-charset"
  146. #define WINHELP_CTX_translation_cjk_ambig_wide "config-cjk-ambig-wide"
  147. #define WINHELP_CTX_translation_cyrillic "config-cyr"
  148. #define WINHELP_CTX_translation_linedraw "config-linedraw"
  149. #define WINHELP_CTX_translation_utf8linedraw "config-utf8linedraw"
  150. #define WINHELP_CTX_ssh_tunnels_x11 "config-ssh-x11"
  151. #define WINHELP_CTX_ssh_tunnels_x11auth "config-ssh-x11auth"
  152. #define WINHELP_CTX_ssh_tunnels_xauthority "config-ssh-xauthority"
  153. #define WINHELP_CTX_ssh_tunnels_portfwd "config-ssh-portfwd"
  154. #define WINHELP_CTX_ssh_tunnels_portfwd_localhost "config-ssh-portfwd-localhost"
  155. #define WINHELP_CTX_ssh_tunnels_portfwd_ipversion "config-ssh-portfwd-address-family"
  156. #define WINHELP_CTX_ssh_bugs_ignore1 "config-ssh-bug-ignore1"
  157. #define WINHELP_CTX_ssh_bugs_plainpw1 "config-ssh-bug-plainpw1"
  158. #define WINHELP_CTX_ssh_bugs_rsa1 "config-ssh-bug-rsa1"
  159. #define WINHELP_CTX_ssh_bugs_ignore2 "config-ssh-bug-ignore2"
  160. #define WINHELP_CTX_ssh_bugs_hmac2 "config-ssh-bug-hmac2"
  161. #define WINHELP_CTX_ssh_bugs_derivekey2 "config-ssh-bug-derivekey2"
  162. #define WINHELP_CTX_ssh_bugs_rsapad2 "config-ssh-bug-sig"
  163. #define WINHELP_CTX_ssh_bugs_pksessid2 "config-ssh-bug-pksessid2"
  164. #define WINHELP_CTX_ssh_bugs_rekey2 "config-ssh-bug-rekey"
  165. #define WINHELP_CTX_ssh_bugs_maxpkt2 "config-ssh-bug-maxpkt2"
  166. #define WINHELP_CTX_ssh_bugs_rsa_sha2_cert_userauth "config-ssh-bug-rsa-sha2-cert-userauth"
  167. #define WINHELP_CTX_ssh_bugs_winadj "config-ssh-bug-winadj"
  168. #define WINHELP_CTX_ssh_bugs_chanreq "config-ssh-bug-chanreq"
  169. #define WINHELP_CTX_ssh_bugs_oldgex2 "config-ssh-bug-oldgex2"
  170. #define WINHELP_CTX_ssh_bugs_dropstart "config-ssh-bug-dropstart"
  171. #define WINHELP_CTX_ssh_bugs_filter_kexinit "config-ssh-bug-filter-kexinit"
  172. #define WINHELP_CTX_serial_line "config-serial-line"
  173. #define WINHELP_CTX_serial_speed "config-serial-speed"
  174. #define WINHELP_CTX_serial_databits "config-serial-databits"
  175. #define WINHELP_CTX_serial_stopbits "config-serial-stopbits"
  176. #define WINHELP_CTX_serial_parity "config-serial-parity"
  177. #define WINHELP_CTX_serial_flow "config-serial-flow"
  178. #define WINHELP_CTX_pageant_general "pageant"
  179. #define WINHELP_CTX_pageant_keylist "pageant-mainwin-keylist"
  180. #define WINHELP_CTX_pageant_addkey "pageant-mainwin-addkey"
  181. #define WINHELP_CTX_pageant_remkey "pageant-mainwin-remkey"
  182. #define WINHELP_CTX_pageant_deferred "pageant-deferred-decryption"
  183. #define WINHELP_CTX_pgpfingerprints "pgpkeys"
  184. #define WINHELP_CTX_puttygen_general "pubkey-puttygen"
  185. #define WINHELP_CTX_puttygen_keytype "puttygen-keytype"
  186. #define WINHELP_CTX_puttygen_bits "puttygen-strength"
  187. #define WINHELP_CTX_puttygen_generate "puttygen-generate"
  188. #define WINHELP_CTX_puttygen_fingerprint "puttygen-fingerprint"
  189. #define WINHELP_CTX_puttygen_comment "puttygen-comment"
  190. #define WINHELP_CTX_puttygen_passphrase "puttygen-passphrase"
  191. #define WINHELP_CTX_puttygen_savepriv "puttygen-savepriv"
  192. #define WINHELP_CTX_puttygen_savepub "puttygen-savepub"
  193. #define WINHELP_CTX_puttygen_pastekey "puttygen-pastekey"
  194. #define WINHELP_CTX_puttygen_load "puttygen-load"
  195. #define WINHELP_CTX_puttygen_conversions "puttygen-conversions"
  196. #define WINHELP_CTX_puttygen_ppkver "puttygen-save-ppk-version"
  197. #define WINHELP_CTX_puttygen_kdfparam "puttygen-save-passphrase-hashing"
  198. #define WINHELP_CTX_errors_cert_mismatch "errors-cert-mismatch"
  199. /* These are used in Windows-specific bits of the frontend.
  200. * We (ab)use "help context identifiers" (dwContextId) to identify them. */
  201. #define HELPCTXID(x) WINHELP_CTXID_ ## x
  202. #define WINHELP_CTXID_no_help 0
  203. #define WINHELP_CTX_errors_hostkey_absent "errors-hostkey-absent"
  204. #define WINHELP_CTXID_errors_hostkey_absent 1
  205. #define WINHELP_CTX_errors_hostkey_changed "errors-hostkey-wrong"
  206. #define WINHELP_CTXID_errors_hostkey_changed 2
  207. #define WINHELP_CTX_errors_cantloadkey "errors-cant-load-key"
  208. #define WINHELP_CTXID_errors_cantloadkey 3
  209. #define WINHELP_CTX_option_cleanup "using-cleanup"
  210. #define WINHELP_CTXID_option_cleanup 4
  211. #define WINHELP_CTX_pgp_fingerprints "pgpkeys"
  212. #define WINHELP_CTXID_pgp_fingerprints 5