delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-5.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <20120607084052.GE1927@vicerveza.homeunix.net> |
References: | <20120607084052 DOT GE1927 AT vicerveza DOT homeunix DOT net> |
Date: | Thu, 7 Jun 2012 12:21:57 +0100 |
Message-ID: | <CAHWeT-aTd8RTirAvffviJR_3wo6HVpGz68OMYALRPNFVR9ZbGg@mail.gmail.com> |
Subject: | Re: Small request for the new cygwin terminal |
From: | Andy Koppe <andy DOT koppe AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
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 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id q57BMGVi002428 |
On 7 June 2012 09:40, LluĂs Batlle i Rossell wrote: > Hello, > > thank you first for such a helpful software, for those that use Windows but are > used to the Linux interface. > > I'd like to request some heavy annoyance I encounter with the new cygwin > terminal, compared to rxvt. In 'vim', it looks like I'm used to press ESC > *before* releasing *shift* (if I was inserting some text innvolving shift). > > On xterm, rxvt, windows terminal, if I pressed "shift-esc" in vim, it had the > same effect as esc. But in the cygwin terminal, in insert mode it inserts some > weird character. > > Could it be made so shift-esc has the same effect as esc, in cygwin terminal? I > imagine that the difference is not done on purpose. It is done on purpose, to allow Shift+Esc to be bound to a different function if desired. It's documented here: [1] http://code.google.com/p/mintty/wiki/Keycodes#Special_keys Shift+ESC sends the Unicode codepoint U+009B, aka the Control Sequence Introducer (CSI) character. In vim, you could map it to Esc like this: map <CSI> <Esc> map! <CSI> <Esc> Andy -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |