OS2 World Community Forum
OS/2, eCS & ArcaOS - Technical => Setup & Installation => Topic started by: mauro on January 13, 2019, 07:18:46 pm
-
I've recently downloaded and use an OS2 W4.52 Virtualbox vdi machine ready to run, which have found working better than my previous self-installed machine.
It has been setted up by the creator with US-en settings, so affecting time and keyboard layout. I can only temporary change the keyboard layout by selecting the one I need (Italian 142) but it is only for the active session, it will turn back at US-en on next reboot. Also went to select IT-Euro in the Locale (Country) panel in System Setup as default choice, but it does not correct itself the keyboard layout mode, and -also important- the system clock always shows a wrong time, no way to change it in the Clock panel, after few moment the time turns at 6 hrs back, while date/year is ok. It is clearly pointed on a US time.
I still cannot find a remedy for it.
Do you have suggestions?
Thank you
-
I think I had the same problem many years ago and had found the solution in the 'net. For Germany, I have these NLS-dependent entries in my CONFIG.SYS:
COUNTRY=049,D:\OS2\SYSTEM\COUNTRY.SYS
CODEPAGE=850,437
DEVINFO=KBD,GR129,D:\OS2\KEYBOARD.DCP
SET LANG=de_DE_EURO
SET TZ=CET-1CES,3,-1,0,7200,10,-1,0,10800,3600
You might want to change the KEYBOARD.DCP line to solve your problem. Also COUNTRY and LANG are different in Italy.
-
I think I had the same problem many years ago and had found the solution in the 'net. For Germany, I have these NLS-dependent entries in my CONFIG.SYS:
COUNTRY=049,D:\OS2\SYSTEM\COUNTRY.SYS
CODEPAGE=850,437
DEVINFO=KBD,GR129,D:\OS2\KEYBOARD.DCP
SET LANG=de_DE_EURO
SET TZ=CET-1CES,3,-1,0,7200,10,-1,0,10800,3600
You might want to change the KEYBOARD.DCP line to solve your problem. Also COUNTRY and LANG are different in Italy.
Yes, I think those 5 rows would fix both keyboard layout and time issues, I had already changed the first one with code 039 which I know is for Italy, but I ignore the changes for the other four, I would need a codes references to read
-
A short search in the 'net leads to:
COUNTRY=039,D:\OS2\SYSTEM\COUNTRY.SYS
CODEPAGE=850,437
DEVINFO=KBD,IT142,D:\OS2\KEYBOARD.DCP
SET LANG=it_IT_EURO
SET TZ=CET-1CES,3,-1,0,7200,10,-1,0,10800,3600
For the keyboard layout, probably this .pdf file (http://www.borgendale.com/keyboard.pdf) is the reference. (I haven't read it now, I just guess that it might be IT and 142 from the search results.
On page 24 and 25 of the referred document, you'll find both Italian layouts: 141 and 142.
-
In a command com
KEYB IT intro
and restart.
-
"help keyb" shows this:
| KEYB switches the current keyboard layout for all sessions except WinOS2 to the selected layout.
| [...]
| In order to switch keyboard layouts, you must have a DEVINFO=KBD statement in your CONFIG.SYS.
[D:\]help keyb
[D:\]keyb
Current keyboard layout: GR 129.
Current keyboard translation table is based on code page: 850
[D:\]keyb it
The translation table for code page 850 has been loaded.
The translation table for code page 437 has been loaded.
[D:\]keyb
Current keyboard layout: IT 141.
Current keyboard translation table is based on code page: 850
[D:\]keyb gr
The translation table for code page 850 has been loaded.
The translation table for code page 437 has been loaded.
[D:\]
So, apparently the correct keyboard layout for IT is 141.
-
Andreas and Roberto, thinking better about that it was a config.sys lines matter, I remembered that still had the previous vdi machine installation made with Italian keyboard/Language in the initial settings. At that point have copied-replaced these lines from its config.sys to the one I wanted to correct:
COUNTRY=039,C:\OS2\SYSTEM\COUNTRY.SYS
CODEPAGE=850,437
DEVINFO=KBD,IT142,C:\OS2\KEYBOARD.DCP
SET LANG=it_IT_EURO
SET TZ=cet-1
SET TCPLANG=it_IT
SET LOCPATH=C:\IBMI18N\LOCALE;C:\LANGUAGE\LOCALE
and now I have Italian Language/keyboard as defaults, and the time is correct too.
Thanks for giving your suggestions
-
Good, but for Italy, you should better set the proposed TZ env var. It's the same as here.
-
"help keyb" shows this:
| KEYB switches the current keyboard layout for all sessions except ***WinOS2**** to the selected layout.
| [...]
|
Thanks for the clarification, it is not the same to configure a system, that in the cd of boot change the keyboard that is what I do more often. For maintenance tasks.