From owner-freebsd-questions Thu Jun 6 11:14:44 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 65ADF37B401 for ; Thu, 6 Jun 2002 11:14:39 -0700 (PDT) Received: from localhost (william@localhost) by ntlworld.com (8.12.3/8.12.2) with ESMTP id g56J38kL013868 for ; Thu, 6 Jun 2002 20:03:08 +0100 (BST) (envelope-from william@palfreman.com) X-Authentication-Warning: kmart.lan.palfreman.com: william owned process doing -bs Date: Thu, 6 Jun 2002 20:03:08 +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: Message-ID: <20020606190948.B155-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, Jan Grant wrote: > On Thu, 6 Jun 2002, William Palfreman wrote: > > > 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. > > There are lots of bits that might get in the way. If you're using tcsh > then you should look at the builting "bindkey", which maps control key > (and other sequences) to editor behaviour. Presumably bash has something > similar. I'm not using tsch. I'm actually using bash, but I would prefer something for sh as its installed as standard. Something like: $ keyset -s del=rdel I can't belive there is no way of setting this. Or if there is the documentation isn't throwing itself at me. stty seems like the right command, but what is it you put in? stty erase ^D does absolutely nothing at all, and the man page is extremely unhelpful. -- W. Palfreman. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message