summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorsabetts <sabetts>2001-12-21 11:21:08 +0000
committersabetts <sabetts>2001-12-21 11:21:08 +0000
commit86866ff113c52e25a7ee7b29433d7641d1c6ed9e (patch)
treefa4e5f34d0684382feb5c1f02b20dcd121d23a0b /doc
parent872a9e14fae3e28451b04349bdbd6c60407c4b26 (diff)
downloadratpoison-86866ff113c52e25a7ee7b29433d7641d1c6ed9e.zip
* src/input.c (input_history): new static global
(input_num_history_entries): likewise (get_more_input): cycle through the input history. * src/conf.h (INPUT_PREV_HISTORY_KEY): new define (INPUT_PREV_HISTORY_MODIFIER): likewise (INPUT_NEXT_HISTORY_KEY): likewise (INPUT_NEXT_HISTORY_MODIFIER): likewise (INPUT_MAX_HISTORY): likewise * src/input.c (update_input_window): Draw the cursor in the right place.
Diffstat (limited to 'doc')
-rw-r--r--doc/ratpoison.texi24
1 files changed, 22 insertions, 2 deletions
diff --git a/doc/ratpoison.texi b/doc/ratpoison.texi
index 3e0d75e..b211a05 100644
--- a/doc/ratpoison.texi
+++ b/doc/ratpoison.texi
@@ -87,8 +87,10 @@ This document explains how to use ratpoison.
* Keystrokes:: Key commands and functionality
* Commands:: ratpoison commands
* Command Line Arguments:: ratpoison command-line actions
+* Input:: Typing text into ratpoison
* Startup file:: They threatened me...with violence!
+
@end menu
@node About, Contacting, Top, Top
@@ -650,7 +652,7 @@ described in @command{defwinfmt}.
@end table
-@node Command Line Arguments, Startup file, Commands, Top
+@node Command Line Arguments, Input, Commands, Top
@chapter Command Line Arguments
ratpoison supports command line arguments to request various actions
when invoking ratpoison.
@@ -676,8 +678,26 @@ window otherwise launch it.
@end table
+@node Input, Startup file, Command Line Arguments, Top
+@chapter Input
+At various times ratpoison will prompt you for input. Currently only
+very basic text editing commands exist.
+
+@table @key
+@item Backspace
+Deletes one letter preceding the cursor.
+
+@item C-p
+Cycle backwards through the history.
+
+@item C-n
+Cycle forwards through the history.
+@end table
+
+All input is stored in the same history list. By default ratpoison has
+a history length of 50 entries.
-@node Startup file, , Command Line Arguments, Top
+@node Startup file, , Input, Top
@chapter Startup file
Now you've probably read the web page, and you've no doubt dug up some