NetBSD Problem Report #50147

From www@NetBSD.org  Thu Aug 13 01:40:08 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 9548FA6558
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 13 Aug 2015 01:40:08 +0000 (UTC)
Message-Id: <20150813014007.07A6EA65CE@mollari.NetBSD.org>
Date: Thu, 13 Aug 2015 01:40:07 +0000 (UTC)
From: vchaves@ymail.com
Reply-To: vchaves@ymail.com
To: gnats-bugs@NetBSD.org
Subject: keymap pckbd.br.abnt2 have missing keys 
X-Send-Pr-Version: www-1.0

>Number:         50147
>Category:       misc
>Synopsis:       keymap pckbd.br.abnt2 have missing keys
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 13 01:45:00 +0000 2015
>Closed-Date:    Tue May 29 19:55:39 +0000 2018
>Last-Modified:  Tue May 29 20:00:01 +0000 2018
>Originator:     Vicente Chaves
>Release:        netbsd-7
>Organization:
>Environment:
NetBSD netbsd7.vbox.lab 7.99.19 NetBSD 7.99.19 (GENERIC) #1: Sat Jul 11 16:21:29 UTC 2015  vchaves@netbsd7.vbox.lab:/home/vchaves/current/obj/sys/arch/amd64/compile/GENERIC amd64
>Description:
The key combinations with AltGr is not working because the Alt Right not mapped as Mode_switch
Besides lack of mapping keys on the keypad
>How-To-Repeat:
Add the line "mapfile /usr/share/wscons/keymaps/pckbd.br.abnt2" to the file /etc/wscons.conf
Restart the wscons with /etc/rc.d/wscons restart
Try using key combinations with AltGr
>Fix:
netbsd7$ cvs diff -u share/wscons/keymaps/pckbd.br.abnt2
Index: share/wscons/keymaps/pckbd.br.abnt2
===================================================================
RCS file: /cvsroot/src/share/wscons/keymaps/pckbd.br.abnt2,v
retrieving revision 1.1
diff -u -r1.1 pckbd.br.abnt2
--- share/wscons/keymaps/pckbd.br.abnt2 18 Mar 2005 17:40:02 -0000      1.1
+++ share/wscons/keymaps/pckbd.br.abnt2 13 Aug 2015 00:47:58 -0000
@@ -2,14 +2,16 @@
 #
 # Brazilian keymap for abnt2 by Felipe Bichued

-keycode 1 = Escape
 keycode 2 = 1 exclam onesuperior
 keycode 3 = 2 at twosuperior
 keycode 4 = 3 numbersign threesuperior
-keycode 5 = 4 dollar sterling sterling
-keycode 6 = 5 percent cent cent
-keycode 7 = 6 dead_diaeresis
+keycode 5 = 4 dollar sterling
+keycode 6 = 5 percent cent
+keycode 7 = 6 dead_diaeresis notsign
 keycode 13 = equal plus section
+keycode 16 = q Q slash
+keycode 17 = w W question
+keycode 18 = e E degree
 keycode 26 = dead_acute dead_grave
 keycode 27 = bracketleft braceleft ordfeminine
 keycode 39 = ccedilla Ccedilla
@@ -17,9 +19,8 @@
 keycode 41 = apostrophe quotedbl
 keycode 43 = bracketright braceright masculine
 keycode 53 = semicolon colon
-keycode 73 = KP_Prior KP_9
-keycode 81 = KP_Next KP_3
+keycode 83 = KP_Delete KP_Separator
 keycode 86 = backslash bar
 keycode 115 = slash question degree
-keycode 201 = Prior
-keycode 209 = Next
+keycode 126 = KP_Decimal
+keycode 184 = Mode_switch Multi_key

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: zafer@NetBSD.org
State-Changed-When: Tue, 29 May 2018 19:55:39 +0000
State-Changed-Why:
Applied. Thank you Vicente.


From: "Zafer Aydogan" <zafer@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/50147 CVS commit: src/share/wscons/keymaps
Date: Tue, 29 May 2018 19:45:31 +0000

 Module Name:	src
 Committed By:	zafer
 Date:		Tue May 29 19:45:31 UTC 2018

 Modified Files:
 	src/share/wscons/keymaps: pckbd.br.abnt2

 Log Message:
 Add AltGr modifier for brazilian abnt2 keymap.
 Fixes PR misc/50147 by Vicente Chaves.


 To generate a diff of this commit:
 cvs rdiff -u -r1.1 -r1.2 src/share/wscons/keymaps/pckbd.br.abnt2

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.