public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Ken Brown <kbrown@cornell.edu>
To: cygwin@cygwin.com
Subject: Re: Some key binding in Emacs not properly work in mintty.
Date: Mon, 02 Aug 2010 14:09:00 -0000	[thread overview]
Message-ID: <4C56D199.9080602@cornell.edu> (raw)
In-Reply-To: <AANLkTimP6rc8QPOxnxo6e_TsC8OoUEL3d1Qhj_5Qnnpn@mail.gmail.com>

On 8/2/2010 7:37 AM, Andy Koppe wrote:
> On 1 August 2010 16:17, Ken Brown wrote:
>> On 8/1/2010 10:18 AM, Oleksandr Gavenko wrote:
>>>
>>> Selection by Ctrl-Left/Right/Down work properly.
>>> But for Ctrl-Up Emacs say:
>>>
>>>     <select>    is undefined
>>
>> I can't reproduce this.  If it still happens after you update your Cygwin
>> installation (see below), please give a step-by-step recipe for reproducing
>> the problem.
>
> Looks like Oleksandr meant Shift- rather than Ctrl-, because I do get
> the "<select>  is undefined" message with Shift-Up. Same thing happens
> in xterm, so I don't know what's up with that.

OK, I can reproduce that too.  On the other hand, emacs running under 
X11 does recognize Shift-Up.

>
>>> Also I have trouble with<C-backspace>. Emacs think that
>>> I press<undo>.
>>
>> I think this is a mintty issue.  I'll let Andy comment.
>
> Unfortunately terminals don't have a standard keycode for
> Ctrl+Backspace, hence in emacs it won't do what's expected in any of
> them. In rxvt, it sends the same as plain Backspace. In xterm, it
> sends ^H, which will invoke the help. In mintty, it sends ^_ (i.e.
> 0x1F), which will indeed invoke Undo.

Again, emacs running under X11 recognizes the Ctrl-backspace keypress. 
I guess the bottom line is that emacs runs best under X11.

Ken

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

  reply	other threads:[~2010-08-02 14:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-01 14:19 Oleksandr Gavenko
2010-08-01 15:17 ` Ken Brown
2010-08-02 11:37   ` Andy Koppe
2010-08-02 14:09     ` Ken Brown [this message]
2010-08-04 19:08       ` Andy Koppe
2010-08-04 19:40         ` Gary
2010-08-05  6:58           ` Oleksandr Gavenko
2010-08-05  7:30             ` Gary

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=4C56D199.9080602@cornell.edu \
    --to=kbrown@cornell.edu \
    --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).