]>
Commit | Line | Data |
---|---|---|
d60d9f65 SS |
1 | /* rlconf.h -- readline configuration definitions */ |
2 | ||
775e241e | 3 | /* Copyright (C) 1992-2015 Free Software Foundation, Inc. |
d60d9f65 | 4 | |
cc88a640 JK |
5 | This file is part of the GNU Readline Library (Readline), a library |
6 | for reading lines of text with interactive input and history editing. | |
d60d9f65 | 7 | |
cc88a640 | 8 | Readline is free software: you can redistribute it and/or modify |
d60d9f65 | 9 | it under the terms of the GNU General Public License as published by |
cc88a640 JK |
10 | the Free Software Foundation, either version 3 of the License, or |
11 | (at your option) any later version. | |
d60d9f65 | 12 | |
cc88a640 JK |
13 | Readline is distributed in the hope that it will be useful, |
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | GNU General Public License for more details. | |
d60d9f65 | 17 | |
cc88a640 JK |
18 | You should have received a copy of the GNU General Public License |
19 | along with Readline. If not, see <http://www.gnu.org/licenses/>. | |
20 | */ | |
d60d9f65 SS |
21 | |
22 | #if !defined (_RLCONF_H_) | |
23 | #define _RLCONF_H_ | |
24 | ||
25 | /* Define this if you want the vi-mode editing available. */ | |
26 | #define VI_MODE | |
27 | ||
28 | /* Define this to get an indication of file type when listing completions. */ | |
29 | #define VISIBLE_STATS | |
30 | ||
775e241e TT |
31 | /* Define this to get support for colors when listing completions and in |
32 | other places. */ | |
33 | #define COLOR_SUPPORT | |
34 | ||
d60d9f65 | 35 | /* This definition is needed by readline.c, rltty.c, and signals.c. */ |
775e241e | 36 | /* If on, then readline handles signals in a way that doesn't suck. */ |
d60d9f65 SS |
37 | #define HANDLE_SIGNALS |
38 | ||
39 | /* Ugly but working hack for binding prefix meta. */ | |
40 | #define PREFIX_META_HACK | |
41 | ||
cc88a640 | 42 | /* The next-to-last-ditch effort file name for a user-specific init file. */ |
d60d9f65 SS |
43 | #define DEFAULT_INPUTRC "~/.inputrc" |
44 | ||
cb41b9e7 | 45 | /* The ultimate last-ditch filename for an init file -- system-wide. */ |
cc88a640 JK |
46 | #define SYS_INPUTRC "/etc/inputrc" |
47 | ||
d60d9f65 SS |
48 | /* If defined, expand tabs to spaces. */ |
49 | #define DISPLAY_TABS | |
50 | ||
51 | /* If defined, use the terminal escape sequence to move the cursor forward | |
52 | over a character when updating the line rather than rewriting it. */ | |
53 | /* #define HACK_TERMCAP_MOTION */ | |
54 | ||
55 | /* The string inserted by the `insert comment' command. */ | |
56 | #define RL_COMMENT_BEGIN_DEFAULT "#" | |
57 | ||
58 | /* Define this if you want code that allows readline to be used in an | |
59 | X `callback' style. */ | |
c862e87b | 60 | #define READLINE_CALLBACKS |
d60d9f65 | 61 | |
9255ee31 EZ |
62 | /* Define this if you want the cursor to indicate insert or overwrite mode. */ |
63 | /* #define CURSOR_MODE */ | |
64 | ||
775e241e TT |
65 | /* Define this if you want to enable code that talks to the Linux kernel |
66 | tty auditing system. */ | |
67 | /* #define ENABLE_TTY_AUDIT_SUPPORT */ | |
68 | ||
69 | /* Defaults for the various editing mode indicators, inserted at the beginning | |
70 | of the last (maybe only) line of the prompt if show-mode-in-prompt is on */ | |
71 | #define RL_EMACS_MODESTR_DEFAULT "@" | |
72 | #define RL_EMACS_MODESTR_DEFLEN 1 | |
73 | ||
74 | #define RL_VI_INS_MODESTR_DEFAULT "(ins)" | |
75 | #define RL_VI_INS_MODESTR_DEFLEN 5 | |
76 | #define RL_VI_CMD_MODESTR_DEFAULT "(cmd)" | |
77 | #define RL_VI_CMD_MODESTR_DEFLEN 5 | |
78 | ||
d60d9f65 | 79 | #endif /* _RLCONF_H_ */ |