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 To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 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 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