diff options
author | sabetts <sabetts> | 2003-11-03 03:17:51 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2003-11-03 03:17:51 +0000 |
commit | c1c11da66b23e72c0820be0eb47fdd864eea8f53 (patch) | |
tree | c8b2f1cf0407e53174a9c81364ec376cb4956afc /doc/ratpoison.texi | |
parent | cafd2e3f092ee5d694520c31cfbd33abcf1af843 (diff) | |
download | ratpoison-c1c11da66b23e72c0820be0eb47fdd864eea8f53.zip |
* configure.in: Add "--disable-history" handling.
Conditionalize libhistory checks accordingly.
* README: Mention "--disable history".
* src/history.c: Surround most of the code with
"#ifdef HAVE_READLINE_HISTORY_H".
* src/ratpoison.h: Only #include history.h when
"#ifdef HAVE_READLINE_HISTORY_H".
* src/main.c (main, clean_up): Only load and save history,
respectively, when "#ifdef HAVE_READLINE_HISTORY_H".
* src/editor.c (editor_history_previous, editor_history_next):
Return EDIT_NO_OP when not "#ifdef HAVE_READLINE_HISTORY_H".
(editor_enter): Do not do line expansion or history add
when not "#ifdef HAVE_READLINE_HISTORY_H".
* doc/ratpoison.texi: Mention that history cycling and
processing is not available when ratpoison is configured
with the "--disable-history" option.
Diffstat (limited to 'doc/ratpoison.texi')
-rw-r--r-- | doc/ratpoison.texi | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/ratpoison.texi b/doc/ratpoison.texi index e47d6e0..7d7eec4 100644 --- a/doc/ratpoison.texi +++ b/doc/ratpoison.texi @@ -1177,11 +1177,15 @@ Yank the text from the X11 cut buffer. @item C-p @itemx up arrow -Cycle backwards through the history. +Cycle backwards through the history (This command does nothing if +ratpoison was configured with the @code{--disable-history} configure +option). @item C-n @itemx down arrow -Cycle forwards through the history. +Cycle forwards through the history (This command does nothing if +ratpoison was configured with the @code{--disable-history} configure +option). @item return submit the line of text. @@ -1202,7 +1206,8 @@ backwards through the completions. All input is stored in the same history list. By default ratpoison has a history length of 100 entries. This history is saved to the file @file{~/.ratpoison_history} and is loaded when you start -ratpoison. This means your history sticks between sessions. +ratpoison. This means your history sticks between sessions. This +assumes history has not been disabled on compilation. @node Command Line Arguments, Startup file, Input, Top @chapter Command Line Arguments |