From 86866ff113c52e25a7ee7b29433d7641d1c6ed9e Mon Sep 17 00:00:00 2001 From: sabetts Date: Fri, 21 Dec 2001 11:21:08 +0000 Subject: * 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. --- doc/ratpoison.texi | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) (limited to 'doc/ratpoison.texi') 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 -- cgit v1.2.3