From 1d721525406a010fc84b3768cf1a5b453a1f70d0 Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Wed, 8 Jul 2009 11:33:39 +0200 Subject: [PATCH] Automatic commit --- selector.1 | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/selector.1 b/selector.1 index c28dc1e..b52a4b4 100644 --- a/selector.1 +++ b/selector.1 @@ -118,7 +118,7 @@ specify the maximum number of lines to take into account \fB-f \fI\fR specify a file to search into (option kept for compatibility reasons) -.SH "EXAMPLE" +.SH "EXAMPLES" To use selector to search into your bash history @@ -147,14 +147,14 @@ bind \(aq\(dq\\C-[r\(dq:\(dq\\C-a\\C-kselector -q -b -i -d -v -w -l ${HISTSIZE} in your .IR ~/.bashrc . +This bindings uses the control character ^A to put the cursor to the +mostleft location and ^K to erase the current content of the readline +buffer, and it simulates the enter key with ^M. + Note that depending on the configuration of your system, the sequence associated to the M-r key, which is here "C-[r", may differ. To figure it out, simply press C-q followed by M-r in the console. -The control character "C-a" puts the cursor to the mostleft location, -"C-k" erases the current content of the readline buffer, and "C-m" -simulates the enter key. - .SH "BUGS" There are modeline display problems if the pattern is too long. This @@ -162,8 +162,8 @@ program does not handle multibyte characters. .SH "AUTHOR" -The selector command was written by Francois Fleuret - and is distributed under the terms of the GNU -General Public License version 3 as published by the Free Software -Foundation. This is free software: you are free to change and -redistribute it. There is NO WARRANTY, to the extent permitted by law. +Written by Francois Fleuret and distributed +under the terms of the GNU General Public License version 3 as +published by the Free Software Foundation. This is free software: you +are free to change and redistribute it. There is NO WARRANTY, to the +extent permitted by law. -- 2.20.1