forked from gnuplot/gnuplot-old
-
Notifications
You must be signed in to change notification settings - Fork 0
/
term.h
226 lines (191 loc) · 7.5 KB
/
term.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
/*
* $Id: term.h,v 1.3 1998/04/22 18:57:07 lhecking Exp $
*
*/
/* GNUPLOT - term.h */
/*[
* Copyright 1986 - 1993, 1998 Thomas Williams, Colin Kelley
*
* Permission to use, copy, and distribute this software and its
* documentation for any purpose with or without fee is hereby granted,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
*
* Permission to modify the software is granted, but not the right to
* distribute the complete modified source code. Modifications are to
* be distributed as patches to the released version. Permission to
* distribute binaries produced by compiling modified sources is granted,
* provided you
* 1. distribute the corresponding source modifications from the
* released version in the form of a patch file along with the binaries,
* 2. add special version identification to distinguish your version
* in addition to the base release version number,
* 3. provide your name and address as the primary contact for the
* support of your modified version, and
* 4. retain our contact information in regard to use of the base
* software.
* Permission to distribute the released version of the source code along
* with corresponding source modifications in the form of a patch file is
* granted with same provisions 2 through 4 for binary distributions.
*
* This software is provided "as is" without express or implied warranty
* to the extent permitted by applicable law.
]*/
/*
* term.h: terminal support definitions
* Edit this file depending on the set of terminals you wish to support.
* Comment out the terminal types that you don't want or don't have, and
* uncomment those that you want included. Be aware that some terminal
* types (eg, SUN, UNIXPLOT) will require changes in the makefile
* LIBS definition.
*/
/*
* first draft after all terminals are converted to new layout
* Stefan Bodewig Dec. 1995
*/
/* Platform dependent part */
#ifdef AMIGA
#include "amiga.trm"
#endif
#ifdef LINUXVGA
#include "linux.trm" /* linux vga */
#endif
#ifdef OS2
#include "pm.trm" /* presentation manager */
#ifdef EMXVESA
#include "emxvga.trm" /* works with DOS and OS/2 (windowed/full screen) */
#endif
#endif
#if defined(ATARI) || defined(MTOS) /* ATARI-ST */
#include "atarivdi.trm"
#ifdef MTOS
#include "multitos.trm"
#endif
#include "atariaes.trm"
#endif
/******************************* MS-Dos Section **************************/
#if defined(MSDOS) && defined(__EMX__) /* MsDos with emx-gcc compiler */
#define EMXVESA /* Vesa-Cards */
#include "emxvga.trm"
#endif
/* HBB: as an aside: I think the several / * ... / * ... * / later in this file are _bad_ style */
#ifdef DJGPP
#include "djsvga.trm" /* MsDos with djgpp compiler */
#endif
#ifdef __ZTC__
#include "fg.trm" /* MsDos with Zortech-C++ Compiler */
#endif
/* All other Compilers */
#ifndef _Windows
#ifdef PC
/* uncomment the next line to include SuperVGA support */
#define BGI_NAME "svga256" /* the name of the SVGA.BGI for Borland C */
/* this also triggers the inclusion of Super VGA support */
#include "pc.trm" /* all PC types except MS WINDOWS*/
#endif
#else
#include "win.trm" /* MS-Windows */
#endif
/********************** End of MS-Dos Section ****************************/
#ifdef UNIXPC /* AT&T Unix-PC */
#include "unixpc.trm"
#endif
#ifdef SUN /* Sunview */
#include "sun.trm"
#endif
#ifdef IRIS /* Iris */
#include "iris4d.trm"
#endif
#ifdef UIS /* VAX Windowing System requires UIS libraries */
#include "vws.trm"
#endif
#ifdef SCO /* SCO CGI drivers */
#include "cgi.trm"
#endif
#ifdef APOLLO
#include "apollo.trm" /* Apollo Graphics Primitive Resource */
/* with resizeable windows */
#include "gpr.h" /* Apollo Graphics Primitive Resource fixed windows */
#endif
#ifdef NEXT
#include "next.trm"
#endif
#ifdef _Macintosh
#include "mac.trm"
#endif
/* These terminals are not relevant for MSDOS, OS2, MS-Windows, ATARI or Amiga */
#if !defined(MSDOS) && !defined(_Windows) && !defined(ATARI) && !defined(MTOS) && !defined(AMIGA)
#include "aed.trm" /* AED 512 and AED 767 */
#ifdef UNIXPLOT
#ifdef GNUGRAPH
#include "gnugraph.trm"
#else
#include "unixplot.trm"
#endif
#endif
#include "gpic.trm" /* gpic for groff */
/* #include "mgr.trm" /* MGR Window Manager */
#include "regis.trm" /* regis graphics */
/* #include "rgip.trm" /* Metafile, requires POSIX */
/* Redwood Graphics Interface Protocol UNIPLEX */
#include "t410x.trm" /* Tektronix 4106, 4107, 4109 and 420x terminals */
#include "tek.trm" /* a Tek 4010 and others including VT-style */
#include "xlib.trm"
#endif /* !MSDOS && !OS2 && !_Windows && !_ATARI && !_MTOS && !AMIGA */
#ifdef X11
#include "x11.trm" /* x windows */
#endif
/* These terminals can be used on any system */
#include "ai.trm" /* Adobe Illustrator Format */
#include "cgm.trm" /* Computer Graphics Metafile (eg ms office) */
#include "corel.trm" /* CorelDraw! eps format */
/* #include "debug.trm" /* debugging terminal */
#include "dumb.trm" /* dumb terminal */
#include "dxf.trm" /* DXF format for use with AutoCad (Release 10.x) */
/* #include "dxy.trm" /* Roland DXY800A plotter */
/* #include "excl.trm" /* QMS/EXCL laserprinter (Talaris 1590 and others) */
#include "fig.trm" /* fig graphics */
/* NOTE THAT GIF REQUIRES A SEPARATE LIBRARY : see term/gif.trm */
#ifdef HAVE_LIBGD /* autoconf */
#include "gif.trm" /* GIF format. */
#endif
/* #include "grass.trm" /* geographical info system */
#include "hp26.trm" /* HP2623A and probably others */
#include "hp2648.trm" /* HP2647 and 2648 */
#include "hp500c.trm" /* HP DeskJet 500 C */
#include "hpgl.trm" /* HP7475, HP7220 plotters, and (hopefully) lots of others */
#include "hpljii.trm" /* HP Laserjet II */
#include "hppj.trm" /* HP PrintJet */
#include "imagen.trm" /* Imagen laser printers */
/* #include "kyo.trm" /* Kyocera Prescribe printer */
#include "mif.trm" /* Frame Maker MIF 3.00 format driver */
#include "pbm.trm" /* portable bit map */
/* NOTE THAT PNG REQUIRES A SEPARATE LIBRARY : see term/png.trm */
#ifdef HAVE_LIBPNG /* autoconf */
#include "png.trm" /* png */
#endif
#include "post.trm" /* postscript */
#include "qms.trm" /* QMS laser printers */
#include "table.trm" /* built-in, but used for the documentation */
#include "tgif.trm" /* x11 tgif tool */
#include "tkcanvas.trm" /* tcl/tk */
/* #include "v384.trm" /* Vectrix 384 printer, also Tandy colour */
/* wire printers */
#define EPSONP /* Epson LX-800, Star NL-10, NX-1000 and lots of others */
#define EPS60 /* Epson-style 60-dot per inch printers */
#define EPS180 /* Epson-style 180-dot per inch (24 pin) printers */
#define NEC
#define OKIDATA
#define STARC
#define TANDY60 /* Tandy DMP-130 series 60-dot per inch graphics */
#include "epson.trm" /* the common driver file for all of these */
/* TeX related terminals */
#define EMTEX
#include "latex.trm" /* latex and emtex */
#include "pslatex.trm" /* latex/tex with picture in postscript */
#include "eepic.trm" /* EEPIC-extended LaTeX driver, for EEPIC users */
#include "tpic.trm" /* TPIC specials for TeX */
#include "pstricks.trm" /* LaTeX picture environment with PSTricks macros */
#include "texdraw.trm" /* TeXDraw drawing package for LaTeX */
#include "metafont.trm" /* METAFONT */