X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Andrew DeFaria <Andrew@DeFaria.com>
Subject:  Re: un-indenting doesn't work with vim
Date:  Thu, 17 Jul 2008 22:50:09 -0700
Lines: 18
Message-ID: <g5pauj$v6$1@ger.gmane.org>
References:  <f68d89470807110553k2bc71311p799af2cc02e99af8@mail.gmail.com> 	 <20080711130135.GO24644@calimero.vinschen.de> 	 <f68d89470807160249t7ccd06e5o90e0ff5a606819df@mail.gmail.com> 	 <g5l5cg$doi$1@ger.gmane.org> 	 <20080716155746.GR24644@calimero.vinschen.de> 	 <g5mm98$sl4$1@ger.gmane.org> 	 <17393e3e0807170141v6dcc5088kc1d23ab59653a24e@mail.gmail.com> 	 <g5nt16$215$1@ger.gmane.org> <17393e3e0807171001m325de647y512d008a6f533ff0@mail.gmail.com>
Mime-Version:  1.0
Content-Type:  text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
In-Reply-To: <17393e3e0807171001m325de647y512d008a6f533ff0@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Matt Wozniski wrote:
> Well, there's your problem. You told vim that the backspace key sends 
> 0x7F, when in fact it sends 0x08 in your terminal emulator. Vim would 
> have done the correct thing, if it ever saw a backspace, but it never
> saw 0x7F, only 0x08. :fixdel is archaic, and never necessary on modern 
> systems; moreover you should always understand what a command does 
> before trying to use it.
I can as easily say that backspace should always - I repeat always - do 
a backspace.

BTW It would be exceedingly helpful if the documentation said exactly 
what a command does instead of cryptically saying only:

        t_kb    <BS>            backspace key                   *t_kb* 
*'t_kb'*
-- 
Andrew DeFaria <http://defaria.com>
I don't have a solution but I admire the problem.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

