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