Date: Fri, 7 Jun 2002 10:22:34 +0530 From: "Sanjay Bhattacharya" <sanbh@gmx.net> To: "William Palfreman" <william@palfreman.com> Cc: <freebsd-questions@freebsd.org> Subject: Re: Delete Key Message-ID: <01c701c20ddf$3d350c30$846dc5cb@corrsl7vs6l3tz> References: <20020606190948.B155-100000@kmart.lan.palfreman.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01c701c20ddf$3d350c30$846dc5cb>