From owner-freebsd-questions Thu Jan 23 3:26:58 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD46C37B401 for ; Thu, 23 Jan 2003 03:26:56 -0800 (PST) Received: from mail.bellavista.cz (mail.bellavista.cz [62.168.44.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20E3D43F3F for ; Thu, 23 Jan 2003 03:26:56 -0800 (PST) (envelope-from neuhauser@bellavista.cz) Received: from freepuppy.bellavista.cz (freepuppy.bellavista.cz [10.0.0.10]) by mail.bellavista.cz (Postfix) with ESMTP id 2F7A869; Thu, 23 Jan 2003 12:26:55 +0100 (CET) Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id F06672FDBDD; Thu, 23 Jan 2003 12:26:53 +0100 (CET) Date: Thu, 23 Jan 2003 12:26:53 +0100 From: Roman Neuhauser To: Michael Barrett Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Vim+Mutt+Backspace Message-ID: <20030123112653.GV86853@freepuppy.bellavista.cz> Mail-Followup-To: Michael Barrett , freebsd-questions@FreeBSD.ORG References: <20030123081600.GA18447@daboyz.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030123081600.GA18447@daboyz.org> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG # mike@daboyz.org / 2003-01-23 00:16:00 -0800: > FreeBSD 4.7 > Mutt 1.4i (2002-05-29) > Vim 6.1.271 > > Anyways, when I run vim from the command line, if I'm in insert mode and I > hit the backspace key it acts normally. IE: It erases the character to the > left of the cursor. > > However, when I'm editing an email to send (as I am right now) when I hit > the backspace key it instead acts like I hit delete. (Erasing the character > under the cursor). > > Any ideas as to why this might be happening? It's highly frustrating. I had the same/similar problem when I started using FreeBSD. The lack of user-level documentation, silence of those-who-have-the-answers, all that was really depressing. That said, I went through my .vimrc, .muttrc, .Xdefaults, and .zsh* files, and /usr/share/misc/termcap, and all I could find was XTerm.backspacekey: ^H XTerm.deletekey: ^? in my .Xdefaults; the ^H and ^? are literal characters, IOW, real backspace and delete. I had this problem some time ago: rxvt (or was it vim?) started from my window manager's menu (which was then blackbox) behaved properly, while if started through bbkeys (an app that handles keyboard shortcuts in blackbox) I couldn't get backspace/delete behave. The difference was in the way these two programs launched it. I don't remember what I did to address it, perhaps the author of bbkeys changed the code... -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message