2 * $Id: term.h,v 1.35 2006/04/29 05:30:07 tlecomte Exp $
8 * Copyright 1986 - 1993, 1998, 2004 Thomas Williams, Colin Kelley
10 * Permission to use, copy, and distribute this software and its
11 * documentation for any purpose with or without fee is hereby granted,
12 * provided that the above copyright notice appear in all copies and
13 * that both that copyright notice and this permission notice appear
14 * in supporting documentation.
16 * Permission to modify the software is granted, but not the right to
17 * distribute the complete modified source code. Modifications are to
18 * be distributed as patches to the released version. Permission to
19 * distribute binaries produced by compiling modified sources is granted,
21 * 1. distribute the corresponding source modifications from the
22 * released version in the form of a patch file along with the binaries,
23 * 2. add special version identification to distinguish your version
24 * in addition to the base release version number,
25 * 3. provide your name and address as the primary contact for the
26 * support of your modified version, and
27 * 4. retain our contact information in regard to use of the base
29 * Permission to distribute the released version of the source code along
30 * with corresponding source modifications in the form of a patch file is
31 * granted with same provisions 2 through 4 for binary distributions.
33 * This software is provided "as is" without express or implied warranty
34 * to the extent permitted by applicable law.
38 * term.h: terminal support definitions
39 * Edit this file depending on the set of terminals you wish to support.
40 * Comment out the terminal types that you don't want or don't have, and
41 * uncomment those that you want included. Be aware that some terminal
42 * types (eg, SUN, UNIXPLOT) will require changes in the makefile
47 * first draft after all terminals are converted to new layout
48 * Stefan Bodewig Dec. 1995
52 * >>> CONFIGURATION OPTIONS FOLLOW <<< PLEASE READ
54 * pslatex and epslatex support is now provided by the combination of
55 * post.trm and pslatex.trm. You cannot build pslatex without post.
56 * Both drivers are selected by default, but you can disable them below.
58 #define GP_ENH_EST 1 /* estimate string length of enhanced text */
59 #define POSTSCRIPT_DRIVER 1 /* include post.trm */
60 #define PSLATEX_DRIVER 1 /* include pslatex.trm */
62 #if defined(PSLATEX_DRIVER) && !defined(POSTSCRIPT_DRIVER)
63 #define POSTSCRIPT_DRIVER
67 /* Define SHORT_TERMLIST to select a few terminals. It is easier
68 * to define the macro and list desired terminals in this section.
69 * Sample configuration for a Unix workstation
72 # include "dumb.trm" /* dumb terminal */
75 # include "estimate.trm" /* used for enhanced text processing */
78 # ifdef POSTSCRIPT_DRIVER
79 # ifdef PSLATEX_DRIVER
80 # undef PSLATEX_DRIVER
82 # include "post.trm" /* postscript */
86 # include "x11.trm" /* X Window system */
89 # include "pm.trm" /* OS/2 Presentation Manager */
92 # include "win.trm" /* MS-Windows */
94 #else /* include all applicable terminals not commented out */
96 /****************************************************************************/
97 /* Platform dependent part */
98 /****************************************************************************/
102 # include "amiga.trm"
106 /* Atari ST and MTOS */
107 #if defined(ATARI) || defined(MTOS)
108 # include "atarivdi.trm"
110 # include "multitos.trm"
112 # include "atariaes.trm"
116 /* Apple Macintosh */
128 /****************************************************************************/
129 /* MS-DOS and Windows */
130 #if defined(MSDOS) || defined(_Windows) || defined(DOS386)
132 /* MSDOS with emx-gcc compiler */
133 # if defined(MSDOS) && defined(__EMX__)
136 # include "emxvga.trm"
137 # endif /* MSDOS && EMX */
139 /* MSDOS with djgpp compiler */
140 # if defined(DJGPP) && (!defined(DJSVGA) || (DJSVGA != 0))
141 # include "djsvga.trm"
144 /* MSDOS with Zortech-C++ Compiler */
149 /* All other Compilers */
152 /* uncomment the next line to include SuperVGA support */
153 # define BGI_NAME "svga256" /* the name of the SVGA.BGI for Borland C */
154 /* this also triggers the inclusion of Super VGA support */
155 # include "pc.trm" /* all PC types except MS WINDOWS */
157 # else /* _Windows */
158 # include "win.trm" /* MS-Windows */
159 # endif /* _Windows */
160 #endif /* MSDOS || _Windows */
161 /****************************************************************************/
169 /* Apple Mac OS X Server 1.0 (Openstep Unix) */
170 /* Apparently, Openstep code won't work on newer versions of
171 * MacOS X. If someone can fix this, and provide a proper
172 * configure test, let us know.
175 * #if defined(__APPLE__) && defined(__MACH__)
176 * # include "openstep.trm"
181 #ifdef HAVE_LIBAQUATERM
182 /* support for AquaTerm.app */
183 # include "aquaterm.trm"
188 /* presentation manager */
191 /* works with DOS and OS/2 (windowed/full screen) */
192 # include "emxvga.trm"
197 /***************************************************************************/
198 /* Terminals for various Unix platforms */
199 /***************************************************************************/
201 /* Apollo Graphics Primitive Resource */
203 /* with resizeable windows */
204 # include "apollo.trm"
206 /* with fixed windows */
213 # include "iris4d.trm"
219 # include "linux.trm"
222 # if defined(VGAGL) && defined (THREEDKIT)
223 # include "vgagl.trm"
225 #endif /* LINUXVGA */
227 /* MGR Window system */
232 /* Redwood Graphics Interface Protocol UNIPLEX */
233 /* Metafile, requires POSIX */
239 /* SCO CGI drivers */
250 /* VAX Windowing System requires UIS libraries */
257 # include "unixpc.trm"
260 /****************************************************************************/
261 /* Terminals not relevant for MSDOS, MS-Windows, ATARI or Amiga */
262 #if !(defined(MSDOS) || defined(_Windows) || defined(ATARI) || defined(MTOS) || defined(AMIGA))
264 /* AED 512 and AED 767 graphics terminals */
267 # if defined(UNIXPLOT) || defined(GNUGRAPH)
269 # include "gnugraph.trm"
271 # include "unixplot.trm"
272 # endif /* !GNUGRAPH */
273 # endif /* UNIXPLOT || GNUGRAPH */
278 /* REGIS graphics language */
279 # include "regis.trm"
281 /* Tektronix 4106, 4107, 4109 and 420x terminals */
282 # include "t410x.trm"
284 /* a Tek 4010 and others including VT-style */
288 #endif /* !MSDOS && !_Windows && !_ATARI && !_MTOS && !AMIGA */
289 /****************************************************************************/
292 /****************************************************************************/
293 /* These terminals can be used on any system */
296 # include "x11.trm" /* X Window System */
297 # include "xlib.trm" /* dumps x11 commands to gpoutfile */
300 /* Adobe Illustrator Format */
303 /* Computer Graphics Metafile (eg ms office) */
306 /* CorelDraw! eps format */
309 /* debugging terminal */
311 # include "debug.trm"
317 /* DXF format for use with AutoCad (Release 10.x) */
320 /* Enhanced Metafile Format driver */
323 /* Roland DXY800A plotter */
324 /* #include "dxy.trm" */
325 /* QMS/EXCL laserprinter (Talaris 1590 and others) */
326 /* #include "excl.trm" */
331 /* geographical info system */
332 /* #include "grass.trm" */
334 /* HP2623A and probably others */
337 /* HP2647 and 2648 */
338 #include "hp2648.trm"
340 /* HP DeskJet 500 C */
341 #include "hp500c.trm"
343 /* HP7475, HP7220 plotters, and (hopefully) lots of others */
347 #include "hpljii.trm"
352 /* Imagen laser printers */
353 #include "imagen.trm"
355 /* Kyocera Prescribe printer */
356 /* #include "kyo.trm" */
358 /* Frame Maker MIF 3.00 format driver */
361 /* portable bit map */
364 /* Adobe Portable Document Format (PDF) */
365 /* NOTE THAT PDF REQUIRES A SEPARATE LIBRARY : see term/pdf.trm */
370 #if defined(HAVE_GD_PNG) || defined(HAVE_GD_JPEG) || defined(HAVE_GD_GIF)
375 #ifdef POSTSCRIPT_DRIVER
379 /* QMS laser printers */
382 /* W3C Scalable Vector Graphics file */
388 /* tcl/tk with perl extensions */
389 #include "tkcanvas.trm"
391 /* Vectrix 384 printer, also Tandy colour */
392 /* #include "v384.trm" */
395 /* Epson LX-800, Star NL-10, NX-1000 and lots of others */
398 /* Epson-style 60-dot per inch printers */
401 /* Epson-style 180-dot per inch (24 pin) printers */
408 /* Tandy DMP-130 series 60-dot per inch graphics */
411 /* the common driver file for all of these */
415 /* TeX related terminals */
419 /* latex and emtex */
422 /* latex/tex with picture in postscript */
423 #ifdef PSLATEX_DRIVER
424 #include "pslatex.trm"
427 /* EEPIC-extended LaTeX driver, for EEPIC users */
430 /* TPIC specials for TeX */
433 /* LaTeX picture environment with PSTricks macros */
434 #include "pstricks.trm"
436 /* TeXDraw drawing package for LaTeX */
437 #include "texdraw.trm"
440 #include "metafont.trm"
443 #include "metapost.trm"
445 #ifdef USE_GGI_DRIVER
450 #include "estimate.trm"
458 #endif /* !SHORT_TERMLIST */