From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19339 invoked by alias); 22 Jun 2005 01:22:12 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 19285 invoked by uid 22791); 22 Jun 2005 01:22:01 -0000 Received: from mpspam5.tis.case.edu (HELO mpspam5.TIS.case.Edu) (129.22.104.192) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 22 Jun 2005 01:22:01 +0000 Received: from [192.168.1.101] (h224.241.40.69.ip.alltel.net [69.40.241.224]) by mpspam5.TIS.case.Edu (MOS 3.5.4-GR) with ESMTP id BVZ34066 (AUTH cpr); Tue, 21 Jun 2005 21:21:08 -0400 (EDT) Message-ID: <42B8BCFF.9010703@case.edu> Date: Wed, 22 Jun 2005 01:22:00 -0000 From: Chet Ramey Reply-To: chet.ramey@case.edu User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) MIME-Version: 1.0 To: Mark Kettenis CC: mark@codesourcery.com, gdb-patches@sources.redhat.com, bug-readline@gnu.org Subject: Re: PATCH: Readline for MinGW References: <200506081742.j58Hg6O0017392@sethra.codesourcery.com> <200506120731.j5C7VMNO030966@elgar.sibelius.xs4all.nl> In-Reply-To: <200506120731.j5C7VMNO030966@elgar.sibelius.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2005-06/txt/msg00341.txt.bz2 Mark Kettenis wrote: > Hmm, it looks like that readline simply hardcodes the ANSI sequences > for these keys instead of consulting termcap. You didn't look hard enough. Readline binds the termcap key sequences for the arrow keys, then, in an attempt to be helpful, binds a few common arrow key prefixes to the appropriate functions, if they're not already bound. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ( ``Discere est Dolere'' -- chet ) Live...Laugh...Love Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/