Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 To: cygwin AT cygwin DOT com Subject: reverse searching Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/