| 1 | /* rlconf.h -- readline configuration definitions */ |
| 2 | |
| 3 | /* Copyright (C) 1992-2015 Free Software Foundation, Inc. |
| 4 | |
| 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. |
| 7 | |
| 8 | Readline is free software: you can redistribute it and/or modify |
| 9 | it under the terms of the GNU General Public License as published by |
| 10 | the Free Software Foundation, either version 3 of the License, or |
| 11 | (at your option) any later version. |
| 12 | |
| 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. |
| 17 | |
| 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 | */ |
| 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 | |
| 31 | /* Define this to get support for colors when listing completions and in |
| 32 | other places. */ |
| 33 | #define COLOR_SUPPORT |
| 34 | |
| 35 | /* This definition is needed by readline.c, rltty.c, and signals.c. */ |
| 36 | /* If on, then readline handles signals in a way that doesn't suck. */ |
| 37 | #define HANDLE_SIGNALS |
| 38 | |
| 39 | /* Ugly but working hack for binding prefix meta. */ |
| 40 | #define PREFIX_META_HACK |
| 41 | |
| 42 | /* The next-to-last-ditch effort file name for a user-specific init file. */ |
| 43 | #define DEFAULT_INPUTRC "~/.inputrc" |
| 44 | |
| 45 | /* The ultimate last-ditch filename for an init file -- system-wide. */ |
| 46 | #define SYS_INPUTRC "/etc/inputrc" |
| 47 | |
| 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. */ |
| 60 | #define READLINE_CALLBACKS |
| 61 | |
| 62 | /* Define this if you want the cursor to indicate insert or overwrite mode. */ |
| 63 | /* #define CURSOR_MODE */ |
| 64 | |
| 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 | |
| 79 | #endif /* _RLCONF_H_ */ |