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]

mintty and modifier keys


Hi all (mostly Andy),

I notice that mintty 1.1 handles certain key combinations differently than xterm:

ctrl+enter produces 0x1e (RS) vs. CR in xterm
alt+enter produces ESC CR vs. nothing at all in xterm

ctrl+shift+<letter> emits the unicode C2 control codepoints (0xc281 through 0xc29a); xterm emits the C0 control value as if shift were unpressed.

So, two questions:
1. Is there a particular reason for this behavior? Perhaps rxvt or some other non-xterm terminal emulator does it?
2. Is there documentation somewhere of what convention mintty follows for the various special cases?


(these questions are partly triggered by frustration at shift+enter not working, which lead to me finding a reasonably sane proposal to fix these kinds of terminal woes [1]; I was surprised to find that mintty can already distinguish some key presses that xterm can't)

[1] www.leonerd.org.uk/hacks/fixterms/

Thanks,
Ryan


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


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