Annotation of OpenXM_contrib/gnuplot/term.h, Revision 1.1.1.3
1.1 maekawa 1: /*
1.1.1.3 ! ohara 2: * $Id: term.h,v 1.12.2.6 2002/03/12 19:10:47 broeker Exp $
1.1 maekawa 3: *
4: */
5:
6: /* GNUPLOT - term.h */
7:
8: /*[
9: * Copyright 1986 - 1993, 1998 Thomas Williams, Colin Kelley
10: *
11: * Permission to use, copy, and distribute this software and its
12: * documentation for any purpose with or without fee is hereby granted,
13: * provided that the above copyright notice appear in all copies and
14: * that both that copyright notice and this permission notice appear
15: * in supporting documentation.
16: *
17: * Permission to modify the software is granted, but not the right to
18: * distribute the complete modified source code. Modifications are to
19: * be distributed as patches to the released version. Permission to
20: * distribute binaries produced by compiling modified sources is granted,
21: * provided you
22: * 1. distribute the corresponding source modifications from the
23: * released version in the form of a patch file along with the binaries,
24: * 2. add special version identification to distinguish your version
25: * in addition to the base release version number,
26: * 3. provide your name and address as the primary contact for the
27: * support of your modified version, and
28: * 4. retain our contact information in regard to use of the base
29: * software.
30: * Permission to distribute the released version of the source code along
31: * with corresponding source modifications in the form of a patch file is
32: * granted with same provisions 2 through 4 for binary distributions.
33: *
34: * This software is provided "as is" without express or implied warranty
35: * to the extent permitted by applicable law.
36: ]*/
37:
38: /*
39: * term.h: terminal support definitions
40: * Edit this file depending on the set of terminals you wish to support.
41: * Comment out the terminal types that you don't want or don't have, and
42: * uncomment those that you want included. Be aware that some terminal
43: * types (eg, SUN, UNIXPLOT) will require changes in the makefile
44: * LIBS definition.
45: */
46:
47: /*
48: * first draft after all terminals are converted to new layout
49: * Stefan Bodewig Dec. 1995
50: */
51:
52: /* Define SHORT_TERMLIST to select a few terminals. It is easier
53: * to define the macro and list desired terminals in this section.
54: * Sample configuration for a Unix workstation
55: */
56: #ifdef SHORT_TERMLIST
57: # include "dumb.trm" /* dumb terminal */
58: # include "post.trm" /* postscript */
59: # include "regis.trm" /* regis graphics */
60: # include "table.trm" /* built-in, but used for the documentation */
61: # include "tek.trm" /* a Tek 4010 and others including VT-style */
62: # ifdef X11
63: # include "x11.trm" /* x Window system */
64: # endif /* X11 */
65: #else /* include all applicable terminals not commented out */
66:
1.1.1.3 ! ohara 67: /***************************************************************/
! 68: /* Another special subset, this time for 16bit DOS/Windows
! 69: * builds. There's precious little space to squeeze drivers into on
! 70: * these platforms, so it's easier to provide a working selection here
! 71: * than to have every user try to find one him/herself. If you
! 72: * HAVE_LIBPDF, HAVE_LIBGD and/or HAVE_LIBPNG, even this selection may
! 73: * already be too large. */
! 74: #if defined(DOS16) || defined (WIN16)
! 75: # ifndef WIN16
! 76: # ifdef PC
! 77: /* uncomment the next line to include SuperVGA support using the
! 78: * SVGA.BGI drivers. This also triggers the inclusion of Super VGA
! 79: * support */
! 80: /* # define BGI_NAME "svga256" */
! 81: # include "pc.trm"
! 82: # endif /* PC */
! 83: # else /* WIN16 */
! 84: # include "win.trm"
! 85: # endif /* WIN16 */
! 86: # include "cgm.trm"
! 87: # ifdef DEBUG
! 88: # include "debug.trm"
! 89: # endif
! 90: /* NOTE THAT GIF REQUIRES A SEPARATE LIBRARY : see term/gif.trm */
! 91: # ifdef HAVE_LIBGD
! 92: # include "gif.trm"
! 93: # endif
! 94: # include "hpgl.trm"
! 95: # include "pbm.trm"
! 96: /* NOTE THAT PDF REQUIRES A SEPARATE LIBRARY : see term/pdf.trm */
! 97: # ifdef HAVE_LIBPDF
! 98: # include "pdf.trm"
! 99: # endif
! 100: /* NOTE THAT PNG REQUIRES A SEPARATE LIBRARY : see term/png.trm */
! 101: # ifdef HAVE_LIBPNG
! 102: # include "png.trm"
! 103: # endif
! 104: /* # include "post.trm" */
! 105: # include "table.trm"
! 106: #else
! 107: /* not (WIN16 || DOS16) --> use general terminal selection */
! 108:
! 109:
1.1 maekawa 110: /****************************************************************************/
111: /* Platform dependent part */
112: /****************************************************************************/
113:
114: /* Amiga */
115: #ifdef AMIGA
116: # include "amiga.trm"
117: #endif
118:
119:
120: /* Atari ST and MTOS */
121: #if defined(ATARI) || defined(MTOS)
122: # include "atarivdi.trm"
123: # ifdef MTOS
124: # include "multitos.trm"
125: # endif
126: # include "atariaes.trm"
127: #endif
128:
129:
130: /* Apple Macintosh */
131: #ifdef _Macintosh
132: # include "mac.trm"
133: #endif
134:
135:
1.1.1.2 maekawa 136: /* BeOS */
137: #ifdef __BEOS__
138: # include "be.trm"
139: #endif
140:
141:
1.1 maekawa 142: /****************************************************************************/
143: /* MS-DOS and Windows */
144: #if defined(MSDOS) || defined(_Windows)
145:
146: /* MSDOS with emx-gcc compiler */
147: # if defined(MSDOS) && defined(__EMX__)
148: /* Vesa-Cards */
149: # define EMXVESA
150: # include "emxvga.trm"
151: # endif /* MSDOS && EMX */
152:
153: /* MSDOS with djgpp compiler */
154: # ifdef DJGPP
155: # include "djsvga.trm"
156: # endif
157:
158: /* MSDOS with Zortech-C++ Compiler */
159: # ifdef __ZTC__
160: # include "fg.trm"
161: # endif
162:
163: /* All other Compilers */
164: # ifndef _Windows
165: # ifdef PC
166: /* uncomment the next line to include SuperVGA support */
167: # define BGI_NAME "svga256" /* the name of the SVGA.BGI for Borland C */
168: /* this also triggers the inclusion of Super VGA support */
169: # include "pc.trm" /* all PC types except MS WINDOWS */
170: # endif
171: # else /* _Windows */
172: # include "win.trm" /* MS-Windows */
173: # endif /* _Windows */
174: #endif /* MSDOS || _Windows */
175: /****************************************************************************/
176:
177:
178: /* NeXT */
179: #ifdef NEXT
180: # include "next.trm"
181: #endif
182:
1.1.1.2 maekawa 183: /* Apple MacOs X Server (Openstep Unix) */
184: #if defined(__APPLE__) && defined(__MACH__)
185: # include "openstep.trm"
186: #endif
1.1 maekawa 187:
188: /* OS/2 */
189: #ifdef OS2
190: /* presentation manager */
191: # include "pm.trm"
192: # ifdef EMXVESA
193: /* works with DOS and OS/2 (windowed/full screen) */
194: # include "emxvga.trm"
195: # endif
196: #endif /* OS2 */
197:
198:
199: /***************************************************************************/
200: /* Terminals for various Unix platforms */
201: /***************************************************************************/
202:
203: /* Apollo Graphics Primitive Resource */
204: #ifdef APOLLO
205: /* with resizeable windows */
206: # include "apollo.trm"
207: # ifdef GPR
208: /* with fixed windows */
209: # include "gpr.trm"
210: # endif
211: #endif /* Apollo */
212:
213: /* Iris */
214: #ifdef IRIS
215: # include "iris4d.trm"
216: #endif
217:
218:
219: /* Linux VGA */
220: #ifdef LINUXVGA
221: # include "linux.trm"
222: #endif
223:
224:
1.1.1.3 ! ohara 225: /* GGI */
! 226: #ifdef HAVE_GGI
! 227: # include "ggi.trm"
! 228: #endif
! 229:
! 230:
1.1 maekawa 231: /* MGR Window system */
232: #ifdef MGR
233: # include "mgr.trm"
234: #endif
235:
236: /* Redwood Graphics Interface Protocol UNIPLEX */
237: /* Metafile, requires POSIX */
238: #ifdef RGIP
239: # include "rgip.trm"
240: #endif
241:
242:
243: /* SCO CGI drivers */
244: #ifdef SCO
245: # include "cgi.trm"
246: #endif
247:
248: /* SunView */
249: #ifdef SUN
250: # include "sun.trm"
251: #endif
252:
253:
254: /* VAX Windowing System requires UIS libraries */
255: #ifdef UIS
256: # include "vws.trm"
257: #endif
258:
259: /* AT&T Unix-PC */
260: #ifdef UNIXPC
261: # include "unixpc.trm"
262: #endif
263:
264: /****************************************************************************/
1.1.1.2 maekawa 265: /* Terminals not relevant for MSDOS, MS-Windows, ATARI or Amiga */
266: #if !(defined(MSDOS) || defined(_Windows) || defined(ATARI) || defined(MTOS) || defined(AMIGA))
1.1 maekawa 267:
268: /* AED 512 and AED 767 graphics terminals */
269: # include "aed.trm"
270:
271: # if defined(UNIXPLOT) || defined(GNUGRAPH)
272: # ifdef GNUGRAPH
273: # include "gnugraph.trm"
274: # else
275: # include "unixplot.trm"
276: # endif /* !GNUGRAPH */
277: # endif /* UNIXPLOT || GNUGRAPH */
278:
279: /* gpic for groff */
280: # include "gpic.trm"
281:
282: /* REGIS graphics language */
283: # include "regis.trm"
284:
285: /* Tektronix 4106, 4107, 4109 and 420x terminals */
286: # include "t410x.trm"
1.1.1.2 maekawa 287:
1.1 maekawa 288: /* a Tek 4010 and others including VT-style */
289: # include "tek.trm"
290:
291: /* inboard terminal driver for X11 (dumps gnuplot_x11 commands) */
292: # include "xlib.trm"
293:
1.1.1.2 maekawa 294: #endif /* !MSDOS && !_Windows && !_ATARI && !_MTOS && !AMIGA */
1.1 maekawa 295: /****************************************************************************/
296:
297:
298: /****************************************************************************/
299: /* These terminals can be used on any system */
300:
301: #ifdef X11
302: # include "x11.trm" /* X Window System */
303: #endif
304:
305: /* Adobe Illustrator Format */
306: #include "ai.trm"
307:
308: /* Computer Graphics Metafile (eg ms office) */
309: #include "cgm.trm"
310:
311: /* CorelDraw! eps format */
312: #include "corel.trm"
313:
314: /* debugging terminal */
315: #ifdef DEBUG
316: # include "debug.trm"
317: #endif
318:
319: /* dumb terminal */
320: #include "dumb.trm"
321:
322: /* DXF format for use with AutoCad (Release 10.x) */
323: #include "dxf.trm"
324:
1.1.1.3 ! ohara 325: /* Enhanced Metafile Format driver */
! 326: #include "emf.trm"
! 327:
1.1.1.2 maekawa 328: /* Roland DXY800A plotter */
329: /* #include "dxy.trm" */
330: /* QMS/EXCL laserprinter (Talaris 1590 and others) */
331: /* #include "excl.trm" */
1.1 maekawa 332:
333: /* fig graphics */
334: #include "fig.trm"
335:
336: /* NOTE THAT GIF REQUIRES A SEPARATE LIBRARY : see term/gif.trm */
337: /* GIF format. */
338: #ifdef HAVE_LIBGD
339: # include "gif.trm"
340: #endif
341:
1.1.1.2 maekawa 342: /* geographical info system */
343: /* #include "grass.trm" */
344:
345: /* HP2623A and probably others */
346: #include "hp26.trm"
347:
348: /* HP2647 and 2648 */
349: #include "hp2648.trm"
350:
351: /* HP DeskJet 500 C */
352: #include "hp500c.trm"
353:
354: /* HP7475, HP7220 plotters, and (hopefully) lots of others */
355: #include "hpgl.trm"
356:
357: /* HP Laserjet II */
358: #include "hpljii.trm"
359:
360: /* HP PrintJet */
361: #include "hppj.trm"
362:
363: /* Imagen laser printers */
364: #include "imagen.trm"
365:
366: /* Kyocera Prescribe printer */
367: /* #include "kyo.trm" */
368:
369: /* Frame Maker MIF 3.00 format driver */
370: #include "mif.trm"
371:
372: /* portable bit map */
373: #include "pbm.trm"
1.1 maekawa 374:
1.1.1.3 ! ohara 375: /* Adobe Portable Document Format (PDF) */
! 376: /* NOTE THAT PDF REQUIRES A SEPARATE LIBRARY : see term/pdf.trm */
! 377: #ifdef HAVE_LIBPDF
! 378: # include "pdf.trm"
! 379: #endif
! 380:
1.1 maekawa 381: /* NOTE THAT PNG REQUIRES A SEPARATE LIBRARY : see term/png.trm */
382: #ifdef HAVE_LIBPNG
383: # include "png.trm"
384: #endif
385:
1.1.1.2 maekawa 386: /* postscript */
387: #include "post.trm"
388:
389: /* QMS laser printers */
390: #include "qms.trm"
391:
1.1.1.3 ! ohara 392: /* W3C Scalable Vector Graphics file */
! 393: #include "svg.trm"
! 394:
1.1.1.2 maekawa 395: /* built-in, but used for the documentation */
396: #include "table.trm"
397:
398: /* x11 tgif tool */
399: #include "tgif.trm"
400:
401: /* tcl/tk with perl extensions */
402: #include "tkcanvas.trm"
403:
404: /* Vectrix 384 printer, also Tandy colour */
405: /* #include "v384.trm" */
1.1 maekawa 406:
407: /* wire printers */
1.1.1.2 maekawa 408: /* Epson LX-800, Star NL-10, NX-1000 and lots of others */
409: #define EPSONP
410:
411: /* Epson-style 60-dot per inch printers */
412: #define EPS60
413:
414: /* Epson-style 180-dot per inch (24 pin) printers */
415: #define EPS180
416:
1.1 maekawa 417: #define NEC
418: #define OKIDATA
419: #define STARC
1.1.1.2 maekawa 420:
421: /* Tandy DMP-130 series 60-dot per inch graphics */
422: #define TANDY60
423:
424: /* the common driver file for all of these */
425: #include "epson.trm"
426:
1.1 maekawa 427:
428: /* TeX related terminals */
429: #define EMTEX
1.1.1.2 maekawa 430: #define EEPIC
431:
432: /* latex and emtex */
433: #include "latex.trm"
434:
435: /* latex/tex with picture in postscript */
436: #include "pslatex.trm"
437:
1.1.1.3 ! ohara 438: /* new epslatex driver */
! 439: #include "epslatex.trm"
! 440:
1.1.1.2 maekawa 441: /* EEPIC-extended LaTeX driver, for EEPIC users */
442: #include "eepic.trm"
443:
444: /* TPIC specials for TeX */
445: #include "tpic.trm"
446:
447: /* LaTeX picture environment with PSTricks macros */
448: #include "pstricks.trm"
449:
450: /* TeXDraw drawing package for LaTeX */
451: #include "texdraw.trm"
452:
453: /* METAFONT */
454: #include "metafont.trm"
455:
456: /* METAPOST */
457: #include "metapost.trm"
1.1 maekawa 458:
1.1.1.3 ! ohara 459: #endif /* DOS16 || WIN16 special short termlist */
1.1 maekawa 460: #endif /* !SHORT_TERMLIST */
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>