rlconf.h 2.8 KB

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