📄 install-unix.me
字号:
.bp.sh 1 "Installing the Interpress Toolkit on Unix".lpThe initial installation of the \*(IP toolkitis accomplished by positioning tothe top level directory and issuing a ``make all''. Thiscreates the Interpress run time library and various executables in theappropriate lib and bin subdirectories. A subsequent ``make install'' willcopy the relevant parts of the toolkit (executables, manual pages, fontlibraries, include files and run time library) to the appropriate localdirectories for convenient use (currently /usr/new/...). If local requirements dictate that a different directory be used, the Makefile can bemodified accordingly. .lpDoing a ``make clean'' at the top levelwill remove all the object files and executablesfrom this sub-tree..sh 2 "Installing Support For \*(TR".lpThis package only works with Typesetter-Independent \*(TR. Most Unixsystems are distributed with a \*(TR for the Graphics Systems C/A/T-4phototypesetter. Typesetter-Independent \*(TR is available fromAT&T either seperately or as part of the Documentor's Workbench..lpAt this writing, all development and testing has occured on Xerox 8044s.More to the point, the 8044 is the only printer for which the \*(TRfonts are supplied.On the other hand, there are no known limitiations thatmight prevent this package from working on other printers..sh 3 "Installing the Fonts on Your Printer".lpSpecial \*(TR fonts have been developed for use with this package.While the product font ``Classic'' was used in earlier releases, itwas decided to create new fonts for the following reasons:.ba +5.ip "\(bu"Many existing \*(TR documents were created for the C/A/T phototypesetterand use its many point sizes..ip "\(bu"The Eqn preprocessor requires many special symbols,like the bracket building characters, which had to be specially created..ip "\(bu"In the commercial Xerox fonts, some characters do not exist in all point sizes..ba -5.lpThe Troff fonts are distributed on five (5) floppies.If the floppies were not included in the distribution, they can be obtained from Xerox by writing to the address in Appendix I.These fonts include the point sizes: 6-14, 16, 18, 20, 22, 24,28, 30, 32 and 36..lpTo install the fonts on your printer, login on the printer with a systemadministrator's account and issue the ``enable'' command.Then type on the console: ``Stop Printing''.Insert the first floppy(order doesn't matter), then type ``Install From Floppy''. Answer ``Yes'' toall questions. Continue to insert and install the rest of the floppies. Whendone, type ``Start Printing'' and wait while a new font catalog is compiled..sh 3 "Installing the Host Software".lpWe use the Multiple Device Queuing System (MDQS) software packagefrom BRL-VGR.arpa to spool to our printers. The programs ``maha'' and``dipress'' both exec the program ``qip'' to enqueue an Interpress master.You may want to use the shell script ./src/bin/qip as a model to work from.Comments in that file detail what options qip is called with. .lpThe top level makefile has a variable at the front whose valueis the location of your TI-Troff executable. You should examineit for correctness in your environment..lpFont metrics are information about fonts rather than the characterrepresentations themselves. The most commonly needed informationis a character's width. In this distribution,font metrics for TI-Troff are created from an Interpress metric master(s).The conf/troff directory is set-up to install metrics for the followingfont families: TroffClassic, (product) Classic, Modern, Terminal and Titan.If you have metrics for other fonts on your printer,copy them into conf/troff and modify the makefile to use them.Ipmetrics will create a shell script that wants to execute the program``makedev''. This program comes with TI-Troff and you will want it in your search path.See the manual page for ipmetrics for more information on this topic..lpShould you want to use a pre-System V, Rel. 2 TI-Troff, note that the formatof the font file changed slightly (but incompatibly) between releases. Ifyou have an older TI-\*(TR, change the size of the array ``intname'' (internalname) in dev.h from 21 to 10..lpIn the TI-Troff world, pre-processors know certain information aboutthe output devices. These pre-processors.i mustbe modified if correct output is to be produced. Files processed withthe default device type look squeezed together.You will have to edit programs like eqn and picto know about ``-Tip'' or ``-Tipress''. The minimum point size of ourcurrent release is 6 pt. and the \*(IP masters have a gridresolution of 2540 units per inch (ten microns).Below are differences from our System V,release 2 sources for eqn, pic and tbl:.(b L.nfEQN/e.h: 33a39 > #define DEVIPRESS 7 /* Xerox Interpress */EQN/io.h: 177a183,185 > else if (strncmp(&svargv[1][2], "ip", 2) == 0 ) > {res = 2540; minsize = 6; ttype = DEVIPRESS; }EQN/sqrt.c: 9c9 < if (ttype == DEVCAT || ttype == DEVAPS) --- > if (ttype == DEVCAT || ttype == DEVAPS || ttype == DEVIPRESS)PIC/pic.h 26a27 > #define DEVIPRESS 7 /* Xerox Interpress */PIC/main.c 103a108,112 > } else if (strncmp(&argv[1][2], "ip", 2) == 0 ) { > res = 2540; > devtype = DEVIPRESS; > DX = DY = 1;.)b.lpTI-\*(TR itself has a bug where it won't always correctly parse font numbersin it's input if there are more than nine fonts. The basic erroroccurs on lines of the form:.(l I\f(TRif ((k = i - '0') >= 0 && k <= nfonts && k < smnt) return(k).)lIn this example (taken from t6.c), ``i'' represents the font name rightjustified and zero filled. In \*(TR, fonts can be named by their nameor by their position number. The above test trys to see if the valueof ``i'' is a position number and if so, return the integer value of thatnumber. But note that the ASCII to binary conversion only works forone digit position numbers. If the position is greater than ten, thenthe test will fail.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -