. Solaris 2.3 From: "Andrew S. Bogatyirev (Soft Eng)" (abs@opentech.olvit.ru) mailto:abs@opentech.olvit.ru : ========== Open Windows Solaris 2.3 , . man cyrillic : o -8 (RFC-1489) - (ISO 6937-8) RelCom, ( 19768-74) UNIX, (IBM CP-878) "". , ( :). = . : xv $OPENWINHOME/share/images/cyr/koi8-r.gif o ISO 8859-5 - , - . . : xfd -fn timescyr-20 o Microsoft 1251 - , Microsoft Windows. - PC. Cyrillic ANSI IBM CP-1251 (Code Page 1251) ( IBM Microsoft). o IBM CP-866, " MS DOS", . ! Solaris 1.x, Solaris 2.0, 2.1, 2.2 ! Adobe . Adobe . . : abs@openwin.msk.su ( - ) balter@lvs.msk.su ( - sales) ssc@decart.npi.msu.su ( - sales) : . , . , : - Solaris ; - ( ) ; - ; , , . : - ; - , ; - .  : - - : . - MOWcyrKit: . - " " . - . ( ''). "". - . , : , ( - ), . - ( ). - . ( , ). " , . ." ! . =========================================================================== : . -8 ISO-8859-5 . : " ", - . - : , . : , RFC-1489. - ISO-8859-5 . , . - PostScript . - Relcom FIDO PC . , , , RFC-1489 . , -8 <==> CP-866 , Relcom <==> Fido, . - RFC-1489 , , . CP-866, , , , . Unicode, , , , - . , , xv $OPENWINHOME/share/images/cyr/idea1.gif xv $OPENWINHOME/share/images/cyr/idea2.gif - "koi8-r" (RFC-1700) codeset, Solaris . ...-encoding-registry , registry , "koi8-r" "r" - , ! . - , codeset . : - Type1 ; - (make'em), (, ctables.h); - termcap terminfo; - locale; - ( ) groff ( ); - , , ; - NeWSprint kit? ===========================================================================  . ================= . ------------ o : MOWcyrFnt - 1.6 MOWcyrKit - 3.6 MOWcyrMsg - CDE 0.7 MOWcyrPS - 24.5 MOWlocal - 31.8 MNPcyrKit - NeWSprint 2.5 0.3 GNUroff - GNU roff ( ) 7.5 GNUrofCyr - 11.6 : . NFS , . MOWcyrKit /usr/openwin. /etc/vfstab /usr/openwin/lib/X11/fonts/cyrill /usr/openwin/lib/X11/fonts/cyrill-Type1 . automounter. . ---------- CD ROM , : cyrill.img - gnukit.img - gcc install.sh - : 1) : a) Solaris 2.x (x >= 3) b) CDE (Common Desktop Environment) c) Networker (Solstice Backup) ( ) d) NeWSprint 2.5 ( ) : CDE, MOWcyrKit. 2) pkgadd -d cyrill.img MOWcyrFnt pkgadd -d cyrill.img MOWcyrKit pkgadd -d cyrill.img MOWcyrMsg pkgadd -d cyrill.img MOWcyrPS MOWlocal pkgadd -d cyrill.img GNUroff pkgadd -d cyrill.img GNUrofCyr if [ -d /opt/NeWSprint ] ; then pkgadd -d cyrill.img MNPcyrKit fi pkgadd -d gnukit.img GNUkit install.sh sh install.sh ! : 1) - koi -8 (RFC-1489) - iso ISO 8859-5 - mswcyr ANSI Cyrillic, Microsoft Windows (Microsoft 1251). Microsoft 866 altdos. , . 2) , Organization: <> . , /etc/organization 3) " XDM?" "yes" . "no", . XDM , /etc/xdm.run (). 4) , . *) y (yes). . ----------------------------------- : MOWcyrFnt MOWcyrKit MOWcyrMsg MOWcyrPS MOWlocal GNUroff GNUrofCyr __ # sh install.sh Processing package instance from OpenWindows Bitmap Cyrillic Fonts (SPARC) Version 2.3 for X11r5 ---------------------------------------------------------------- | | | Copyright (C) 1993,94,95 George Akimoff, Andrew Bogatyirev | | All Rights Reserved. | | | | Contains copyrighted software licensed from | | Moscow Center for SPARC-technology and | | Open Technologies, Ltd. | | Unauthorized duplication is strictly prohibited. | | | | Restricted rights of distribution are given to | | LVS Corporation and | | DEC Art | | | | Disassembly, decompilation, or other means of reducing | | the object code to human readable form | | is prohibited by the license agreement under which | | this code is provided to the user or company | | in possession of this copy. | | | ---------------------------------------------------------------- ## Processing package information. ## Processing system information. ## Verifying disk space requirements. ## Checking for conflicts with packages already installed. ## Checking for setuid/setgid programs. Installing OpenWindows Bitmap Cyrillic Fonts as ## Installing part 1 of 1. /usr/openwin/lib/X11/fonts/cyrill/crc5-08.pcf.Z ................ ................ ................ /usr/openwin/lib/X11/fonts/cyrill/sscWi-24.pcf.Z [ verifying class ] Installation of was successful. Processing package instance from OpenWindows Cyrillic Kit (SPARC) Version 2.4.2 for X11r5 Using as the package base directory. ................ ................ ................ Which codeset will you use: KOI-8, ISO 8859-5, ANSI Cyrillic (MS Windows) ? Please type koi or iso [koi|iso|mswcyr]: _koi_ Please, enter default timezone or just hit [Russia/Moscow (Samara,Novosibirsk)]: _ENTER_ Russia/Moscow is to be used in /etc/timezone and /etc/default/init Please, enter Full name of your organization (for Email) > _Open Technologies, Ltd._ Organization: Open Technologies, Ltd. Please, enter your maildomain (for NIS/Email), such as hostname.msk.su [] > _openwin.msk.su_ Maildomain: openwin.msk.su Do you want to start X Display Manager ? [yes] _yes_ XDM start enabled Please type your magic key> _ ## Processing package information. ## Processing system information. 25 package pathnames are already properly installed. ## Verifying package dependencies. ## Verifying disk space requirements. ## Checking for conflicts with packages already installed. The following files are already installed on the system and are being used by another package: /usr/openwin/lib/Xinitrc Do you want to install these conflicting files [y,n,?,q] _y_ ## Checking for setuid/setgid programs. This package contains scripts which will be executed with super-user permission during the process of installing this package. Do you want to continue with the installation of this package [y,n,?] _y_ Installing OpenWindows Cyrillic Kit as ## Executing preinstall script. ................ ................ ................ To use Cyrillization You have to 1) add setenv LANG ru.koi_8 (RFC-1489) OR setenv LANG ru.iso_8859_5 OR setenv LANG ru.mswcyr (Microsoft 1251) into your .cshrc file (or .login) 2) check for /etc/skel/local.cshrc --> $HOME/.cshrc /etc/skel/local.login --> $HOME/.login /etc/skel/local.profile --> $HOME/.profile and copy them into your $HOME if needed. 3) Then you have to exit OpenWindows and re-start it again. 4) cd /etc/skel and read README* files *) You can switch between RUS/LAT by pressing of key. or key. On Sun X-terminal use key. Installation of was successful. Processing package instance from ................ ................ ................ Installation of was successful. Processing package instance from ................ ................ ................ Do you want to start WWW (HTTP) server ? [no] _no_ Do not start WWW server ................ ................ The following files are already installed on the system and are being used by another package: /usr/local/man/man3 Do you want to install these conflicting files [y,n,?,q] _y_ ## Checking for setuid/setgid programs. The following files are being installed with setuid and/or setgid permissions or are overwriting files which are currently setuid/setgid: /usr/bin/rbmail /usr/local/bin/le /usr/local/bin/traceroute /usr/local/bin/xwall /usr/local/etc/httpd/httpd Do you want to install these setuid/setgid files [y,n,?,q] _y_ This package contains scripts which will be executed with super-user permission during the process of installing this package. Do you want to continue with the installation of this package [y,n,?] _y_ Installing Set of local programs and sources (includes WWW) as ................ ................ ................ Installation of was successful. Processing package instance from GNU groff - text to PostScript formatting utility (SPARC) 1.09 ------------------------------------------- | Copyright (C) | | | | jjc@jclark.com (James Clark) | | | | and Free Software Foundation | ------------------------------------------- ## Processing package information. ## Processing system information. 2 package pathnames are already properly installed. ## Verifying package dependencies. ## Verifying disk space requirements. ## Checking for conflicts with packages already installed. The following files are already installed on the system and are being used by another package: /usr/local/man/man1 Do you want to install these conflicting files [y,n,?,q] _y_ ## Checking for setuid/setgid programs. Installing GNU groff - text to PostScript formatting utility as ................ ................ ................ Installation of was successful. Processing package instance from GNU groff Cyrillization (SPARC) 1 ................ ................ The following files are already installed on the system and are being used by another package: /usr/local/lib/groff/tmac/tmac.gs /usr/local/lib/groff/tmac/tmac.pspic /usr/local/lib/groff/tmac/troffrc Do you want to install these conflicting files [y,n,?,q] _y_ ## Checking for setuid/setgid programs. Installing GNU groff Cyrillization as ................ ................ ................ Installation of was successful. Processing package instance from ................ ................ This package contains scripts which will be executed with super-user permission during the process of installing this package. Do you want to continue with the installation of this package [y,n,?] _y_ Installing NeWSprint 2.5 Cyrillic Kit -- KOI-8 codeset as ................ ................ Installation of was successful. Processing package instance from ................ ................ ................ Installation of was successful. you have mail # date. . ---------------- , pkgrm MOWlocal MOWcyrPS MOWcyrMsg MOWcyrKit MOWcyrFnt . ? ----------------------- , , , (, , user). .login .cshrc .profile /etc/skel user (~user), csh cp /etc/skel/local.login ~user/.login cp /etc/skel/local.cshrc ~user/.cshrc cp /etc/skel/local.profile ~user/.profile , , . /etc/tune_lang ( ). : .login setenv LANG ru.koi_8 .profile LANG=ru.koi_8; export LANG -8. setenv LANG ru.iso_8859_5 ISO 8859-5 setenv LANG ru.mswcyr CP1251 setenv LANG ru.altdos CP866 stty cs8 -istrip erase ^H /.  . ============== : 1) . 2) X Window System. 3) X Window, . 4) locale . 5) X Display Manager.  . ================ /etc/tune_lang tune_lang koi __ tune_lang iso __ tune_lang mswcyr __ root " " . . setenv LANG ru.< codeset> $HOME/.login LANG=ru.< codeset>; export LANG $HOME/.profile . ============================= , . setenv LC_TIME C /etc/default/init LC_TIME=C  . ===============================  . ------------------------- . , , CTRL/C CTRL/U, . , X Window System. Xlib , , ... . - .  : xmodmap ~~~~~~~~~~~~~~~~~~~~~ xmodmap $OPENWINHOME/lib/locale/$LANG/Xmodmaprc , , X-server. . . xmodmap, $HOME/.UseXmodmap : ********************************************************* * * * / * * * * * * * * * * ( ) * * * * * * * ********************************************************* ********************************************************* * Sun X terminal- ( SPARCclassic X) * * / * ********************************************************* $OPENWINHOME/lib/locale/ru.koi_8/Xmodmaprc $OPENWINHOME/lib/locale/ru.iso_8859_5/Xmodmaprc $OPENWINHOME/lib/locale/ru.mswcyr/Xmodmaprc X Window: - XLookupString() . - xmodmap, : , - . , , - . ! Key ! KEYBOARD GROUP 0 ! KEYBOARD GROUP 1 ! ! Normal Shift ! Normal Shift !------------------------------------------------------------------------ keysym a = a A 0xe4 0xc4 keysym s = s S 0xeb 0xcb ...... - mod2, , - lock. lock Caps_Lock Shift. , mod2 lock Multi_key ( Compose). man xmodmap H.3.2.7 1 O'Reilly X Window. !---------------------------------------------------------------------- ! Use COMPOSE and CapsLock keys as RUS/LAT switch keys. !---------------------------------------------------------------------- remove lock = Caps_Lock add mod2 = Multi_key add mod2 = Caps_Lock add lock = Multi_key !---------------------------------------------------------------------- ! Use COMPOSE and NumLock keys as RUS/LAT switch keys. !---------------------------------------------------------------------- !remove lock = Num_Lock !add mod2 = Multi_key !add mod2 = Num_Lock !add lock = Multi_key / Compose, CapsLock. , - / NumLock. CapsLock - . , . /usr/openwin/lib/Xmodmaprc.X-sun AltGraph (Mode_switch) , . - . , X11 server OpenLook Window Manager. , X , : Lock. /LAT (CapsLock): , X Window System . xmodmap xmodmap -pk  : xCyrInput ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - xCyrInput. () X-server. , : - ( Shift_L+Shift_R). / Mode_switch, Sun- AltGraph ( ). Compose. - , . - Pseudo CapsLock ( Sun Caps_Lock < Meta_R - >), . Shift PseudoLock . - ScrollLock L "". - , ( ) . ***************************************************************************** * * * * * xrus-1.3.4 * * * * * * lav@yars.free.net (Alexander V. Lukyanov) * * * * ftp://ftp.relcom.ru/x11/cyrillic/xrus-1.3.4.tar.gz * ftp://ftp.relcom.ru/x11/cyrillic/xrus-1.3.4.tar.gz * * * * ***************************************************************************** (abs@openwin.msk.su - ) . . /usr/local/src/xCyrInput : ------------------------ - . X Window System, , - ( ). - , , . . / Mode_switch, Sun- AltGraph ( ). /LATIN ( ). " " . Ctrl , Ctrl/C Ctrl/U. , "Properties...". , , . Properties: DiskCheckPath - . - , . , . Application Codesets Pattern List - -, . , , , argv[0]. xlsclients -l _1=_1:_2=_2:... . : : *866*=altdos : $ LANG=ru.altdos cxterm -T x866 -fn crcA-12 -e /bin/sh & 866 . Save - $HOME/.Xdefaults , : --------------------------------------------------- , 1) - 4 132 ( ) 2) MappingNotify event XRefreshKeyboardMapping() . /usr/dt/lib/libDtSvc.so.1 CDE, . : ~~~~~~~~~~~~~ . /. : - $HOME/.UseXmodmap - CDE xCyrInput - Open Look , $HOME/.openwin-init xCyrInput : 1) , - . 2) terminal (xterm, cxterm) xCyrInput -daemon  . -------------- : bitmap PostScript ========================================================== Courier Roman crc CourierC Bold Italic BoldItalic Helvetica Roman ssc PragmaticaC Bold Oblique BoldOblique Times Roman smc NewtonC Bold Italic BoldItalic , : $OPENWINHOME/lib/X11/fonts/cyrill - $OPENWINHOME/lib/X11/fonts/cyrill-Type1 - $OPENWINHOME/lib/locale/C/OWfontpath $OPENWINHOME/lib/locale/$LANG/OWfontpath Xinitrc StartOW . : xxxT-NN xxxTi-NN xxxTb-NN xxx: crc - courier (CouRier Cyrillic) smc - serif (Serif Monospaced Cyrillic) ssc - sans-serif (Sans Serif Cyrillic) T: W - CP-1251 MS Windows. A - CP-866 MS DOS. K - -8. 5 - ISO 8859/5. : - roman, . i - italic, . b - bold, . NN: : 08, 10, 12, 14, 18, 24 : smcW-08 sscKb-24 XLFD (X logical font definition): --------------------------------------- -chu-crcT-medium-r-normal--13-80-96-96-m-70-koi-8 sscT bold o 15-100 90 iso8859-5 smcT 16-120 90 ibm-1251 19-140 120 24-180 170 36-240 220 80 100 -medium-r- 120, 140, 180, 240 -bold-r- -medium-o- (italic). !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!! , !!! !!! XLFD . !!! !!! ( ) !!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!  CDE . ------------------------------------------ CDE size Chu --------------------------------------------- 1) xxs extra-extra small -- 2) xs extra small -08 default 3) s small -10 4) m medium -12 5) l large -14 6) xl extra large -18 7) xxl extra-extra large -24 . ----------------- , FONT PATH, xset -q /usr/openwin/lib/X11/fonts/cyrill /usr/openwin/lib/X11/fonts/cyrill-Type1 xrdb (X resources database manager): % xrdb Font.Name: crcK-24 ^D <-- CTRL/D % cxterm & , : % xterm -fn crcK-24 & xlsfonts - - xfd -fn crcK-12 & xfd -fn crc5-12 & xfd -fn crcW-12 &  . --------------- , , $OPENWINHOME/lib/locale/ru.koi_8/Xdefaults $OPENWINHOME/lib/locale/ru.iso_8859_5/Xdefaults $OPENWINHOME/lib/locale/ru.mswcyr/Xdefaults CDE /etc/dt/config/ru.koi_8/sys.resources /etc/dt/config/ru.iso_8859_5/sys.resources /etc/dt/config/ru.mswcyr/sys.resources : *ߐ: *ߐ: . -8: ! Added by Cyrillic Package ! Define Cyrillic fonts (KOI-8) ! OpenWindows.TextFont: smcK-12 OpenWindows.TitleFont: smcKb-14 OpenWindows.ButtonFont: sscKb-12 Font.Name: sscK-12 <- Icon.Font.Name: sscK-10 olwm.TextFont: smcK-12 olwm.ButtonFont: smcK-12 olwm.TitleFont: smcKb-12 Mwm*menu*background: pink Mwm*fontList: -chu-sscK-bold-r-normal-*-*-120-*-*-*-*-koi-8: nptool.Font.Name: fixed *font: crcK-12 !Tuning of OpenLook Virtual Window Manager OpenWindows.VirtualSticky: xclock clock oclock xwall OpenWindows.VirtualForegroundColor: white OpenWindows.VirtualBackgroundColor: yellow OpenWindows.UseImages: UseAll OpenWindows.InputFocusColor: pink OpenWindows.UniqueIconSlots: True OpenWindows.FreeIconSlots: True OpenWindows.ShowResizeGeometry: True OpenWindows.ShowMoveGeometry: True OpenWindows.SelectDisplaysMenu: False ! Trailer Cyrillic Package , .OWdefaults .Xdefaults . : ~/.Xdefaults ~/.Xresourses ~/.OWdefaults ~/.openwin-init ~/.keytable ~/.dt ( ) xrdb -q | more  . --------------- $OPENWINHOME/lib/Xinitrc Xmodmaprc Xdefaults , . - $HOME/.Xmod++ locale . -------------------------- locale - , , , ,... man setlocale man ctype /usr/lib/locale/ru.koi_8 /usr/lib/locale/ru.iso_8859_5 /usr/lib/locale/ru.mswcyr /usr/lib/locale/ru.altdos ( setlocale(LC_ALL, ""); ) X Display Manager. ------------------ X Display Manager (xdm). , /usr/openwin/lib/xdm/* Xresources - . StartOW - X-server. Xsession - , . Xsetup_0 - , Xlogin. man xdm , !!! ------------------------------------- xdm ~/.profile - ~/.login . /etc/skel .login, .cshrc, .profile, . ! XDM. ~~~~~~~~~~~~~~~ xdm (xlogin) -> Xsession -> $HOME/.profile -> Xinitrc -> xterm -> sh xdm (xlogin) -> Xsession -> $HOME/.profile -> Xinitrc -> xterm -> csh -> $HOME/.cshrc console login ( ) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ login -> sh -> $HOME/.profile -> \ -> $OPENWINHOME/bin/openwin -> Xinitrc -> xterm -> sh login -> csh -> $HOME/.cshrc -> $HOME/.login -> \ -> $OPENWINHOME/bin/openwin -> Xinitrc -> xterm -> csh -> $HOME/.cshrc telnet rlogin ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ telnet -> login -> sh -> $HOME/.profile telnet -> login -> csh -> $HOME/.cshrc -> $HOME/.login dtlogin CDE ~~~~~~~~~~~~~~~~~~~~~~ /etc/rc2.d/S99dtlogin -> dtlogin -> ... -> /usr/dt/bin/Xsession -> ... ->\ -> /etc/dt/config/Xsession.d/0055.cyrillic -> $HOME/.profile ->\ -> xterm -> sh -> csh -> $HOME/.cshrc Co