| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| Date: | Thu, 11 Oct 2001 01:03:59 +0100 (BST) |
| From: | Lee <vega AT rhubarb DOT custard DOT org> |
| To: | cygwin AT cygwin DOT com |
| Subject: | reverse searching |
| Message-ID: | <Pine.LNX.4.40.0110110054250.17771-100000@rhubarb.custard.org> |
| MIME-Version: | 1.0 |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |