From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28140 invoked by alias); 15 Jan 2009 05:24:41 -0000 Received: (qmail 28129 invoked by uid 22791); 15 Jan 2009 05:24:39 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from nf-out-0910.google.com (HELO nf-out-0910.google.com) (64.233.182.184) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 15 Jan 2009 05:23:58 +0000 Received: by nf-out-0910.google.com with SMTP id b11so130266nfh.18 for ; Wed, 14 Jan 2009 21:23:55 -0800 (PST) Received: by 10.67.103.11 with SMTP id f11mr3038579ugm.12.1231997035326; Wed, 14 Jan 2009 21:23:55 -0800 (PST) Received: from ?192.168.0.5? (92-235-183-122.cable.ubr18.sgyl.blueyonder.co.uk [92.235.183.122]) by mx.google.com with ESMTPS id 27sm802541ugp.25.2009.01.14.21.23.53 (version=SSLv3 cipher=RC4-MD5); Wed, 14 Jan 2009 21:23:54 -0800 (PST) Message-ID: <496EC898.1090504@gmail.com> Date: Thu, 15 Jan 2009 05:49:00 -0000 From: Andy Koppe User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: cygwin@cygwin.com Subject: keycodes (was: Re: First Pass at mintty documentation; etc.) References: <496A5EDE.9010204@veritech.com> <496A7038.402@gmail.com> <496B7C25.3090705@veritech.com> <496E528D.1090801@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00454.txt.bz2 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. To do the same as above with rxvt: "\eOa": history-search-backward "\eOb": history-search-forward Speaking of history, does anyone know why xterm and rxvt diverged so much on modifier keycodes and why the xterm codes ended up being six characters long? Andy -- 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/