Date: Thu, 6 Jun 2002 14:29:37 +0100 (BST) From: William Palfreman <william@palfreman.com> To: freebsd-questions@FreeBSD.ORG Subject: Re: Delete Key Message-ID: <20020606134647.K179-100000@kmart.lan.palfreman.com> In-Reply-To: <20020606044110.GH4964@hal9000.halplant.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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<del> > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020606134647.K179-100000>