From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14672 invoked by alias); 15 Jan 2009 06:10:47 -0000 Received: (qmail 14659 invoked by uid 22791); 15 Jan 2009 06:10:46 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BARRACUDA_BRBL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 15 Jan 2009 06:10:06 +0000 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1LNLQY-0007de-VA for cygwin@cygwin.com; Thu, 15 Jan 2009 06:10:02 +0000 Received: from www.defaria.com ([65.101.22.21]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Jan 2009 06:10:02 +0000 Received: from Andrew by www.defaria.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Jan 2009 06:10:02 +0000 To: cygwin@cygwin.com From: Andrew DeFaria Subject: Re: keycodes Date: Thu, 15 Jan 2009 12:43:00 -0000 Message-ID: References: <496A5EDE.9010204@veritech.com> <496A7038.402@gmail.com> <496B7C25.3090705@veritech.com> <496E528D.1090801@gmail.com> <496EC898.1090504@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) In-Reply-To: <496EC898.1090504@gmail.com> X-Stationery: 0.4.8.12 X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2009-01/txt/msg00460.txt.bz2 Andy Koppe wrote: > Andrew DeFaria wrote: >>>> > "\e[1;5A": history-search-backward >>>> > "\e[1;5B": history-search-forward >>>> >>>> Perhaps I don't understand this 'bash' feature, but it doesn't seem >>>> to work for me. >>> Start typing a command, press Ctrl-Up, and it finds the previous >>> line in the history that started like that. >> Why not simply type Ctrl-R then the first few letters of a command >> (or some letters in the middle of a command). Works great! Requires >> no support from any terminal emulator... > Yes, obviously you can bind the history search to any key you like. The points were, since you seemed to have missed them, that 1) that's the default binding for bash and 2) it doesn't require MinTTY, nor xterm, nor any particular terminal emulator. IOW it works out of the box, in fact works in Cygwin's bash Windows console window and does not even restrict you to locating only the start of a command. All win, win, win situations as I see it. -- Andrew DeFaria It's not hard to meet expenses, they're everywhere. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/