| 1 | /* |
| 2 | * winhelp.h - define Windows Help context names. These match up with |
| 3 | * the \cfg{winhelp-topic} directives in the Halibut source. |
| 4 | */ |
| 5 | |
| 6 | /* Maximum length for WINHELP_CTX_foo strings */ |
| 7 | #define WINHELP_CTX_MAXLEN 80 |
| 8 | |
| 9 | /* These are used in the cross-platform configuration dialog code. */ |
| 10 | |
| 11 | #define HELPCTX(x) P(WINHELP_CTX_ ## x) |
| 12 | |
| 13 | #define WINHELP_CTX_no_help NULL |
| 14 | |
| 15 | #define WINHELP_CTX_session_hostname "session.hostname:config-hostname" |
| 16 | #define WINHELP_CTX_session_saved "session.saved:config-saving" |
| 17 | #define WINHELP_CTX_session_coe "session.coe:config-closeonexit" |
| 18 | #define WINHELP_CTX_logging_main "logging.main:config-logging" |
| 19 | #define WINHELP_CTX_logging_filename "logging.filename:config-logfilename" |
| 20 | #define WINHELP_CTX_logging_exists "logging.exists:config-logfileexists" |
| 21 | #define WINHELP_CTX_logging_flush "logging.flush:config-logflush" |
| 22 | #define WINHELP_CTX_logging_ssh_omit_password "logging.ssh.omitpassword:config-logssh" |
| 23 | #define WINHELP_CTX_logging_ssh_omit_data "logging.ssh.omitdata:config-logssh" |
| 24 | #define WINHELP_CTX_keyboard_backspace "keyboard.backspace:config-backspace" |
| 25 | #define WINHELP_CTX_keyboard_homeend "keyboard.homeend:config-homeend" |
| 26 | #define WINHELP_CTX_keyboard_funkeys "keyboard.funkeys:config-funkeys" |
| 27 | #define WINHELP_CTX_keyboard_appkeypad "keyboard.appkeypad:config-appkeypad" |
| 28 | #define WINHELP_CTX_keyboard_appcursor "keyboard.appcursor:config-appcursor" |
| 29 | #define WINHELP_CTX_keyboard_nethack "keyboard.nethack:config-nethack" |
| 30 | #define WINHELP_CTX_keyboard_compose "keyboard.compose:config-compose" |
| 31 | #define WINHELP_CTX_keyboard_ctrlalt "keyboard.ctrlalt:config-ctrlalt" |
| 32 | #define WINHELP_CTX_features_application "features.application:config-features-application" |
| 33 | #define WINHELP_CTX_features_mouse "features.mouse:config-features-mouse" |
| 34 | #define WINHELP_CTX_features_resize "features.resize:config-features-resize" |
| 35 | #define WINHELP_CTX_features_altscreen "features.altscreen:config-features-altscreen" |
| 36 | #define WINHELP_CTX_features_retitle "features.retitle:config-features-retitle" |
| 37 | #define WINHELP_CTX_features_qtitle "features.qtitle:config-features-qtitle" |
| 38 | #define WINHELP_CTX_features_dbackspace "features.dbackspace:config-features-dbackspace" |
| 39 | #define WINHELP_CTX_features_charset "features.charset:config-features-charset" |
| 40 | #define WINHELP_CTX_features_arabicshaping "features.arabicshaping:config-features-shaping" |
| 41 | #define WINHELP_CTX_features_bidi "features.bidi:config-features-bidi" |
| 42 | #define WINHELP_CTX_terminal_autowrap "terminal.autowrap:config-autowrap" |
| 43 | #define WINHELP_CTX_terminal_decom "terminal.decom:config-decom" |
| 44 | #define WINHELP_CTX_terminal_lfhascr "terminal.lfhascr:config-crlf" |
| 45 | #define WINHELP_CTX_terminal_bce "terminal.bce:config-erase" |
| 46 | #define WINHELP_CTX_terminal_blink "terminal.blink:config-blink" |
| 47 | #define WINHELP_CTX_terminal_answerback "terminal.answerback:config-answerback" |
| 48 | #define WINHELP_CTX_terminal_localecho "terminal.localecho:config-localecho" |
| 49 | #define WINHELP_CTX_terminal_localedit "terminal.localedit:config-localedit" |
| 50 | #define WINHELP_CTX_terminal_printing "terminal.printing:config-printing" |
| 51 | #define WINHELP_CTX_bell_style "bell.style:config-bellstyle" |
| 52 | #define WINHELP_CTX_bell_taskbar "bell.taskbar:config-belltaskbar" |
| 53 | #define WINHELP_CTX_bell_overload "bell.overload:config-bellovl" |
| 54 | #define WINHELP_CTX_window_size "window.size:config-winsize" |
| 55 | #define WINHELP_CTX_window_resize "window.resize:config-winsizelock" |
| 56 | #define WINHELP_CTX_window_scrollback "window.scrollback:config-scrollback" |
| 57 | #define WINHELP_CTX_window_erased "window.erased:config-erasetoscrollback" |
| 58 | #define WINHELP_CTX_behaviour_closewarn "behaviour.closewarn:config-warnonclose" |
| 59 | #define WINHELP_CTX_behaviour_altf4 "behaviour.altf4:config-altf4" |
| 60 | #define WINHELP_CTX_behaviour_altspace "behaviour.altspace:config-altspace" |
| 61 | #define WINHELP_CTX_behaviour_altonly "behaviour.altonly:config-altonly" |
| 62 | #define WINHELP_CTX_behaviour_alwaysontop "behaviour.alwaysontop:config-alwaysontop" |
| 63 | #define WINHELP_CTX_behaviour_altenter "behaviour.altenter:config-fullscreen" |
| 64 | #define WINHELP_CTX_appearance_cursor "appearance.cursor:config-cursor" |
| 65 | #define WINHELP_CTX_appearance_font "appearance.font:config-font" |
| 66 | #define WINHELP_CTX_appearance_title "appearance.title:config-title" |
| 67 | #define WINHELP_CTX_appearance_hidemouse "appearance.hidemouse:config-mouseptr" |
| 68 | #define WINHELP_CTX_appearance_border "appearance.border:config-winborder" |
| 69 | #define WINHELP_CTX_connection_termtype "connection.termtype:config-termtype" |
| 70 | #define WINHELP_CTX_connection_termspeed "connection.termspeed:config-termspeed" |
| 71 | #define WINHELP_CTX_connection_username "connection.username:config-username" |
| 72 | #define WINHELP_CTX_connection_keepalive "connection.keepalive:config-keepalive" |
| 73 | #define WINHELP_CTX_connection_nodelay "connection.nodelay:config-nodelay" |
| 74 | #define WINHELP_CTX_connection_ipversion "connection.ipversion:config-address-family" |
| 75 | #define WINHELP_CTX_connection_tcpkeepalive "connection.tcpkeepalive:config-tcp-keepalives" |
| 76 | #define WINHELP_CTX_proxy_type "proxy.type:config-proxy-type" |
| 77 | #define WINHELP_CTX_proxy_main "proxy.main:config-proxy" |
| 78 | #define WINHELP_CTX_proxy_exclude "proxy.exclude:config-proxy-exclude" |
| 79 | #define WINHELP_CTX_proxy_dns "proxy.dns:config-proxy-dns" |
| 80 | #define WINHELP_CTX_proxy_auth "proxy.auth:config-proxy-auth" |
| 81 | #define WINHELP_CTX_proxy_command "proxy.command:config-proxy-command" |
| 82 | #define WINHELP_CTX_telnet_environ "telnet.environ:config-environ" |
| 83 | #define WINHELP_CTX_telnet_oldenviron "telnet.oldenviron:config-oldenviron" |
| 84 | #define WINHELP_CTX_telnet_passive "telnet.passive:config-ptelnet" |
| 85 | #define WINHELP_CTX_telnet_specialkeys "telnet.specialkeys:config-telnetkey" |
| 86 | #define WINHELP_CTX_telnet_newline "telnet.newline:config-telnetnl" |
| 87 | #define WINHELP_CTX_rlogin_localuser "rlogin.localuser:config-rlogin-localuser" |
| 88 | #define WINHELP_CTX_ssh_nopty "ssh.nopty:config-ssh-pty" |
| 89 | #define WINHELP_CTX_ssh_ttymodes "ssh.ttymodes:config-ttymodes" |
| 90 | #define WINHELP_CTX_ssh_noshell "ssh.noshell:config-ssh-noshell" |
| 91 | #define WINHELP_CTX_ssh_ciphers "ssh.ciphers:config-ssh-encryption" |
| 92 | #define WINHELP_CTX_ssh_protocol "ssh.protocol:config-ssh-prot" |
| 93 | #define WINHELP_CTX_ssh_command "ssh.command:config-command" |
| 94 | #define WINHELP_CTX_ssh_compress "ssh.compress:config-ssh-comp" |
| 95 | #define WINHELP_CTX_ssh_kexlist "ssh.kex.order:config-ssh-kex-order" |
| 96 | #define WINHELP_CTX_ssh_kex_repeat "ssh.kex.repeat:config-ssh-kex-rekey" |
| 97 | #define WINHELP_CTX_ssh_auth_bypass "ssh.auth.bypass:config-ssh-noauth" |
| 98 | #define WINHELP_CTX_ssh_auth_privkey "ssh.auth.privkey:config-ssh-privkey" |
| 99 | #define WINHELP_CTX_ssh_auth_agentfwd "ssh.auth.agentfwd:config-ssh-agentfwd" |
| 100 | #define WINHELP_CTX_ssh_auth_changeuser "ssh.auth.changeuser:config-ssh-changeuser" |
| 101 | #define WINHELP_CTX_ssh_auth_pageant "ssh.auth.pageant:config-ssh-tryagent" |
| 102 | #define WINHELP_CTX_ssh_auth_tis "ssh.auth.tis:config-ssh-tis" |
| 103 | #define WINHELP_CTX_ssh_auth_ki "ssh.auth.ki:config-ssh-ki" |
| 104 | #define WINHELP_CTX_selection_buttons "selection.buttons:config-mouse" |
| 105 | #define WINHELP_CTX_selection_shiftdrag "selection.shiftdrag:config-mouseshift" |
| 106 | #define WINHELP_CTX_selection_rect "selection.rect:config-rectselect" |
| 107 | #define WINHELP_CTX_selection_charclasses "selection.charclasses:config-charclasses" |
| 108 | #define WINHELP_CTX_selection_linedraw "selection.linedraw:config-linedrawpaste" |
| 109 | #define WINHELP_CTX_selection_rtf "selection.rtf:config-rtfpaste" |
| 110 | #define WINHELP_CTX_colours_ansi "colours.ansi:config-ansicolour" |
| 111 | #define WINHELP_CTX_colours_xterm256 "colours.xterm256:config-xtermcolour" |
| 112 | #define WINHELP_CTX_colours_bold "colours.bold:config-boldcolour" |
| 113 | #define WINHELP_CTX_colours_system "colours.system:config-syscolour" |
| 114 | #define WINHELP_CTX_colours_logpal "colours.logpal:config-logpalette" |
| 115 | #define WINHELP_CTX_colours_config "colours.config:config-colourcfg" |
| 116 | #define WINHELP_CTX_translation_codepage "translation.codepage:config-charset" |
| 117 | #define WINHELP_CTX_translation_cjk_ambig_wide "translation.cjkambigwide:config-cjk-ambig-wide" |
| 118 | #define WINHELP_CTX_translation_cyrillic "translation.cyrillic:config-cyr" |
| 119 | #define WINHELP_CTX_translation_linedraw "translation.linedraw:config-linedraw" |
| 120 | #define WINHELP_CTX_ssh_tunnels_x11 "ssh.tunnels.x11:config-ssh-x11" |
| 121 | #define WINHELP_CTX_ssh_tunnels_x11auth "ssh.tunnels.x11auth:config-ssh-x11auth" |
| 122 | #define WINHELP_CTX_ssh_tunnels_portfwd "ssh.tunnels.portfwd:config-ssh-portfwd" |
| 123 | #define WINHELP_CTX_ssh_tunnels_portfwd_localhost "ssh.tunnels.portfwd.localhost:config-ssh-portfwd-localhost" |
| 124 | #define WINHELP_CTX_ssh_tunnels_portfwd_ipversion "ssh.tunnels.portfwd.ipversion:config-ssh-portfwd-address-family" |
| 125 | #define WINHELP_CTX_ssh_bugs_ignore1 "ssh.bugs.ignore1:config-ssh-bug-ignore1" |
| 126 | #define WINHELP_CTX_ssh_bugs_plainpw1 "ssh.bugs.plainpw1:config-ssh-bug-plainpw1" |
| 127 | #define WINHELP_CTX_ssh_bugs_rsa1 "ssh.bugs.rsa1:config-ssh-bug-rsa1" |
| 128 | #define WINHELP_CTX_ssh_bugs_hmac2 "ssh.bugs.hmac2:config-ssh-bug-hmac2" |
| 129 | #define WINHELP_CTX_ssh_bugs_derivekey2 "ssh.bugs.derivekey2:config-ssh-bug-derivekey2" |
| 130 | #define WINHELP_CTX_ssh_bugs_rsapad2 "ssh.bugs.rsapad2:config-ssh-bug-sig" |
| 131 | #define WINHELP_CTX_ssh_bugs_pksessid2 "ssh.bugs.pksessid2:config-ssh-bug-pksessid2" |
| 132 | #define WINHELP_CTX_ssh_bugs_rekey2 "ssh.bugs.rekey2:config-ssh-bug-rekey" |
| 133 | #define WINHELP_CTX_serial_line "serial.line:config-serial-line" |
| 134 | #define WINHELP_CTX_serial_speed "serial.speed:config-serial-speed" |
| 135 | #define WINHELP_CTX_serial_databits "serial.databits:config-serial-databits" |
| 136 | #define WINHELP_CTX_serial_stopbits "serial.stopbits:config-serial-stopbits" |
| 137 | #define WINHELP_CTX_serial_parity "serial.parity:config-serial-parity" |
| 138 | #define WINHELP_CTX_serial_flow "serial.flow:config-serial-flow" |
| 139 | |
| 140 | #define WINHELP_CTX_pageant_general "pageant.general:pageant" |
| 141 | #define WINHELP_CTX_pageant_keylist "pageant.keylist:pageant-mainwin-keylist" |
| 142 | #define WINHELP_CTX_pageant_addkey "pageant.addkey:pageant-mainwin-addkey" |
| 143 | #define WINHELP_CTX_pageant_remkey "pageant.remkey:pageant-mainwin-remkey" |
| 144 | #define WINHELP_CTX_pgpfingerprints "pgpfingerprints:pgpkeys" |
| 145 | #define WINHELP_CTX_puttygen_general "puttygen.general:pubkey-puttygen" |
| 146 | #define WINHELP_CTX_puttygen_keytype "puttygen.keytype:puttygen-keytype" |
| 147 | #define WINHELP_CTX_puttygen_bits "puttygen.bits:puttygen-strength" |
| 148 | #define WINHELP_CTX_puttygen_generate "puttygen.generate:puttygen-generate" |
| 149 | #define WINHELP_CTX_puttygen_fingerprint "puttygen.fingerprint:puttygen-fingerprint" |
| 150 | #define WINHELP_CTX_puttygen_comment "puttygen.comment:puttygen-comment" |
| 151 | #define WINHELP_CTX_puttygen_passphrase "puttygen.passphrase:puttygen-passphrase" |
| 152 | #define WINHELP_CTX_puttygen_savepriv "puttygen.savepriv:puttygen-savepriv" |
| 153 | #define WINHELP_CTX_puttygen_savepub "puttygen.savepub:puttygen-savepub" |
| 154 | #define WINHELP_CTX_puttygen_pastekey "puttygen.pastekey:puttygen-pastekey" |
| 155 | #define WINHELP_CTX_puttygen_load "puttygen.load:puttygen-load" |
| 156 | #define WINHELP_CTX_puttygen_conversions "puttygen.conversions:puttygen-conversions" |
| 157 | |
| 158 | /* These are used in Windows-specific bits of the frontend. |
| 159 | * We (ab)use "help context identifiers" (dwContextId) to identify them. */ |
| 160 | |
| 161 | #define HELPCTXID(x) WINHELP_CTXID_ ## x |
| 162 | |
| 163 | #define WINHELP_CTXID_no_help 0 |
| 164 | #define WINHELP_CTX_errors_hostkey_absent "errors.hostkey.absent:errors-hostkey-absent" |
| 165 | #define WINHELP_CTXID_errors_hostkey_absent 1 |
| 166 | #define WINHELP_CTX_errors_hostkey_changed "errors.hostkey.changed:errors-hostkey-wrong" |
| 167 | #define WINHELP_CTXID_errors_hostkey_changed 2 |
| 168 | #define WINHELP_CTX_errors_cantloadkey "errors.cantloadkey:errors-cant-load-key" |
| 169 | #define WINHELP_CTXID_errors_cantloadkey 3 |
| 170 | #define WINHELP_CTX_option_cleanup "options.cleanup:using-cleanup" |
| 171 | #define WINHELP_CTXID_option_cleanup 4 |
| 172 | #define WINHELP_CTX_pgp_fingerprints "pgpfingerprints:pgpkeys" |
| 173 | #define WINHELP_CTXID_pgp_fingerprints 5 |