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