Subject: Re: How to remap a key?
To: None <current-users@netbsd.org>
From: Yubyub bird <jonl@yubyub.net>
List: current-users
Date: 03/26/2000 18:26:12
Yubyub bird said on 2000-03-26:

> I'm running the 20000314 snapshot (1.4U).  I'd like to remap my F1 key to
> the ESC key, then remap F2-F10 to F1-F9 - it looks like this can be done
> via wsconsctl, but I'm not sure how.
> 
> Can someone enlighten me?

Hmmm... figured it out finally, had a problem, then figured out where I
had a problem :-/

If I do:

	wsconsctl -w map+="keysym F1 = Escape"
	wsconsctl -w map+="keysym F2 = F1"

Things seem to lock up for me - no response, nada.  Couldn't even drop
into ddb.

Doing it in reverse, however:

	wsconsctl -w map+="keysym F2 = F1"
	wsconsctl -w map+="keysym F1 = Escape"

Worked like a champ.

Is this normal/expected?

-yubyub
----------------------------------------------------------------
croquette - n.  A small cake of minced | SMTP: yubyub@yubyub.net
 food, such as poultry, vegetables, or | http://www.yubyub.net
 fish, that is usually coated with     | NetBSD on Sparc, Alpha
 bread crumbs and fried in _deep fat_. |  i386, Mac68k, VAX