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