X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SPF_NEUTRAL X-Spam-Check-By: sourceware.org Message-ID: <4A1D6D59.9010906@cornell.edu> Date: Wed, 27 May 2009 12:42:01 -0400 From: Ken Brown User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: emacs -nw keypad References: <4A168F2B DOT 4020805 AT cornell DOT edu> <2377ADF68DFE455199B53E97E5747E43 AT HEPNTLTIM3> <4A1B17FD DOT 902 AT dronecode DOT org DOT uk> <4A1BD971 DOT 70808 AT cornell DOT edu> <83bppfskbt DOT fsf AT gnu DOT org> <4A1C5831 DOT 6030008 AT cornell DOT edu> <99716858969849F89D65A4015B9948F7 AT HEPNTLTIM3> <4A1D52A9 DOT 3000409 AT cornell DOT edu> <416096c60905270821g143b5d15x3a6a3e8acb552f73 AT mail DOT gmail DOT com> In-Reply-To: <416096c60905270821g143b5d15x3a6a3e8acb552f73@mail.gmail.com> 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 5/27/2009 11:21 AM, Andy Koppe wrote: > xterm doesn't send those keycodes in its default configuration with > "PC-style Function Keys". Instead, with NumLock off, the numpad keys > send the same codes as the equivalent keys on the small cursor and > editing pads, so e.g. 1 (End) sends ^[OF. > > See here for details: > http://invisible-island.net/xterm/ctlseqs/ctlseqs.html#PC-Style%20Function%20Keys Thanks for the reference, Andy. In any case, emacs should be smart enough to deal with and/or control the keycodes xterm sends, and apparently it is able to do so on other platforms. Also, according to the OP, emacs 21.2 used to be able to do it on cygwin. So I hope someone can figure out why it doesn't work any more. The problem occurs in rxvt-native and in mintty as well as in xterm. It also occurs in a windows console running bash (with CYGWIN=tty). So I still come back to thinking that something has changed in a cygwin package that provides terminal support, and we need to find out how to make emacs work with that change. Ken -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/