Table of Contents
Russian Language Support package enables Russian language in console (alphanumeric) and graphical (X-window) applications in SCO OpenServer Release 6.0.0 Maintenance Pack 4.
Please read this document entirely. It contains information that you will need during and after installing the package.
The Russian Language Support package is intended for installation on SCO OSR6 with Maintenance Pack 4 and contains the updated files for correct installation and working of Russian, and also KDE 3.5.9 environment localization files.
The package is available to download free of charge from the OpenServer 6.0.0 download web page at:
http://www.sco.com/support/update/download/product.php?pfid=12&prid=20
directly from:
http://www.sco.com/support/update/download/release.php?rid=381
and
ftp://ftp.sco.com/pub/openserver6/600/other/rls.6.0.0mp4
Download the archive, copy it into server and unpack
into temporary directory e.g. /tmp
.
This package may be installed on the following operating system releases:
In addition, the follwing software is an obligatory pre-condition:
This RLS release may be installed either on a fresh OSR6+MP4 or as an upgrade to the previous RLS version. If you have previous version of RLS installed, it will become unoperational after MP4 install. Do not deinstall previous RLS version, just install this release following this instruction and RLS version will be updated in the process.
Decide which character set will be used internally as default on your system. Internal charset is the way Russian letters are stored in programs memory. If a program doesn't perform additional conversion then it's also the way Russian text is stored in files, transmitted over network etc.
The following Russian charsets are supported:
Cyrillic encoding used by MS-DOS operating system. (Called OEM by Microsoft.) Use this encoding if you plan to work with legacy data coming from MS-DOS era.
Synonyms:
cp866
, IBM866
, 866
.
Cyrillic encoding used by Windows operating system. (Called ANSI by Microsoft.) Use this encoding if you plan to work with data coming from/to Windows PCs.
Synonyms:
cp1251
, windows-1251
, WIN1251
, 1251
.
Cyrillic encoding used by Unix/Linux applications, also the standard for email in Russian language. Use this encoding if you plan to work only with Unix/Linux data.
Synonyms:
koi8-r
.
This encoding isn't used in Russia but you may encounter it in a program developed abroad.
SCO OpenServer 6 comes with two graphical environments:
OpenServer Desktop provides limited Russian language support. It can be used for tasks like server administration. Embedded internet browser Mozilla supports Russian language.
KDE Desktop fully supports Russian language. You can run arbitrary Russian X-window applications within KDE.
Decide whether you need graphical environment and whether you are going to run Russian applications. In case of positive answers to both questions switch graphical environment to KDE.
Installation, setup and removal should be performed by root
.
Start the SCO Admin and then Software Manager.
From the
menu, select .Select the current host and press
.Select
and press .
Enter the absolute pathname to the directory
containing files from downloaded archive, e.g. /tmp
.
Press .
Press
to start installation.When installation is complete, press
.Exit Software Manager by selecting and then .
It is recommended to perform setup immediately after installation, yet you are free to do it later or repeatedly to change settings.
From SCO Admin, start the System Administrator and then System — International Settings Manager.
From menu internal charset.
choose — and pick up
From menu IBM866
.
Specify ru_RU
.
Assign ps.ru_alt.rus
to switch between Russian and English by Alt-Shift
or
ps.ru_ctr.rus
to switch by Ctrl-Shift
.
From menu
— , choose users from top list to replace language settings, then choose ru_RU from second list. Then press button.Save with Please shutdown and reboot system to ensure changes take effect.
— . Press in response to the messageReboot the system with SCO Admin or by any other way that you may prefer.
To start using KDE graphical environment
a user should create a file in the home directory named .xsession
containing the following line:
/opt/kde/bin/startkde
As a result, after user supplied his name and password
as a response to graphical console screen prompt, KDE will start.
At first start the following regional settings should be set up:
Country — Eastern Europe/Russia
,
Language — Russian
.
Keyboard switches between Russian and Lation by Ctrl-Shift
.
SCO OpenServer 6 includes programs from SCO OpenServer 5 and SCO UnixWare.
They use different localization schemes:
former depend on /etc/default/lang
while latter on /etc/default/locale
.
Locale data files are also placed differently.
The package update both localization systems.
SCO UnixWare Localization scheme assumes that environment variable LANG
is set.
Setup procedure modifies /etc/profile
file to set up this variable
in accordance with specified internal charset.
Screen font is loaded by loadfont
,
loading via vidi
is also supported for compatibility with OpenServer 5.
Alphanumeric console keyboard and screen use IBM866
charset.
Translation from IBM866
-encoded symbols entered from keyboard
to internal charset
and back from internal charset to screen encoding IBM866
is performed by mapchan
.
Setup procedure
writes appropriate settings for virtual screens
/dev/tty01 — /dev/tty15
into /etc/default/mapchan
file.
If remote terminal or terminal program with charset IBM866
that doesn't translate input-output is used,
then use the the following command to set up input-output mapping:
mapchan -f /usr/lib/mapchan/internal_charset
/cons.866
For KOI8-R terminals (xterm
in particular):
mapchan -f /usr/lib/mapchan/internal_charset
/xterm.KOI8-R
For KDE Konsole
terminal mapchan is called automatically.
If terminal program performs mapping itself then disable mapchan:
mapchan -n
Use iconv
utility
to convert files from one encoding to another:
iconv -ffrom
-tto
file
Where from
— original encoding,
to
— requested encoding.
Russian encodings supported:
Normally, printer Russian fonts are CP866
-encoded.
Use iconv with appropriate arguments as a filter
to translate from other charsets.
Run date
command and check that day of the week and month are printed in Russian.
Run ls -la
command and check that files timestamps are printed in Russian.
Start a text editor and enter arbitrary Russian text.
CapsLock
switch,
symbol entry with pressed Shift
and Alt
.
Ctrl-F1...F12
.
Save file and close the editor.
Perform a circular translation of created file from one encoding to another. If for example your internal charset is set to CP866 then run the following commands:
iconv -f cp866 -t cp1251file
>file
.cp1251 iconv -f cp1251 -t koi8-rfile
.cp1251 >file
.koi8-r iconv -f koi8-r -t cp866file
.koi8-r >file
.cp866
Compare original and resulting files, there should be no differences:
difffile
file
.cp866
Core files:
/opt/K/SCO/Unix_RU/6.0.0NiD/usr/lib/lang/ru/RU/
language settings in OpenServer 5 format
/opt/K/SCO/Unix_RU/6.0.0NiD/usr/lib/locale/ru_RU.*/
language settings in UnixWare format
/opt/K/SCO/Unix_RU/6.0.0NiD/usr/lib/keyboard/ps.*.rus.Z
Russian keyboard layout
/opt/K/SCO/Unix_RU/6.0.0NiD/etc/fonts/cp866*
Russian screen fonts loaded by loadfont
/opt/K/SCO/Unix_RU/6.0.0NiD/usr/lib/vidi/
Russian screen fonts loaded by vidi
/opt/K/SCO/Unix_RU/6.0.0NiD/usr/lib/mapchan/
console mapping files
Base X client:
/opt/K/SCO/BaseX_RU/5.2.0NiD/usr/lib/X11/ru_RU.*/Codeset.Z
SCO desktop locale settings
/opt/K/SCO/BaseX_RU/5.2.0NiD/usr/share/fonts/URW-RU
Russian screen fonts
KDE:
/opt/K/SCO/KDE3RU/3.5.9/opt/kde359/share/apps/
Russian resources for KDE applications
/opt/K/SCO/KDE3RU/3.5.9/opt/kde359/share/doc/HTML/ru/
Russian manuals for KDE applications
/opt/K/SCO/KDE3RU/3.5.9/opt/kde359/share/locale/ru/LC_MESSAGES/
Russian messages for KDE applications
/etc/default/lang
, /etc/default/locale
Russian locales added
/etc/default/codeset
,
/etc/default/mapchan
,
/etc/default/mapkey
Russian charsets added
/sbin/loadfont
loading Russian font in BDF format added
/etc/sysadm.d/isadmin/isadminGUI
Russian language support added to International Settings Manager
/etc/profile
LANG
setting added,
stty
command call added