Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <5.1.0.14.2.20021106191839.02b745e0@pop3.cris.com> X-Sender: rrschulz AT pop3 DOT cris DOT com Date: Wed, 06 Nov 2002 19:21:03 -0800 To: cygwin AT cygwin DOT com From: Randall R Schulz Subject: Re: Problem with function keys codes with vt100 emulation In-Reply-To: <20021107030356.GA31475@redhat.com> References: <20021107024215 DOT GA16492 AT redhat 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 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> <20021107024215 DOT GA16492 AT redhat DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Chris, I'm still missing something. Here's one line from my .inputrc: "\M-[[A" "fg %1\C-M" This does not interfere with up-arrow doing history selection. It does what I expect it to: Insert "fg %1". Randall Schulz Mountain View, CA USA At 19:03 2002-11-06, you wrote: >On Wed, Nov 06, 2002 at 09:42:15PM -0500, Christopher Faylor wrote: > >On Wed, Nov 06, 2002 at 06:23:37PM -0800, Randall R Schulz wrote: > >>Chris, > >> > >>At 18:07 2002-11-06, you wrote: > >>>... > >>> > >>>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. > >Nevermind. I see. That's the way linux does it. Seems odd to me. Why >map f1 to be the same as up arrow? > >cgf -- 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/