Subject: bin/6001: Xsun fails with Danish keyboard on Sparc
To: None <gnats-bugs@gnats.netbsd.org>
From: Erik Bertelsen <erik@femur.ipv6.uni-c.dk>
List: netbsd-bugs
Date: 08/21/1998 13:34:06
>Number: 6001
>Category: bin
>Synopsis: Xsun fails with Danish keyboard on Sparc
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Aug 21 05:05:01 1998
>Last-Modified:
>Originator: Erik Bertelsen
>Organization:
>Release: NetBSD-current 21 Aug 1998, NetBSD-1.3, NetBSD-1.3.2
>Environment:
System: NetBSD femur.ipv6.uni-c.dk 1.3.2 NetBSD 1.3.2 (FEMUR) #5: Wed Aug 19 15:34:25 CEST 1998 erik@femur.ipv6.uni-c.dk:/sw/netbsd/1.3.2/usr/src/sys/arch/sparc/compile/FEMUR sparc
>Description:
X fails during startup on NetBSD/sparc when run on a SS 5 or 10 with
a Danish keyboard with the following diagnostic:
Unsupported keyboard type 4 layout 36
This is caused by a bug in Xserver/hw/sun/sunKeyMap.c, where
DEN5 is #defined, but DENMK5 is #ifdef'ed.
This problem was noticed on two machines running 1.3 and 1.3.2,
but the problem seems to be present in -current as well.
Note 1: I've submitted this with category=bin, but wondered whether
there should be a new xsrc category, now that NetBSD has its own
copy of X11.
Note 2: This fix should be considered for a pull-up to the
1.3 release branch, in case a 1.3.3 release will be done.
>How-To-Repeat:
>Fix:
*** sunKeyMap.c.orig Fri Aug 21 15:43:45 1998
--- sunKeyMap.c Fri Aug 21 15:44:16 1998
***************
*** 933,939 ****
#endif /* DENMARK4 */
! #ifdef DENMK5
static KeySym Denmark5Keymap[] = {
SunXK_Stop, NoSymbol, XK_L1, NoSymbol, /* 1*/
--- 933,939 ----
#endif /* DENMARK4 */
! #ifdef DEN5
static KeySym Denmark5Keymap[] = {
SunXK_Stop, NoSymbol, XK_L1, NoSymbol, /* 1*/
regards
Erik Bertelsen
>Audit-Trail:
>Unformatted: