NetBSD Problem Report #29657

From igor@string1.ciencias.uniovi.es  Fri Mar 11 11:00:24 2005
Return-Path: <igor@string1.ciencias.uniovi.es>
Received: from FRESNO.NET.UNIOVI.ES (fresno.net.uniovi.es [156.35.11.2])
	by narn.netbsd.org (Postfix) with ESMTP id 9305E63B116
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 11 Mar 2005 11:00:23 +0000 (UTC)
Message-Id: <20050311110020.B1E283D83@string1.ciencias.uniovi.es>
Date: Fri, 11 Mar 2005 12:00:20 +0100
From: igor@string1.ciencias.uniovi.es
Sender: igor@string1.ciencias.uniovi.es
Reply-To: igor@string1.ciencias.uniovi.es
To: gnats-bugs@netbsd.org
Subject: /etc/wscons.conf should list all available keyboard maps
X-Send-Pr-Version: 3.95

>Number:         29657
>Category:       misc
>Synopsis:       /etc/wscons.conf should list all available keyboard maps
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          closed
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 11 11:01:00 +0000 2005
>Closed-Date:    Tue May 31 04:35:20 +0000 2016
>Last-Modified:  Tue May 31 04:35:20 +0000 2016
>Originator:     Igor Sobrado
>Release:        NetBSD 2.0
>Organization:
	University of Oviedo
>Environment:
System: NetBSD localhost 2.0 NetBSD 2.0 (GENERIC_LAPTOP) #0: Wed Dec 1 11:01:08 UTC 2004 builds@build:/big/builds/ab/netbsd-2-0-RELEASE/i386/200411300000Z-obj/big/builds/ab/netbsd-2-0-RELEASE/src/sys/arch/i386/compile/GENERIC_LAPTOP i386
Architecture: i386
Machine: i386
>Description:
	Karsten Kruse has observed that the full list of keyboard layouts
	differs from the one provided in /etc/wscons.conf comments.  This
	patch tries to update that file to list all keyboard layouts I am
	aware of.

	This patch indents too the last comment, to follow the indentation
	style followed in the rest of the file.  IMHO, it makes the last
	comment easier to read.

	BEWARE, there are some keyboard variants (nodead, declk, lk401,
	swapctrlcaps, dvorak, metaesc, iopener, machdep) that I do not
	know how to add to this file.  Any advice and a more qualified
	review of the patch will be useful.
>How-To-Repeat:
	There is a full listing of supported keyboard layouts:

	{ KB_USER,      "user" }, /* User-defined*/ \
	{ KB_US,        "us" },   /* US-English */ \
	{ KB_DE,        "de" },   /* German */ \
	{ KB_DK,        "dk" },   /* Danish */ \
	{ KB_IT,        "it" },   /* Italian */ \
	{ KB_FR,        "fr" },   /* French */ \
	{ KB_UK,        "uk" },   /* UK-English */ \
	{ KB_JP,        "jp" },   /* Japanese */ \
	{ KB_SV,        "sv" },   /* Swedish */ \
	{ KB_SV,        "fi" },   /* Finish */ \
	{ KB_NO,        "no" },   /* Norwegian */ \
	{ KB_ES,        "es" },   /* Spanish */ \
	{ KB_HU,        "hu" },   /* Hungarian */ \
	{ KB_PL,        "pl" },   /* Polish */ \
	{ KB_RU,        "ru" },   /* Russian */ \
	{ KB_SG,        "sg" },   /* Swiss German */ \
	{ KB_SF,        "sf" },   /* Swiss French */ \
	{ KB_PT,        "pt" },   /* Portugese */ \
	{ KB_UA,        "ua" },   /* Ukrainian */ \
	{ KB_BE,        "be" }    /* Belgian */

	and its variants:

	{ KB_NODEAD,    "nodead" }, \
	{ KB_DECLK,     "declk" }, \
	{ KB_LK401,     "lk401" }, \
	{ KB_SWAPCTRLCAPS, "swapctrlcaps" }, \
	{ KB_DVORAK,    "dvorak" }, \
	{ KB_METAESC,   "metaesc" }, \
	{ KB_IOPENER,   "iopener" }, \
	{ KB_MACHDEP,   "machdep" }

	An updated list of keyboard variants is available at:

	http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/dev/wscons/wsksymdef.h?rev=1.50&content-type=text/plain

>Fix:
--- wscons.conf	2005-03-11 11:38:25.000000000 +0100
+++ wscons.conf.proposed	2005-03-11 11:45:17.000000000 +0100
@@ -30,11 +30,12 @@

 # Select a kernel builtin keyboard map by uncommenting the following line and
 # altering the country code to your requirements
-# (choose from user, us, uk, de, dk, it, fr, jp, sv, no, es, pt).
+# (choose from user, us, uk, de, dk, it, fr, jp, sv, fi, no, es, hu, pl, ru,
+#  sg, sf, pt, ua, be).
 # See wsconsctl(8), pckbd(4), ukbd(4) etc. for more details.
 #encoding sv

 # Redefine individual keys from a file containing "keysym" and/or "keycode"
-# entries.
+#  entries.
 # See wsconsctl(8) for more details.
 #mapfile /usr/share/wscons/keymaps/pckbd.sv.svascii

>Release-Note:

>Audit-Trail:
From: Igor Sobrado <igor@string1.ciencias.uniovi.es>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: misc/29657
Date: Fri, 11 Mar 2005 12:13:41 +0100

 This patch improves indentation in /etc/wscons.conf...

 --- wscons.conf	2005-03-11 11:38:25.000000000 +0100
 +++ wscons.conf.proposed	2005-03-11 12:04:34.000000000 +0100
 @@ -29,12 +29,13 @@
  #keyboard	auto

  # Select a kernel builtin keyboard map by uncommenting the following line and
 -# altering the country code to your requirements
 -# (choose from user, us, uk, de, dk, it, fr, jp, sv, no, es, pt).
 +#  altering the country code to your requirements
 +#  (choose from user, us, uk, de, dk, it, fr, jp, sv, fi, no, es, hu, pl, ru,
 +#  sg, sf, pt, ua, be).
  # See wsconsctl(8), pckbd(4), ukbd(4) etc. for more details.
  #encoding sv

  # Redefine individual keys from a file containing "keysym" and/or "keycode"
 -# entries.
 +#  entries.
  # See wsconsctl(8) for more details.
  #mapfile /usr/share/wscons/keymaps/pckbd.sv.svascii

From: Rui Paulo <rpaulo@netbsd-pt.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: misc/29657
Date: Tue, 24 May 2005 09:44:35 +0100

 Please note that not all keymaps are available on all Ports. For
 instance, there's only support for jp, uk and us MAPLE-based keyboards
 (dreamcast port).

 -- 
 Rui Paulo <rpaulo@netbsd-pt.org>

State-Changed-From-To: open->closed
State-Changed-By: pgoyette@NetBSD.org
State-Changed-When: Tue, 31 May 2016 04:35:20 +0000
State-Changed-Why:
The requested updates (in comments) have already been implemented.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.