[BACK]Return to term.h CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / gnuplot

Annotation of OpenXM_contrib/gnuplot/term.h, Revision 1.1.1.2

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>