rlconf.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /* rlconf.h -- readline configuration definitions */
  2. /* Copyright (C) 1992-2009 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. /* This definition is needed by readline.c, rltty.c, and signals.c. */
  23. /* If on, then readline handles signals in a way that doesn't screw. */
  24. #define HANDLE_SIGNALS
  25. /* Ugly but working hack for binding prefix meta. */
  26. #define PREFIX_META_HACK
  27. /* The next-to-last-ditch effort file name for a user-specific init file. */
  28. #define DEFAULT_INPUTRC "~/.inputrc"
  29. /* The ultimate last-ditch filenname for an init file -- system-wide. */
  30. #define SYS_INPUTRC "/etc/inputrc"
  31. /* If defined, expand tabs to spaces. */
  32. #define DISPLAY_TABS
  33. /* If defined, use the terminal escape sequence to move the cursor forward
  34. over a character when updating the line rather than rewriting it. */
  35. /* #define HACK_TERMCAP_MOTION */
  36. /* The string inserted by the `insert comment' command. */
  37. #define RL_COMMENT_BEGIN_DEFAULT "#"
  38. /* Define this if you want code that allows readline to be used in an
  39. X `callback' style. */
  40. #define READLINE_CALLBACKS
  41. /* Define this if you want the cursor to indicate insert or overwrite mode. */
  42. /* #define CURSOR_MODE */
  43. #endif /* _RLCONF_H_ */