rlconf.h 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. /* rlconf.h -- readline configuration definitions */
  2. /* Copyright (C) 1992-2012 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 filenname 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. #endif /* _RLCONF_H_ */