From owner-freebsd-current@FreeBSD.ORG Tue Sep 21 19:55:59 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD01B16A4CE for ; Tue, 21 Sep 2004 19:55:59 +0000 (GMT) Received: from smtp-bedford-dr.mitre.org (smtpproxy2.mitre.org [192.160.51.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A07243D1D for ; Tue, 21 Sep 2004 19:55:59 +0000 (GMT) (envelope-from jandrese@mitre.org) Received: from smtp-bedford-dr.mitre.org (localhost.localdomain [127.0.0.1]) by smtp-bedford-dr.mitre.org (8.11.6/8.11.6) with SMTP id i8LJtw115053 for ; Tue, 21 Sep 2004 15:55:58 -0400 Received: from smtp-bedford-dr.mitre.org (localhost.localdomain [127.0.0.1]) by smtp-bedford-dr.mitre.org (Postfix) with ESMTP id 9A87E4F8E3 for ; Tue, 21 Sep 2004 15:55:58 -0400 (EDT) Received: from MAILHUB1 (mailhub1.mitre.org [129.83.20.31]) i8LJtvU14928; Tue, 21 Sep 2004 15:55:57 -0400 Received: from mm112324-2k.mitre.org (128.29.24.43) by mailhub1.mitre.org with SMTP id 9542537; Tue, 21 Sep 2004 15:55:54 -0400 Message-ID: <41508747.3090207@mitre.org> Date: Tue, 21 Sep 2004 15:55:51 -0400 From: Jason Andresen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bob Willcox References: <414F8934.4080509@cinci.rr.com> <20040921021141.GA77929@parodius.com> <414FA035.6000503@cinci.rr.com> <20040921035919.GA81408@parodius.com> <414FAB6C.4040504@cinci.rr.com> <20040921043545.GA82495@parodius.com> <"415005 29.9020004"@cinci.rr.com> <20040921154447.GB57728@luke.immure.com> In-Reply-To: <20040921154447.GB57728@luke.immure.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: Current cc: Jeremy Chadwick Subject: Re: BETA4 Vi backspace behavior X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Sep 2004 19:55:59 -0000 Bob Willcox wrote: >On Tue, Sep 21, 2004 at 06:40:41AM -0400, Mike B wrote: > > >>Jeremy Chadwick wrote: >> >> >> >>>Do things work properly in vim (preferrably ports/editors/vim-lite) but >>>not native /usr/bin/vi, or are they generally horked all around? >>> >>> >>> >>> >>> >>You all are right about the behavior of vi, but the backspace in vim is >>definitely broken. I've tried using the :fixdel command and also >>remapping the key with :map but the result is always the same. Perhaps >>this is a bug or incompatability that has arisen in vim; every other >>text editor seems to work flawlessly. Thanks >> >> > >FWI, all versions of vi that I've used over the past 20 years (I only >use vim when using Linux) had this behavior wrt the backspace key >(backing over but no erasing). This has been mostly on on AIX, ESIX, and >FreeBSD. So for me anyway, it's the "norm." > > AFAIK, the "backspace as a motion key" behavior dates all the way back to teletypes, because they were just typewriters with modems and they didn't have any way of actually deleting characters on the line. I think this is also where the use of "x" as a delete character comes from, people actually x-ing out words on their teletype. Look on the bright side, your editor may have bizarre commands, but it will still work even if you're stuck in the most primitive of editing environments.