From owner-freebsd-questions Sat Sep 5 18:18:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA04889 for freebsd-questions-outgoing; Sat, 5 Sep 1998 18:18:51 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA04883 for ; Sat, 5 Sep 1998 18:18:46 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id KAA16361; Sun, 6 Sep 1998 10:47:26 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id KAA25282; Sun, 6 Sep 1998 10:47:25 +0930 (CST) Message-ID: <19980906104724.X606@freebie.lemis.com> Date: Sun, 6 Sep 1998 10:47:24 +0930 From: Greg Lehey To: Leonard Ong , freebsd-questions@FreeBSD.ORG Subject: Re: Nagging BackSpace References: <199809051753.AAA17377@situ.rad.net.id> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199809051753.AAA17377@situ.rad.net.id>; from Leonard Ong on Sun, Sep 06, 1998 at 12:48:01AM +0700 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sunday, 6 September 1998 at 0:48:01 +0700, Leonard Ong wrote: > Hello, > > I'm using BASH, and it's very nagging the way I delete. If i press delete, > the cursor will delete the previous characters instead of the next ones as > normal. Is there way to resolve this ? You can read the bash man page, which I believe tells you how to remap the keys. But I wouldn't recommend hanging on to remnants of a different system. By default, bash uses the Emacs bindings which are also used on a number of other programs, such as Netscape. To delete the following character, use ^D (that's control-D). Read the man page or "The Complete FreeBSD", second edition (http://www.cdrom.com/titles/os/bsdbook2.htm) (page 148) for a more complete list. > One more, I use VIM lots in linux, but why VIM in FreeBSD felt different, > for example if i press delete key, it won't delete instead it put ^? in the > cursor. Is there a logical explaination of this ? I don't know VIM. Do you mean the editor vim? I don't know it, but it's conceivable that it's like vi. I don't know what DEL (^?) is supposed to do, but obviously vim doesn't understand it. You can read the manual or change your editor. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message