From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 55533 invoked by alias); 2 Sep 2016 16:21:16 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 55524 invoked by uid 89); 2 Sep 2016 16:21:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=Gary, Felipe, felipe, Del X-HELO: mail.spocom.com Received: from mail.spocom.com (HELO mail.spocom.com) (206.63.224.240) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 02 Sep 2016 16:21:04 +0000 Received: from localhost (97-115-142-123.spkn.qwest.net [97.115.142.123]) by mail.spocom.com with SMTP; Fri, 2 Sep 2016 09:20:46 -0700 Date: Fri, 02 Sep 2016 16:21:00 -0000 From: Gary Johnson To: cygwin@cygwin.com Subject: Re: updated vim broke arrow/delete keys Message-ID: <20160902162155.GA24830@phoenix> Mail-Followup-To: cygwin@cygwin.com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes X-SW-Source: 2016-09/txt/msg00027.txt.bz2 On 2016-09-02, Felipe Vieira wrote: > Dear all, > > I just updated my vim and some keys are now broken. > > I'm trying both versions of vim: > vim-7.4.2181-1.tar.xz 07-Aug-2016 21:13 1062348 > and > vim-7.4.1990-1.tar.xz 06-Jul-2016 20:31 > 1055584 > but both now broke the arrow keys/delete in insert mode. > > Up arrow inserts "OA" as text, del inserts "[3~". > > How can I fix these and revert to what was before? > > I'm assuming my version of vim was even older than those. They work fine for me. It could be that something else changed at the same time that you updated vim. What terminal are you running in? I started a Cygwin shell in mintty and ran vim 7.4.2181 as $ vim -N -u NONE to get rid of the influence of any configuration files, then entered some text. The left, right, up and down arrows and delete all work as expected in insert mode. Executing :set termcap will show you the character sequences vim expects to see for those keys. I see, for example, t_ku ^[O*A t_kD ^[[3~ where ^[ represents Escape. You might also check the value of 'term'. I see this: :set term? term=xterm I can't think of a cause at the moment, but maybe trying those steps will shed some light. Regards, Gary -- 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