From: Ryan Johnson <ryan.johnson@cs.utoronto.ca>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: mintty and modifier keys
Date: Thu, 19 Jul 2012 15:38:00 -0000 [thread overview]
Message-ID: <500829BD.3010108@cs.utoronto.ca> (raw)
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
next reply other threads:[~2012-07-19 15:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-19 15:38 Ryan Johnson [this message]
2012-07-19 16:56 ` Aaron Schneider
2012-07-19 17:20 ` Christopher Faylor
2012-07-19 19:06 ` Andy Koppe
2012-07-19 20:32 ` Ryan Johnson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=500829BD.3010108@cs.utoronto.ca \
--to=ryan.johnson@cs.utoronto.ca \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).