]> git.deb.at Git - pkg/abook.git/blob - help.h
- mbswidth change to avoid empty translation unit warnings
[pkg/abook.git] / help.h
1 #ifndef _HELP_H
2 #define _HELP_H
3
4 #ifdef HAVE_CONFIG_H
5 #       include "config.h"
6 #endif
7
8 static char *mainhelp[] = {
9
10 "       ?               help\n",
11 "       q               quit\n",
12 "       Q               quit without saving\n",
13 "       P               quit and print selected item(s) to stderr\n",
14 "       ^L              refresh screen\n",
15 "\n",
16 "       arrows / j,k    scroll list\n",
17 "       enter           view/edit item\n",
18 "       a               add item\n",
19 "       r / del         remove selected items\n",
20 "       D               duplicate item\n",
21 "\n",
22 "       space           select item\n",
23 "       +               select all\n",
24 "       -               select none\n",
25 "       *               invert selection\n",
26 "\n",
27 "       w               write database to disk\n",
28 "       l               read database from disk\n",
29 "       C               clear whole database\n",
30 "       i               import database\n",
31 "       e               export database\n",
32 "       p               print database\n",
33 "       o               open database\n",
34 "\n",
35 "       s               sort database\n",
36 "       S               \"surname sort\"\n",
37 "       F               sort by field (defined in configuration file)\n",
38 "\n",
39 "       /               find\n",
40 "       \\              find next\n",
41 "\n",
42 "       A               move current item up\n",
43 "       Z               move current item down\n",
44 "\n",
45 "       m               send mail with mutt\n",
46 "       u               view URL with www browser\n",
47 NULL
48
49 };
50
51 static char *editorhelp[] = {
52
53 "\n",
54 "       a,c,p,o,C/arrows/h,l    change tab\n",
55 "\n",
56 "       1 - 5                   edit fields\n",
57 "\n",
58 "       k or <                  previous item\n",
59 "       j or >                  next item\n",
60 "\n",
61 "       r                       roll e-mail addresses\n",
62 "\n",
63 "       u                       undo\n",
64 "\n",
65 "       m                       send mail with mutt\n",
66 "       v                       view url with WWW browser\n",
67 "\n",
68 NULL
69
70 };
71
72 #endif