reverse searching

Lee vega@rhubarb.custard.org
Wed Oct 10 17:04:00 GMT 2001


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/



More information about the Cygwin mailing list