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