On Sat, May 24, 2025 at 16:50:54 +0000, Nia Alarie wrote: > Defining this layout is slightly optimistic, since even with latin-2 > fonts loaded and the appropriate locale set, wscons seems to struggle > to input most of these characters. > > Regardless, this allows the supposedly supported "pl" encoding > to not fail loading with an error message, and allows X11 to > auto-detect the keyboard layout (defining KB_PL and as an alias of > KB_US also accomplishes this goal), with room for proper UTF-8 > support in the future. > > PR port-amd64/57234 "# wsconsctl -k -w encoding=pl" *should* work. > PR kern/57844 wscons doesn't support encoding=pl contrary to wskbd(4) man page > PR install/58405 Selecting Polish keyboard type in sysinst is useless
I haven't looked at the wskbd code for ages (20+ years), but my last memories of it are ... traumatic. I never got around to commit KOI8-R support b/c, IICR, wskbd underlying keysym model was just wrong. As a hack, I used privately an - air-quotes - "koi8-r" map that used latin1 keysym names instead. And then I was mostly using serial console, so the problem kinda became irrelevant. If things haven't changed since that time, SomeOne(TM) should finally get over that code with a big rototiller, and extrme prejudice. :) -uwe