dth, 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- ) )-,_..;\ ( `'-' '---''(_/--' `-'\_)