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: Subject: Re: Small request for the new cygwin terminal From: Andy Koppe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit 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 map! 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