delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.0 required=5.0 tests=BAYES_00,SARE_MSGID_LONG40,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
Date: | Tue, 29 Dec 2009 19:05:58 -0500 |
Message-ID: | <3fcf00670912291605t21702c70s95471152221ec091@mail.gmail.com> |
Subject: | Alt key not recognized as Meta in xterm |
From: | Gary Carvell <gary DOT carvell AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
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 |
With the upgrade to Cygwin 1.7, I found that the Alt key is no longer recognized as a Meta key in xterm. This means the Alt based command line editing keys such as Alt-F/B for forward- and backward-word must be entered with the Esc key instead. I assume this is related to the internationalization changes in 1.7. I liked the old behavior better, but had some trouble changing it back. So here's my little hack for this in case anyone else finds it useful. In your home directory, create a file .Xdefaults containing this line: XTerm*vt100.metaSendsEscape: true This effectively sets the Meta Sends Escape menu option for new xterms, causing the Alt key to work again for command line editing. I'd be glad to hear any background information on the key mapping change, or better ways to restore the old behavior. Gary -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |