Annotation of OpenXM_contrib/gnuplot/term.h, Revision 1.1
1.1 ! maekawa 1: /*
! 2: * $Id: term.h,v 1.44 1998/04/14 00:16:25 drd Exp $
! 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:
! 67: /****************************************************************************/
! 68: /* Platform dependent part */
! 69: /****************************************************************************/
! 70:
! 71: /* Amiga */
! 72: #ifdef AMIGA
! 73: # include "amiga.trm"
! 74: #endif
! 75:
! 76:
! 77: /* Atari ST and MTOS */
! 78: #if defined(ATARI) || defined(MTOS)
! 79: # include "atarivdi.trm"
! 80: # ifdef MTOS
! 81: # include "multitos.trm"
! 82: # endif
! 83: # include "atariaes.trm"
! 84: #endif
! 85:
! 86:
! 87: /* Apple Macintosh */
! 88: #ifdef _Macintosh
! 89: # include "mac.trm"
! 90: #endif
! 91:
! 92:
! 93: /****************************************************************************/
! 94: /* MS-DOS and Windows */
! 95: #if defined(MSDOS) || defined(_Windows)
! 96:
! 97: /* MSDOS with emx-gcc compiler */
! 98: # if defined(MSDOS) && defined(__EMX__)
! 99: /* Vesa-Cards */
! 100: # define EMXVESA
! 101: # include "emxvga.trm"
! 102: # endif /* MSDOS && EMX */
! 103:
! 104: /* MSDOS with djgpp compiler */
! 105: # ifdef DJGPP
! 106: # include "djsvga.trm"
! 107: # endif
! 108:
! 109: /* MSDOS with Zortech-C++ Compiler */
! 110: # ifdef __ZTC__
! 111: # include "fg.trm"
! 112: # endif
! 113:
! 114: /* All other Compilers */
! 115: # ifndef _Windows
! 116: # ifdef PC
! 117: /* uncomment the next line to include SuperVGA support */
! 118: # define BGI_NAME "svga256" /* the name of the SVGA.BGI for Borland C */
! 119: /* this also triggers the inclusion of Super VGA support */
! 120: # include "pc.trm" /* all PC types except MS WINDOWS */
! 121: # endif
! 122: # else /* _Windows */
! 123: # include "win.trm" /* MS-Windows */
! 124: # endif /* _Windows */
! 125: #endif /* MSDOS || _Windows */
! 126: /****************************************************************************/
! 127:
! 128:
! 129: /* NeXT */
! 130: #ifdef NEXT
! 131: # include "next.trm"
! 132: #endif
! 133:
! 134:
! 135: /* OS/2 */
! 136: #ifdef OS2
! 137: /* presentation manager */
! 138: # include "pm.trm"
! 139: # ifdef EMXVESA
! 140: /* works with DOS and OS/2 (windowed/full screen) */
! 141: # include "emxvga.trm"
! 142: # endif
! 143: #endif /* OS2 */
! 144:
! 145:
! 146: /***************************************************************************/
! 147: /* Terminals for various Unix platforms */
! 148: /***************************************************************************/
! 149:
! 150: /* Apollo Graphics Primitive Resource */
! 151: #ifdef APOLLO
! 152: /* with resizeable windows */
! 153: # include "apollo.trm"
! 154: # ifdef GPR
! 155: /* with fixed windows */
! 156: # include "gpr.trm"
! 157: # endif
! 158: #endif /* Apollo */
! 159:
! 160: /* Iris */
! 161: #ifdef IRIS
! 162: # include "iris4d.trm"
! 163: #endif
! 164:
! 165:
! 166: /* Linux VGA */
! 167: #ifdef LINUXVGA
! 168: # include "linux.trm"
! 169: #endif
! 170:
! 171:
! 172: /* MGR Window system */
! 173: #ifdef MGR
! 174: # include "mgr.trm"
! 175: #endif
! 176:
! 177: /* Redwood Graphics Interface Protocol UNIPLEX */
! 178: /* Metafile, requires POSIX */
! 179: #ifdef RGIP
! 180: # include "rgip.trm"
! 181: #endif
! 182:
! 183:
! 184: /* SCO CGI drivers */
! 185: #ifdef SCO
! 186: # include "cgi.trm"
! 187: #endif
! 188:
! 189: /* SunView */
! 190: #ifdef SUN
! 191: # include "sun.trm"
! 192: #endif
! 193:
! 194:
! 195: /* VAX Windowing System requires UIS libraries */
! 196: #ifdef UIS
! 197: # include "vws.trm"
! 198: #endif
! 199:
! 200: /* AT&T Unix-PC */
! 201: #ifdef UNIXPC
! 202: # include "unixpc.trm"
! 203: #endif
! 204:
! 205: /****************************************************************************/
! 206: /* Terminals not relevant for MSDOS, OS2, MS-Windows, ATARI or Amiga */
! 207: #if !(defined(MSDOS) || defined(OS2) || defined(_Windows) || defined(ATARI) || defined(MTOS) || defined(AMIGA))
! 208:
! 209: /* AED 512 and AED 767 graphics terminals */
! 210: # include "aed.trm"
! 211:
! 212: # if defined(UNIXPLOT) || defined(GNUGRAPH)
! 213: # ifdef GNUGRAPH
! 214: # include "gnugraph.trm"
! 215: # else
! 216: # include "unixplot.trm"
! 217: # endif /* !GNUGRAPH */
! 218: # endif /* UNIXPLOT || GNUGRAPH */
! 219:
! 220: /* gpic for groff */
! 221: # include "gpic.trm"
! 222:
! 223: /* REGIS graphics language */
! 224: # include "regis.trm"
! 225:
! 226: /* Tektronix 4106, 4107, 4109 and 420x terminals */
! 227: # include "t410x.trm"
! 228: /* a Tek 4010 and others including VT-style */
! 229: # include "tek.trm"
! 230:
! 231: /* inboard terminal driver for X11 (dumps gnuplot_x11 commands) */
! 232: # include "xlib.trm"
! 233:
! 234: #endif /* !MSDOS && !OS2 && !_Windows && !_ATARI && !_MTOS && !AMIGA */
! 235: /****************************************************************************/
! 236:
! 237:
! 238: /****************************************************************************/
! 239: /* These terminals can be used on any system */
! 240:
! 241: #ifdef X11
! 242: # include "x11.trm" /* X Window System */
! 243: #endif
! 244:
! 245: /* Adobe Illustrator Format */
! 246: #include "ai.trm"
! 247:
! 248: /* Computer Graphics Metafile (eg ms office) */
! 249: #include "cgm.trm"
! 250:
! 251: /* CorelDraw! eps format */
! 252: #include "corel.trm"
! 253:
! 254: /* debugging terminal */
! 255: #ifdef DEBUG
! 256: # include "debug.trm"
! 257: #endif
! 258:
! 259: /* dumb terminal */
! 260: #include "dumb.trm"
! 261:
! 262: /* DXF format for use with AutoCad (Release 10.x) */
! 263: #include "dxf.trm"
! 264:
! 265: /* #include "dxy.trm" /* Roland DXY800A plotter */
! 266: /* #include "excl.trm" /* QMS/EXCL laserprinter (Talaris 1590 and others) */
! 267:
! 268: /* fig graphics */
! 269: #include "fig.trm"
! 270:
! 271: /* NOTE THAT GIF REQUIRES A SEPARATE LIBRARY : see term/gif.trm */
! 272: /* GIF format. */
! 273: #ifdef HAVE_LIBGD
! 274: # include "gif.trm"
! 275: #endif
! 276:
! 277: /* #include "grass.trm" /* geographical info system */
! 278: #include "hp26.trm" /* HP2623A and probably others */
! 279: #include "hp2648.trm" /* HP2647 and 2648 */
! 280: #include "hp500c.trm" /* HP DeskJet 500 C */
! 281: #include "hpgl.trm" /* HP7475, HP7220 plotters, and (hopefully) lots of others */
! 282: #include "hpljii.trm" /* HP Laserjet II */
! 283: #include "hppj.trm" /* HP PrintJet */
! 284: #include "imagen.trm" /* Imagen laser printers */
! 285: /* #include "kyo.trm" /* Kyocera Prescribe printer */
! 286: #include "mif.trm" /* Frame Maker MIF 3.00 format driver */
! 287: #include "pbm.trm" /* portable bit map */
! 288:
! 289: /* NOTE THAT PNG REQUIRES A SEPARATE LIBRARY : see term/png.trm */
! 290: #ifdef HAVE_LIBPNG
! 291: # include "png.trm"
! 292: #endif
! 293:
! 294: #include "post.trm" /* postscript */
! 295: #include "qms.trm" /* QMS laser printers */
! 296: #include "table.trm" /* built-in, but used for the documentation */
! 297: #include "tgif.trm" /* x11 tgif tool */
! 298: #include "tkcanvas.trm" /* tcl/tk */
! 299: /* #include "v384.trm" /* Vectrix 384 printer, also Tandy colour */
! 300:
! 301: /* wire printers */
! 302: #define EPSONP /* Epson LX-800, Star NL-10, NX-1000 and lots of others */
! 303: #define EPS60 /* Epson-style 60-dot per inch printers */
! 304: #define EPS180 /* Epson-style 180-dot per inch (24 pin) printers */
! 305: #define NEC
! 306: #define OKIDATA
! 307: #define STARC
! 308: #define TANDY60 /* Tandy DMP-130 series 60-dot per inch graphics */
! 309: #include "epson.trm" /* the common driver file for all of these */
! 310:
! 311: /* TeX related terminals */
! 312: #define EMTEX
! 313: #include "latex.trm" /* latex and emtex */
! 314: #include "pslatex.trm" /* latex/tex with picture in postscript */
! 315: #include "eepic.trm" /* EEPIC-extended LaTeX driver, for EEPIC users */
! 316: #include "tpic.trm" /* TPIC specials for TeX */
! 317: #include "pstricks.trm" /* LaTeX picture environment with PSTricks macros */
! 318: #include "texdraw.trm" /* TeXDraw drawing package for LaTeX */
! 319: #include "metafont.trm" /* METAFONT */
! 320:
! 321: #endif /* !SHORT_TERMLIST */
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>