Subject: kern/12577: mapping Caps_Lock to Control_L with wsconsctl
To: None <gnats-bugs@gnats.netbsd.org>
From: None <lha@stacken.kth.se>
List: netbsd-bugs
Date: 04/08/2001 18:43:00
>Number:         12577
>Category:       kern
>Synopsis:       mapping Caps_Lock to Control_L with wsconsctl
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 08 09:44:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.5S
>Organization:
	Stacken Computer Club, KTH, Sweden
>Environment:
	
System: NetBSD nutcracker.dynarc.se 1.5S NetBSD 1.5S (NUTCRACKER) #2: Mon Mar 12 16:45:25 CET 2001 lha@nutcracker.dynarc.se:/usr/src/sys/arch/i386/compile/NUTCRACKER i386
Architecture: i386
Machine: i386
>Description:
	I make my keyboard behave by map Caps_Lock to Control_L in
	/etc/rc.local with the following command:

	/sbin/wsconsctl -w map+="keysym Caps_Lock = Control_L"

	Now the problem is that if Caps_Lock is "down" with running
	the command, then it continues to be down.

	Then it's very hard to log in.

>How-To-Repeat:

	Run above command while Caps_Lock is down and find your
	keyboard only half as usable as before.

>Fix:
	Sorry.
>Release-Note:
>Audit-Trail:
>Unformatted: