-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kbdru.dll #15
Comments
I think there was no entry |
There seems to be an entry for the primary DLL only. I removed it when introducing multi-language support. I think indeed post-installation editing of the ini files is the way to go here. I also found that the Dutch version of Windows 3.1 is configured with the Dutch layout which is actually rarely found also in the Netherlands. (The US layout is common here.) Do you think it would be possible to derive the correct layout from the layout of the host OS? |
I think you just need to set primary to US and leave secondary to native.
Суббота, 8 марта 2025 г получено от Julius Schwartzenberg:
… jschwartzenberg left a comment (dosemu2/install-win31#15)
There seems to be an entry for the primary DLL only. I removed it when introducing multi-language support.
I think indeed post-installation editing of the ini files is the way to go here. I also found that the Dutch version of Windows 3.1 is configured with the Dutch layout which is actually rarely found also in the Netherlands. (The US layout is common here.)
Do you think it would be possible to derive the correct layout from the layout of the host OS?
--
Reply to this email directly or view it on GitHub:
#15 (comment)
You are receiving this because you authored the thread.
Message ID: ***@***.***
|
No that won't work out for German and French for example. They use qwertz and azerty layouts only. |
But for ru its optimal, so I suppose
that should be done at least where
appropriate.
Суббота, 8 марта 2025 г получено от Julius Schwartzenberg:
… jschwartzenberg left a comment (dosemu2/install-win31#15)
No that won't work out for German and French for example. They use qwertz and azerty layouts only.
--
Reply to this email directly or view it on GitHub:
#15 (comment)
You are receiving this because you authored the thread.
Message ID: ***@***.***
|
Yes, but it also means you'd likely have set both the US and RU layouts on the host system. If we could derive the layout from that, it would suit any variant. |
maybe let the script also extract all kbd*.dll and additionally supply some simple gui tweaker to change the switch/layout settings? |
Maybe we could, but that likely
There is likely no way to extract |
The files are probably compressed with an msexpand variant. Typically a decompressing command-line tool is provided too. I think that variant is doable actually. |
But the whole point was to get the
non-interactive setup. And now
write an extra gui making it
interactive just for that?
You can add an options to the
script. But the options are just
that: optional. The default can be
improved.
If you dont like having us by
default, then why not to just look
up and hard-code the known-best
combinations? For Russian that will
be en/ru, and for other langs -
whatever is the most common
there?
Воскресенье, 9 марта 2025 г получено от Julius Schwartzenberg:
… jschwartzenberg left a comment (dosemu2/install-win31#15)
The files are probably compressed with an msexpand variant. Typically a decompressing command-line tool is provided too. I think that variant is doable actually.
--
Reply to this email directly or view it on GitHub:
#15 (comment)
You are receiving this because you authored the thread.
Message ID: ***@***.***
|
I meant to leave the installation non-interactive and set the appropriate values depending on the host locale, but also provide the ability (gui or dos) to change these settings later if necessary. I don't know about other languages, but as far as I remember, with the ru installer, if you forget to change the key combination or the primary layout on the first screen, you have to reinstall the whole thing again, because even running setup.exe in the windows folder from dos will not allow you to change these settings. |
My bad, I knew I was stupid, but I didn't think I was THAT stupid. |
But the problem still exist. |
Yes, the defaults from Windows 3.1 just appear to be quite bad for some situations. I think we can probably get away with doing something like:
Implementing step 2 first would seem good to start with to make sure the fallback at least gets tested. At least these we know now: It would seem practical to have a script that can be ran at any time post-installation which resets the keyboard layout. The installation script would just trigger it at the end, but the user may also run it themselves. It would be a
If a layout DLL is not available there would be a fallback. I think the US layout is implemented as "no DLL", so likely it would be the fallback. Technically that script could even run at boot-up so that one could change the locale and have the keyboard layout match accordingly. |
No, we shouldn't do random Also I am really skeptical |
But either way the locale (if not the actual layout) needs to be used as for some cases the best layout cannot be derived from the version of Windows that gets installed. |
Could you please give the |
Yes, Dutch is relatively straight-forward. The situation is more complex for languages like Romanian, Croatian, etc. Those languages are supported through Windows 3.1 for Central and Eastern Europe (CEE). The UI is always English, but it uses codepage 852 which supports these languages. As these languages use different accented letters, they have their own keyboard layouts. See for instance the Romanian layout: https://en.wikipedia.org/wiki/Romanian_keyboard_layout |
Now for what editions the setup
is buggy enough to provide duplicated
layout like ru/ru?
Воскресенье, 9 марта 2025 г получено от Julius Schwartzenberg:
… jschwartzenberg left a comment (dosemu2/install-win31#15)
Yes, Dutch is relatively straight-forward.
The situation is more complex for languages like Romanian, Croatian, etc. Those languages are supported through Windows 3.1 for Central and Eastern Europe (CEE). The UI is always English, but it uses codepage 852 which supports these languages. As these languages use different accented letters, they have their own keyboard layouts. See for instance the Romanian layout: https://en.wikipedia.org/wiki/Romanian_keyboard_layout
--
Reply to this email directly or view it on GitHub:
#15 (comment)
You are receiving this because you authored the thread.
Message ID: ***@***.***
|
Yeah, that's probably the worst case indeed. |
Exactly! |
Discussed in #14
Originally posted by j2969719 March 6, 2025
after a fresh installation both keyboard.dll and secondkeyb.dll in the keyboard section of the system.ini file have the value kbdru.dll, which makes it impossible? to enter latin chars. it would be nice if the keyboard.dll value was empty right away
The text was updated successfully, but these errors were encountered: