Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <432617DB.9090803@kabira.com>
Date: Mon, 12 Sep 2005 17:05:47 -0700
From: Michael Smus <msmus@kabira.com>
User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Alt key is interpreted as ESC
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hello list,
I am having problem with passing Alt key as a Meta key in rxvt terminal
emulator. My use case is:
- run rxvt locally under cygwin
- rlogin to unix host
- run emacs in terminal window.
- issue Alt-Backspace

I am expecting emacs executing command backward-kill-word, but instead it
executes mark-defun command, that is mapped to "ESC C-h". So emacs interprets
"Alt-Backspace" as "ESC-Backspace".

My further investigation in the topic showed that indeed "Alt-<CharKey>"
producing the same code as "ESC <CharKey>" as in:

- cat -v
- press ESC and g displayed as ^[g
- simultaneous press Alt-g displayed as ^[g

so it looks like somewhere ihn the chain Alt is treated as it it is ESC. What
should be done to let Alt be interpreted as Meta ?
Thanks, Mike

--
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/

