From owner-freebsd-questions Thu Jun 6 21:53:30 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by hub.freebsd.org (Postfix) with SMTP id 0613737B400 for ; Thu, 6 Jun 2002 21:53:25 -0700 (PDT) Received: (qmail 430 invoked by uid 0); 7 Jun 2002 04:53:21 -0000 Received: from unknown (HELO corrsl7vs6l3tz) (203.200.184.66) by mail.gmx.net (mp014-rz3) with SMTP; 7 Jun 2002 04:53:21 -0000 Message-ID: <01c701c20ddf$3d350c30$846dc5cb@corrsl7vs6l3tz> From: "Sanjay Bhattacharya" To: "William Palfreman" Cc: References: <20020606190948.B155-100000@kmart.lan.palfreman.com> Subject: Re: Delete Key Date: Fri, 7 Jun 2002 10:22:34 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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, You are extremely right. I tried man readline and then I created ~/.inputrc containing the lines "\e[3~": delete-char , but nothing happened. And as you said, man stty doesn't throw any pointers to get rid of the problem either. I tried to do stty erase '^?' and stty erase '^D' but no luck out there as well. I tried a lot of hours yesterday to make the damned DEL key work but nothing. It seems bash won't let me handle the DEL key at all. I managed it in tcsh though by using bindkey "^?" delete-char as pointed to by one of our friends. But why wouldn't bash let me do it. All I want is to map ^D action to the DEL key and ^H action to the backspace key. I guess bash is surely powerful enough to cater to simple needs like that. Regards, Sanjay > 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message