Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Aug 2017 17:25:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-sysinstall@FreeBSD.org
Subject:   [Bug 219516] installer sets up keymap="us.pc-ctrl.kbd" instead of keymap="us.ctrl" in rc.conf
Message-ID:  <bug-219516-2920-upLfVpTiKL@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-219516-2920@https.bugs.freebsd.org/bugzilla/>
References:  <bug-219516-2920@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219516

Ed Maste <emaste@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|Works As Intended           |---
             Status|Closed                      |Open

--- Comment #2 from Ed Maste <emaste@freebsd.org> ---
I am not able to reproduce keymap="us.pc-ctrl.kbd"; this is the correct value
for the CapsLock-is-ctrl keyboard if the syscons(4) console is in use, but by
default 11.x and later use vt(4) by default.

The extension is indeed not required, and according to rc.conf(5) is not
included in the canonical use of the keymap variable. That said, kbdcontrol -l
first tries to load the provided keyboard map from the argument exactly as
provided, and failing that tries <value>.kbd. Thus, I think we should:

1. change kbdcontrol to first try <value>.kbd, if <value> does not already end
in .kbd, then <value> as provided.

2. have kbdmap strip the .kbd extension from its output

-- 
You are receiving this mail because:
You are the assignee for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219516-2920-upLfVpTiKL>