summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/ratpoison.116
-rw-r--r--doc/ratpoison.texi22
2 files changed, 37 insertions, 1 deletions
diff --git a/doc/ratpoison.1 b/doc/ratpoison.1
index d953965..d2abf49 100644
--- a/doc/ratpoison.1
+++ b/doc/ratpoison.1
@@ -1,4 +1,4 @@
-.TH RATPOISON 1 2006-11-23
+.TH RATPOISON 1 2008-06-15
\# This man page is free software; you can redistribute it and/or modify
\# it under the terms of the GNU General Public License as published by
\# the Free Software Foundation; either version 2, or (at your option)
@@ -807,6 +807,20 @@ the second character is the selector for the second frame and so on.
Using this variable, one can directly access more than 10 frames.
Default is an empty string, which is equivalent to "0123456789".
+.var historysize number
+Specify maximum number of values kept in input history.
+
+Default is 20.
+.var historycompaction \fB0 | \fB1
+Decide if new input lines added to history delete
+older equal lines from history.
+
+Default is 1 (on).
+.var historyexpansion \fB0 | \fB1
+Decide if history expansion using ! is available.
+(Can only be activated when compiled with readline's libhistory.)
+
+Default is 0 (off).
.SH AUTHOR
Upstream Author is Shawn Betts <sabetts@vcn.bc.ca>.
.br
diff --git a/doc/ratpoison.texi b/doc/ratpoison.texi
index 75a5e7a..aa0e3c1 100644
--- a/doc/ratpoison.texi
+++ b/doc/ratpoison.texi
@@ -1493,6 +1493,25 @@ change the cursor.
When called with no arguments, the current setting is returned.
@end deffn
+@deffn Command {set historysize} @var{n}
+Set how many lines of history should be recorded.
+
+When called with no arguments, the current setting is returned.
+@end deffn
+
+@deffn Command {set historcompaction} @var{bool}
+Set whether to remove multiple equal lines from history,
+even if not adjacent.
+
+When called with no arguments, the current setting is returned.
+@end deffn
+
+@deffn Command {set historexpansion} @var{bool}
+Set whether to expand ! using readline's libhistory in input.
+
+When called with no arguments, the current setting is returned.
+@end deffn
+
@deffn Command escape @var{key}
Set the prefix to @var{key}. For example @samp{escape C-b} sets the
prefix key to @key{C-b}.
@@ -1634,6 +1653,9 @@ Here is a list of variables that can be set:
@item wingravity
@item maxundos
@item resizeunit
+@item historysize
+@item historycompaction
+@item historyexpansion
@end itemize
@end deffn