tin  2.6.1
About: TIN is a threaded NNTP and spool based UseNet newsreader.
  Fossies Dox: tin-2.6.1.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

keymap.h
Go to the documentation of this file.
1/*
2 * Project : tin - a Usenet reader
3 * Module : keymap.h
4 * Author : J. Faultless, D. Nimmich
5 * Created : 1999
6 * Updated : 2021-02-25
7 * Notes :
8 *
9 * Copyright (c) 1999-2022 Jason Faultless <jason@altarstone.com>
10 * All rights reserved.
11 *
12 * Redistribution and use in source and binary forms, with or without
13 * modification, are permitted provided that the following conditions
14 * are met:
15 *
16 * 1. Redistributions of source code must retain the above copyright notice,
17 * this list of conditions and the following disclaimer.
18 *
19 * 2. Redistributions in binary form must reproduce the above copyright
20 * notice, this list of conditions and the following disclaimer in the
21 * documentation and/or other materials provided with the distribution.
22 *
23 * 3. Neither the name of the copyright holder nor the names of its
24 * contributors may be used to endorse or promote products derived from
25 * this software without specific prior written permission.
26 *
27 * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
28 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
29 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
30 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
31 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
32 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
33 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
34 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
35 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
36 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
37 * POSSIBILITY OF SUCH DAMAGE.
38 */
39
40
41#ifndef KEYMAP_H
42# define KEYMAP_H 1
43
44/* Revised 9 October 1996 by Branden Robinson in ASCII order
45 *
46 * Oct Dec Hex Char Oct Dec Hex Char
47 * ------------------------------------------------------------
48 * 000 0 00 NUL '\0' 100 64 40 @
49 * 001 1 01 SOH ^A 101 65 41 A
50 * 002 2 02 STX ^B 102 66 42 B
51 * 003 3 03 ETX ^C 103 67 43 C
52 * 004 4 04 EOT ^D 104 68 44 D
53 * 005 5 05 ENQ ^E 105 69 45 E
54 * 006 6 06 ACK ^F 106 70 46 F
55 * 007 7 07 BEL '\a' ^G 107 71 47 G
56 * 010 8 08 BS '\b' ^H 110 72 48 H
57 * 011 9 09 HT '\t' ^I 111 73 49 I
58 * 012 10 0A LF '\n' ^J 112 74 4A J
59 * 013 11 0B VT '\v' ^K 113 75 4B K
60 * 014 12 0C FF '\f' ^L 114 76 4C L
61 * 015 13 0D CR '\r' ^M 115 77 4D M
62 * 016 14 0E SO ^N 116 78 4E N
63 * 017 15 0F SI ^O 117 79 4F O
64 * 020 16 10 DLE ^P 120 80 50 P
65 * 021 17 11 DC1 ^Q 121 81 51 Q
66 * 022 18 12 DC2 ^R 122 82 52 R
67 * 023 19 13 DC3 ^S 123 83 53 S
68 * 024 20 14 DC4 ^T 124 84 54 T
69 * 025 21 15 NAK ^U 125 85 55 U
70 * 026 22 16 SYN ^V 126 86 56 V
71 * 027 23 17 ETB ^W 127 87 57 W
72 * 030 24 18 CAN ^X 130 88 58 X
73 * 031 25 19 EM ^Y 131 89 59 Y
74 * 032 26 1A SUB ^Z 132 90 5A Z
75 * 033 27 1B ESC 133 91 5B [
76 * 034 28 1C FS 134 92 5C \ '\\'
77 * 035 29 1D GS 135 93 5D ]
78 * 036 30 1E RS 136 94 5E ^
79 * 037 31 1F US 137 95 5F _
80 * 040 32 20 SPACE 140 96 60 `
81 * 041 33 21 ! 141 97 61 a
82 * 042 34 22 " 142 98 62 b
83 * 043 35 23 # 143 99 63 c
84 * 044 36 24 $ 144 100 64 d
85 * 045 37 25 % 145 101 65 e
86 * 046 38 26 & 146 102 66 f
87 * 047 39 27 ' 147 103 67 g
88 * 050 40 28 ( 150 104 68 h
89 * 051 41 29 ) 151 105 69 i
90 * 052 42 2A * 152 106 6A j
91 * 053 43 2B + 153 107 6B k
92 * 054 44 2C , 154 108 6C l
93 * 055 45 2D - 155 109 6D m
94 * 056 46 2E . 156 110 6E n
95 * 057 47 2F / 157 111 6F o
96 * 060 48 30 0 160 112 70 p
97 * 061 49 31 1 161 113 71 q
98 * 062 50 32 2 162 114 72 r
99 * 063 51 33 3 163 115 73 s
100 * 064 52 34 4 164 116 74 t
101 * 065 53 35 5 165 117 75 u
102 * 066 54 36 6 166 118 76 v
103 * 067 55 37 7 167 119 77 w
104 * 070 56 38 8 170 120 78 x
105 * 071 57 39 9 171 121 79 y
106 * 072 58 3A : 172 122 7A z
107 * 073 59 3B ; 173 123 7B {
108 * 074 60 3C < 174 124 7C |
109 * 075 61 3D = 175 125 7D }
110 * 076 62 3E > 176 126 7E ~
111 * 077 63 3F ? 177 127 7F DEL
112 *
113 * Above chart reprinted from Linux manual page.
114 *
115 * When adding key functionality, be aware of key functions in the "big five"
116 * levels of tin operation: top (group selection), group, thread, article
117 * (pager), and help. If possible, when adding a key to any of these levels,
118 * check the others to make sure that the key doesn't do something
119 * non-analogous elsewhere. For instance, having "^R" map to "redraw screen"
120 * at article level and "reset .newsrc" (a drastic and unreversible action)
121 * at top level is a bad idea.
122 *
123 * [make emacs happy: "]
124 */
125
126/*
127 * Maximum chars (including null byte) needed to print a key name
128 * A multibyte character can use up to MB_CUR_MAX chars. But as MB_CUR_MAX
129 * can't be used here, use MB_LEN_MAX instead.
130 * Some values for MB_LEN_MAX:
131 * - glibc 2.3.5: 16
132 * - gcc 4.0: 1
133 * - icc 8.0/9.0: 8
134 * Use the largest + 1 to be on the safe side.
135 */
136#define MAXKEYLEN 17
137
138/* TODO: permanently move here from tin.h */
139#define ctrl(c) ((c) & 0x1F)
140#define ESC 27
141
142/* TODO: get rid of these remaining #define */
143#define iKeyAbort ESC
144#define iKeyQuitTin 'Q'
145#define iKeyQuit 'q'
146
147/* complete list of functions which can be associated with keys */
205#ifndef DISABLE_PRINTING
207#endif /* !DISABLE_PRINTING */
222#ifndef NO_SHELL_ESCAPE
224#endif /* !NO_SHELL_ESCAPE */
225#ifdef HAVE_COLOR
226 GLOBAL_TOGGLE_COLOR,
227#endif /* HAVE_COLOR */
281#ifdef HAVE_PGP_GPG
282 PAGE_PGP_CHECK_ARTICLE,
283#endif /* HAVE_PGP_GPG */
304#ifdef HAVE_PGP_GPG
305 PGP_KEY_ENCRYPT,
306 PGP_KEY_ENCRYPT_SIGN,
307 PGP_INCLUDE_KEY,
308 PGP_KEY_SIGN,
309#endif /* HAVE_PGP_GPG */
315#ifdef HAVE_ISPELL
316 POST_ISPELL,
317#endif /* HAVE_ISPELL */
319#ifdef HAVE_PGP_GPG
320 POST_PGP,
321#endif /* HAVE_PGP_GPG */
376
377
378struct keynode {
379#if defined(MULTIBYTE_ABLE) && !defined(NO_LOCALE)
380 wchar_t key;
381#else
382 char key;
383#endif /* MULTIBYTE_ABLE && !NO_LOCALE */
385};
386
387
388struct keylist {
389 struct keynode *list;
390 size_t used;
391 size_t max;
392};
393
394
395extern struct keylist attachment_keys;
396extern struct keylist feed_post_process_keys;
398extern struct keylist feed_type_keys;
399extern struct keylist filter_keys;
400extern struct keylist group_keys;
401extern struct keylist info_keys;
402extern struct keylist option_menu_keys;
403extern struct keylist post_hist_keys;
404extern struct keylist page_keys;
405#ifdef HAVE_PGP_GPG
406 extern struct keylist pgp_mail_keys;
407 extern struct keylist pgp_news_keys;
408#endif /* HAVE_PGP_GPG */
409extern struct keylist post_cancel_keys;
410extern struct keylist post_continue_keys;
411extern struct keylist post_delete_keys;
412extern struct keylist post_edit_keys;
413extern struct keylist post_edit_ext_keys;
414extern struct keylist post_ignore_fupto_keys;
415extern struct keylist post_mail_fup_keys;
416extern struct keylist post_post_keys;
417extern struct keylist post_postpone_keys;
418extern struct keylist post_send_keys;
419extern struct keylist prompt_keys;
421extern struct keylist scope_keys;
422extern struct keylist select_keys;
423extern struct keylist thread_keys;
424extern struct keylist url_keys;
425
426
427extern t_function global_mouse_action(t_function (*left_action) (void), t_function (*right_action) (void));
429 t_function (*left_action) (void),
430 t_function (*right_action) (void),
431 t_function (*mouse_action) (
432 t_function (*left_action) (void),
433 t_function (*right_action) (void)),
434 const struct keylist keys);
435extern t_function prompt_slk_response(t_function default_func, const struct keylist keys, const char *fmt, ...);
436#if defined(MULTIBYTE_ABLE) && !defined(NO_LOCALE)
437 extern char *printascii(char *buf, wint_t ch);
438 extern wchar_t func_to_key(t_function func, const struct keylist keys);
439 extern t_function key_to_func(const wchar_t key, const struct keylist keys);
440#define PrintFuncKey(buf, func, keys) printascii(buf, (wint_t) func_to_key(func, keys))
441#else
442 extern char *printascii(char *buf, int ch);
443 extern char func_to_key (t_function func, const struct keylist keys);
444 extern t_function key_to_func (const char key, const struct keylist keys);
445#define PrintFuncKey(buf, func, keys) printascii(buf, (int) func_to_key(func, keys))
446#endif /* MULTIBYTE_ABLE && !NO_LOCALE */
447#endif /* !KEYMAP_H */
struct keylist select_keys
Definition: keymap.c:89
t_function global_mouse_action(t_function(*left_action)(void), t_function(*right_action)(void))
Definition: global.c:321
struct keylist feed_supersede_article_keys
Definition: keymap.c:64
t_function prompt_slk_response(t_function default_func, const struct keylist keys, const char *fmt,...)
Definition: prompt.c:699
t_function handle_keypad(t_function(*left_action)(void), t_function(*right_action)(void), t_function(*mouse_action)(t_function(*left_action)(void), t_function(*right_action)(void)), const struct keylist keys)
Definition: global.c:355
struct keylist post_mail_fup_keys
Definition: keymap.c:81
struct keylist attachment_keys
Definition: keymap.c:62
struct keylist thread_keys
Definition: keymap.c:90
struct keylist info_keys
Definition: keymap.c:68
t_function key_to_func(const char key, const struct keylist keys)
Definition: keymap.c:98
struct keylist post_continue_keys
Definition: keymap.c:76
struct keylist feed_type_keys
Definition: keymap.c:65
struct keylist scope_keys
Definition: keymap.c:88
struct keylist prompt_keys
Definition: keymap.c:86
struct keylist post_edit_keys
Definition: keymap.c:78
struct keylist page_keys
Definition: keymap.c:70
struct keylist option_menu_keys
Definition: keymap.c:69
char * printascii(char *buf, int ch)
Definition: keymap.c:273
struct keylist save_append_overwrite_keys
Definition: keymap.c:87
defined_functions
Definition: keymap.h:148
@ GROUP_TAG
Definition: keymap.h:252
@ GROUP_SAVE
Definition: keymap.h:248
@ DIGIT_0
Definition: keymap.h:150
@ GROUP_MAIL
Definition: keymap.h:237
@ GLOBAL_SCROLL_UP
Definition: keymap.h:214
@ PAGE_TAG
Definition: keymap.h:293
@ SCOPE_DELETE
Definition: keymap.h:336
@ THREAD_SELECT_ARTICLE
Definition: keymap.h:366
@ POSTPONE_OVERRIDE
Definition: keymap.h:327
@ GROUP_DO_AUTOSELECT
Definition: keymap.h:234
@ GROUP_TOGGLE_READ_UNREAD
Definition: keymap.h:255
@ PAGE_LIST_THREAD
Definition: keymap.h:274
@ POSTPROCESS_SHAR
Definition: keymap.h:329
@ DIGIT_7
Definition: keymap.h:157
@ SAVE_APPEND_FILE
Definition: keymap.h:333
@ GLOBAL_SHELL_ESCAPE
Definition: keymap.h:223
@ GROUP_TAG_PARTS
Definition: keymap.h:253
@ GROUP_MARK_UNSELECTED_ARTICLES_READ
Definition: keymap.h:239
@ SCOPE_ADD
Definition: keymap.h:335
@ THREAD_MARK_ARTICLE_READ
Definition: keymap.h:361
@ GROUP_TOGGLE_GET_ARTICLES_LIMIT
Definition: keymap.h:254
@ DIGIT_3
Definition: keymap.h:153
@ GLOBAL_PAGE_UP
Definition: keymap.h:201
@ PAGE_TOGGLE_HEADERS
Definition: keymap.h:294
@ PAGE_TOGGLE_TABS
Definition: keymap.h:298
@ POST_EDIT
Definition: keymap.h:313
@ ATTACHMENT_UNTAG
Definition: keymap.h:166
@ GROUP_UNDO_SELECTIONS
Definition: keymap.h:259
@ GLOBAL_SET_RANGE
Definition: keymap.h:221
@ GROUP_PREVIOUS_GROUP
Definition: keymap.h:243
@ GROUP_CANCEL
Definition: keymap.h:233
@ GROUP_NEXT_UNREAD_ARTICLE
Definition: keymap.h:241
@ GROUP_SELECT_THREAD
Definition: keymap.h:250
@ GROUP_TOGGLE_SUBJECT_DISPLAY
Definition: keymap.h:256
@ FEED_ARTICLE
Definition: keymap.h:176
@ DIGIT_6
Definition: keymap.h:156
@ PAGE_TOGGLE_TEX2ISO
Definition: keymap.h:299
@ PAGE_NEXT_ARTICLE
Definition: keymap.h:277
@ THREAD_READ_ARTICLE
Definition: keymap.h:363
@ GLOBAL_PIPE
Definition: keymap.h:202
@ POST_CANCEL
Definition: keymap.h:311
@ FEED_HOT
Definition: keymap.h:178
@ FILTER_SAVE
Definition: keymap.h:185
@ ATTACHMENT_SELECT
Definition: keymap.h:162
@ PAGE_EDIT_ARTICLE
Definition: keymap.h:268
@ GLOBAL_POST
Definition: keymap.h:203
@ GLOBAL_SEARCH_SUBJECT_FORWARD
Definition: keymap.h:220
@ SELECT_MOVE_GROUP
Definition: keymap.h:345
@ PAGE_NEXT_THREAD
Definition: keymap.h:278
@ CONFIG_RESET_ATTRIB
Definition: keymap.h:171
@ THREAD_READ_NEXT_ARTICLE_OR_THREAD
Definition: keymap.h:362
@ THREAD_TOGGLE_SUBJECT_DISPLAY
Definition: keymap.h:370
@ GLOBAL_LINE_DOWN
Definition: keymap.h:194
@ POSTPROCESS_YES
Definition: keymap.h:330
@ PAGE_TOGGLE_UUE
Definition: keymap.h:300
@ ATTACHMENT_PIPE
Definition: keymap.h:160
@ SELECT_SYNC_WITH_ACTIVE
Definition: keymap.h:351
@ GLOBAL_SCROLL_DOWN
Definition: keymap.h:213
@ GROUP_NEXT_UNREAD_ARTICLE_OR_GROUP
Definition: keymap.h:242
@ POST_POSTPONE
Definition: keymap.h:322
@ THREAD_CANCEL
Definition: keymap.h:359
@ PAGE_FOLLOWUP
Definition: keymap.h:269
@ GLOBAL_HELP
Definition: keymap.h:191
@ GLOBAL_LOOKUP_MESSAGEID
Definition: keymap.h:196
@ SCOPE_MOVE
Definition: keymap.h:338
@ SCOPE_SELECT
Definition: keymap.h:340
@ SELECT_UNSUBSCRIBE_PATTERN
Definition: keymap.h:355
@ GLOBAL_QUICK_FILTER_SELECT
Definition: keymap.h:209
@ PAGE_TOGGLE_ROT13
Definition: keymap.h:297
@ SELECT_ENTER_GROUP
Definition: keymap.h:341
@ PAGE_VIEW_URL
Definition: keymap.h:303
@ FEED_SUPERSEDE
Definition: keymap.h:183
@ GROUP_MARK_THREAD_READ
Definition: keymap.h:238
@ GROUP_NEXT_GROUP
Definition: keymap.h:240
@ DIGIT_2
Definition: keymap.h:152
@ PAGE_REPLY_QUOTE_HEADERS
Definition: keymap.h:289
@ POST_ABORT
Definition: keymap.h:310
@ PROMPT_YES
Definition: keymap.h:332
@ PAGE_MAIL
Definition: keymap.h:275
@ SELECT_NEXT_UNREAD_GROUP
Definition: keymap.h:346
@ FEED_TAGGED
Definition: keymap.h:181
@ PAGE_TOGGLE_RAW
Definition: keymap.h:296
@ THREAD_TOGGLE_ARTICLE_SELECTION
Definition: keymap.h:369
@ GLOBAL_PRINT
Definition: keymap.h:206
@ PROMPT_NO
Definition: keymap.h:331
@ GLOBAL_SEARCH_SUBJECT_BACKWARD
Definition: keymap.h:219
@ PAGE_AUTOSAVE
Definition: keymap.h:265
@ FILTER_EDIT
Definition: keymap.h:184
@ MARK_FEED_UNREAD
Definition: keymap.h:264
@ SELECT_GOTO
Definition: keymap.h:343
@ FEED_RANGE
Definition: keymap.h:180
@ SCOPE_RENAME
Definition: keymap.h:339
@ PAGE_TOP_THREAD
Definition: keymap.h:301
@ ATTACHMENT_TAG
Definition: keymap.h:163
@ POST_CONTINUE
Definition: keymap.h:312
@ GROUP_AUTOSAVE
Definition: keymap.h:232
@ GLOBAL_TOGGLE_INVERSE_VIDEO
Definition: keymap.h:230
@ POST_MAIL
Definition: keymap.h:318
@ GLOBAL_TOGGLE_HELP_DISPLAY
Definition: keymap.h:228
@ SELECT_MARK_GROUP_UNREAD
Definition: keymap.h:344
@ GLOBAL_VERSION
Definition: keymap.h:231
@ MARK_FEED_READ
Definition: keymap.h:263
@ SELECT_SUBSCRIBE_PATTERN
Definition: keymap.h:350
@ THREAD_REVERSE_SELECTIONS
Definition: keymap.h:364
@ PAGE_GROUP_SELECT
Definition: keymap.h:273
@ DIGIT_9
Definition: keymap.h:159
@ FEED_THREAD
Definition: keymap.h:177
@ PAGE_SAVE
Definition: keymap.h:291
@ PAGE_PREVIOUS_ARTICLE
Definition: keymap.h:284
@ NOT_ASSIGNED
Definition: keymap.h:149
@ GLOBAL_POSTPONED
Definition: keymap.h:204
@ PAGE_BOTTOM_THREAD
Definition: keymap.h:266
@ FEED_KEY_REPOST
Definition: keymap.h:182
@ SELECT_RESET_NEWSRC
Definition: keymap.h:347
@ POST_IGNORE_FUPTO
Definition: keymap.h:314
@ POSTPONE_ALL
Definition: keymap.h:326
@ SELECT_SORT_ACTIVE
Definition: keymap.h:348
@ SELECT_SUBSCRIBE
Definition: keymap.h:349
@ THREAD_UNTAG
Definition: keymap.h:372
@ GLOBAL_SEARCH_AUTHOR_BACKWARD
Definition: keymap.h:217
@ PAGE_REVEAL
Definition: keymap.h:286
@ GLOBAL_PAGE_DOWN
Definition: keymap.h:200
@ PAGE_NEXT_UNREAD_ARTICLE
Definition: keymap.h:280
@ FEED_PATTERN
Definition: keymap.h:179
@ SPECIAL_CATCHUP_LEFT
Definition: keymap.h:167
@ SELECT_TOGGLE_DESCRIPTIONS
Definition: keymap.h:352
@ PAGE_SKIP_INCLUDED_TEXT
Definition: keymap.h:292
@ PAGE_GOTO_PARENT
Definition: keymap.h:272
@ PAGE_NEXT_UNREAD
Definition: keymap.h:279
@ ATTACHMENT_SAVE
Definition: keymap.h:161
@ CONFIG_SELECT
Definition: keymap.h:173
@ SELECT_ENTER_NEXT_UNREAD_GROUP
Definition: keymap.h:342
@ URL_SELECT
Definition: keymap.h:373
@ SAVE_OVERWRITE_FILE
Definition: keymap.h:334
@ GROUP_TOGGLE_THREADING
Definition: keymap.h:258
@ GLOBAL_EDIT_FILTER
Definition: keymap.h:189
@ POST_SEND
Definition: keymap.h:323
@ GROUP_REVERSE_SELECTIONS
Definition: keymap.h:247
@ GLOBAL_ABORT
Definition: keymap.h:186
@ PAGE_REPLY_QUOTE
Definition: keymap.h:288
@ GLOBAL_SEARCH_REPEAT
Definition: keymap.h:216
@ GLOBAL_SEARCH_AUTHOR_FORWARD
Definition: keymap.h:218
@ GLOBAL_QUIT
Definition: keymap.h:210
@ GROUP_REPOST
Definition: keymap.h:246
@ SELECT_TOGGLE_READ_DISPLAY
Definition: keymap.h:353
@ GLOBAL_FIRST_PAGE
Definition: keymap.h:190
@ GLOBAL_DISPLAY_POST_HISTORY
Definition: keymap.h:188
@ GLOBAL_REDRAW_SCREEN
Definition: keymap.h:212
@ DIGIT_8
Definition: keymap.h:158
@ GLOBAL_TOGGLE_INFO_LAST_LINE
Definition: keymap.h:229
@ PAGE_VIEW_ATTACHMENTS
Definition: keymap.h:302
@ PAGE_PREVIOUS_UNREAD_ARTICLE
Definition: keymap.h:285
@ GLOBAL_LAST_PAGE
Definition: keymap.h:192
@ DIGIT_1
Definition: keymap.h:151
@ ATTACHMENT_TOGGLE_TAGGED
Definition: keymap.h:165
@ THREAD_SAVE
Definition: keymap.h:365
@ PAGE_REPLY
Definition: keymap.h:287
@ GROUP_UNTAG
Definition: keymap.h:260
@ GLOBAL_LINE_UP
Definition: keymap.h:195
@ POSTPROCESS_NO
Definition: keymap.h:328
@ GROUP_TOGGLE_SELECT_THREAD
Definition: keymap.h:257
@ GLOBAL_SEARCH_BODY
Definition: keymap.h:215
@ DIGIT_4
Definition: keymap.h:154
@ CONFIG_TOGGLE_ATTRIB
Definition: keymap.h:175
@ THREAD_AUTOSAVE
Definition: keymap.h:358
@ THREAD_MAIL
Definition: keymap.h:360
@ GROUP_LIST_THREAD
Definition: keymap.h:236
@ GROUP_GOTO
Definition: keymap.h:235
@ GLOBAL_OPTION_MENU
Definition: keymap.h:199
@ GLOBAL_MENU_FILTER_SELECT
Definition: keymap.h:198
@ GROUP_PREVIOUS_UNREAD_ARTICLE
Definition: keymap.h:244
@ DIGIT_5
Definition: keymap.h:155
@ GLOBAL_QUIT_TIN
Definition: keymap.h:211
@ SELECT_UNSUBSCRIBE
Definition: keymap.h:354
@ PAGE_CANCEL
Definition: keymap.h:267
@ PAGE_FOLLOWUP_QUOTE_HEADERS
Definition: keymap.h:271
@ CONFIG_SCOPE_MENU
Definition: keymap.h:172
@ CATCHUP_NEXT_UNREAD
Definition: keymap.h:170
@ ATTACHMENT_TAG_PATTERN
Definition: keymap.h:164
@ POSTED_SELECT
Definition: keymap.h:325
@ MARK_ARTICLE_UNREAD
Definition: keymap.h:261
@ PAGE_MARK_THREAD_READ
Definition: keymap.h:276
@ THREAD_TAG
Definition: keymap.h:367
@ SCOPE_EDIT_ATTRIBUTES_FILE
Definition: keymap.h:337
@ THREAD_UNDO_SELECTIONS
Definition: keymap.h:371
@ CONFIG_NO_SAVE
Definition: keymap.h:174
@ GROUP_SELECT_PATTERN
Definition: keymap.h:249
@ GLOBAL_MENU_FILTER_KILL
Definition: keymap.h:197
@ GROUP_READ_BASENOTE
Definition: keymap.h:245
@ MARK_THREAD_UNREAD
Definition: keymap.h:262
@ GLOBAL_QUICK_FILTER_KILL
Definition: keymap.h:208
@ THREAD_TAG_PARTS
Definition: keymap.h:368
@ SELECT_YANK_ACTIVE
Definition: keymap.h:357
@ SELECT_QUIT_NO_WRITE
Definition: keymap.h:356
@ PAGE_FOLLOWUP_QUOTE
Definition: keymap.h:270
@ SPECIAL_MOUSE_TOGGLE
Definition: keymap.h:168
@ POST_SUPERSEDE
Definition: keymap.h:324
@ CATCHUP
Definition: keymap.h:169
@ PAGE_TOGGLE_HIGHLIGHTING
Definition: keymap.h:295
@ GLOBAL_BUGREPORT
Definition: keymap.h:187
@ GLOBAL_LAST_VIEWED
Definition: keymap.h:193
@ GROUP_SELECT_THREAD_IF_UNREAD_SELECTED
Definition: keymap.h:251
@ PAGE_REPOST
Definition: keymap.h:290
struct keylist url_keys
Definition: keymap.c:91
struct keylist filter_keys
Definition: keymap.c:66
struct keylist post_delete_keys
Definition: keymap.c:77
struct keylist post_send_keys
Definition: keymap.c:85
struct keylist post_edit_ext_keys
Definition: keymap.c:79
struct keylist group_keys
Definition: keymap.c:67
struct keylist post_hist_keys
Definition: keymap.c:82
struct keylist post_ignore_fupto_keys
Definition: keymap.c:80
char func_to_key(t_function func, const struct keylist keys)
Definition: keymap.c:125
struct keylist post_postpone_keys
Definition: keymap.c:84
enum defined_functions t_function
Definition: keymap.h:375
struct keylist feed_post_process_keys
Definition: keymap.c:63
struct keylist post_post_keys
Definition: keymap.c:83
struct keylist post_cancel_keys
Definition: keymap.c:75
static char buf[16]
Definition: langinfo.c:50
void(* func)(SIG_ARGS)
Definition: signal.c:176
struct keynode * list
Definition: keymap.h:389
size_t max
Definition: keymap.h:391
size_t used
Definition: keymap.h:390
char key
Definition: keymap.h:382
t_function function
Definition: keymap.h:384