delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/06/21:40:27

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Wed, 6 Nov 2002 21:42:15 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Problem with function keys codes with vt100 emulation
Message-ID: <20021107024215.GA16492@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20021106163952 DOT 02068e70 AT pop3 DOT cris DOT com> <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20021106131511 DOT 0212e850 AT pop3 DOT cris DOT com> <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20021106151936 DOT 01febb78 AT pop3 DOT cris DOT com> <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20021106163952 DOT 02068e70 AT pop3 DOT cris DOT com> <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20021106181835 DOT 02a5b3c0 AT pop3 DOT cris DOT com>
Mime-Version: 1.0
In-Reply-To: <5.1.0.14.2.20021106181835.02a5b3c0@pop3.cris.com>
User-Agent: Mutt/1.5.1i

On Wed, Nov 06, 2002 at 06:23:37PM -0800, Randall R Schulz wrote:
>Chris,
>
>At 18:07 2002-11-06, you wrote:
>>On Wed, Nov 06, 2002 at 04:50:12PM -0800, Randall R Schulz wrote:
>>>The terminal emulation available under Cygwin is not programmable, so it's
>>>up to the software to adapt to it, not vice versa.
>>
>>I will note that it is very weird that F1 - F4 in cygwin are generating
>>the same sequences as up/down/left/right.  Something is messed up
>>somewhere, there.
>
>It would be weird if it were happening, but I have readline ("~/.inputrc") 
>mappings for all the Fn keys and "Insert" and "Delete" as well as the usual 
>pre-defined, built-in mappings for the arrow keys. Though I usually keep 
>NumLock engaged, the arrow keys on the number pad work fine when I 
>disengage it.

But, if you type F1 while you are in /bin/sh, you'll see the cursor move
up a line.  That indicates that cygwin is mapping F1 to ^[[A, which is,
AFAICT, incorrect.  It probably *should* be mapping to ^[OP.  And, F2
should be ^[OQ, etc.

I used to have these things memorized from my past life maintaining a text
editor (among other things).

cgf
--
Please do not send me personal email with cygwin questions or observations.
Use the resources at http://cygwin.com/ .

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019