Icons are changed
[gnuplot] / src / term.h
1 /*
2  * $Id: term.h,v 1.35 2006/04/29 05:30:07 tlecomte Exp $
3  */
4
5 /* GNUPLOT - term.h */
6
7 /*[
8  * Copyright 1986 - 1993, 1998, 2004   Thomas Williams, Colin Kelley
9  *
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.
15  *
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,
20  * provided you
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
28  *    software.
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.
32  *
33  * This software is provided "as is" without express or implied warranty
34  * to the extent permitted by applicable law.
35 ]*/
36
37 /*
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
43  * LIBS definition.
44  */
45
46 /*
47  * first draft after all terminals are converted to new layout
48  * Stefan Bodewig Dec. 1995
49  */
50
51 /*
52  * >>> CONFIGURATION OPTIONS FOLLOW <<<  PLEASE READ
53  *
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.
57  */
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 */
61
62 #if defined(PSLATEX_DRIVER) && !defined(POSTSCRIPT_DRIVER)
63 #define POSTSCRIPT_DRIVER
64 #endif
65
66
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
70  */
71 #ifdef SHORT_TERMLIST
72 # include "dumb.trm"            /* dumb terminal */
73
74 # ifdef GP_ENH_EST
75 #  include "estimate.trm"       /* used for enhanced text processing */
76 # endif
77
78 # ifdef POSTSCRIPT_DRIVER
79 #  ifdef  PSLATEX_DRIVER
80 #   undef PSLATEX_DRIVER
81 #  endif
82 #  include "post.trm"           /* postscript */
83 # endif
84
85 # ifdef X11
86 #  include "x11.trm"            /* X Window system */
87 # endif                         /* X11 */
88 # ifdef OS2
89 #  include "pm.trm"             /* OS/2 Presentation Manager */
90 # endif
91 # ifdef _Windows
92 #  include "win.trm"            /* MS-Windows */
93 # endif
94 #else /* include all applicable terminals not commented out */
95
96 /****************************************************************************/
97 /* Platform dependent part                                                  */
98 /****************************************************************************/
99
100 /* Amiga */
101 #ifdef AMIGA
102 # include "amiga.trm"
103 #endif
104
105
106 /* Atari ST and MTOS */
107 #if defined(ATARI) || defined(MTOS)
108 # include "atarivdi.trm"
109 # ifdef MTOS
110 #  include "multitos.trm"
111 # endif
112 # include "atariaes.trm"
113 #endif
114
115
116 /* Apple Macintosh */
117 #ifdef _Macintosh
118 # include "mac.trm"
119 #endif
120
121
122 /* BeOS */
123 #ifdef __BEOS__
124 # include "be.trm"
125 #endif
126
127
128 /****************************************************************************/
129 /* MS-DOS and Windows */
130 #if defined(MSDOS) || defined(_Windows) || defined(DOS386)
131
132 /* MSDOS with emx-gcc compiler */
133 # if defined(MSDOS) && defined(__EMX__)
134    /* Vesa-Cards */
135 #  define EMXVESA
136 #  include "emxvga.trm"
137 # endif                         /* MSDOS && EMX */
138
139 /* MSDOS with djgpp compiler */
140 # if defined(DJGPP) && (!defined(DJSVGA) || (DJSVGA != 0))
141 #  include "djsvga.trm"
142 # endif
143
144 /* MSDOS with Zortech-C++ Compiler */
145 # ifdef __ZTC__
146 #  include "fg.trm"
147 # endif
148
149 /* All other Compilers */
150 # ifndef _Windows
151 #  ifdef PC
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 */
156 #  endif
157 # else                          /* _Windows */
158 #  include "win.trm"            /* MS-Windows */
159 # endif                         /* _Windows */
160 #endif /* MSDOS || _Windows */
161 /****************************************************************************/
162
163
164 /* NeXT */
165 #ifdef NEXT
166 # include "next.trm"
167 #endif
168
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.
173  */
174 /*
175  * #if defined(__APPLE__) && defined(__MACH__)
176  * # include "openstep.trm"
177  * #endif
178 */
179
180 /* Apple Mac OS X */
181 #ifdef HAVE_LIBAQUATERM
182 /* support for AquaTerm.app */
183 # include "aquaterm.trm"
184 #endif
185
186 /* OS/2 */
187 #ifdef OS2
188 /* presentation manager */
189 # include "pm.trm"
190 # ifdef EMXVESA
191 /* works with DOS and OS/2 (windowed/full screen) */
192 #  include "emxvga.trm"
193 # endif
194 #endif /* OS2 */
195
196
197 /***************************************************************************/
198 /* Terminals for various Unix platforms                                    */
199 /***************************************************************************/
200
201 /* Apollo Graphics Primitive Resource */
202 #ifdef APOLLO
203 /* with resizeable windows */
204 # include "apollo.trm"
205 #  ifdef GPR
206 /* with fixed windows */
207 #   include "gpr.trm"
208 #  endif
209 #endif /* Apollo */
210
211 /* Iris */
212 #ifdef IRIS
213 # include "iris4d.trm"
214 #endif
215
216
217 /* Linux VGA */
218 #ifdef LINUXVGA
219 # include "linux.trm"
220
221 /* Linux VGAGL */
222 # if defined(VGAGL) && defined (THREEDKIT)
223 #  include "vgagl.trm"
224 # endif
225 #endif /* LINUXVGA */
226
227 /* MGR Window system */
228 #ifdef MGR
229 # include "mgr.trm"
230 #endif
231
232 /* Redwood Graphics Interface Protocol UNIPLEX */
233 /* Metafile, requires POSIX */
234 #ifdef RGIP
235 # include "rgip.trm"
236 #endif
237
238
239 /* SCO CGI drivers */
240 #ifdef SCO
241 # include "cgi.trm"
242 #endif
243
244 /* SunView */
245 #ifdef SUN
246 # include "sun.trm"
247 #endif
248
249
250 /* VAX Windowing System requires UIS libraries */
251 #ifdef UIS
252 # include "vws.trm"
253 #endif
254
255 /* AT&T Unix-PC */
256 #ifdef UNIXPC
257 # include "unixpc.trm"
258 #endif
259
260 /****************************************************************************/
261 /* Terminals not relevant for MSDOS, MS-Windows, ATARI or Amiga             */
262 #if !(defined(MSDOS) || defined(_Windows) || defined(ATARI) || defined(MTOS) || defined(AMIGA))
263
264 /* AED 512 and AED 767 graphics terminals */
265 # include "aed.trm"
266
267 # if defined(UNIXPLOT) || defined(GNUGRAPH)
268 #  ifdef GNUGRAPH
269 #   include "gnugraph.trm"
270 #  else
271 #   include "unixplot.trm"
272 #  endif                        /* !GNUGRAPH */
273 # endif                         /* UNIXPLOT || GNUGRAPH */
274
275 /* gpic for groff */
276 # include "gpic.trm"
277
278 /* REGIS graphics language */
279 # include "regis.trm"
280
281 /* Tektronix 4106, 4107, 4109 and 420x terminals */
282 # include "t410x.trm"
283
284 /* a Tek 4010 and others including VT-style */
285 # include "tek.trm"
286
287
288 #endif /* !MSDOS && !_Windows && !_ATARI && !_MTOS && !AMIGA */
289 /****************************************************************************/
290
291
292 /****************************************************************************/
293 /* These terminals can be used on any system */
294
295 #ifdef X11
296 # include "x11.trm"             /* X Window System */
297 # include "xlib.trm"            /* dumps x11 commands to gpoutfile */
298 #endif
299
300 /* Adobe Illustrator Format */
301 #include "ai.trm"
302
303 /* Computer Graphics Metafile (eg ms office) */
304 #include "cgm.trm"
305
306 /* CorelDraw! eps format */
307 #include "corel.trm"
308
309 /* debugging terminal */
310 #ifdef DEBUG
311 # include "debug.trm"
312 #endif
313
314 /* dumb terminal */
315 #include "dumb.trm"
316
317 /* DXF format for use with AutoCad (Release 10.x) */
318 #include "dxf.trm"
319
320 /* Enhanced Metafile Format driver */
321 #include "emf.trm"
322
323 /* Roland DXY800A plotter */
324 /* #include "dxy.trm" */
325 /* QMS/EXCL laserprinter (Talaris 1590 and others) */
326 /* #include "excl.trm" */
327
328 /* fig graphics */
329 #include "fig.trm"
330
331 /* geographical info system */
332 /* #include "grass.trm" */
333
334 /* HP2623A and probably others */
335 #include "hp26.trm"
336
337 /* HP2647 and 2648 */
338 #include "hp2648.trm"
339
340 /* HP DeskJet 500 C */
341 #include "hp500c.trm"
342
343 /* HP7475, HP7220 plotters, and (hopefully) lots of others */
344 #include "hpgl.trm"
345
346 /* HP Laserjet II */
347 #include "hpljii.trm"
348
349 /* HP PrintJet */
350 #include "hppj.trm"
351
352 /* Imagen laser printers */
353 #include "imagen.trm"
354
355 /* Kyocera Prescribe printer */
356 /* #include "kyo.trm" */
357
358 /* Frame Maker MIF 3.00 format driver */
359 #include "mif.trm"
360
361 /* portable bit map */
362 #include "pbm.trm"
363
364 /* Adobe Portable Document Format (PDF) */
365 /* NOTE THAT PDF REQUIRES A SEPARATE LIBRARY : see term/pdf.trm */
366 #ifdef HAVE_LIBPDF
367 # include "pdf.trm"
368 #endif
369
370 #if defined(HAVE_GD_PNG) || defined(HAVE_GD_JPEG) || defined(HAVE_GD_GIF)
371 # include "gd.trm"
372 #endif
373
374 /* postscript */
375 #ifdef POSTSCRIPT_DRIVER
376 #include "post.trm"
377 #endif
378
379 /* QMS laser printers */
380 #include "qms.trm"
381
382 /* W3C Scalable Vector Graphics file */
383 #include "svg.trm"
384
385 /* x11 tgif tool */
386 #include "tgif.trm"
387
388 /* tcl/tk with perl extensions */
389 #include "tkcanvas.trm"
390
391 /* Vectrix 384 printer, also Tandy colour */
392 /* #include "v384.trm" */
393
394 /* wire printers */
395 /* Epson LX-800, Star NL-10, NX-1000 and lots of others */
396 #define EPSONP
397
398 /* Epson-style 60-dot per inch printers */
399 #define EPS60
400
401 /* Epson-style 180-dot per inch (24 pin) printers */
402 #define EPS180
403
404 #define NEC
405 #define OKIDATA
406 #define STARC
407
408 /* Tandy DMP-130 series 60-dot per inch graphics */
409 #define TANDY60
410
411 /* the common driver file for all of these */
412 #include "epson.trm"
413
414
415 /* TeX related terminals */
416 #define EMTEX
417 #define EEPIC
418
419 /* latex and emtex */
420 #include "latex.trm"
421
422 /* latex/tex with picture in postscript */
423 #ifdef PSLATEX_DRIVER
424 #include "pslatex.trm"
425 #endif
426
427 /* EEPIC-extended LaTeX driver, for EEPIC users */
428 #include "eepic.trm"
429
430 /* TPIC specials for TeX */
431 #include "tpic.trm"
432
433 /* LaTeX picture environment with PSTricks macros */
434 #include "pstricks.trm"
435
436 /* TeXDraw drawing package for LaTeX */
437 #include "texdraw.trm"
438
439 /* METAFONT */
440 #include "metafont.trm"
441
442 /* METAPOST */
443 #include "metapost.trm"
444
445 #ifdef USE_GGI_DRIVER
446 # include "ggi.trm"
447 #endif
448
449 #ifdef GP_ENH_EST
450 #include "estimate.trm"
451 #endif
452
453 /* WXWIDGETS */
454 #ifdef WXWIDGETS
455 # include "wxt.trm"
456 #endif
457
458 #endif /* !SHORT_TERMLIST */