Subject: Re: Anyone got a type-4 keyboard?
To: NetBSD port-sparc mailing list <port-sparc@netbsd.org>
From: Julian Coleman <jdc@coris.demon.co.uk>
List: port-sparc
Date: 10/08/2002 19:23:30
> If someone has a type 4 keyboard, could you please check this?
> You don't need to install anything new, just boot a 1.6 sysinst based install
> kernel or miniroot, select the Utility menu and go to "Change Timezone".
> You can bail out before changing anything on your disk.

Running vi under 1.5 on the console of a 4/330 with a type 4 keyboard, the
keypad keys don't work (never noticed before - I always use 'h', 'j', 'k'
and 'l' ;-).  Adding the following as ~/.termcap and setting $TERM to
"sun-type4" fixes that :

  sun-type4:\
  	:kd=\E[221z:kl=\E[217z:kr=\E[219z:ku=\E[215z:tc=sun-il:

It also makes the cursor keys work with `set -E` in /bin/sh.  I haven't
tried sysinst, as the version on the 1.5 cd dumps core and I can't run 1.6
because kbd0 doesn't notice that it is the console, so I can't type anything!

Is there someone with a type 4 keyboard who can verify that the keypad keys
don't work by default in any sysinst menu, but with the above ~/.termcap and
TERM=sun-type4, they do?  If not, I'll test it out as soon as I solve the
kbd0 problem above.

Thanks,

J

-- 
                    My other computer also runs NetBSD
                          http://www.netbsd.org/