From owner-freebsd-questions Thu Jun 6 5:41:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ntlworld.com (pc3-farn1-3-cust4.gfd.cable.ntl.com [213.107.74.4]) by hub.freebsd.org (Postfix) with ESMTP id AF2EA37B406 for ; Thu, 6 Jun 2002 05:41:21 -0700 (PDT) Received: from localhost (william@localhost) by ntlworld.com (8.12.3/8.12.2) with ESMTP id g56DTber064754 for ; Thu, 6 Jun 2002 14:29:37 +0100 (BST) (envelope-from william@palfreman.com) X-Authentication-Warning: kmart.lan.palfreman.com: william owned process doing -bs Date: Thu, 6 Jun 2002 14:29:37 +0100 (BST) From: William Palfreman X-X-Sender: william@kmart.lan.palfreman.com To: freebsd-questions@FreeBSD.ORG Subject: Re: Delete Key In-Reply-To: <20020606044110.GH4964@hal9000.halplant.com> Message-ID: <20020606134647.K179-100000@kmart.lan.palfreman.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Thu, 6 Jun 2002, Andrew J Caines wrote: > Sanjay, > > > I want to make the DEL key work while working with the bash shell itself. > > # stty erase ^V > > Put it in your .bash_profile if this is really what you want every time > you log in. Doesn't work. $ stty erase [press ^V, press del, enter] del continues to behave as a destructive backspace > Out of curiosity, why do you want delete to behave like backspace? He doesn't. He wants his Del key to delete the character on the cursor (^D) and the backspace key to delete to the left of the cursor (^H). Currently they both are destructive backspaces. I can't understand the FreeBSD schizophrenia about del. It is a *PC* operating system. Ever since I stopped using Wordstar in 1986 backspace has deleted backwards and del has deleted forwards on a PC. Why is this so hard? XFree86 manages it xmodmap. Its not even usful having two backspaces (backspace and del), as they are both doing exactly the same thing at present. There should be a simply way to map ^D to del. Usually any request to do this get fobbed off with "RTFM, man stty" Done that, googled for it, neither says simply how to make del behave like ^D on a console. -- W. Palfreman. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message