Subject: Re: -key problem resolved
To: Zbigniew Baniewski <zb@ispid.com.pl>
From: Dan LaBell <dan4l-nospam@verizon.net>
List: netbsd-users
Date: 03/30/2005 01:45:17
On Mar 29, 2005, at 7:35 PM, Zbigniew Baniewski wrote:

> OK, I've found solution, which doesn't need any modification in the 
> source
> code:
>
> I noticed, that (in the version 2.0, which I'm testing), the key 
> <Delete>

> (say: "IBM-Delete", if you want...), has been defined simply as 
> "Delete".
> I noticed, that the "Delete" from numeric keypad is defined 
> separately, and
> so I redefined that "first one" in the same way, with:
>
> wsconsctl -w map+="keycode 211 = KP_Delete"
>
Thanks, in my rc.local now.  I'd argue that the default behavior
is needlessly quirky, and inconsistent w/ itself.

> And then I was able to use that "tip with inputrc" - I mean, I created
> a file ~/.inputrc, containing:
>

Isn't .inputrc and /etc/inputrc  bash and gnu readline?

> "\e[3~": delete-char
>
> But creating the file /etc/inputrc doesn't work. I'm not sure: does 
> there
maybe its somewhere else? strings | fgrep inputrc maybe?

> exist any proper place in the "tree" for "global" inputrc file - or it 
> can
> be created only for each account separately?
> -- 
> 				pozdrawiam / regards
>
> 						Zbigniew Baniewski
>