From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17522 invoked by alias); 2 Aug 2010 14:09:35 -0000 Received: (qmail 17512 invoked by uid 22791); 2 Aug 2010 14:09:34 -0000 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 Received: from granite1.mail.cornell.edu (HELO authusersmtp.mail.cornell.edu) (128.253.83.141) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 02 Aug 2010 14:09:28 +0000 Received: from [128.84.234.191] (markov.math.cornell.edu [128.84.234.191]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id o72E9PUh003298 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 2 Aug 2010 10:09:26 -0400 (EDT) Message-ID: <4C56D199.9080602@cornell.edu> Date: Mon, 02 Aug 2010 14:09:00 -0000 From: Ken Brown 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@cygwin.com Subject: Re: Some key binding in Emacs not properly work in mintty. References: <4C559000.5030704@cornell.edu> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2010-08/txt/msg00035.txt.bz2 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: >>> >>> 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. Emacs think that >>> I press. >> >> 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