1 | |
---|
2 | # Copyright 1985,1987,1991,1992 (C) Adobe Systems Incorporated. |
---|
3 | # All rights reserved. |
---|
4 | # GOVERNMENT END USERS: See notice of rights in Notice file in release |
---|
5 | # directory. |
---|
6 | # PostScript is a registered trademark of Adobe Systems Incorporated |
---|
7 | # TranScript is a registered trademark of Adobe Systems Incorporated |
---|
8 | # RCSID: $Header: /afs/dev.mit.edu/source/repository/third/transcript/config.sys,v 1.1.1.1 1996-10-07 20:25:22 ghudson Exp $ |
---|
9 | # |
---|
10 | # This is a shell script that get's "sourced" when building and |
---|
11 | # installing TranScript software. It sets up definitions of the |
---|
12 | # places that TranScript wants to do it's work. |
---|
13 | # This script is concerned with the software itself, not with |
---|
14 | # the printers. Another script (printer.bsd or printer.sysv) is used |
---|
15 | # to configure printers. |
---|
16 | # |
---|
17 | # If you change the values in this script, parts of the TranScript |
---|
18 | # system may need to be remade (recompiled), and reinstalled. |
---|
19 | # |
---|
20 | |
---|
21 | # LINKS - TRUE if your system supports symbolic links, FALSE otherwise. |
---|
22 | LINKS=TRUE |
---|
23 | |
---|
24 | # LP - the pathname for the spooling program on your system (usually either |
---|
25 | # lpr or lp. |
---|
26 | LP=/usr/ucb/lpr |
---|
27 | |
---|
28 | # XPG3 - TRUE if your system is XPG3 compliant, FALSE otherwise. If you |
---|
29 | # don't if your system is XPG3 compliant, some things to look for are the |
---|
30 | # existence of /usr/include/stdlib.h, /usr/include/dirent.h and the tempnam |
---|
31 | # function. If your system is missing any of those, set XPG3 to FALSE. |
---|
32 | |
---|
33 | XPG3=TRUE |
---|
34 | |
---|
35 | # SYS - one of SYSV or BSD. Mostly refers to the spooler and spooling |
---|
36 | # daemon. If your system uses lpr/lpd, you want BSD; if your system uses |
---|
37 | # lp/lpsched, use SYSV. |
---|
38 | OPSYS=BSD |
---|
39 | |
---|
40 | # SOLARIS - TRUE if you have Solaris 2.0 or greater, FALSE otherwise. |
---|
41 | # Solaris is mostly SYSV, but there are some differences in the adminstration |
---|
42 | # of the spooling system. |
---|
43 | SOLARIS=FALSE |
---|
44 | |
---|
45 | # CCOMP - path for C compiler. |
---|
46 | CCOMP=/bin/cc |
---|
47 | |
---|
48 | # |
---|
49 | # BUILDDIR |
---|
50 | # This is a directory where TranScript will do the compilations and |
---|
51 | # other work necessary to build a TranScript release. This allows |
---|
52 | # a convenient mechanism for cleaning up, and for maintaining |
---|
53 | # multiple builds of TranScript for different machine types. |
---|
54 | BUILDDIR=/user/transcript/sun4.1 |
---|
55 | |
---|
56 | # SRCDIR |
---|
57 | # This is the directory where the source programs for building |
---|
58 | # TranScript are stored. Buildprograms.sh (and the other building |
---|
59 | # shell scriptswill link (or copy) files from this directory into |
---|
60 | # BUILDDIR in order to build the release. This directory is |
---|
61 | # typically the directory into which you untarred the tape. |
---|
62 | SRCDIR=/usr/local/src/transcript |
---|
63 | |
---|
64 | # BINDIR |
---|
65 | # This is a directory where TranScript user programs are put. |
---|
66 | # It should be in the PATH of each user that want's to use them. |
---|
67 | # Many UNIX sites will keep these kinds of programs separate |
---|
68 | # from the regular UNIX utilites but in a well-known spot, like |
---|
69 | # "/usr/local/bin", "/usr/local", etc. Whatever you choose, |
---|
70 | # make sure it's in people's search paths. The TranScript |
---|
71 | # installation sequence will write in this directory. |
---|
72 | BINDIR=/usr/local/bin |
---|
73 | |
---|
74 | # PSLIBDIR |
---|
75 | # This is a directory where TranScript keeps lots of things:. |
---|
76 | # spooler interface filters, font metrics files, prologue files, |
---|
77 | # and executables needed by TranScript or administrators, but not |
---|
78 | # by general users. |
---|
79 | PSLIBDIR=/usr/local/lib/ts |
---|
80 | |
---|
81 | # DEFRESPATH |
---|
82 | # The default path to look for fonts and other resources. DEFRESPATH |
---|
83 | # should consist of a colon-separated list of directories. If you only |
---|
84 | # have one directory containing resources, no colon is necessary. |
---|
85 | # The defaults can be overridden by the PSRESOURCEPATH environment |
---|
86 | # variable. PSRESOURCEPATH can include the default path by placing |
---|
87 | # two consecutive colons ("::") in the path. |
---|
88 | # |
---|
89 | # Each directory in the path should contain at least one file with a |
---|
90 | # .upr extension. These files are used for locating resources; they |
---|
91 | # contain mappings from resource name to file name. As part of the |
---|
92 | # installation process, afmfiles.upr will be installed along with the |
---|
93 | # afm files provided in the release into /usr/psres, so |
---|
94 | # /usr/psres should be part of this path. A fuller explanation of the |
---|
95 | # format of a .upr file can be found in the upr man page. |
---|
96 | DEFRESPATH=/usr/psres |
---|
97 | |
---|
98 | # PPDDIR |
---|
99 | # The location of PPD (PostScript Printer Description) files. |
---|
100 | # |
---|
101 | PPDDIR=$PSLIBDIR/ppd |
---|
102 | |
---|
103 | # OWNER GROUP |
---|
104 | # User and group names for installed files |
---|
105 | # On BSD systems, this is typically "root" and "staff" |
---|
106 | # |
---|
107 | OWNER=root |
---|
108 | GROUP=staff |
---|
109 | |
---|
110 | # PSTEMPDIR |
---|
111 | # The temporary directory you want TranScript filters to use |
---|
112 | # when necessary. Sometimes this may need to hold a large print |
---|
113 | # file, so choose a tmp directory on a filesystem with enough |
---|
114 | # space. |
---|
115 | PSTEMPDIR=/usr/tmp |
---|
116 | |
---|
117 | # NROFF |
---|
118 | # Some versions of Unix do not come with nroff. If you do not have |
---|
119 | # nroff, or would prefer to have already nroff'ed man pages |
---|
120 | # installed, set NROFF to TRUE. Note: most versions of Unix put |
---|
121 | # pre-formatted man pages in the cat? directories rather than the man? |
---|
122 | # directories. |
---|
123 | NROFF=FALSE |
---|
124 | |
---|
125 | # EXTCOM, EXTFILES, EXTSYS |
---|
126 | # The extensions for man pages; EXTCOM is for man pages for user |
---|
127 | # commands, EXTFILES for man pages describing file formats, and |
---|
128 | # EXTSYS for system commands. In BSD, these would be 1, 7, and 8, |
---|
129 | # respectively. Other versions of Unix use C, F, and ADM. |
---|
130 | EXTCOM=1 |
---|
131 | EXTFILES=7 |
---|
132 | EXTSYS=8 |
---|
133 | |
---|
134 | # MANCOM MANFILES MANSYS |
---|
135 | # The place you want the on-line manual pages installed. |
---|
136 | # If you want them all in the same place, |
---|
137 | # (e.g., /usr/man/manl), set them all to that. |
---|
138 | # Pre-formatted man pages are usually installed in cat? directories. |
---|
139 | MANCOM=/usr/man/man1 |
---|
140 | MANFILES=/usr/man/man7 |
---|
141 | MANSYS=/usr/man/man8 |
---|
142 | |
---|
143 | # DITDIR |
---|
144 | # This directory will contain the font family directories that |
---|
145 | # are used by "psroff" and "psdit". |
---|
146 | # DON'T make it /usr/lib/font/devpsc! |
---|
147 | DITDIR=$PSLIBDIR/ditroff.font |
---|
148 | |
---|
149 | # DITDEFAULT - the default font family. $DITDIR/$DITDEFAULT/devpsc will |
---|
150 | # contain the default font info. |
---|
151 | DITDEFAULT=Times |
---|
152 | |
---|
153 | # MAKEDEV |
---|
154 | # is the FULL pathname of the makedev program for ditroff |
---|
155 | # (for Berkeley ditroff, this file is called "devconfig") |
---|
156 | # You may have to go hunting to find it (maybe even recompile it) |
---|
157 | # If you do not have ditroff (i.e., don't have makedev), set |
---|
158 | # DITROFFFONTS=0 (see below). |
---|
159 | MAKEDEV=/usr/bin/makedev |
---|
160 | |
---|
161 | # TROFFFONTDIR |
---|
162 | # This directory will contain the font family directories that |
---|
163 | # are used by "ptroff" and "pscat". |
---|
164 | # DON'T make it /usr/lib/font if you can help it! |
---|
165 | TROFFFONTDIR=$PSLIBDIR/troff.font |
---|
166 | |
---|
167 | # TROFFDEFAULT - default font family. $TROFFFONTDIR/$TROFFDEFUALT will |
---|
168 | # contain the default font info. |
---|
169 | TROFFDEFAULT=Times |
---|
170 | |
---|
171 | |
---|
172 | # BANNERFIRST BANNERLAST |
---|
173 | # These determine the default actions to take with job banner pages. |
---|
174 | # These pages (printed by the spooler to identify a job) may |
---|
175 | # be printed either before the job itself, after the job, or both, |
---|
176 | # or neither. Note that this is the site-wide default. |
---|
177 | # These values can be overridden for specific printers using the |
---|
178 | # .options file in the spool directory (see documentation). |
---|
179 | # Limitations in the spooler make it difficult to print a trailing |
---|
180 | # banner correctly. Therefore BANNERLAST may have the following values: |
---|
181 | # 0: Do not print a trailing banner. |
---|
182 | # 1: Print a trailing banner after EACH copy when multiple copies |
---|
183 | # are specified. WARNING: This will print the banner from the |
---|
184 | # previous job when a lpr -h (no header) job is printed. |
---|
185 | # 2: Print trailing banners, except for lpr -h jobs. WARNING: |
---|
186 | # The trailing banner is printed only after the FIRST copy when |
---|
187 | # multiple copies are requested. |
---|
188 | BANNERFIRST=0 |
---|
189 | BANNERLAST=1 |
---|
190 | |
---|
191 | # REVERSE |
---|
192 | # This indicates whether the default action on a user job is to |
---|
193 | # reverse the page order in a user job. It is used with printers |
---|
194 | # that pile pages "face up". To specify that no reversal should be |
---|
195 | # done, use REVERSE= line instead. Note that this is the site-wide |
---|
196 | # default. This value can be overridden for specific printers using the |
---|
197 | # .options file in the spool directory (see documentation). |
---|
198 | # If this value is set, you will probably want banners to be |
---|
199 | # printer AFTER the job is printed (BANNERLAST). |
---|
200 | #REVERSE=1 |
---|
201 | REVERSE= |
---|
202 | |
---|
203 | # VERBOSELOG |
---|
204 | # Indicates that verbose job logging should take place in the |
---|
205 | # printer log files. It can be reset on a per-printer basis, |
---|
206 | # so don't worry about it here. |
---|
207 | VERBOSELOG=1 |
---|
208 | |
---|
209 | # SETCFLAGS |
---|
210 | # Lists the flags that are to be passed to the "C" compiler (cc) |
---|
211 | # whenever a program is compiled. Other flags (such as for type |
---|
212 | # of operating system, etc. will get added automatically by the |
---|
213 | # buildprogs.sh script. On some systems with ANSI C compilers, there |
---|
214 | # may be an assumption that function prototypes should be used, yet |
---|
215 | # not all the libraries used in building the TranScript programs may |
---|
216 | # support function prototypes. On such systems (Suns and Sparcs |
---|
217 | # using the MIT X code fall into this category), you may need to add |
---|
218 | # "-D_NO_PROTO" to SETCFLAGS to build the print panel. |
---|
219 | SETCFLAGS="-O" |
---|
220 | |
---|
221 | # BUILDPRINTPANEL |
---|
222 | # If this is set to TRUE, a Motif-based print panel will be built |
---|
223 | # that serves as a GUI to the TranScript programs. If you don't have |
---|
224 | # the Motif libraries, this won't compile, so you want to set |
---|
225 | # BUILDPRINTPANEL to FALSE. The print panel also requires that you |
---|
226 | # have X11R4 or later. |
---|
227 | BUILDPRINTPANEL=TRUE |
---|
228 | |
---|
229 | # XLIBS |
---|
230 | # This is only relevant if BUILDPRINTPANEL is TRUE. XLIBS should be |
---|
231 | # set to pass the linker where to find the X, Xt, and Motif |
---|
232 | # libraries. This should be in the form of linker flags, as in |
---|
233 | # "-L/usr/local/X11/lib -L/usr/local/motif/lib". You may not need |
---|
234 | # more than one -L value, if the Motif libraries are in the same |
---|
235 | # place as the X libraries. |
---|
236 | # For Solaris, use -R and a colon separated list of the directories |
---|
237 | # in addition to -L, so that users don't have to have their |
---|
238 | # LD_LIBRARY_PATH set to run the program. |
---|
239 | XLIBS="-L/usr/local/X11R5/lib" |
---|
240 | |
---|
241 | # XINCLS |
---|
242 | # Similar to XLIBS, but for include files. This should be in the |
---|
243 | # form of C flags, as in |
---|
244 | # "-I/usr/local/X11/include -I/usr/local/motif/include". |
---|
245 | XINCLS="-I/usr/local/X11R5/include" |
---|
246 | |
---|
247 | # SPECIALLIBS # On some machines, extra libraries may be need to compile X |
---|
248 | # applications, beyond the normal -lXm -lXt -lX11. SGI is an example |
---|
249 | # of this: -lPW is necessary to pull in some routines used by some |
---|
250 | # Motif widgets. If no special libraries are needed to compile the |
---|
251 | # print panel, this should be empty. On some versions of Irix, this |
---|
252 | # should be "-lPW". On Solaris, this should be "-lgen". |
---|
253 | SPECIALLIBS="" |
---|
254 | |
---|
255 | #XRES |
---|
256 | # XRES is the name of the directory you want the resource file for |
---|
257 | # the print panel placed in. |
---|
258 | XRES=/usr/local/lib/X11R5/app-defaults |
---|
259 | |
---|
260 | #PREVIEWLOC |
---|
261 | # PREVIEWLOC is the path name of a PostScript previewer, such as |
---|
262 | # the ShowPage previewer from Adobe, if you have one. Any X-based |
---|
263 | # PostScript previewer that can accept input from a pipe will work |
---|
264 | # with ppanel. This will be the default; it can be overridden with |
---|
265 | # the PREVIEWER environment variable. If it is null, ppanel will |
---|
266 | # come up with the preview option grayed out, and not selectable. |
---|
267 | PREVIEWLOC=/usr/local/bin/showps |
---|
268 | |
---|
269 | # QMS |
---|
270 | # If this is set to TRUE, qmscomm, a module for communicating over |
---|
271 | # Ethernet to QMS Ethernet printers, will be built. |
---|
272 | QMS=FALSE |
---|
273 | |
---|
274 | # APPSOCKET |
---|
275 | # If this is set to TRUE, ascomm, a program for communicating over |
---|
276 | # TCP/IP to printers supporting the AppSocket protocol, will be |
---|
277 | # built. |
---|
278 | APPSOCKET=TRUE |
---|
279 | |
---|
280 | #SOCKFLAGS |
---|
281 | # This is only relevant for SYSV machines. Some of the TCP/IP based |
---|
282 | # comm programs use BSD-style sockets. SOCKFLAGS contain the |
---|
283 | # libraries that should be linked in when compiling these programs. |
---|
284 | # On SCO Unix, these are "-lsocket -lnsl_s"; on AIX, these are |
---|
285 | # "-ltli". For Solaris, use "-lsocket -lnsl". Some SYSV machines |
---|
286 | # may have incorporated BSD style sockets; for those machines (like |
---|
287 | # the SGI), this variable should be "", and you should set |
---|
288 | # BSDSOCK to true. |
---|
289 | |
---|
290 | SOCKFLAGS="" |
---|
291 | |
---|
292 | #BSDSOCK |
---|
293 | # This should be TRUE for all BSD-style machines, and should be TRUE |
---|
294 | # for any SYSV machine that has BSD-style sockets built in, like the |
---|
295 | # SGI. It is FALSE for SYSV machines that need to have libraries |
---|
296 | # linked in for sockets. |
---|
297 | |
---|
298 | BSDSOCK=TRUE |
---|
299 | |
---|
300 | # PARALLEL |
---|
301 | # If this is true, build lpcomm, a communications module for |
---|
302 | # communicating with printer via Centronics parallel port. This is |
---|
303 | # supported on x86 machines. |
---|
304 | PARALLEL=FALSE |
---|
305 | |
---|
306 | # FASTPORT |
---|
307 | # If this is true, build fpcomm, a communications module for |
---|
308 | # communicating with printers via MiLAN Technology's FastPort print |
---|
309 | # server. |
---|
310 | FASTPORT=FALSE |
---|
311 | |
---|
312 | # SCOFASTPORT |
---|
313 | # If you want to build fpcomm for an SCO machine, set both FASTPORT |
---|
314 | # and this variable to true; a slightly different version of fpcomm |
---|
315 | # is needed for SCO Unix. |
---|
316 | SCOFASTPORT=FALSE |
---|
317 | |
---|
318 | # SCOSERIAL |
---|
319 | # If you want to talk to a printer over a serial port via the |
---|
320 | # FastPort box from an SCO machine (in addition to the parallel |
---|
321 | # port), set SCOSERIAl to TRUE, and fpcomm.ser will be built and |
---|
322 | # installed. (Don't forget to then specify fpcomm.ser to the |
---|
323 | # mkprinter.sh script for the printer you want to communicate with in |
---|
324 | # this fashion. |
---|
325 | SCOSERIAL=FALSE |
---|
326 | |
---|
327 | |
---|
328 | # UDPSTATUS |
---|
329 | # If your FastPort supports supplying UDP status (version 2.0 |
---|
330 | # firmware or later), set this to TRUE. |
---|
331 | UDPSTATUS=TRUE |
---|
332 | |
---|
333 | # RESOLVLIB |
---|
334 | # On some systems (Suns and Sparcs, for example), if you wish to have |
---|
335 | # fpcomm use BIND to resolve hostnames, you must link in the |
---|
336 | # resolver library. For Suns and Sparcs, this is "-lresolv". On |
---|
337 | # other systems, such as Decstations, no extra library is necessary, |
---|
338 | # and this should be blank. If you don't wish to have BIND resolve |
---|
339 | # hostnames, then this should be left blank. |
---|
340 | RESOLVLIB="" |
---|
341 | |
---|
342 | # CAP |
---|
343 | # This controls whether or not capcomm, a program for communicating |
---|
344 | # with printers on Appletalk, gets built. You must have the CAP |
---|
345 | # libraries available on your system to build capcomm. This has only |
---|
346 | # been tested for BSD systems, and may not work on SYSV systems. |
---|
347 | CAP=FALSE |
---|
348 | |
---|
349 | # CAPLIB |
---|
350 | # This is only relevant if CAP is set to TRUE. CAPLIB should be set |
---|
351 | # to tell the linker where to find the CAP libraries. This should be |
---|
352 | # in the form of linker flags, as in "-L/usr/local/lib. |
---|
353 | CAPLIB=-L/usr/local/lib |
---|
354 | |
---|
355 | # CAPINCL |
---|
356 | # Similar to CAPLIB, but for include files. |
---|
357 | CAPINCL=-I/usr/local |
---|
358 | |
---|
359 | # ALTENCODING |
---|
360 | # If you'd like to use font encodings other than the standard one |
---|
361 | # with enscript (such as ISOLatin), set this to TRUE. |
---|
362 | ALTENCODING=FALSE |
---|
363 | |
---|
364 | |
---|
365 | # TROFFASCIIFONTS - this if for Ultrix on the DecStation, which requires |
---|
366 | # that the troff font width files be in ascii rather than the usual format. |
---|
367 | # This is only known to affect Decstations and possibly MIPS machines |
---|
368 | # running the MIPS operating system. |
---|
369 | |
---|
370 | TROFFASCIIFONTS=FALSE |
---|
371 | |
---|
372 | # FONTFAMILIES |
---|
373 | # List of the troff/ditroff font families to install. This sets |
---|
374 | # up the fonts that will be available in troff/ditroff. Any font |
---|
375 | # that is NOT in this list will not be available AT ALL, barring |
---|
376 | # difficult manual intervention later. The default is set up for |
---|
377 | # the standard 13 fonts: the Times, Helvetica, and Courier families, |
---|
378 | # and the Symbol font. Other font families may be added. Each font |
---|
379 | # FAMILY takes about 35 KB of disk space for ditroff, and 20 KB for |
---|
380 | # troff. You may wish to check the documentation for the PostScript |
---|
381 | # printer(s) at your site to determine which fonts to install. |
---|
382 | # If all font are installed, about 450 KB of disk space is used. |
---|
383 | # NOTE: Make sure that ALL values of FONTFAMILIES are commented out |
---|
384 | # except one. |
---|
385 | # Examples of recognized font family names are: |
---|
386 | # AvantGarde Bookman Courier Garamond Helvetica HelvNarrow |
---|
387 | # Lubalin NewCentury Optima Palatino Souvenir Times |
---|
388 | # HelvNarrow = Helvetica-Narrow |
---|
389 | # NewCentury = NewCenturySchlbk |
---|
390 | # Zapf = ZapfChancery-MediumItalic |
---|
391 | # The families in most PostScript printers: |
---|
392 | STANDARD13="Times Helvetica Courier" |
---|
393 | STANDARD35="$STANDARD13 AvantGarde Bookman HelvNarrow NewCentury Palatino Zapf" |
---|
394 | FONTFAMILIES=$STANDARD13 |
---|
395 | # FONTFAMILIES=$STANDARD35 |
---|
396 | # All the font families that were shipped: |
---|
397 | # FONTFAMILIES="$STANDARD35 Garamond Optima Souvenir" |
---|
398 | # DEC printers: |
---|
399 | # FONTFAMILIES="$STANDARD13 AvantGarde Lubalin NewCentury Souvenir" |
---|
400 | # AB Dick printers: |
---|
401 | # FONTFAMILIES="$STANDARD13 Bookman Garamond Optima Palatino Souvenir Zapf" |
---|
402 | |
---|
403 | # DWB20 |
---|
404 | DWB20=FALSE |
---|
405 | |
---|
406 | # PATH |
---|
407 | # The list of directories that is searched in order to run programs. |
---|
408 | # This is explained in the /bin/sh documentation. If the installation |
---|
409 | # aborts because certain system programs cannot be found, change this |
---|
410 | # entry to include the correct directories, and follow the directions |
---|
411 | # for re-running the installation. Be especially careful to look at |
---|
412 | # the PATH for "root", since much of the installation is run under |
---|
413 | # that account. It is OK to have directories in the list twice, and |
---|
414 | # to have non-existent directories in the PATH. The PATH below adds |
---|
415 | # the directories that are most often left out. |
---|
416 | PATH=${PATH}:.:/etc:/usr/etc |
---|
417 | |
---|
418 | export LINKS LP XPG3 OPSYS BUILDDIR SRCDIR \ |
---|
419 | BINDIR PSLIBDIR PSTEMPDIR TROFFFONTDIR DITDIR MAKEDEV REVERSE \ |
---|
420 | MANCOM MANFILES MANSYS VERBOSELOG BANNERFIRST BANNERLAST OWNER \ |
---|
421 | GROUP EXTCOM EXTFILES EXTSYS NROFF PPDDIR DEFRESPATH DITDEFAULT \ |
---|
422 | SETCFLAGS DITROFFFONTS TROFFFONTS FONTFAMILIES DITROFFDIRS PATH \ |
---|
423 | DWB20 TROFFASCIIFONTS CCOMP BUILDPRINTPANEL XLIBS XINCLS QMS \ |
---|
424 | SOCKFLAGS BSDSOCK SPECIALLIBS XRES PREVIEWLOC PARALLEL FASTPORT \ |
---|
425 | RESOLVLIB UDPSTATUS CAP CAPLIB CAPINCL SCOFASTPORT SCOSERIAL \ |
---|
426 | SOLARIS APPSOCKET ALTENCODING |
---|
427 | |
---|
428 | |
---|
429 | |
---|