delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/02/10:09:48

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,SPF_NEUTRAL,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4C56D199.9080602@cornell.edu>
Date: Mon, 02 Aug 2010 10:09:29 -0400
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Some key binding in Emacs not properly work in mintty.
References: <i33von$834$1 AT dough DOT gmane DOT org> <4C559000 DOT 5030704 AT cornell DOT edu> <AANLkTimP6rc8QPOxnxo6e_TsC8OoUEL3d1Qhj_5Qnnpn AT mail DOT gmail DOT com>
In-Reply-To: <AANLkTimP6rc8QPOxnxo6e_TsC8OoUEL3d1Qhj_5Qnnpn@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

On 8/2/2010 7:37 AM, Andy Koppe wrote:
> On 1 August 2010 16:17, Ken Brown wrote:
>> On 8/1/2010 10:18 AM, Oleksandr Gavenko wrote:
>>>
>>> Selection by Ctrl-Left/Right/Down work properly.
>>> But for Ctrl-Up Emacs say:
>>>
>>>     <select>    is undefined
>>
>> I can't reproduce this.  If it still happens after you update your Cygwin
>> installation (see below), please give a step-by-step recipe for reproducing
>> the problem.
>
> Looks like Oleksandr meant Shift- rather than Ctrl-, because I do get
> the "<select>  is undefined" message with Shift-Up. Same thing happens
> in xterm, so I don't know what's up with that.

OK, I can reproduce that too.  On the other hand, emacs running under 
X11 does recognize Shift-Up.

>
>>> Also I have trouble with<C-backspace>. Emacs think that
>>> I press<undo>.
>>
>> I think this is a mintty issue.  I'll let Andy comment.
>
> Unfortunately terminals don't have a standard keycode for
> Ctrl+Backspace, hence in emacs it won't do what's expected in any of
> them. In rxvt, it sends the same as plain Backspace. In xterm, it
> sends ^H, which will invoke the help. In mintty, it sends ^_ (i.e.
> 0x1F), which will indeed invoke Undo.

Again, emacs running under X11 recognizes the Ctrl-backspace keypress. 
I guess the bottom line is that emacs runs best under X11.

Ken

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