delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/25/15:17:33

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4A43B4DF.5060105@acm.org>
References: <4A43B4DF DOT 5060105 AT acm DOT org>
Date: Thu, 25 Jun 2009 20:17:19 +0100
Message-ID: <416096c60906251217k4083436fj6bbb279cff1a5799@mail.gmail.com>
Subject: Re: Problem with mintty-0.4.1-1 and orpie
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
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

2009/6/25 David Rothenberger:
> After upgrading to mintty-0.4.1-1, the Enter, +, -, *,
> and / keys on my number pad no longer with in orpie.
> Reverting to mintty-0.4.0-2 solves the problem.

Sure about 0.4.0-2? I'm finding the behaviour changed between 0.4-rc3
and 0.4-rc4. That's when the keycodes for those keys in "application
keypad mode" became compatible with xterm. They don't work there
either.

In that mode, Enter sends ^[OM instead of ^M, and e.g. + sends ^[Ok.
That's all vt100 heritage, and other apps such as vim or nano have no
problem with that. Therefore, I think this is a bug in orpie: it
should either deal with those keycodes or not activate application
keypad mode.

Details here:
http://invisible-island.net/xterm/ctlseqs/ctlseqs.html#PC-Style%20Function%20Keys

> Also, running "TERM=cygwin orpie" also solves the problem.

The reason for that seems to be that orpie doesn't activate
application keypad mode with that TERM setting, hence it gets the
normal keycodes, which it can deal with fine.

Andy

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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