Subject: Re: install/29159: Insert Home End Keys does not work
To: None <install-manager@netbsd.org, gnats-admin@netbsd.org,>
From: David Laight <david@l8s.co.uk>
List: netbsd-bugs
Date: 01/30/2005 10:24:02
The following reply was made to PR install/29159; it has been noted by GNATS.

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.
 
 I'm not sure what you expect some of those keys to do!
 
 	David
 
 -- 
 David Laight: david@l8s.co.uk