From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: getting , , etc. to work in GNU Emacs under cygwin Date: Thu, 09 Sep 2004 18:44:11 GMT Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1094755513 7707 80.91.224.253 (9 Sep 2004 18:45:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Sep 2004 18:45:13 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 09 20:45:01 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C5Tun-0007k5-00 for ; Thu, 09 Sep 2004 20:45:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C5U07-0002UY-V9 for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Sep 2004 14:50:31 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!news.glorb.com!wn14feed!worldnet.att.net!207.35.177.252!nf3.bellglobal.com!snoopy.risq.qc.ca!charlie.risq.qc.ca!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:L8yE1wwo9m2TTUbP7W6u4qYA0kw= Original-Lines: 23 Original-NNTP-Posting-Host: 132.204.24.84 Original-X-Complaints-To: abuse@umontreal.ca Original-X-Trace: charlie.risq.qc.ca 1094755451 132.204.24.84 (Thu, 09 Sep 2004 14:44:11 EDT) Original-NNTP-Posting-Date: Thu, 09 Sep 2004 14:44:11 EDT Original-Xref: shelby.stanford.edu gnu.emacs.help:125217 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:20571 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20571 > I am running GNU Emacs 21.2 under a cygwin BASH shell on an XP-2003 > system. I would like to use my control key with the arrow keys on the > "inverted T on my keyboard. Unfortunately, Emacs does not seem to > notice when the the control modifier is used with these keys. > The same is true when the control modifier is used with keys on the > "6-pack." Most likely the problem is that Emacs is not being told. The terminal emulator under which you run Emacs has to turn function keys and cursor-movement keys into "escape sequences" of ascii chars. Most of the terminal emulators do that fine for non-control'ed and non-shift'ed uses, but they often use the same escape sequence when the control or shift key is held, thus losing this pecious information. Emacs has no way to figure out that the control key was held in such cases. You first need to convince your terminal emulator to preserve the information by using distinct escape sequences depending on the modifier-keys pressed in conjunction with the function keys. How to do that is specific to each terminal emulator. Stefan