From owner-freebsd-questions Thu Apr 6 17:57: 5 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.hellasnet.gr (mail.hellasnet.gr [212.54.192.3]) by hub.freebsd.org (Postfix) with ESMTP id CEF0937B918 for ; Thu, 6 Apr 2000 17:56:41 -0700 (PDT) (envelope-from keramida@diogenis.ceid.upatras.gr) Received: from hades.hell.gr (ppp1.patr.hellasnet.gr [212.54.197.16]) by mail.hellasnet.gr (8.9.1/8.9.1) with SMTP id CAA23895 for ; Fri, 7 Apr 2000 02:55:37 +0200 (GMT) Received: (qmail 12197 invoked by uid 1001); 7 Apr 2000 00:58:04 -0000 Date: Fri, 7 Apr 2000 03:58:04 +0300 From: Giorgos Keramidas To: William Freeman Cc: freebsd-questions@FreeBSD.org Subject: Re: backspace key in Vi(m) under Xterm Message-ID: <20000407035803.A11782@hades.hell.gr> Reply-To: keramida@ceid.upatras.gr References: <38EBA947.3E2F09C0@picusnet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <38EBA947.3E2F09C0@picusnet.com>; from wdf@picusnet.com on Wed, Apr 05, 2000 at 04:59:51PM -0400 X-PGP-Fingerprint: 62 45 D1 C9 26 F9 95 06 D6 21 2A C8 8C 16 C0 8E Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Apr 05, 2000 at 04:59:51PM -0400, William Freeman wrote: > hey, i've been an Emacs user for like, 3 years and when i still had a > copy of Linux around (about a year ago) i started playing around with > the Vim editor. i was just wondering if anyone would happen to know > how to get the Backspace key to actualy go back a space so i don't > have to get RSI reaching for the Delete key. Emacs is just too slow > to start and i need somthing more pure and fast. You can make the real backspace, work as a backspare in all the applications started within an xterm easily :) Just add to your X resources file [this is called ~/.Xresources in my setup] the following line: % grep backspace ~/.Xresources XTerm*backspacekey: ^H then make sure that your ~/.xinitrc script calls xrdb -merge on the resources file: % grep xrdb ~/.xinitrc xrdb -merge ~/.Xresources Oh, you don't have to restart X to load the ~/.Xresources file. Just run the xrdb command from and xterm. The xterms loaded after that will read the new resources. Ciao, - Giorgos Keramidas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message