From javier@aurora.diatel.upm.es  Fri Jun  5 05:52:58 1998
Received: from aurora.diatel.upm.es (aurora.diatel.upm.es [138.100.49.70])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA11517
          for <FreeBSD-gnats-submit@freebsd.org>; Fri, 5 Jun 1998 05:52:45 -0700 (PDT)
          (envelope-from javier@aurora.diatel.upm.es)
Received: (from javier@localhost)
	by aurora.diatel.upm.es (8.8.8/8.8.5) id OAA00637;
	Fri, 5 Jun 1998 14:52:16 +0200 (CEST)
Message-Id: <199806051252.OAA00637@aurora.diatel.upm.es>
Date: Fri, 5 Jun 1998 14:52:16 +0200 (CEST)
From: jmrueda@diatel.upm.es
Reply-To: jmrueda@diatel.upm.es
To: FreeBSD-gnats-submit@freebsd.org
Subject: Typo in Spanish key map table
X-Send-Pr-Version: 3.2

>Number:         6864
>Category:       kern
>Synopsis:       There is a typo in the Spanish key map table
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun  5 06:00:01 PDT 1998
>Closed-Date:    Sat Jun 6 10:43:36 PDT 1998
>Last-Modified:  Sat Jun  6 10:47:25 PDT 1998
>Originator:     Javier Martn Rueda
>Release:        FreeBSD 2.2.6-RELEASE i386
>Organization:
>Environment:
Kernels compiled with the ESKEYMAP option.

	

>Description:

If you define ESKEYMAP, the Spanish keymap table is compiled by default.
However, there is a typo in the kbdtables.h file and, instead of using
the variable name "key_map", it uses "keymap", and so, the compiler
complaints, because it cannot find that.

	

>How-To-Repeat:

Define ESKEYMAP and compile.
	

>Fix:
	
	

I enclose a patch for /sys/i386/isa/kbdtables.h:


*** kbdtables.h.orig	Wed Feb  4 11:31:59 1998
--- kbdtables.h	Fri Jun  5 14:03:15 1998
***************
*** 897,903 ****
  
  #ifdef ESKEYMAP
  #define ISO_ACCENTCHARS
! static keymap_t keymap = { 0x69,	/* spanish iso8859 keymap */
  /*                                                            alt
   * scan                          cntrl          alt    alt   cntrl
   * code     base   shift  cntrl  shift   alt   shift  cntrl  shift  spcl  flgs
--- 897,903 ----
  
  #ifdef ESKEYMAP
  #define ISO_ACCENTCHARS
! static keymap_t key_map = { 0x69,	/* spanish iso8859 keymap */
  /*                                                            alt
   * scan                          cntrl          alt    alt   cntrl
   * code     base   shift  cntrl  shift   alt   shift  cntrl  shift  spcl  flgs
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Sat Jun 6 10:43:36 PDT 1998 
State-Changed-Why:  
Fix applied to both -stable and -current, thanks! 


Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: steve 
Responsible-Changed-When: Sat Jun 6 10:43:36 PDT 1998 
Responsible-Changed-Why:  
Misfiled PR. 
>Unformatted:
