delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
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 |
To: | cygwin AT cygwin DOT com |
From: | Andrew DeFaria <Andrew AT DeFaria DOT com> |
Subject: | Re: keycodes |
Date: | Wed, 14 Jan 2009 23:05:42 -0700 |
Lines: | 22 |
Message-ID: | <gkmjno$h62$2@ger.gmane.org> |
References: | <496A5EDE DOT 9010204 AT veritech DOT com> <496A7038 DOT 402 AT gmail DOT com> <496B7C25 DOT 3090705 AT veritech DOT com> <496E528D DOT 1090801 AT gmail DOT com> <gkm9u9$qp2$1 AT ger DOT gmane DOT org> <496EC898 DOT 1090504 AT gmail DOT com> |
Mime-Version: | 1.0 |
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 AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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 <http://defaria.com> 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |