blob: 1a40afce029a5b83f98d86b0f09bff95cc50a837 [file] [log] [blame]
Jari Aalto726f6381996-08-26 18:22:31 +00001/* rlconf.h -- readline configuration definitions */
2
Chet Rameyac50fba2014-02-26 09:36:43 -05003/* Copyright (C) 1992-2012 Free Software Foundation, Inc.
Jari Aalto726f6381996-08-26 18:22:31 +00004
Jari Aalto31859422009-01-12 13:36:28 +00005 This file is part of the GNU Readline Library (Readline), a library
6 for reading lines of text with interactive input and history editing.
Jari Aalto726f6381996-08-26 18:22:31 +00007
Jari Aalto31859422009-01-12 13:36:28 +00008 Readline is free software: you can redistribute it and/or modify
Jari Aalto726f6381996-08-26 18:22:31 +00009 it under the terms of the GNU General Public License as published by
Jari Aalto31859422009-01-12 13:36:28 +000010 the Free Software Foundation, either version 3 of the License, or
11 (at your option) any later version.
Jari Aalto726f6381996-08-26 18:22:31 +000012
Jari Aalto31859422009-01-12 13:36:28 +000013 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.
Jari Aalto726f6381996-08-26 18:22:31 +000017
Jari Aalto31859422009-01-12 13:36:28 +000018 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*/
Jari Aalto726f6381996-08-26 18:22:31 +000021
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
Chet Rameyac50fba2014-02-26 09:36:43 -050031/* Define this to get support for colors when listing completions and in
32 other places. */
33#define COLOR_SUPPORT
34
Jari Aalto726f6381996-08-26 18:22:31 +000035/* This definition is needed by readline.c, rltty.c, and signals.c. */
Chet Rameyac50fba2014-02-26 09:36:43 -050036/* If on, then readline handles signals in a way that doesn't suck. */
Jari Aalto726f6381996-08-26 18:22:31 +000037#define HANDLE_SIGNALS
38
39/* Ugly but working hack for binding prefix meta. */
40#define PREFIX_META_HACK
41
Jari Aalto06285672006-10-10 14:15:34 +000042/* The next-to-last-ditch effort file name for a user-specific init file. */
Jari Aalto726f6381996-08-26 18:22:31 +000043#define DEFAULT_INPUTRC "~/.inputrc"
44
Jari Aalto06285672006-10-10 14:15:34 +000045/* The ultimate last-ditch filenname for an init file -- system-wide. */
46#define SYS_INPUTRC "/etc/inputrc"
47
Jari Aalto726f6381996-08-26 18:22:31 +000048/* 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
Jari Aaltoccc6cda1996-12-23 17:02:34 +000055/* 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. */
Jari Aaltob72432f1999-02-19 17:11:39 +000060#define READLINE_CALLBACKS
Jari Aalto726f6381996-08-26 18:22:31 +000061
Jari Aalto7117c2d2002-07-17 14:10:11 +000062/* Define this if you want the cursor to indicate insert or overwrite mode. */
63/* #define CURSOR_MODE */
64
Chet Rameyac50fba2014-02-26 09:36:43 -050065/* 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
Jari Aalto726f6381996-08-26 18:22:31 +000069#endif /* _RLCONF_H_ */