From owner-freebsd-questions Thu Jun 6 14: 1:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from reiher.informatik.uni-wuerzburg.de (wi4d22.informatik.uni-wuerzburg.de [132.187.101.122]) by hub.freebsd.org (Postfix) with ESMTP id 8E4B237B401 for ; Thu, 6 Jun 2002 14:01:19 -0700 (PDT) Received: by reiher.informatik.uni-wuerzburg.de (Postfix, from userid 1001) id 05D02AF7C; Thu, 6 Jun 2002 23:01:18 +0200 (CEST) Date: Thu, 6 Jun 2002 23:01:18 +0200 From: Matthias Buelow To: William Palfreman Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Delete Key Message-ID: <20020606210117.GA1639@reiher.informatik.uni-wuerzburg> References: <20020606200404.A155-100000@kmart.lan.palfreman.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020606200404.A155-100000@kmart.lan.palfreman.com> User-Agent: Mutt/1.3.28i 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 William Palfreman writes: >Works for me when I run csh - I never use it as a shell. What about in >sh or bash? sh is using editline, bash is using readline, both of which can bind keysyms to actions, iirc. editrc(5) and readline(3) (or rather, the readline info document) should get you going. might be a bit complex tho, since what the DEL key actually delivers to the application depends on what kind of terminal you use (xterm is different from the fbsd console, for example.) I'd recommend to just use ctrl+d in that case[, or just use vi bindings, in which case you're completely independent from any non-typewriter keys except the Escape key ;)]. --mkb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message