Subject: Re: install/29159: Insert Home End Keys does not work
To: None <install-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Zafer Aydogan <zafer@gmx.org>
List: netbsd-bugs
Date: 01/30/2005 18:46:01
The following reply was made to PR install/29159; it has been noted by GNATS.
From: "Zafer Aydogan" <zafer@gmx.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: install/29159: Insert Home End Keys does not work
Date: Sun, 30 Jan 2005 19:45:54 +0100 (MET)
From: David Laight <david@l8s.co.uk>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: install/29159: Insert Home End Keys does not work
Date: Sun, 30 Jan 2005 10:30:48 +0000
On Sun, Jan 30, 2005 at 09:48:00AM +0000, zafer@gmx.org wrote:
> >Number: 29159
> >Synopsis: Insert Home End Keys does not work
...
> I'm using a standart PC Keyboard with 102 Keys.
> There are six Keys in a block next to the Number Pad (Insert, Home,
> PageUP, Delete, End, PageDown).
> After a fresh default install on i386 the Keys Insert, Home, End Keys
> does not work neither on Console nor on any other virtual Console
(ttyE*).
> If pressed using csh as shell they are printing this:
> Insert: ^[[2~
> Home: ^[[7~
> End: ^[[8~
> Delete: works
> Arrow-UP: ^[[A
> Arrow-Down: ^[[B
> Arrow-Left: ^[[D
> Arrow-Right: ^[[C
>That looks fine to me - those keys generate a sequence of bytes, not a
>single value. What did you expect to happen?
> If pressed using bash or ksh as shell they are printing this:
> Insert: ~
> Home: ~
> Delete: works
> End: ~
> Arrow-Keys (bash): work all
> Arrow-Keys (ksh): only left & right work
> Ah command history editing......
> That all depends on the program that is reading the keyboard.
> csh history editing doesn't use the cursor keys.
> The other shells (sh, ksh and bash) have both 'emacs' and 'vi' type
> history editing - but have their own implementations.
DL> I'm not sure what you expect some of those keys to do!
At least, what they're meant for. I just want a working Keyboard. That
means, if I press Home, I expect that the Cursor goes to Position One in the
Line and if I press END I expect, that the cursor goes to the End of Line,
Vice versa with Insert and Delete. It's the same, like if I press "a" I
expect to see the Letter "a".
I thought a working Keyboard is naturally. And I expected this by default.
If you say, this depends on the shell used, then I expect, that all shells
work properly, which is again self-evident.
Please fix this.
Regards, Zafer.