This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
reverse searching
- To: cygwin at cygwin dot com
- Subject: reverse searching
- From: Lee <vega at rhubarb dot custard dot org>
- Date: Thu, 11 Oct 2001 01:03:59 +0100 (BST)
Hi
When using the reverse searching in bash by pressing ctrl-r and searching
through the bash history I have noticed a small problem. Although it works
fine, the screen output is dropping the first character in the string. For
example:
I hit ctrl-r and type ls
This is matched with my previous usage "ls -al" and it displays:
(reverse-i-search)`ls': ls -al
If I now press tab I get this:
~ $ s -al
for the command line. Pressing enter, it executes "ls -al" fine, but the
command line is missing the lead char. The command also executes fine if I
press return instead of tab. One other thing to note is that the cursor is
placed at the beginning of the line as it is in unix. If I then move
the cursor to the right, the complete command is revealed with the lead
char. This happens on my win2k machine at work and my 98 machine at home.
--
=---------------------=
Lee Savidge
=---------------------=
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/