delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/09/12/20:06:45

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <432617DB.9090803@kabira.com>
Date: Mon, 12 Sep 2005 17:05:47 -0700
From: Michael Smus <msmus AT kabira DOT com>
User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Alt key is interpreted as ESC

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019