This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]