:


 From: "Andrew S. Bogatyirev (Soft Eng)" (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 * * * * * ***************************************************************************** (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 CommonDesktopEnvironment : 1) LANG dtlogin, .profile 2) /usr/dt/bin/Xsession DT=true ( xterm ). .profile : if [ ! "$DT" ] ; then ... stty -istrip cs8 erase "^H" kill "^U" swtch "^-" ... LANG=... ... fi ~~~~~~~~ /etc/dt/backdrops/*.pm XPM. /etc/dt/config/Xresources Dtlogin*logo*bitmapFile: /etc/dt/backdrops/cat.pm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xdm, .xsession-errors . . XDM , , /var/tmp/xdm-errors. - CDE /var/dt/Xerrors $HOME/.dt/startlog $HOME/.dt/errorlog $HOME/.dt/sessionlogs/* , $HOME/.dtprofile ( , ): # export dtstart_sessionlogfile="/dev/null"

~~~~~~~~~~~~~~~~~~~ " ! ." xlogin: - XDM login: - , , , ... - , xlogin . , ~/.profile ( ~/.xsession-errors). , - . : - XDM login: - , , . ... xterm. 8 24 ~~~~~~~~~~~~~~~~~~~ xdm SPARCstation 5 24- frame buffer- S24 X server defaultdepth=8 , 24 (defaultdepth = ). 24 , () $OPENWINHOME/lib/xdm/StartOW : # Start X server on S24 frame buffer (for SS5) in 8 bit mode, not 24. if [ -c /dev/fbs/tcx0 ] ; then pass="$pass -dev /dev/fbs/tcx0 defdepth 8" fi SX X-server 24- , : ( -) # Start X server on SX frame buffer (for SS20) in 24 bit mode. # if [ -c /dev/fbs/cgfourteen0 ] ; then # pass="$pass -dev /dev/fbs/cgfourteen0 defdepth 24" # fi depth X-server, : a) xdpyinfo b) ps -ef | fgrep X ( X-server). man X11 openwin xdm Xserver Xsun ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/openwin/bin/openwin /usr/openwin/bin/X $DISPLAY -auth $HOME/.xsun.`uname -n`$DISPLAY xdm /usr/openwin/bin/X $DISPLAY -auth /var/tmp/A$DISPLAY- ------------------------- xprop - xlsclients -l - X- xdpyinfo - X xev - keysym keycode . .

----------------------------- , , . , Prog*fontList: XLFD-fontname . : , X- , FONTPATH ( xset -q). ~~~~~~ xset +fp cyrill-aliases , . , : fonts.dir ~~~~~~~~~~~~~~~~~ 0 , 0 . fonts.alias ... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Helvetica "-paragraph-PragmaticaCK-medium-r-normal--0-0-0-0-p-0-koi-8" -b&h-lucida-medium-r-normal--0-0-0-0-p-0-iso8859-1 \ "-paragraph-JournalSansCK-medium-r-normal--0-0-0-0-p-0-koi-8" , , . , = $LANG . fonts.alias -8: -adobe-courier-medium-r-normal--0-0-0-0-m-0-iso8859-1 "-paragraph-CourierCK-medium-r-normal--0-0-0-0-m-0-koi-8" -adobe-courier-medium-o-normal--0-0-0-0-m-0-iso8859-1 "-paragraph-CourierCK-medium-i-normal--0-0-0-0-m-0-koi-8" -adobe-courier-bold-r-normal--0-0-0-0-m-0-iso8859-1 "-paragraph-CourierCK-bold-r-normal--0-0-0-0-m-0-koi-8" -adobe-courier-bold-o-normal--0-0-0-0-m-0-iso8859-1 "-paragraph-CourierCK-bold-i-normal--0-0-0-0-m-0-koi-8" -adobe-times-medium-r-normal--0-0-0-0-p-0-iso8859-1 "-paragraph-NewtonCK-medium-r-normal--0-0-0-0-p-0-koi-8" -adobe-times-medium-i-normal--0-0-0-0-p-0-iso8859-1 "-paragraph-NewtonCK-medium-i-normal--0-0-0-0-p-0-koi-8" -adobe-times-bold-r-normal--0-0-0-0-p-0-iso8859-1 "-paragraph-NewtonCK-bold-r-normal--0-0-0-0-p-0-koi-8" -adobe-times-bold-i-normal--0-0-0-0-p-0-iso8859-1 "-paragraph-NewtonCK-bold-i-normal--0-0-0-0-p-0-koi-8" -adobe-helvetica-medium-r-normal--0-0-0-0-p-0-iso8859-1 "-paragraph-PragmaticaCK-medium-r-normal--0-0-0-0-p-0-koi-8" -adobe-helvetica-medium-o-normal--0-0-0-0-p-0-iso8859-1 "-paragraph-PragmaticaCK-medium-i-normal--0-0-0-0-p-0-koi-8" -adobe-helvetica-bold-r-normal--0-0-0-0-p-0-iso8859-1 "-paragraph-PragmaticaCK-bold-r-normal--0-0-0-0-p-0-koi-8" -adobe-helvetica-bold-o-normal--0-0-0-0-p-0-iso8859-1 "-paragraph-PragmaticaCK-bold-i-normal--0-0-0-0-p-0-koi-8" , ( /usr/openwin/lib/locale/C/OWfontpath ). $OPENWINHOME/lib/X11/fonts/cyrill-aliases++ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alias-, /usr/openwin/lib/locale/C/OWfontpath Sun- ShowMe. ShowMe 4 XLFD : -*-helvetica-bold-r-*--12-* -*-helvetica-bold-r-*--14-* -*-helvetica-medium-r-*--18-* -*-helvetica-medium-r-*--24-* -adobe-helvetica-bold-r-normal--12-120-75-75-p-70-iso8859-1 -adobe-helvetica-bold-r-normal--14-140-75-75-p-82-iso8859-1 -adobe-helvetica-medium-r-normal--18-180-75-75-p-98-iso8859-1 -adobe-helvetica-medium-r-normal--24-240-75-75-p-130-iso8859-1 , -adobe- , XLFD . : -ada-helvetica-bold-r-normal--12-120-75-75-p-70-iso8859-1 -ada-helvetica-bold-r-normal--14-140-75-75-p-82-iso8859-1 -ada-helvetica-medium-r-normal--18-180-75-75-p-98-iso8859-1 -ada-helvetica-medium-r-normal--24-240-75-75-p-130-iso8859-1 , -adobe-* , . , , Open Vision HA *hel*-b*-r-*-14-* *hel*-b*-r-*-18-* . : 1) OWfontpath !$OPENWINHOME/lib/X11/fonts/cyrill-aliases++ (). 2) ( ) % xset -fp $OPENWINHOME/lib/X11/fonts/cyrill-aliases++ ( )

    PostScript Adobe Type I .

===================================== Paragraph. : <> -fn <ߔ>-<__> xfd -fn XeniaExtendedC-Bold-40 xterm -fn AcademyC-14 xfd - , , . , '+', PostScript , HP LaserJet 4 ( ). NeWSprint , . . PC: Courier866-normal Courier866-Bold Courier866-BoldItalic Courier866-Italic : MS Windows 1251 ISO 8859/5 -8 AcademyC-Bold AcademyC5-Bold AcademyCK-Bold + AcademyC-Italic AcademyC5-Italic AcademyCK-Italic AcademyC AcademyC5 AcademyCK AdverGothicC AdverGothicC5 AdverGothicCK AstronC AstronC5 AstronCK + BalticaC-Bold BalticaC5-Bold BalticaCK-Bold + BalticaC-Italic BalticaC5-Italic BalticaCK-Italic + BalticaC BalticaC5 BalticaCK BetinaScriptC-Bold BetinaScriptC5-Bold BetinaScriptCK-Bold BetinaScriptC BetinaScriptC5 BetinaScriptCK + BodoniC-Bold BodoniC5-Bold BodoniCK-Bold + BodoniC-BoldItalic BodoniC5-BoldItalic BodoniCK-BoldItalic + BodoniC-Italic BodoniC5-Italic BodoniCK-Italic + BodoniC BodoniC5 BodoniCK + BodoniCondC BodoniCondC5 BodoniCondCK CompactC-Bold CompactC5-Bold CompactCK-Bold CompactC-BoldItalic CompactC5-BoldItalic CompactCK-BoldItalic CompactC-Italic CompactC5-Italic CompactCK-Italic CompactC CompactC5 CompactCK CorridaC CorridaC5 CorridaCK CourierC-Bold CourierC5-Bold CourierCK-Bold CourierC-BoldItalic CourierC5-BoldItalic CourierCK-BoldItalic CourierC-Italic CourierC5-Italic CourierCK-Italic CourierC CourierC5 CourierCK DecorC DecorC5 DecorCK DidonaC DidonaC5 DidonaCK FreeSetC-Bold FreeSetC5-Bold FreeSetCK-Bold FreeSetC FreeSetC5 FreeSetCK FuturaEugeniaC FuturaEugeniaC5 FuturaEugeniaCK FuturisC FuturisC5 FuturisCK FuturisXC-Bold FuturisXC5-Bold FuturisXCK-Bold FuturisXC FuturisXC5 FuturisXCK FuturisXCondC-Bold FuturisXCondC5-Bold FuturisXCondCK-Bold FuturisXCondC FuturisXCondC5 FuturisXCondCK InformC-Bold InformC5-Bold InformCK-Bold InformC InformC5 InformCK IzhitsaC IzhitsaC5 IzhitsaCK JournalC-Bold JournalC5-Bold JournalCK-Bold JournalC-Italic JournalC5-Italic JournalCK-Italic JournalC JournalC5 JournalCK JournalSansC-Bold JournalSansC5-Bold JournalSansCK-Bold JournalSansC-Italic JournalSansC5-Italic JournalSansCK-Italic JournalSansC JournalSansC5 JournalSansCK LazurskiC-Bold LazurskiC5-Bold LazurskiCK-Bold LazurskiC-BoldItalic LazurskiC5-BoldItalic LazurskiCK-BoldItalic LazurskiC-Italic LazurskiC5-Italic LazurskiCK-Italic LazurskiC LazurskiC5 LazurskiCK MonoCondensedC-Bold MonoCondensedC5-Bold MonoCondensedCK-Bold MonoCondensedC-BoldItalic MonoCondensedC5-BoldItalic MonoCondensedCK-BoldItal MonoCondensedC-Italic MonoCondensedC5-Italic MonoCondensedCK-Italic MonoCondensedC MonoCondensedC5 MonoCondensedCK MyslC-Bold MyslC5-Bold MyslCK-Bold MyslC-BoldItalic MyslC5-BoldItalic MyslCK-BoldItalic MyslC-Italic MyslC5-Italic MyslCK-Italic MyslC MyslC5 MyslCK NewtonC-Bold NewtonC5-Bold NewtonCK-Bold NewtonC-BoldItalic NewtonC5-BoldItalic NewtonCK-BoldItalic NewtonC-Italic NewtonC5-Italic NewtonCK-Italic NewtonC NewtonC5 NewtonCK NewtonXC NewtonXC5 NewtonXCK ParsekC ParsekC5 ParsekCK PetersburgC-Bold PetersburgC5-Bold PetersburgCK-Bold PetersburgC-BoldItalic PetersburgC5-BoldItalic PetersburgCK-BoldItalic PetersburgC-Italic PetersburgC5-Italic PetersburgCK-Italic PetersburgC PetersburgC5 PetersburgCK PragmaticaC-Bold PragmaticaC5-Bold PragmaticaCK-Bold PragmaticaC-BoldItalic PragmaticaC5-BoldItalic PragmaticaCK-BoldItalic PragmaticaC-Italic PragmaticaC5-Italic PragmaticaCK-Italic PragmaticaC PragmaticaC5 PragmaticaCK PragmaticaCondC-Bold PragmaticaCondC5-Bold PragmaticaCondCK-Bold PragmaticaCondC PragmaticaCondC5 PragmaticaCondCK QuantAntiquaC-Bold QuantAntiquaC5-Bold QuantAntiquaCK-Bold QuantAntiquaC-Italic QuantAntiquaC5-Italic QuantAntiquaCK-Italic QuantAntiquaC QuantAntiquaC5 QuantAntiquaCK SchoolBookC-Bold SchoolBookC5-Bold SchoolBookCK-Bold SchoolBookC-BoldItalic SchoolBookC5-BoldItalic SchoolBookCK-BoldItalic SchoolBookC-Italic SchoolBookC5-Italic SchoolBookCK-Italic SchoolBookC SchoolBookC5 SchoolBookCK StandardPosterC StandardPosterC5 StandardPosterCK TextBookC-Bold TextBookC5-Bold TextBookCK-Bold TextBookC-Italic TextBookC5-Italic TextBookCK-Italic TextBookC TextBookC5 TextBookCK XeniaC XeniaC5 XeniaCK XeniaCondensedC XeniaCondensedC5 XeniaCondensedCK XeniaExtendedC-Bold XeniaExtendedC5-Bold XeniaExtendedCK-Bold XeniaExtendedC XeniaExtendedC5 XeniaExtendedCK XeniaWesternC-Italic XeniaWesternC5-Italic XeniaWesternCK-Italic ZhikharevC ZhikharevC5 ZhikharevCK

    CDE

======================================= myfile.gif myfile.jpg /usr/local/bin/xv myfile.gif . "Save". XPM/FullColor/OK. Quit. myfile.xpm : mv myfile.xpm myfile.pm vi vi myfile.pm : ......" }; - . : sxpm myfile.pm . : mv myfile.pm /etc/dt/backdrops/myfile.pm . : $HOME/.dt/sessions/home/dt.resources Dtwm*0*ws4*backdrop*image: myfile 4 - workspace . ( dtlogin), /etc/dt/config/Xresources : Dtlogin*logo*bitmapFile: /etc/dt/backdrops/myfile.pm

    .

========================= /usr/local, /opt/local. /usr/local , , GNU. /usr/local ( /opt/local) . , local 18 . , /usr/local ( ), ( /opt). 1) /usr/local/bin/olvwm, man olvwm man olvwmrc olvwm ( ), . ------------------------------------------------------------- | Meta ( ) + Fn. | ------------------------------------------------------------- $HOME/.olvwmrc, : Screen 4 { AnswerBook } Screen 5 { Audio } 2) , /usr/local/bin koi2iso < KOI_file > ISO_file koi2iso -from < ISO_file > KOI_file koi2win [-plain] < KOI_file > MS_Windows_file koi2win [-plain] -from < MS_Windows_file > KOI_file koi2dos - -8 IBM PC (MS DOS). koi2dos -from - -8 chcode [-replace] files.... chcode [-r] files.... . -replace ( -r) , . . : koi_8 mswcyr iso_8859_5 altdos 3) : xloadmap - , $LANG. - koi_8. xloadmap - . koi_8 iso_8859_5 mswcyr altdos 4) : whichlang - , . : whichlang -- xspy - , , . Compose CapsLock. xfonts - . cxterm - X- ( man cxterm). MIT xterm X Window System. ( Sun- ) OpenLook (XView) Motif. , CTRL + ߊ. , . /usr/local/bin/pseudographics . ! Adobe Type1 , - Courier866. , , ensc ( ), MS DOS Courier866-normal Courier866-Bold Courier866-Italic Courier866-BoldItalic pseudographics | ensc | dolp cxterm $SHELL, . SHELL=/bin/csh ( vcsh), csh ~/.cshrc cxterm -ls "login shell", : ~/.cshrc ~/.login csh $HOME/.profile sh, ksh cxterm : - - - - - . - . xterm.altdos - CP866 ( , MS DOS). gzip gunzip - GNU : *.z . gzip . gunzip *.z . zcat - *.z , zcat archive.tar.z | tar xvf - vcsh - csh ( man vcsh). wm - window manager - ( man wm). less - ( more), , . sxpm - XPM . xv - 3. freeware, bradley@cis.upenn.edu . xloadimage - , . xloadimage -help. : ~/.xinitrc ~/.openwin-init toolwait xloadimage -onroot /usr/openwin/share/images/raster/bg.rs cproto - (. man cproto) mailx - RelCom. - /usr/local/lib/mail man mailx. /usr/local/lib/mail/maildomain /usr/local/lib/mail/Mail.rc . From: headline From '$r <$u@$h>' ( Mail.rc), $u - , $h - . - (hostname). user@host.msk.su /usr/local/lib/mail/maildomain host.msk.su , - - . quatro - PostScript . , : zcat file.ps.gz | quatro -2z | dolp quatro -h killproc : killproc xclock strlook STREAMS . pcal - PostScript pcal -w man pcal : pcal | dolp pcal -w | dolp mosaic - Internet- . smtpgate - PC. README /usr/local/src/smtpgate/* pop2d - POP-2 . . webcp - WEB . /usr/local/src/webcp/* man vcsh man cbook man mime 5) Adobe Type I . man t1ascii (1), t1asm (1), t1binary (1), t1disasm (1), unpost (1).

    .

====================== , : - LANG locale. - . - . , cxterm, , mswcyr. : #!/bin/sh xloadmap mswcyr LANG=ru.mswcyr cxterm -fn crcW-12 xloadmap # $LANG exit 0

    .

========================= , TIMEZONE. 1) /usr/share/lib/zoneinfo /usr/share/lib/zoneinfo/Moscow.src man zic man timezone , XXX Russia/Town. zic XXX /usr/share/lib/zoneinfo/Russia/Town 2) /etc/timezone -- Russia/Town _NIS___ /etc/default/init -- TZ=Russia/Town /etc/default/init - , .

    .

=========================================== Solaris 1.1 SELECT () . Solaris 2.x . OpenWindows.SelectDisplaysMenu: False True Xdefaults ~/.OWdefaults True - . False - , - (Close). False. OpenWindows.SelectDisplaysMenu: False Resize Cursors ============== olwm olvwm . -, ~/.OWdefaults ~/.Xdefaults : OpenWindows*CursorSpecialResize: True

================== X-terminal cxterm . vcsh, le, wm . /etc/termcap ( symlink /usr/share/lib/termcap) xterm-Sg cxterm. vcsh : f1 f2 ... f9 f0 f. f- F1 F2 F9 F10 F11 F12 kh - HOME kH - END kN - PgDn (Next) kP - PgUp (Previous) kI - Insert kD - Del kb - BackSpace kB - BACKTAB (Shift + TAB) kl - kr - ku - kd - gs - ge - g1 - g2 - g1=HV123456789 H - V - 7--8--9 | | | 4--5--6 | | | 1--2--3

    STREAMS- ().

============================================== , . telnet PC NFS, PC " DOS", - -8. . STREAMS- "trcode". write() read() ioctl() | A | | |WRITE |READ | | [==========================] ttcompat [==========================] ldterm [==========================] trcode | | V | ######### ============ : READ WRITE : NORMAL ALTER. , . ioctl(), . "" , . : , . , . - READ (, ). ('\0). CTRL/N NORMAL --> ALTER CTRL/O ALTER --> NORMAL , "trcode" , . . "". ------------------------ . . -------------------- , "trcode" . 1) strlook - , STREAM. strlook - . strlook ... - . strlook -i - stdin strlook -o - stdout "trcode", stream-. 2) trload - "trcode". trload -i stdin trload -o stdout () trload -e stderr trload -t /dev/tty . trload [-v] -query trload [-v] -q -v 0, trcode ; 1, . -v STREAMS . trload [-v] trload -load trcode STREAM. : <> ttcompat - BSD ldterm - line discipline, man termio termios trcode - <_> -v . trunload [-v] trload -u trload -unload trcode STREAM. : <> ttcompat ldterm <_> trload -push trcode STREAM. trload -pop trcode STREAM. , , STREAM. trload -tname <_> trcode . <_> ( <> , - ): RN:: RA:: WN:: WA:: R READ W WRITE N NORMAL A ALTER - : koi_8 iso_8859_5 mswcyr altdos ":" , : I:I - ( ) qwerty:koi_8 qwerty:iso_8859_5 qwerty:mswcyr , . qwerty... QWERTY... ... ... CTRL/N, CTRL/O. trload -tload <__> <_> trcode . <_> : RN:<_> RA:<_> WN:<_> WA:<_> <_> . : - , # - . - : # '1' 200 'A' 201 243 253 0xFF 222 120 'A' 55 0xFE 66 ^G , - . : 'c' - 0xFF - ^C - CTRL/ \377 - 999 - , , . trload -rswitchN c trload -rswitchA c trload -wswitchN c trload -wswitchA c . r - READ, w - WRITE. N - NORMAL ALTER, A - ALTER NORMAL. : ^- NO none - , ^C - CTRL/ ( csh: "^C" ) c - trload -rstate N trload -rstate A trload -wstate N trload -wstate A : rstate - READ, wstate - WRITE. N - NORMAL, A - ALTER. ( -unload -pop) : trload -o -v -push -tname RN:koi_8:altdos strlook UNIX STREAMS, "trcode" : date | ( trload -i -v -push -tname RN:koi_8:altdos ; cat ) (trload -o -push -tname WN:koi_8:altdos; date) | cat (trload -push -tname WN:koi_8:altdos; date) | cat DOS ( , date -8). 3) dosterm trcode telnet- PC NFS. PC telnet, dosterm. DOS PC , $LANG. 4) dumbterm trcode " " CTRL/N CTRL/O QWERTY-. : ~~~~~~~~~~ trload -tname RA:qwerty:koi_8 -rswitchN ^N -rswitchA ^O -escseq on -esclength 3 , ESC- ESC [ A CTRL/N , ESC [ ( terminfo termcap). , ESC-. trload -esc c , ESC-. ESC - ^[ '\033' trload -escseq on trload -escseq off / ESC-. . trload -esclength N (N 3) ESC- N. 0 - . , ESC ( -esc c), N-1 . "ESC [ A" 3. , ESC- , ESC [ A ESC [ 2 2 2 z : ~~~~~~~~~~ trload -load -tname RA:qwerty:koi_8 -rswitchN "^N" -rswitchA "^O" -escseq on -esctime 33 trload -esctime N ESC-. ESC ( -esc C), N ( 100 - Solaris 2.x). ESC [ A ESC [ 2 2 2 z " " . . ESC, , . N. 1) ESC-. 2) , , . 1 . SPARC- 3 . , , 33 = 1/3 . dumbterm. : ~~~~~~~~~~ ESC-, ESC [ A ^A A , ESC-: trload -esc c trload -esc2 c trload -esc3 c trload -esc4 c

    Adobe Type I X Window System.

=================================================== 1) Font.pfa Font.afm Font-Bold.pfa Font-Bold.afm Font-Italic.pfa Font-Italic.afm Font-BoldItalic.pfa Font-BoldItalic.afm /usr/openwin/lib/X11/fonts/Type1 /usr/openwin/lib/X11/fonts/Type1/afm ( $DIR) ($DIR/afm) 2) $DIR/fonts.scale Font.pfa -company-fontname-medium-r-normal--0-0-0-0-m-0-koi-8 Font-Bold.pfa -company-fontname-bold-r-normal--0-0-0-0-m-0-koi-8 Font-Italic.pfa -company-fontname-medium-i-normal--0-0-0-0-m-0-koi-8 Font-BoldItalic.pfa -company-fontname-bold-i-normal--0-0-0-0-m-0-koi-8 -p- -m- fixed width, monospaced company - - (, paragraph), fontname - , -koi-8 -iso8859-5 -ibm-1251 -ibm-866 3) $DIR mkfontdir $DIR/fonts.dir 3.1) Dispaly PostScript $DIR /usr/openwin/bin/makepsres PSres.upr 4) ( XLFD - X logical font description) $DIR/fonts.alias : Font "-company-fontname-medium-r-normal--0-0-0-0-p-0-koi-8" Font-Bold "-company-fontname-bold-r-normal--0-0-0-0-p-0-koi-8" Font-Italic "-company-fontname-medium-i-normal--0-0-0-0-p-0-koi-8" Font-BoldItalic "-company-fontname-bold-i-normal--0-0-0-0-p-0-koi-8" LAST) (). : xset fp rehash ( /usr/openwin/lib/X11/fonts/Type1) : xset fp+ $DIR ( $DIR) TEST) , : xset -q xlsfonts | more . : xfd -fn Font-n xfd -fn Font-Bold-n xfd -fn Font-Italic-n xfd -fn Font-BoldItalic-n n - , .

    PostScript .

============================== , PostScript ( NeWSprint). ? ================================== HP LaserJet 4M+ (altdos) PostScript. admintool, : PrinterPort = /dev/bpp0 PrinterType = PostScript !!! HewlettPackard Printer !!! FileContents = Both PostScript and ASCII ߏ cp /etc/lp/model/russianPS /etc/lp/interfaces/ߏ ! -? ================================= PostScript- /usr/lib/lp/postscript/findPSfont /usr/lib/lp/postscript/loadPSfont loadPSfont /usr/lib/lp/postscript/download , /usr/share/lib/hostfontdir/map *.ps (. man download(1)). : /usr/lib/lp/postscript/findPSfont < file.ps | /usr/lib/lp/postscript/loadPSfont | lp file.ps : %!PS-Adobe-..... %%DocumentFonts: DecorCK %%+ ParsekCK %%DocumentFonts: < > %!PS-Adobe-3.0 %%Creator: Windows PSCRIPT %%Title: untitled %%BoundingBox: 20 20 555 802 %%Pages: 1 %%DocumentFonts: DecorCK NewtonCK NewtonCK-Bold %%DocumentNeededResources: (atend) %%EndComments %%BeginSetup /Word0 ( i ) def /DecorCK findfont 60 scalefont setfont /printWord { 0 0 moveto Word0 show } def %%EndSetup %%Page: "one" 1 40 500 translate % move co-ordinate system origin .95 -.05 0 % start, increment, end { % current loop index is on stack setgray printWord -1 .5 translate } for 1 setgray printWord /NewtonCK findfont 60 scalefont setfont 0 setgray 0 150 translate printWord /NewtonCK-Bold findfont 60 scalefont setfont 0 setgray 640 -300 translate -1 1 scale printWord showpage %%Trailer %%DocumentNeededResources: font NewtonCK-Bold %%+ font DecorCK %%+ font NewtonCK %%EOF , NeWSprint, %% %%DocumentNeededResources: font ..., NeWSprint . , findPSfont PostScript- . findPSfont : findPSfont -rMAPFILE < file.ps ( -r /usr/local/lib/ps/substPSfonts.list) MAPFILE - ( ) ߔ ߔ Courier CourierCK Courier-Bold CourierCK-Bold Courier-Italic CourierCK-Italic Courier-BoldItalic CourierCK-BoldItalic ( !) file.ps . findPSfont -s ( ): findPSfont -s<__>:<__> < file.ps : findPSfont -sEuroRoman-Oblique:Times-Italic -sSansSerif-Bold:Times-Bold < xxx.ps PostScript /usr/local/lib/ps/alias.ps /usr/local/lib/ps PostScript : %!PS-Adobe-N.n %%Creator: %%CreationDate: %%Title: %%BoundingBox: xu yu xl yl %%Pages: %%DocumentFonts: (atend) %%EndComments %%BeginProlog [] (def), %%EndProlog [] %%BeginSetup , %%EndSetup %%Page: one 1 %%Page: two 2 ..... %%Page: N n n- %%Trailer () , (atend) %%EOF [] [ ] loadPSfont , /etc/lp/interfaces/<_>, PostScript . download, loadPSfont : %%DocumentNeededResources: font Courier866-Bold %%+ font Courier866-Italic %%+ font Courier866-normal %%+ font DecorC %%+ font IzhitsaC %%+ font MonoCondensedC %%+ font NewtonC %%+ font NewtonC-Bold %%+ font NewtonC-Italic %%+ font PragmaticaC %%+ font PragmaticaC-Bold %%+ font PragmaticaC-Italic %%+ font PragmaticaCondC %%IncludeResource: font NewtonC (, - -8): chcode koi_8 altdos $* | \ /usr/lib/lp/postscript/postprint -f Courier866-normal | \ /usr/lib/lp/postscript/findPSfont | \ /usr/lib/lp/postscript/loadPSfont | \ lp -d : 1) chcode - altdos, Courier866 ( ). 2) postprint - PostScript-. Solaris- postprint (. /usr/lib/lp/postscript/postprint.ps), Encoding-. man postprint (1). 3) findPSfont - . 4) loadPSfont - . 5) lp - . MonoCondensedCK ( -8): /usr/lib/lp/postscript/postprint -f MonoCondensedCK | \ /usr/lib/lp/postscript/findPSfont | \ /usr/lib/lp/postscript/loadPSfont | \ lp -d postprint 10 . . MonoCondensedCK 5 : /usr/lib/lp/postscript/postprint -s 5 -l 0 -f MonoCondensedCK | \ /usr/lib/lp/postscript/findPSfont | \ /usr/lib/lp/postscript/loadPSfont | \ lp -d -s 5 . -l 0 : 0 , . -f <> -p l landscape -p p portrait -n # # . : , . landscape: /usr/lib/lp/postscript/postprint -p landscape -f MonoCondensedCK | \ /usr/lib/lp/postscript/findPSfont | \ /usr/lib/lp/postscript/loadPSfont | \ lp -d : /usr/lib/lp/postscript/postprint -n 2 -s 6 -l 0 -f MonoCondensedCK | \ /usr/lib/lp/postscript/findPSfont | \ /usr/lib/lp/postscript/loadPSfont | \ lp -d /usr/local/bin/dolp, ( *.ps). dolp: -2 ( 82 -, 104 ) -r landscape -b boldface -i italic -B bold+italic -F Futuris -M MonoCondensed -X Xenia -P Parsek -N Newton -R Pragmatica -a - ASCII , PostScript -p - PostScript , ASCII -v verbose - -sNUM -xNUM NUM -nNUM NUM -dPRINTER ( - default) -t'TITLE' TITLE -lLANG : koi_8 iso_8859_5 mswcyr altdos -s8 82 -s10 66 . -s10. : 2 : lprint -lines 82 -cols 105 ... | dolp -s8 -2 1 : lprint -lines 82 -cols 105 ... | dolp -s8 , , ensc. ensc files... | dolp cat file | ensc | dolp man cbook | ensc | dolp man cbook | ensc | lp PostScript. 66 , -8. " " : C \b C -> _ \b C -> " " - 41 , 70 : ensc -s12 -x1.5 -R -t780 -b45 file.lp | dolp -sN - ================ : 1) -Italic , , . 2) -Oblique , 'c' FontMatrix. 1000x1000 . 1x1, - . 1000x1000 --> 1x1 FontMatrix [ a b c d tx ty ] x1 = a * x1000 + c * y1000 + tx y1 = b * x1000 + d * y1000 + ty [ 0.001 0 0 0.001 0 0 ] NewtonCK. c = 0.001 * sin(_); c . /NewtonCK findfont %%% dup length dict begin { 1 index /FID ne {def} {pop pop} ifelse } forall %%% /FontMatrix [ 0.001 0 -0.0005 0.001 0 0 ] def %%% currentdict end /NewtonCK-Oblique exch definefont pop %%% /NewtonCK-Oblique findfont 60 scalefont setfont

    (mailtool)

========================== Solaris mp ( man mp (1)). mp, - -8 ( - ). $OPENWINHOME/share/xnews/client/mp/*.ps , , ( , man mp) ~/.mailrc ( $HOME/.mailrc) set printmail='mp -c 20 -F -l | dolp' set cmd="mp -c 20 -F | dolp &" set printmail='mp | lp' set cmd="mp | lp &" dolp lp. -F "From" "To" -l landscape ( ). -c 20 20 ( - 18)

    printtool filemgr

================================ ~/.desksetdefaults deskset, printtool filemgr. , : deskset.filemgr.printScript: cat $FILE | mp -l -o | dolp deskset.printtool.lastPrintMethod: cat $FILE | mp -l | dolp -d $PRINTER Letter ================================== Letter: 8.5" x 11.0" %%BeginPaperSize: Letter A4: 8.26" x 11.69" A4, PostScript Letter, Letter ( ); " " - . ( ). sed "s/612 792/595 842/" < file.ps | lp GROFF ================================ PostScript. : GNUroff - GNUrofCyr - man groff man gtroff man gpic man gtbl . : /usr/local/doc/Troff.nroff - nroff/troff /usr/local/doc/Troff.ms-me - MS ME. /usr/local/doc/Troff.misc - ME PIC. : /usr/local/lib/groff/tests : gpic files... | geqn | gtbl | groff -m | dolp gpic files... | geqn | gtbl | groff -m > file.ps groff -m -etp files... | dolp -e EQN -t TBL -p PIC , groff , setenv GROFF_TYPESETTER ps-ru.koi_8 setenv GROFF_TYPESETTER ps-ru.iso_8859_5 setenv GROFF_TYPESETTER ps-ru.mswcyr groff: -Tps-ru.koi_8 -Tps-ru.iso_8859_5 -Tps-ru.mswcyr troff: tbl * | gpic | troff -Tpost -man | /usr/lib/lp/postscript/dpost > file.ps

    WABI

================ MS Windows, Solaris . : 1) WABI 2.x 2) MS Windows 3.1 3.11 3) TrueType (*.ttf). 4) MS Windows cyrwin ( 3 4) STEEPLER. ( cyrwin). "Cyrillic System Fonts", "Original System Fonts". 5) MS Office

    Netscape

==================== : 1) netscape (2.0, 3.0 ) /usr/local/bin/netscape /usr/local/lib/netscape/moz3_0.zip /usr/local/lib/netscape/plugins/libnullplugin.so $OPENWINHOME/lib/app-defaults/Netscape 2) netscape 3) Options/General Preferences/Fonts : For the Encoding: Western (iso-8859-1) Use the Proportional Font: Application (Dt) Use the Fixed Font: Application (Dt) . 4) OK 5) Options/Mail and News Preferences . 6) Options/Save Options . $OPENWINHOME/lib/app-defaults/Netscape : ! ============================================================================ ! Fonts in the widgets. ! These fonts are all down in Motif land, and thus are not controlled by the ! font selector on the Preferences dialog. That applies only to fonts in ! the document display area. ! ============================================================================ ! *fontList: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-* *XmTextField.fontList: -*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-* *XmText.fontList: -*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-* *XmList*fontList: -*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-* ! SGI default: !*menuBar*fontList: -*-helvetica-bold-o-*-*-*-120-*-*-*-*-iso8859-* ! Sensible default: *menuBar*fontList: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-* *menuBar*historyTruncated.fontList:\ -*-helvetica-medium-o-*-*-*-120-*-*-*-*-iso8859-* *popup*fontList: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-* *topArea*fontList: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-* *topArea*XmTextField.fontList: -*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-* *topArea*XmText.fontList: -*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-* !*bookmark*fontList: -*-helvetica-medium-r-*-*-*-120-*-*-*-*-iso8859-* !*bookmark*fontList: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-* !*bookmark*selectedLabel.fontList:\ -*-helvetica-medium-r-*-*-*-120-*-*-*-*-iso8859-* !*bookmark*XmTextField.fontList:-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-* !*bookmark*XmText.fontList: -*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-* *mouseDocumentation.fontList: -*-helvetica-medium-r-*-*-*-120-*-*-*-*-iso8859-* *docinfoButton.fontList: -*-helvetica-medium-r-*-*-*-120-*-*-*-*-iso8859-* *mailto*urlLabel.fontList: -*-helvetica-medium-r-*-*-*-140-*-*-*-*-iso8859-* *licenseDialog*text.fontList: -*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-* ! These are the fonts used in the outline lists used in Mail, News, Bookmarks, ! and Address Book windows. (Note that there can't be any whitespace after ! the commas.) *XmLGrid*fontList:\ -*-helvetica-medium-r-*-*-*-100-*-*-*-*-iso8859-*,\ -*-helvetica-bold-r-*-*-*-100-*-*-*-*-iso8859-*=BOLD,\ -*-helvetica-medium-o-*-*-*-100-*-*-*-*-iso8859-*=ITALIC ................................. ! ! Navigator mouse documentation. ! *tipLabel.fontList: -*-helvetica-medium-r-*-*-*-120-*-*-*-*-iso8859-* (CK koi_8): ! ============================================================================ ! Fonts in the widgets. ! These fonts are all down in Motif land, and thus are not controlled by the ! font selector on the Preferences dialog. That applies only to fonts in ! the document display area. ! ============================================================================ ! *fontList: -*-PragmaticaCK-bold-r-*-*-*-120-*-*-*-*-*-* *XmTextField.fontList: -*-CourierCK-medium-r-*-*-*-120-*-*-*-*-*-* *XmText.fontList: -*-CourierCK-medium-r-*-*-*-120-*-*-*-*-*-* *XmList*fontList: -*-CourierCK-medium-r-*-*-*-120-*-*-*-*-*-* ! SGI default: !*menuBar*fontList: -*-PragmaticaCK-bold-o-*-*-*-120-*-*-*-*-*-* ! Sensible default: *menuBar*fontList: -*-PragmaticaCK-bold-r-*-*-*-120-*-*-*-*-*-* *menuBar*historyTruncated.fontList:\ -*-PragmaticaCK-medium-i-*-*-*-120-*-*-*-*-*-* *popup*fontList: -*-PragmaticaCK-bold-r-*-*-*-120-*-*-*-*-*-* *topArea*fontList: -*-PragmaticaCK-bold-r-*-*-*-120-*-*-*-*-*-* *topArea*XmTextField.fontList: -*-CourierCK-medium-r-*-*-*-120-*-*-*-*-*-* *topArea*XmText.fontList: -*-CourierCK-medium-r-*-*-*-120-*-*-*-*-*-* !*bookmark*fontList: -*-PragmaticaCK-medium-r-*-*-*-120-*-*-*-*-*-* !*bookmark*fontList: -*-PragmaticaCK-bold-r-*-*-*-120-*-*-*-*-*-* !*bookmark*selectedLabel.fontList:\ -*-Pragmatica-medium-r-*-*-*-120-*-*-*-*-*-* !*bookmark*XmTextField.fontList:-*-CourierCK-medium-r-*-*-*-120-*-*-*-*-*-* !*bookmark*XmText.fontList: -*-CourierCK-medium-r-*-*-*-120-*-*-*-*-*-* *mouseDocumentation.fontList: -*-PragmaticaCK-medium-r-*-*-*-120-*-*-*-*-*-* *docinfoButton.fontList: -*-PragmaticaCK-medium-r-*-*-*-120-*-*-*-*-*-* *mailto*urlLabel.fontList: -*-PragmaticaCK-medium-r-*-*-*-140-*-*-*-*-*-* *licenseDialog*text.fontList: -*-CourierCK-medium-r-*-*-*-120-*-*-*-*-*-* ! These are the fonts used in the outline lists used in Mail, News, Bookmarks, ! and Address Book windows. (Note that there can't be any whitespace after ! the commas.) *XmLGrid*fontList:\ -*-PragmaticaCK-medium-r-*-*-*-100-*-*-*-*-*-*,\ -*-PragmaticaCK-bold-r-*-*-*-100-*-*-*-*-*-*=BOLD,\ -*-PragmaticaCK-medium-i-*-*-*-100-*-*-*-*-*-*=ITALIC ................................. ! ! Navigator mouse documentation. ! *tipLabel.fontList: -*-PragmaticaCK-medium-r-*-*-*-120-*-*-*-*-*-* -dt-.... ( ) CDE. ! ============================================================================ ! Fonts in the widgets. ! These fonts are all down in Motif land, and thus are not controlled by the ! font selector on the Preferences dialog. That applies only to fonts in ! the document display area. ! ============================================================================ ! *fontList: -dt-application-bold-r-*-sans-*-120-* *XmTextField.fontList: -dt-application-medium-r-*-serif-*-120-* *XmText.fontList: -dt-application-medium-r-*-serif-*-120-* *XmList*fontList: -dt-application-medium-r-*-serif-*-120-* ! SGI default: !*menuBar*fontList: -dt-application-bold-i-*-sans-*-120-* ! Sensible default: *menuBar*fontList: -dt-application-bold-r-*-sans-*-120-* *menuBar*historyTruncated.fontList:\ -dt-application-medium-i-*-sans-*-120-* *popup*fontList: -dt-application-bold-r-*-sans-*-120-* *topArea*fontList: -dt-application-bold-r-*-sans-*-120-* *topArea*XmTextField.fontList: -dt-application-medium-r-*-serif-*-120-* *topArea*XmText.fontList: -dt-application-medium-r-*-serif-*-120-* !*bookmark*fontList: -dt-application-medium-r-*-sans-*-120-* !*bookmark*fontList: -dt-application-bold-r-*-sans-*-120-* !*bookmark*selectedLabel.fontList:\ -dt-application-medium-r-*-sans-*-120-* !*bookmark*XmTextField.fontList:-dt-application-medium-r-*-serif-*-120-* !*bookmark*XmText.fontList: -dt-application-medium-r-*-serif-*-120-* *mouseDocumentation.fontList: -dt-application-medium-r-*-sans-*-120-* *docinfoButton.fontList: -dt-application-medium-r-*-sans-*-120-* *mailto*urlLabel.fontList: -dt-application-medium-r-*-sans-*-140-* *licenseDialog*text.fontList: -dt-application-medium-r-*-serif-*-120-* ! These are the fonts used in the outline lists used in Mail, News, Bookmarks, ! and Address Book windows. (Note that there can't be any whitespace after ! the commas.) *XmLGrid*fontList:\ -dt-application-medium-r-*-sans-*-100-*,\ -dt-application-bold-r-*-sans-*-100-*=BOLD,\ -dt-application-medium-i-*-sans-*-100-*=ITALIC ................................. ! ! Navigator mouse documentation. ! *tipLabel.fontList: -dt-application-medium-r-*-sans-*-120-* - Netscape popup "Print" dolp lp dolp PostScript . lp, dolp.

    .

========================================= , "core", : 1) chmod a+x program 2) file program - ( sh, ksh, csh) . , . /bin/sh sh -x program arg1 arg2 ... argN 3) ldd program , . : % ldd xCyrInput libXm.so.3 => (not found) libX11.so.4 => /usr/lib/libX11.so.4 libXt.so.4 => /usr/lib/libXt.so.4 libDtSvc.so.1 => (not found) libc.so.1 => /usr/lib/libc.so.1 libXext.so.0 => /usr/openwin/lib/libXext.so.0 libsocket.so.1 => /usr/lib/libsocket.so.1 libnsl.so.1 => /usr/lib/libnsl.so.1 libdl.so.1 => /usr/lib/libdl.so.1 libw.so.1 => /usr/lib/libw.so.1 libintl.so.1 => /usr/lib/libintl.so.1 libmp.so.1 => /usr/lib/libmp.so.1 , libDtSvc . : a) , [] . : /usr/openwin . b) . c) . , , libDtSvc /usr/dt/lib , LD_LIBRARY_PATH , : % setenv LD_LIBRARY_PATH /usr/dt/lib:/usr/openwin/lib:/usr/lib 4) adb. adb program ! :r arg1 arg2 ... argN . , , . $C $? adb $q , ( - ). 5) truss -f -o /tmp/TRACE program arg1 arg2 ... argN /tmp/TRACE . .

============== /usr/lib/locale/$LANG /etc/skel/local.profile /etc/tune_lang $OPENWINHOME/lib/X11/fonts/encodings/cmod.sh $OPENWINHOME/lib/X11/fonts/cyrill/* $OPENWINHOME/lib/X11/fonts/cyrill-Type1/* $OPENWINHOME/lib/X11/fonts/cyrill-Type1/afm/* $OPENWINHOME/lib/Xinitrc $OPENWINHOME/lib/locale/$LANG/Xdefaults $OPENWINHOME/lib/locale/$LANG/Xmodmaprc $OPENWINHOME/lib/Xmodmaprc.* $OPENWINHOME/lib/xdm/StartOW /etc/dt /usr/dt/lib/bindings/sun VirtualBindings (3X), DtEditor (3) |\ _,,,---,,_ /,`.-'`' -. ;-;;,_ |,4- ) )-,_..;\ ( `'-' '---''(_/--' `-'\_)

Last-modified: Mon, 24 Mar 1997 06:35:15 GMT
: