NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-amd64/57234: https://netbsd.org/docs/guide/en/chap-cons.html#chap-cons-wscons-wskbd : "# wsconsctl -k -w encoding=pl" *should* work. It doesn't



The following reply was made to PR port-amd64/57234; it has been noted by GNATS.

From: Marek Kozlowski <m.kozlowski%mini.pw.edu.pl@localhost>
To: <gnats-bugs%netbsd.org@localhost>
Cc: 
Subject: Re: port-amd64/57234:
 https://netbsd.org/docs/guide/en/chap-cons.html#chap-cons-wscons-wskbd : "#
 wsconsctl -k -w encoding=pl" *should* work. It doesn't
Date: Tue, 21 Feb 2023 09:32:52 +0100

 On 2/18/23 10:00, RVP wrote:
 > The following reply was made to PR port-amd64/57234; it has been noted by GNATS.
 > 
 > From: RVP <rvp%faeroes.freeshell.org@localhost>
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc:
 > Subject: Re: port-amd64/57234: https://netbsd.org/docs/guide/en/chap-cons.html#chap-cons-wscons-wskbd
 >   : "# wsconsctl -k -w encoding=pl" *should* work. It doesn't
 > Date: Sat, 18 Feb 2023 08:58:32 +0000 (UTC)
 > 
 >   Looks like that section and the wskbd.4 manpage should be updated. The
 >   "pl" encoding is not present in the kernel. Neither are these: cz, ru, ua.
 >   The "fi" (Finnish) encoding isn't present either, but, setting it works
 >   because "sv" and "fi" share the same numeric value:
 >   
 >   ```
 >   $ egrep 'KB_(FI|SV)' /usr/include/dev/wscons/wsksymdef.h
 >   action(KB_FI,   0,      0x0900, "fi",   ,       "Finnish")              \
 >   action(KB_SV,   0,      0x0900, "sv",   ,       "Swedish")              \
 >   $
 >   ```
 >   
 >   To get a "pl" encoding, try one of the keymap files present in
 >   
 >   /usr/share/wscons/keymaps/
 >   
 >   In /etc/wscons.conf, add a line like:
 >   
 >   mapfile /usr/share/wscons/keymaps/pckbd.pl.iso8859-2
 
 After that change may keyboard gets completely unusable, I'm unable to 
 even login:
 
 qwertyuiop keys map to mnepqrstov or sth like this :-(
 
 Best regards,
 Marek
 



Home | Main Index | Thread Index | Old Index