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 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: <4C559000 DOT 5030704 AT cornell DOT 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 AT cygwin DOT com; run by ezmlm List-Id: 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 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