On 1/23/14, Miod Vallat <m...@online.fr> wrote:
>> Something is inconsistent here. Do you mean the uk is not the
>> default? Or there is a difference between mux default and new attach
>> default? How does one know whether plugging a keyboard in is
>> reattaching it or attachning a new one?
>
> There is a difference between a keyboard which can provide accurate
> layout information, and one which can not.
>
> The Sun USB keyboard provides accurate layout information, and will
> always attach with the layout computed from this information, because
> this matches the writings on the key caps. (and power-users know enough
> to override that after the keyboard has been connected)
>
> The other keyboard do not know their actual layout, and thus the
> keyboard driver attaches with `I'd like the default layout, please, and
> if there isn't, please give me the us layout'.
>
> If there has been a default layout set on the mux (with kbd or
> wsconsctl, or with a ``strong knowledge'' keyboard being plugged before)
> before this cheap keyboard attaches, then it will get that layout.
> Otherwise it will get the us default.
>
> There is no way to please all users here. Some people will prefer
> keyboards to always attach as `us' layout, and only change the
> international keyboard they might connect for a while, and some people,
> on the other hand, will expect further keyboards to reuse the last-used
> layout.
>
> (And that's only in console. X is another nightma^Wstory)

Yes!
After I sent my question/comments on CapsLock, I recalled
a post about it some time ago. I can go dig it up ... OK dug.
the gist of it was that X changed, where it used to allow multiple
keyboard layouts when multiple keyboards were attached,
but at some point this stopped (IIRC):

This is Alexandr Shadchin's answer to me from Oct 2011:
http://marc.info/?l=openbsd-misc&m=131844441205625&w=2
and this later from him as well:
http://marc.info/?l=openbsd-misc&m=131851950413336&w=2

To be honest, I don't think heard back nor have I attempted
testing this.

--patrick

Reply via email to