tin  2.4.4
About: TIN is a threaded NNTP and spool based UseNet newsreader.
  Fossies Dox: tin-2.4.4.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 : 2011-01-25
7  * Notes :
8  *
9  * Copyright (c) 1999-2020 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 */
372 };
374 
375 
376 struct keynode {
377 #if defined(MULTIBYTE_ABLE) && !defined(NO_LOCALE)
378  wchar_t key;
379 #else
380  char key;
381 #endif /* MULTIBYTE_ABLE && !NO_LOCALE */
382  t_function function;
383 };
384 
385 
386 struct keylist {
387  struct keynode *list;
388  size_t used;
389  size_t max;
390 };
391 
392 
393 extern struct keylist attachment_keys;
394 extern struct keylist feed_post_process_keys;
396 extern struct keylist feed_type_keys;
397 extern struct keylist filter_keys;
398 extern struct keylist group_keys;
399 extern struct keylist info_keys;
400 extern struct keylist option_menu_keys;
401 extern struct keylist page_keys;
402 #ifdef HAVE_PGP_GPG
403  extern struct keylist pgp_mail_keys;
404  extern struct keylist pgp_news_keys;
405 #endif /* HAVE_PGP_GPG */
406 extern struct keylist post_cancel_keys;
407 extern struct keylist post_continue_keys;
408 extern struct keylist post_delete_keys;
409 extern struct keylist post_edit_keys;
410 extern struct keylist post_edit_ext_keys;
411 extern struct keylist post_ignore_fupto_keys;
412 extern struct keylist post_mail_fup_keys;
413 extern struct keylist post_post_keys;
414 extern struct keylist post_postpone_keys;
415 extern struct keylist post_send_keys;
416 extern struct keylist prompt_keys;
417 extern struct keylist save_append_overwrite_keys;
418 extern struct keylist scope_keys;
419 extern struct keylist select_keys;
420 extern struct keylist thread_keys;
421 extern struct keylist url_keys;
422 
423 
424 extern t_function global_mouse_action(t_function (*left_action) (void), t_function (*right_action) (void));
426  t_function (*left_action) (void),
427  t_function (*right_action) (void),
428  t_function (*mouse_action) (
429  t_function (*left_action) (void),
430  t_function (*right_action) (void)),
431  const struct keylist keys);
432 extern t_function prompt_slk_response(t_function default_func, const struct keylist keys, const char *fmt, ...);
433 #if defined(MULTIBYTE_ABLE) && !defined(NO_LOCALE)
434  extern char *printascii(char *buf, wint_t ch);
435  extern wchar_t func_to_key(t_function func, const struct keylist keys);
436  extern t_function key_to_func(const wchar_t key, const struct keylist keys);
437 #else
438  extern char *printascii(char *buf, int ch);
439  extern char func_to_key (t_function func, const struct keylist keys);
440  extern t_function key_to_func (const char key, const struct keylist keys);
441 #endif /* MULTIBYTE_ABLE && !NO_LOCALE */
442 #endif /* !KEYMAP_H */
save_append_overwrite_keys
struct keylist save_append_overwrite_keys
Definition: keymap.c:86
PAGE_SKIP_INCLUDED_TEXT
@ PAGE_SKIP_INCLUDED_TEXT
Definition: keymap.h:292
GROUP_NEXT_UNREAD_ARTICLE
@ GROUP_NEXT_UNREAD_ARTICLE
Definition: keymap.h:241
THREAD_TOGGLE_SUBJECT_DISPLAY
@ THREAD_TOGGLE_SUBJECT_DISPLAY
Definition: keymap.h:368
GROUP_PREVIOUS_GROUP
@ GROUP_PREVIOUS_GROUP
Definition: keymap.h:243
SCOPE_RENAME
@ SCOPE_RENAME
Definition: keymap.h:338
PAGE_TAG
@ PAGE_TAG
Definition: keymap.h:293
THREAD_REVERSE_SELECTIONS
@ THREAD_REVERSE_SELECTIONS
Definition: keymap.h:363
PAGE_REPOST
@ PAGE_REPOST
Definition: keymap.h:290
SCOPE_DELETE
@ SCOPE_DELETE
Definition: keymap.h:335
SCOPE_SELECT
@ SCOPE_SELECT
Definition: keymap.h:339
GLOBAL_PAGE_DOWN
@ GLOBAL_PAGE_DOWN
Definition: keymap.h:200
GLOBAL_SHELL_ESCAPE
@ GLOBAL_SHELL_ESCAPE
Definition: keymap.h:223
PAGE_NEXT_UNREAD_ARTICLE
@ PAGE_NEXT_UNREAD_ARTICLE
Definition: keymap.h:280
SELECT_ENTER_GROUP
@ SELECT_ENTER_GROUP
Definition: keymap.h:340
PAGE_REPLY_QUOTE
@ PAGE_REPLY_QUOTE
Definition: keymap.h:288
keylist::max
size_t max
Definition: keymap.h:389
DIGIT_0
@ DIGIT_0
Definition: keymap.h:150
GROUP_TOGGLE_THREADING
@ GROUP_TOGGLE_THREADING
Definition: keymap.h:258
POSTPONE_ALL
@ POSTPONE_ALL
Definition: keymap.h:325
PAGE_FOLLOWUP_QUOTE_HEADERS
@ PAGE_FOLLOWUP_QUOTE_HEADERS
Definition: keymap.h:271
post_mail_fup_keys
struct keylist post_mail_fup_keys
Definition: keymap.c:81
GLOBAL_SEARCH_AUTHOR_FORWARD
@ GLOBAL_SEARCH_AUTHOR_FORWARD
Definition: keymap.h:218
POST_CONTINUE
@ POST_CONTINUE
Definition: keymap.h:312
MARK_FEED_READ
@ MARK_FEED_READ
Definition: keymap.h:263
post_continue_keys
struct keylist post_continue_keys
Definition: keymap.c:76
THREAD_READ_ARTICLE
@ THREAD_READ_ARTICLE
Definition: keymap.h:362
MARK_ARTICLE_UNREAD
@ MARK_ARTICLE_UNREAD
Definition: keymap.h:261
CATCHUP
@ CATCHUP
Definition: keymap.h:169
DIGIT_8
@ DIGIT_8
Definition: keymap.h:158
GROUP_LIST_THREAD
@ GROUP_LIST_THREAD
Definition: keymap.h:236
GLOBAL_TOGGLE_INFO_LAST_LINE
@ GLOBAL_TOGGLE_INFO_LAST_LINE
Definition: keymap.h:229
GLOBAL_DISPLAY_POST_HISTORY
@ GLOBAL_DISPLAY_POST_HISTORY
Definition: keymap.h:188
ATTACHMENT_SAVE
@ ATTACHMENT_SAVE
Definition: keymap.h:161
PAGE_NEXT_THREAD
@ PAGE_NEXT_THREAD
Definition: keymap.h:278
PAGE_EDIT_ARTICLE
@ PAGE_EDIT_ARTICLE
Definition: keymap.h:268
POST_ABORT
@ POST_ABORT
Definition: keymap.h:310
PAGE_SAVE
@ PAGE_SAVE
Definition: keymap.h:291
keylist::list
struct keynode * list
Definition: keymap.h:387
GLOBAL_SEARCH_SUBJECT_FORWARD
@ GLOBAL_SEARCH_SUBJECT_FORWARD
Definition: keymap.h:220
key_to_func
t_function key_to_func(const char key, const struct keylist keys)
Definition: keymap.c:97
THREAD_READ_NEXT_ARTICLE_OR_THREAD
@ THREAD_READ_NEXT_ARTICLE_OR_THREAD
Definition: keymap.h:361
URL_SELECT
@ URL_SELECT
Definition: keymap.h:371
option_menu_keys
struct keylist option_menu_keys
Definition: keymap.c:69
GROUP_UNDO_SELECTIONS
@ GROUP_UNDO_SELECTIONS
Definition: keymap.h:259
THREAD_TAG
@ THREAD_TAG
Definition: keymap.h:366
PAGE_VIEW_URL
@ PAGE_VIEW_URL
Definition: keymap.h:303
DIGIT_5
@ DIGIT_5
Definition: keymap.h:155
FEED_PATTERN
@ FEED_PATTERN
Definition: keymap.h:179
GLOBAL_LOOKUP_MESSAGEID
@ GLOBAL_LOOKUP_MESSAGEID
Definition: keymap.h:196
GLOBAL_OPTION_MENU
@ GLOBAL_OPTION_MENU
Definition: keymap.h:199
PAGE_MARK_THREAD_READ
@ PAGE_MARK_THREAD_READ
Definition: keymap.h:276
thread_keys
struct keylist thread_keys
Definition: keymap.c:89
PAGE_REPLY_QUOTE_HEADERS
@ PAGE_REPLY_QUOTE_HEADERS
Definition: keymap.h:289
SELECT_MARK_GROUP_UNREAD
@ SELECT_MARK_GROUP_UNREAD
Definition: keymap.h:343
PAGE_FOLLOWUP
@ PAGE_FOLLOWUP
Definition: keymap.h:269
SPECIAL_MOUSE_TOGGLE
@ SPECIAL_MOUSE_TOGGLE
Definition: keymap.h:168
DIGIT_3
@ DIGIT_3
Definition: keymap.h:153
select_keys
struct keylist select_keys
Definition: keymap.c:88
post_delete_keys
struct keylist post_delete_keys
Definition: keymap.c:77
GROUP_NEXT_UNREAD_ARTICLE_OR_GROUP
@ GROUP_NEXT_UNREAD_ARTICLE_OR_GROUP
Definition: keymap.h:242
CATCHUP_NEXT_UNREAD
@ CATCHUP_NEXT_UNREAD
Definition: keymap.h:170
group_keys
struct keylist group_keys
Definition: keymap.c:67
feed_supersede_article_keys
struct keylist feed_supersede_article_keys
Definition: keymap.c:64
post_send_keys
struct keylist post_send_keys
Definition: keymap.c:84
GLOBAL_POSTPONED
@ GLOBAL_POSTPONED
Definition: keymap.h:204
GLOBAL_SCROLL_DOWN
@ GLOBAL_SCROLL_DOWN
Definition: keymap.h:213
GROUP_MARK_UNSELECTED_ARTICLES_READ
@ GROUP_MARK_UNSELECTED_ARTICLES_READ
Definition: keymap.h:239
SELECT_SUBSCRIBE_PATTERN
@ SELECT_SUBSCRIBE_PATTERN
Definition: keymap.h:349
PAGE_TOGGLE_UUE
@ PAGE_TOGGLE_UUE
Definition: keymap.h:300
GROUP_TOGGLE_SELECT_THREAD
@ GROUP_TOGGLE_SELECT_THREAD
Definition: keymap.h:257
GROUP_REVERSE_SELECTIONS
@ GROUP_REVERSE_SELECTIONS
Definition: keymap.h:247
PAGE_FOLLOWUP_QUOTE
@ PAGE_FOLLOWUP_QUOTE
Definition: keymap.h:270
ATTACHMENT_TAG
@ ATTACHMENT_TAG
Definition: keymap.h:163
SAVE_APPEND_FILE
@ SAVE_APPEND_FILE
Definition: keymap.h:332
info_keys
struct keylist info_keys
Definition: keymap.c:68
PAGE_VIEW_ATTACHMENTS
@ PAGE_VIEW_ATTACHMENTS
Definition: keymap.h:302
GROUP_TOGGLE_SUBJECT_DISPLAY
@ GROUP_TOGGLE_SUBJECT_DISPLAY
Definition: keymap.h:256
GLOBAL_SCROLL_UP
@ GLOBAL_SCROLL_UP
Definition: keymap.h:214
GROUP_TOGGLE_READ_UNREAD
@ GROUP_TOGGLE_READ_UNREAD
Definition: keymap.h:255
GROUP_SAVE
@ GROUP_SAVE
Definition: keymap.h:248
SELECT_SORT_ACTIVE
@ SELECT_SORT_ACTIVE
Definition: keymap.h:347
GLOBAL_LAST_PAGE
@ GLOBAL_LAST_PAGE
Definition: keymap.h:192
FILTER_EDIT
@ FILTER_EDIT
Definition: keymap.h:184
GROUP_CANCEL
@ GROUP_CANCEL
Definition: keymap.h:233
prompt_keys
struct keylist prompt_keys
Definition: keymap.c:85
DIGIT_4
@ DIGIT_4
Definition: keymap.h:154
ATTACHMENT_SELECT
@ ATTACHMENT_SELECT
Definition: keymap.h:162
FILTER_SAVE
@ FILTER_SAVE
Definition: keymap.h:185
SPECIAL_CATCHUP_LEFT
@ SPECIAL_CATCHUP_LEFT
Definition: keymap.h:167
PAGE_REVEAL
@ PAGE_REVEAL
Definition: keymap.h:286
GLOBAL_TOGGLE_HELP_DISPLAY
@ GLOBAL_TOGGLE_HELP_DISPLAY
Definition: keymap.h:228
CONFIG_NO_SAVE
@ CONFIG_NO_SAVE
Definition: keymap.h:174
MARK_THREAD_UNREAD
@ MARK_THREAD_UNREAD
Definition: keymap.h:262
SCOPE_MOVE
@ SCOPE_MOVE
Definition: keymap.h:337
PAGE_NEXT_ARTICLE
@ PAGE_NEXT_ARTICLE
Definition: keymap.h:277
SAVE_OVERWRITE_FILE
@ SAVE_OVERWRITE_FILE
Definition: keymap.h:333
post_ignore_fupto_keys
struct keylist post_ignore_fupto_keys
Definition: keymap.c:80
GROUP_TAG_PARTS
@ GROUP_TAG_PARTS
Definition: keymap.h:253
FEED_KEY_REPOST
@ FEED_KEY_REPOST
Definition: keymap.h:182
GROUP_SELECT_PATTERN
@ GROUP_SELECT_PATTERN
Definition: keymap.h:249
GLOBAL_VERSION
@ GLOBAL_VERSION
Definition: keymap.h:231
SELECT_QUIT_NO_WRITE
@ SELECT_QUIT_NO_WRITE
Definition: keymap.h:355
PAGE_TOGGLE_HEADERS
@ PAGE_TOGGLE_HEADERS
Definition: keymap.h:294
defined_functions
defined_functions
Definition: keymap.h:148
GLOBAL_EDIT_FILTER
@ GLOBAL_EDIT_FILTER
Definition: keymap.h:189
GLOBAL_QUICK_FILTER_KILL
@ GLOBAL_QUICK_FILTER_KILL
Definition: keymap.h:208
GROUP_REPOST
@ GROUP_REPOST
Definition: keymap.h:246
SELECT_TOGGLE_READ_DISPLAY
@ SELECT_TOGGLE_READ_DISPLAY
Definition: keymap.h:352
MARK_FEED_UNREAD
@ MARK_FEED_UNREAD
Definition: keymap.h:264
POST_MAIL
@ POST_MAIL
Definition: keymap.h:318
DIGIT_7
@ DIGIT_7
Definition: keymap.h:157
handle_keypad
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
GLOBAL_BUGREPORT
@ GLOBAL_BUGREPORT
Definition: keymap.h:187
PROMPT_NO
@ PROMPT_NO
Definition: keymap.h:330
PAGE_PREVIOUS_ARTICLE
@ PAGE_PREVIOUS_ARTICLE
Definition: keymap.h:284
GLOBAL_MENU_FILTER_SELECT
@ GLOBAL_MENU_FILTER_SELECT
Definition: keymap.h:198
POST_EDIT
@ POST_EDIT
Definition: keymap.h:313
buf
static char buf[16]
Definition: langinfo.c:50
FEED_SUPERSEDE
@ FEED_SUPERSEDE
Definition: keymap.h:183
POSTPONE_OVERRIDE
@ POSTPONE_OVERRIDE
Definition: keymap.h:326
GLOBAL_PRINT
@ GLOBAL_PRINT
Definition: keymap.h:206
THREAD_TOGGLE_ARTICLE_SELECTION
@ THREAD_TOGGLE_ARTICLE_SELECTION
Definition: keymap.h:367
GLOBAL_PIPE
@ GLOBAL_PIPE
Definition: keymap.h:202
GLOBAL_LINE_DOWN
@ GLOBAL_LINE_DOWN
Definition: keymap.h:194
FEED_THREAD
@ FEED_THREAD
Definition: keymap.h:177
post_cancel_keys
struct keylist post_cancel_keys
Definition: keymap.c:75
ATTACHMENT_TAG_PATTERN
@ ATTACHMENT_TAG_PATTERN
Definition: keymap.h:164
GLOBAL_LAST_VIEWED
@ GLOBAL_LAST_VIEWED
Definition: keymap.h:193
post_post_keys
struct keylist post_post_keys
Definition: keymap.c:82
FEED_RANGE
@ FEED_RANGE
Definition: keymap.h:180
SELECT_TOGGLE_DESCRIPTIONS
@ SELECT_TOGGLE_DESCRIPTIONS
Definition: keymap.h:351
SELECT_SUBSCRIBE
@ SELECT_SUBSCRIBE
Definition: keymap.h:348
GLOBAL_LINE_UP
@ GLOBAL_LINE_UP
Definition: keymap.h:195
post_edit_keys
struct keylist post_edit_keys
Definition: keymap.c:78
GLOBAL_SEARCH_SUBJECT_BACKWARD
@ GLOBAL_SEARCH_SUBJECT_BACKWARD
Definition: keymap.h:219
ATTACHMENT_PIPE
@ ATTACHMENT_PIPE
Definition: keymap.h:160
GROUP_TOGGLE_GET_ARTICLES_LIMIT
@ GROUP_TOGGLE_GET_ARTICLES_LIMIT
Definition: keymap.h:254
url_keys
struct keylist url_keys
Definition: keymap.c:90
DIGIT_9
@ DIGIT_9
Definition: keymap.h:159
CONFIG_SCOPE_MENU
@ CONFIG_SCOPE_MENU
Definition: keymap.h:172
GLOBAL_SEARCH_AUTHOR_BACKWARD
@ GLOBAL_SEARCH_AUTHOR_BACKWARD
Definition: keymap.h:217
feed_type_keys
struct keylist feed_type_keys
Definition: keymap.c:65
t_function
enum defined_functions t_function
Definition: keymap.h:373
filter_keys
struct keylist filter_keys
Definition: keymap.c:66
PAGE_TOP_THREAD
@ PAGE_TOP_THREAD
Definition: keymap.h:301
GLOBAL_FIRST_PAGE
@ GLOBAL_FIRST_PAGE
Definition: keymap.h:190
GROUP_MARK_THREAD_READ
@ GROUP_MARK_THREAD_READ
Definition: keymap.h:238
THREAD_SELECT_ARTICLE
@ THREAD_SELECT_ARTICLE
Definition: keymap.h:365
SELECT_UNSUBSCRIBE_PATTERN
@ SELECT_UNSUBSCRIBE_PATTERN
Definition: keymap.h:354
GLOBAL_POST
@ GLOBAL_POST
Definition: keymap.h:203
POST_CANCEL
@ POST_CANCEL
Definition: keymap.h:311
func_to_key
char func_to_key(t_function func, const struct keylist keys)
Definition: keymap.c:124
SCOPE_ADD
@ SCOPE_ADD
Definition: keymap.h:334
POSTPROCESS_NO
@ POSTPROCESS_NO
Definition: keymap.h:327
PAGE_GOTO_PARENT
@ PAGE_GOTO_PARENT
Definition: keymap.h:272
GROUP_SELECT_THREAD
@ GROUP_SELECT_THREAD
Definition: keymap.h:250
SELECT_ENTER_NEXT_UNREAD_GROUP
@ SELECT_ENTER_NEXT_UNREAD_GROUP
Definition: keymap.h:341
GROUP_MAIL
@ GROUP_MAIL
Definition: keymap.h:237
PAGE_TOGGLE_HIGHLIGHTING
@ PAGE_TOGGLE_HIGHLIGHTING
Definition: keymap.h:295
feed_post_process_keys
struct keylist feed_post_process_keys
Definition: keymap.c:63
THREAD_MARK_ARTICLE_READ
@ THREAD_MARK_ARTICLE_READ
Definition: keymap.h:360
SELECT_GOTO
@ SELECT_GOTO
Definition: keymap.h:342
PAGE_BOTTOM_THREAD
@ PAGE_BOTTOM_THREAD
Definition: keymap.h:266
keylist
Definition: keymap.h:386
THREAD_SAVE
@ THREAD_SAVE
Definition: keymap.h:364
PAGE_PREVIOUS_UNREAD_ARTICLE
@ PAGE_PREVIOUS_UNREAD_ARTICLE
Definition: keymap.h:285
GLOBAL_MENU_FILTER_KILL
@ GLOBAL_MENU_FILTER_KILL
Definition: keymap.h:197
GLOBAL_SET_RANGE
@ GLOBAL_SET_RANGE
Definition: keymap.h:221
GROUP_DO_AUTOSELECT
@ GROUP_DO_AUTOSELECT
Definition: keymap.h:234
GROUP_PREVIOUS_UNREAD_ARTICLE
@ GROUP_PREVIOUS_UNREAD_ARTICLE
Definition: keymap.h:244
page_keys
struct keylist page_keys
Definition: keymap.c:70
POST_POSTPONE
@ POST_POSTPONE
Definition: keymap.h:322
FEED_HOT
@ FEED_HOT
Definition: keymap.h:178
THREAD_CANCEL
@ THREAD_CANCEL
Definition: keymap.h:358
GROUP_NEXT_GROUP
@ GROUP_NEXT_GROUP
Definition: keymap.h:240
SELECT_NEXT_UNREAD_GROUP
@ SELECT_NEXT_UNREAD_GROUP
Definition: keymap.h:345
SELECT_MOVE_GROUP
@ SELECT_MOVE_GROUP
Definition: keymap.h:344
ATTACHMENT_UNTAG
@ ATTACHMENT_UNTAG
Definition: keymap.h:166
PAGE_TOGGLE_TEX2ISO
@ PAGE_TOGGLE_TEX2ISO
Definition: keymap.h:299
PAGE_TOGGLE_TABS
@ PAGE_TOGGLE_TABS
Definition: keymap.h:298
GROUP_GOTO
@ GROUP_GOTO
Definition: keymap.h:235
GLOBAL_QUIT_TIN
@ GLOBAL_QUIT_TIN
Definition: keymap.h:211
SELECT_SYNC_WITH_ACTIVE
@ SELECT_SYNC_WITH_ACTIVE
Definition: keymap.h:350
GLOBAL_PAGE_UP
@ GLOBAL_PAGE_UP
Definition: keymap.h:201
THREAD_UNDO_SELECTIONS
@ THREAD_UNDO_SELECTIONS
Definition: keymap.h:369
keynode
Definition: keymap.h:376
post_postpone_keys
struct keylist post_postpone_keys
Definition: keymap.c:83
PROMPT_YES
@ PROMPT_YES
Definition: keymap.h:331
THREAD_MAIL
@ THREAD_MAIL
Definition: keymap.h:359
GLOBAL_SEARCH_REPEAT
@ GLOBAL_SEARCH_REPEAT
Definition: keymap.h:216
PAGE_TOGGLE_RAW
@ PAGE_TOGGLE_RAW
Definition: keymap.h:296
DIGIT_2
@ DIGIT_2
Definition: keymap.h:152
GROUP_READ_BASENOTE
@ GROUP_READ_BASENOTE
Definition: keymap.h:245
GROUP_UNTAG
@ GROUP_UNTAG
Definition: keymap.h:260
CONFIG_SELECT
@ CONFIG_SELECT
Definition: keymap.h:173
keynode::key
char key
Definition: keymap.h:380
GLOBAL_HELP
@ GLOBAL_HELP
Definition: keymap.h:191
FEED_TAGGED
@ FEED_TAGGED
Definition: keymap.h:181
PAGE_CANCEL
@ PAGE_CANCEL
Definition: keymap.h:267
GLOBAL_ABORT
@ GLOBAL_ABORT
Definition: keymap.h:186
SELECT_UNSUBSCRIBE
@ SELECT_UNSUBSCRIBE
Definition: keymap.h:353
GLOBAL_QUICK_FILTER_SELECT
@ GLOBAL_QUICK_FILTER_SELECT
Definition: keymap.h:209
DIGIT_6
@ DIGIT_6
Definition: keymap.h:156
POST_SEND
@ POST_SEND
Definition: keymap.h:323
POST_SUPERSEDE
@ POST_SUPERSEDE
Definition: keymap.h:324
PAGE_NEXT_UNREAD
@ PAGE_NEXT_UNREAD
Definition: keymap.h:279
PAGE_LIST_THREAD
@ PAGE_LIST_THREAD
Definition: keymap.h:274
THREAD_AUTOSAVE
@ THREAD_AUTOSAVE
Definition: keymap.h:357
FEED_ARTICLE
@ FEED_ARTICLE
Definition: keymap.h:176
keylist::used
size_t used
Definition: keymap.h:388
printascii
char * printascii(char *buf, int ch)
Definition: keymap.c:271
CONFIG_RESET_ATTRIB
@ CONFIG_RESET_ATTRIB
Definition: keymap.h:171
PAGE_REPLY
@ PAGE_REPLY
Definition: keymap.h:287
global_mouse_action
t_function global_mouse_action(t_function(*left_action)(void), t_function(*right_action)(void))
Definition: global.c:321
SELECT_YANK_ACTIVE
@ SELECT_YANK_ACTIVE
Definition: keymap.h:356
SCOPE_EDIT_ATTRIBUTES_FILE
@ SCOPE_EDIT_ATTRIBUTES_FILE
Definition: keymap.h:336
GLOBAL_REDRAW_SCREEN
@ GLOBAL_REDRAW_SCREEN
Definition: keymap.h:212
GLOBAL_TOGGLE_INVERSE_VIDEO
@ GLOBAL_TOGGLE_INVERSE_VIDEO
Definition: keymap.h:230
POST_IGNORE_FUPTO
@ POST_IGNORE_FUPTO
Definition: keymap.h:314
POSTPROCESS_SHAR
@ POSTPROCESS_SHAR
Definition: keymap.h:328
PAGE_MAIL
@ PAGE_MAIL
Definition: keymap.h:275
GLOBAL_SEARCH_BODY
@ GLOBAL_SEARCH_BODY
Definition: keymap.h:215
PAGE_GROUP_SELECT
@ PAGE_GROUP_SELECT
Definition: keymap.h:273
scope_keys
struct keylist scope_keys
Definition: keymap.c:87
GROUP_TAG
@ GROUP_TAG
Definition: keymap.h:252
DIGIT_1
@ DIGIT_1
Definition: keymap.h:151
GLOBAL_QUIT
@ GLOBAL_QUIT
Definition: keymap.h:210
post_edit_ext_keys
struct keylist post_edit_ext_keys
Definition: keymap.c:79
PAGE_AUTOSAVE
@ PAGE_AUTOSAVE
Definition: keymap.h:265
prompt_slk_response
t_function prompt_slk_response(t_function default_func, const struct keylist keys, const char *fmt,...)
Definition: prompt.c:670
SELECT_RESET_NEWSRC
@ SELECT_RESET_NEWSRC
Definition: keymap.h:346
GROUP_SELECT_THREAD_IF_UNREAD_SELECTED
@ GROUP_SELECT_THREAD_IF_UNREAD_SELECTED
Definition: keymap.h:251
GROUP_AUTOSAVE
@ GROUP_AUTOSAVE
Definition: keymap.h:232
PAGE_TOGGLE_ROT13
@ PAGE_TOGGLE_ROT13
Definition: keymap.h:297
NOT_ASSIGNED
@ NOT_ASSIGNED
Definition: keymap.h:149
CONFIG_TOGGLE_ATTRIB
@ CONFIG_TOGGLE_ATTRIB
Definition: keymap.h:175
POSTPROCESS_YES
@ POSTPROCESS_YES
Definition: keymap.h:329
ATTACHMENT_TOGGLE_TAGGED
@ ATTACHMENT_TOGGLE_TAGGED
Definition: keymap.h:165
THREAD_UNTAG
@ THREAD_UNTAG
Definition: keymap.h:370
attachment_keys
struct keylist attachment_keys
Definition: keymap.c:62