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: 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
 
 -RVP
 



Home | Main Index | Thread Index | Old Index