home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume30 / gnuplot3 / patch02d / patch.5
Encoding:
Text File  |  1992-06-19  |  35.8 KB  |  1,188 lines

  1. diff -rc gnuplot/makefile.vms gnuplot3.2/makefile.vms
  2. *** gnuplot/makefile.vms    Tue Sep 17 08:20:52 1991
  3. --- gnuplot3.2/makefile.vms    Wed Mar 25 07:59:51 1992
  4. ***************
  5. *** 1,4 ****
  6. --- 1,8 ----
  7.   #
  8. + # $Id: makefile.vms,v 3.26 92/03/24 22:36:49 woo Exp Locker: woo $
  9. + #
  10. + #
  11. + #
  12.   # GNUPLOT Makefile
  13.   # for VMS
  14.   # 
  15. ***************
  16. *** 26,32 ****
  17.       [.term]eepic.trm [.term]epson.trm [.term]fig.trm [.term]hp26.trm \
  18.       [.term]hp2648.trm [.term]hpgl.trm [.term]hpljii.trm 
  19.   CSOURCE6 = [.term]impcodes.h [.term]imagen.trm [.term]object.h \
  20. !     [.term]iris4d.trm [.term]kyo.trm [.term]latex.trm [.term]pc.trm 
  21.   CSOURCE7 = [.term]post.trm [.term]qms.trm [.term]regis.trm [.term]sun.trm \
  22.       [.term]t410x.trm [.term]tek.trm [.term]unixpc.trm [.term]unixplot.trm \
  23.       [.term]v384.trm [.term]x11.trm gnuplot_x11.c
  24. --- 30,37 ----
  25.       [.term]eepic.trm [.term]epson.trm [.term]fig.trm [.term]hp26.trm \
  26.       [.term]hp2648.trm [.term]hpgl.trm [.term]hpljii.trm 
  27.   CSOURCE6 = [.term]impcodes.h [.term]imagen.trm [.term]object.h \
  28. !     [.term]iris4d.trm [.term]kyo.trm [.term]latex.trm [.term]pbm.trm  \
  29. !     [.term]pc.trm 
  30.   CSOURCE7 = [.term]post.trm [.term]qms.trm [.term]regis.trm [.term]sun.trm \
  31.       [.term]t410x.trm [.term]tek.trm [.term]unixpc.trm [.term]unixplot.trm \
  32.       [.term]v384.trm [.term]x11.trm gnuplot_x11.c
  33. diff -rc gnuplot/misc.c gnuplot3.2/misc.c
  34. *** gnuplot/misc.c    Thu Aug 22 10:20:15 1991
  35. --- gnuplot3.2/misc.c    Wed Mar 25 07:59:52 1992
  36. ***************
  37. *** 1,6 ****
  38.   /* GNUPLOT - misc.c */
  39.   /*
  40. !  * Copyright (C) 1986, 1987, 1990, 1991   Thomas Williams, Colin Kelley
  41.    *
  42.    * Permission to use, copy, and distribute this software and its
  43.    * documentation for any purpose with or without fee is hereby granted, 
  44. --- 1,10 ----
  45. + #ifndef lint
  46. + static char *RCSid = "$Id: misc.c,v 3.26 92/03/24 22:34:30 woo Exp Locker: woo $";
  47. + #endif
  48.   /* GNUPLOT - misc.c */
  49.   /*
  50. !  * Copyright (C) 1986, 1987, 1990, 1991, 1992   Thomas Williams, Colin Kelley
  51.    *
  52.    * Permission to use, copy, and distribute this software and its
  53.    * documentation for any purpose with or without fee is hereby granted, 
  54. ***************
  55. *** 27,37 ****
  56.    *       Gershon Elber and many others.
  57.    * 
  58.    * Send your comments or suggestions to 
  59. !  *  pixar!info-gnuplot@sun.com.
  60.    * This is a mailing list; to join it send a note to 
  61. !  *  pixar!info-gnuplot-request@sun.com.  
  62.    * Send bug reports to
  63. !  *  pixar!bug-gnuplot@sun.com.
  64.    */
  65.   
  66.   #include <stdio.h>
  67. --- 31,41 ----
  68.    *       Gershon Elber and many others.
  69.    * 
  70.    * Send your comments or suggestions to 
  71. !  *  info-gnuplot@ames.arc.nasa.gov.
  72.    * This is a mailing list; to join it send a note to 
  73. !  *  info-gnuplot-request@ames.arc.nasa.gov.  
  74.    * Send bug reports to
  75. !  *  bug-gnuplot@ames.arc.nasa.gov.
  76.    */
  77.   
  78.   #include <stdio.h>
  79. ***************
  80. *** 514,519 ****
  81. --- 518,524 ----
  82.           case CONTOUR_SRF:  fprintf(fp, " surface\n"); break;
  83.           case CONTOUR_BOTH: fprintf(fp, " both\n"); break;
  84.       }
  85. +     fprintf(fp,"set %shidden3d\n",(hidden3d) ? "" : "no");
  86.       fprintf(fp,"set cntrparam order %d\n", contour_order);
  87.       fprintf(fp,"set cntrparam ");
  88.       switch (contour_kind) {
  89. diff -rc gnuplot/parse.c gnuplot3.2/parse.c
  90. *** gnuplot/parse.c    Sun Jan  5 21:33:20 1992
  91. --- gnuplot3.2/parse.c    Wed Mar 25 07:59:53 1992
  92. ***************
  93. *** 1,6 ****
  94.   /* GNUPLOT - parse.c */
  95.   /*
  96. !  * Copyright (C) 1986, 1987, 1990, 1991   Thomas Williams, Colin Kelley
  97.    *
  98.    * Permission to use, copy, and distribute this software and its
  99.    * documentation for any purpose with or without fee is hereby granted, 
  100. --- 1,10 ----
  101. + #ifndef lint
  102. + static char *RCSid = "$Id: parse.c,v 3.26 92/03/24 22:34:33 woo Exp Locker: woo $";
  103. + #endif
  104.   /* GNUPLOT - parse.c */
  105.   /*
  106. !  * Copyright (C) 1986, 1987, 1990, 1991, 1992   Thomas Williams, Colin Kelley
  107.    *
  108.    * Permission to use, copy, and distribute this software and its
  109.    * documentation for any purpose with or without fee is hereby granted, 
  110. ***************
  111. *** 27,37 ****
  112.    *       Gershon Elber and many others.
  113.    * 
  114.    * Send your comments or suggestions to 
  115. !  *  pixar!info-gnuplot@sun.com.
  116.    * This is a mailing list; to join it send a note to 
  117. !  *  pixar!info-gnuplot-request@sun.com.  
  118.    * Send bug reports to
  119. !  *  pixar!bug-gnuplot@sun.com.
  120.    */
  121.   
  122.   #include <stdio.h>
  123. --- 31,41 ----
  124.    *       Gershon Elber and many others.
  125.    * 
  126.    * Send your comments or suggestions to 
  127. !  *  info-gnuplot@ames.arc.nasa.gov.
  128.    * This is a mailing list; to join it send a note to 
  129. !  *  info-gnuplot-request@ames.arc.nasa.gov.  
  130.    * Send bug reports to
  131. !  *  bug-gnuplot@ames.arc.nasa.gov.
  132.    */
  133.   
  134.   #include <stdio.h>
  135. ***************
  136. *** 66,72 ****
  137.   #ifdef __TURBOC__
  138.   void fpe()
  139.   #else
  140. ! #if defined( __ZTC__ ) || defined( _CRAY )
  141.   void fpe(an_int)
  142.   int an_int;
  143.   #else
  144. --- 70,76 ----
  145.   #ifdef __TURBOC__
  146.   void fpe()
  147.   #else
  148. ! #if defined( __ZTC__ ) || defined( _CRAY ) || defined( sgi )
  149.   void fpe(an_int)
  150.   int an_int;
  151.   #else
  152. ***************
  153. *** 73,80 ****
  154. --- 77,90 ----
  155.   #ifdef NEXT
  156.   void fpe(int an_int)
  157.   #else
  158. + #ifdef sgi
  159. + void fpe(int sig, int code, struct sigcontext *sc)
  160. + /*void fpe(an_int)
  161. + int an_int;*/
  162. + #else
  163.   fpe()
  164.   #endif
  165. + #endif
  166.   #endif /* __ZTC__ || _CRAY */
  167.   #endif
  168.   {
  169. ***************
  170. *** 385,391 ****
  171.   #if defined(AMIGA_LC_5_1) || defined(AMIGA_AC_5)
  172.           (void) add_action(ABOOL);
  173.   #else
  174. !         (void) add_action(BOOL);
  175.   #endif
  176.       }
  177.   }
  178. --- 395,401 ----
  179.   #if defined(AMIGA_LC_5_1) || defined(AMIGA_AC_5)
  180.           (void) add_action(ABOOL);
  181.   #else
  182. !         (void) add_action(BOOLE);
  183.   #endif
  184.       }
  185.   }
  186. ***************
  187. *** 405,411 ****
  188.   #if defined(AMIGA_LC_5_1) || defined(AMIGA_AC_5)
  189.           (void) add_action(ABOOL);
  190.   #else
  191. !         (void) add_action(BOOL);
  192.   #endif
  193.       }
  194.   }
  195. --- 415,421 ----
  196.   #if defined(AMIGA_LC_5_1) || defined(AMIGA_AC_5)
  197.           (void) add_action(ABOOL);
  198.   #else
  199. !         (void) add_action(BOOLE);
  200.   #endif
  201.       }
  202.   }
  203. diff -rc gnuplot/plot.c gnuplot3.2/plot.c
  204. *** gnuplot/plot.c    Sun Jan  5 21:33:21 1992
  205. --- gnuplot3.2/plot.c    Wed Mar 25 07:59:54 1992
  206. ***************
  207. *** 1,6 ****
  208.   /* GNUPLOT - plot.c */
  209.   /*
  210. !  * Copyright (C) 1986, 1987, 1990, 1991   Thomas Williams, Colin Kelley
  211.    *
  212.    * Permission to use, copy, and distribute this software and its
  213.    * documentation for any purpose with or without fee is hereby granted, 
  214. --- 1,10 ----
  215. + #ifndef lint
  216. + static char *RCSid = "$Id: plot.c,v 3.26 92/03/24 22:34:34 woo Exp Locker: woo $";
  217. + #endif
  218.   /* GNUPLOT - plot.c */
  219.   /*
  220. !  * Copyright (C) 1986, 1987, 1990, 1991, 1992   Thomas Williams, Colin Kelley
  221.    *
  222.    * Permission to use, copy, and distribute this software and its
  223.    * documentation for any purpose with or without fee is hereby granted, 
  224. ***************
  225. *** 27,37 ****
  226.    *       Gershon Elber and many others.
  227.    * 
  228.    * Send your comments or suggestions to 
  229. !  *  pixar!info-gnuplot@sun.com.
  230.    * This is a mailing list; to join it send a note to 
  231. !  *  pixar!info-gnuplot-request@sun.com.  
  232.    * Send bug reports to
  233. !  *  pixar!bug-gnuplot@sun.com.
  234.    */
  235.   
  236.   #include <stdio.h>
  237. --- 31,41 ----
  238.    *       Gershon Elber and many others.
  239.    * 
  240.    * Send your comments or suggestions to 
  241. !  *  info-gnuplot@ames.arc.nasa.gov.
  242.    * This is a mailing list; to join it send a note to 
  243. !  *  info-gnuplot-request@ames.arc.nasa.gov.  
  244.    * Send bug reports to
  245. !  *  bug-gnuplot@ames.arc.nasa.gov.
  246.    */
  247.   
  248.   #include <stdio.h>
  249. ***************
  250. *** 65,70 ****
  251. --- 69,75 ----
  252.   extern int term;
  253.   
  254.   BOOLEAN interactive = TRUE;    /* FALSE if stdin not a terminal */
  255. + BOOLEAN noinputfiles = TRUE;    /* FALSE if there are script files */
  256.   char *infile_name = NULL;    /* name of command file; NULL if terminal */
  257.   
  258.   #ifndef STDOUT
  259. ***************
  260. *** 164,170 ****
  261.   #ifdef __TURBOC__
  262.   void tc_interrupt()
  263.   #else
  264. ! #ifdef _CRAY
  265.   void inter(an_int)
  266.   int an_int;
  267.   #else
  268. --- 169,175 ----
  269.   #ifdef __TURBOC__
  270.   void tc_interrupt()
  271.   #else
  272. ! #if defined( _CRAY ) || defined( sgi )
  273.   void inter(an_int)
  274.   int an_int;
  275.   #else
  276. ***************
  277. *** 171,180 ****
  278. --- 176,189 ----
  279.   #ifdef NEXT
  280.   void inter(int an_int)
  281.   #else
  282. + #ifdef sgi
  283. + void inter(int sig, int code, struct sigcontext *sc)
  284. + #else
  285.   inter()
  286.   #endif
  287.   #endif
  288.   #endif
  289. + #endif
  290.   {
  291.   #ifdef MSDOS
  292.   #ifdef __TURBOC__
  293. ***************
  294. *** 217,222 ****
  295. --- 226,234 ----
  296.   #endif
  297.   
  298.       setbuf(stderr,(char *)NULL);
  299. + #ifdef UNIX
  300. +     setlinebuf(stdout);
  301. + #endif
  302.       outfile = stdout;
  303.       (void) complex(&udv_pi.udv_value, Pi, 0.0);
  304.   
  305. ***************
  306. *** 230,236 ****
  307.        interactive = isatty(fileno(stdin));
  308.   #endif
  309.        if (argc > 1)
  310. !       interactive = FALSE;
  311.   
  312.        if (interactive)
  313.         show_version();
  314. --- 242,250 ----
  315.        interactive = isatty(fileno(stdin));
  316.   #endif
  317.        if (argc > 1)
  318. !       interactive = noinputfiles = FALSE;
  319. !      else
  320. !       noinputfiles = TRUE;
  321.   
  322.        if (interactive)
  323.         show_version();
  324. ***************
  325. *** 265,271 ****
  326.              outfile = stdout;
  327.           }
  328.   #endif                    /* VMS */
  329. !         if (!interactive)
  330.            done(IO_ERROR);            /* exit on non-interactive error */
  331.       }
  332.   
  333. --- 279,285 ----
  334.              outfile = stdout;
  335.           }
  336.   #endif                    /* VMS */
  337. !         if (!interactive && !noinputfiles)
  338.            done(IO_ERROR);            /* exit on non-interactive error */
  339.       }
  340.   
  341. diff -rc gnuplot/plot.h gnuplot3.2/plot.h
  342. *** gnuplot/plot.h    Sun Jan  5 21:33:22 1992
  343. --- gnuplot3.2/plot.h    Wed Mar 25 07:59:55 1992
  344. ***************
  345. *** 1,6 ****
  346.   /* GNUPLOT - plot.h */
  347.   /*
  348. !  * Copyright (C) 1986, 1987, 1990, 1991   Thomas Williams, Colin Kelley
  349.    *
  350.    * Permission to use, copy, and distribute this software and its
  351.    * documentation for any purpose with or without fee is hereby granted, 
  352. --- 1,11 ----
  353. + /*
  354. +  * $Id: plot.h,v 3.26 92/03/24 22:34:13 woo Exp Locker: woo $
  355. +  *
  356. +  */
  357.   /* GNUPLOT - plot.h */
  358.   /*
  359. !  * Copyright (C) 1986, 1987, 1990, 1991, 1992   Thomas Williams, Colin Kelley
  360.    *
  361.    * Permission to use, copy, and distribute this software and its
  362.    * documentation for any purpose with or without fee is hereby granted, 
  363. ***************
  364. *** 27,37 ****
  365.    *       Gershon Elber and many others.
  366.    * 
  367.    * Send your comments or suggestions to 
  368. !  *  pixar!info-gnuplot@sun.com.
  369.    * This is a mailing list; to join it send a note to 
  370. !  *  pixar!info-gnuplot-request@sun.com.  
  371.    * Send bug reports to
  372. !  *  pixar!bug-gnuplot@sun.com.
  373.    */
  374.   
  375.   #define PROGRAM "G N U P L O T"
  376. --- 32,42 ----
  377.    *       Gershon Elber and many others.
  378.    * 
  379.    * Send your comments or suggestions to 
  380. !  *  info-gnuplot@ames.arc.nasa.gov.
  381.    * This is a mailing list; to join it send a note to 
  382. !  *  info-gnuplot-request@ames.arc.nasa.gov.  
  383.    * Send bug reports to
  384. !  *  bug-gnuplot@ames.arc.nasa.gov.
  385.    */
  386.   
  387.   #define PROGRAM "G N U P L O T"
  388. ***************
  389. *** 234,240 ****
  390.   enum operators {
  391.       PUSH, PUSHC, PUSHD1, PUSHD2, CALL, CALL2, LNOT, BNOT, UMINUS, LOR, LAND,
  392.       BOR, XOR, BAND, EQ, NE, GT, LT, GE, LE, PLUS, MINUS, MULT, DIV,
  393. !     MOD, POWER, FACTORIAL, BOOL, JUMP, JUMPZ, JUMPNZ, JTERN, SF_START
  394.   };
  395.   #endif
  396.   
  397. --- 239,245 ----
  398.   enum operators {
  399.       PUSH, PUSHC, PUSHD1, PUSHD2, CALL, CALL2, LNOT, BNOT, UMINUS, LOR, LAND,
  400.       BOR, XOR, BAND, EQ, NE, GT, LT, GE, LE, PLUS, MINUS, MULT, DIV,
  401. !     MOD, POWER, FACTORIAL, BOOLE, JUMP, JUMPZ, JUMPNZ, JTERN, SF_START
  402.   };
  403.   #endif
  404.   
  405. diff -rc gnuplot/readline.c gnuplot3.2/readline.c
  406. *** gnuplot/readline.c    Sun Jan  5 21:33:22 1992
  407. --- gnuplot3.2/readline.c    Wed Mar 25 07:59:56 1992
  408. ***************
  409. *** 1,6 ****
  410.   /* GNUPLOT - readline.c */
  411.   /*
  412. !  * Copyright (C) 1986, 1987, 1990, 1991   Thomas Williams, Colin Kelley
  413.    *
  414.    * Permission to use, copy, and distribute this software and its
  415.    * documentation for any purpose with or without fee is hereby granted, 
  416. --- 1,10 ----
  417. + #ifndef lint
  418. + static char *RCSid = "$Id: readline.c,v 3.26 92/03/24 22:34:35 woo Exp Locker: woo $";
  419. + #endif
  420.   /* GNUPLOT - readline.c */
  421.   /*
  422. !  * Copyright (C) 1986, 1987, 1990, 1991, 1992   Thomas Williams, Colin Kelley
  423.    *
  424.    * Permission to use, copy, and distribute this software and its
  425.    * documentation for any purpose with or without fee is hereby granted, 
  426. ***************
  427. *** 24,34 ****
  428.    *     Gershon Elber and many others.
  429.    * 
  430.    * Send your comments or suggestions to 
  431. !  *  pixar!info-gnuplot@sun.com.
  432.    * This is a mailing list; to join it send a note to 
  433. !  *  pixar!info-gnuplot-request@sun.com.  
  434.    * Send bug reports to
  435. !  *  pixar!bug-gnuplot@sun.com.
  436.    */
  437.   
  438.   #ifdef READLINE
  439. --- 28,38 ----
  440.    *     Gershon Elber and many others.
  441.    * 
  442.    * Send your comments or suggestions to 
  443. !  *  info-gnuplot@ames.arc.nasa.gov.
  444.    * This is a mailing list; to join it send a note to 
  445. !  *  info-gnuplot-request@ames.arc.nasa.gov.  
  446.    * Send bug reports to
  447. !  *  bug-gnuplot@ames.arc.nasa.gov.
  448.    */
  449.   
  450.   #ifdef READLINE
  451. diff -rc gnuplot/scanner.c gnuplot3.2/scanner.c
  452. *** gnuplot/scanner.c    Sun Jan  5 21:33:23 1992
  453. --- gnuplot3.2/scanner.c    Wed Mar 25 07:59:57 1992
  454. ***************
  455. *** 1,6 ****
  456.   /* GNUPLOT - scanner.c */
  457.   /*
  458. !  * Copyright (C) 1986, 1987, 1990, 1991   Thomas Williams, Colin Kelley
  459.    *
  460.    * Permission to use, copy, and distribute this software and its
  461.    * documentation for any purpose with or without fee is hereby granted, 
  462. --- 1,10 ----
  463. + #ifndef lint
  464. + static char *RCSid = "$Id: scanner.c,v 3.26 92/03/24 22:34:36 woo Exp Locker: woo $";
  465. + #endif
  466.   /* GNUPLOT - scanner.c */
  467.   /*
  468. !  * Copyright (C) 1986, 1987, 1990, 1991, 1992   Thomas Williams, Colin Kelley
  469.    *
  470.    * Permission to use, copy, and distribute this software and its
  471.    * documentation for any purpose with or without fee is hereby granted, 
  472. ***************
  473. *** 27,37 ****
  474.    *       Gershon Elber and many others.
  475.    * 
  476.    * Send your comments or suggestions to 
  477. !  *  pixar!info-gnuplot@sun.com.
  478.    * This is a mailing list; to join it send a note to 
  479. !  *  pixar!info-gnuplot-request@sun.com.  
  480.    * Send bug reports to
  481. !  *  pixar!bug-gnuplot@sun.com.
  482.    */
  483.   
  484.   #include <stdio.h>
  485. --- 31,41 ----
  486.    *       Gershon Elber and many others.
  487.    * 
  488.    * Send your comments or suggestions to 
  489. !  *  info-gnuplot@ames.arc.nasa.gov.
  490.    * This is a mailing list; to join it send a note to 
  491. !  *  info-gnuplot-request@ames.arc.nasa.gov.  
  492.    * Send bug reports to
  493. !  *  bug-gnuplot@ames.arc.nasa.gov.
  494.    */
  495.   
  496.   #include <stdio.h>
  497. diff -rc gnuplot/setshow.c gnuplot3.2/setshow.c
  498. *** gnuplot/setshow.c    Tue Sep  3 16:22:55 1991
  499. --- gnuplot3.2/setshow.c    Wed Mar 25 07:59:59 1992
  500. ***************
  501. *** 1,6 ****
  502.   /* GNUPLOT - setshow.c */
  503.   /*
  504. !  * Copyright (C) 1986, 1987, 1990, 1991   Thomas Williams, Colin Kelley
  505.    *
  506.    * Permission to use, copy, and distribute this software and its
  507.    * documentation for any purpose with or without fee is hereby granted, 
  508. --- 1,10 ----
  509. + #ifndef lint
  510. + static char *RCSid = "$Id: setshow.c,v 3.26 92/03/24 22:34:20 woo Exp Locker: woo $";
  511. + #endif
  512.   /* GNUPLOT - setshow.c */
  513.   /*
  514. !  * Copyright (C) 1986, 1987, 1990, 1991, 1992   Thomas Williams, Colin Kelley
  515.    *
  516.    * Permission to use, copy, and distribute this software and its
  517.    * documentation for any purpose with or without fee is hereby granted, 
  518. ***************
  519. *** 27,37 ****
  520.    *       Gershon Elber and many others.
  521.    * 
  522.    * Send your comments or suggestions to 
  523. !  *  pixar!info-gnuplot@sun.com.
  524.    * This is a mailing list; to join it send a note to 
  525. !  *  pixar!info-gnuplot-request@sun.com.  
  526.    * Send bug reports to
  527. !  *  pixar!bug-gnuplot@sun.com.
  528.    */
  529.   
  530.   #include <stdio.h>
  531. --- 31,41 ----
  532.    *       Gershon Elber and many others.
  533.    * 
  534.    * Send your comments or suggestions to 
  535. !  *  info-gnuplot@ames.arc.nasa.gov.
  536.    * This is a mailing list; to join it send a note to 
  537. !  *  info-gnuplot-request@ames.arc.nasa.gov.  
  538.    * Send bug reports to
  539. !  *  bug-gnuplot@ames.arc.nasa.gov.
  540.    */
  541.   
  542.   #include <stdio.h>
  543. ***************
  544. *** 81,86 ****
  545. --- 85,91 ----
  546.   char            outstr[MAX_ID_LEN+1] = "STDOUT";
  547.   BOOLEAN            parametric    = FALSE;
  548.   BOOLEAN            polar        = FALSE;
  549. + BOOLEAN            hidden3d    = FALSE;
  550.   int            angles_format    = ANGLES_RADIANS;
  551.   int            mapping3d    = MAP3D_CARTESIAN;
  552.   int            samples        = SAMPLES;
  553. ***************
  554. *** 190,196 ****
  555.   static void show_polar(), show_parametric(), show_tics(), show_ticdef();
  556.   static void show_time(), show_term(), show_plot(), show_autoscale(), show_clip();
  557.   static void show_contour(), show_mapping(), show_format(), show_logscale();
  558. ! static void show_variables(), show_surface();
  559.   static void delete_label();
  560.   static int assign_label_tag();
  561.   static void delete_arrow();
  562. --- 195,201 ----
  563.   static void show_polar(), show_parametric(), show_tics(), show_ticdef();
  564.   static void show_time(), show_term(), show_plot(), show_autoscale(), show_clip();
  565.   static void show_contour(), show_mapping(), show_format(), show_logscale();
  566. ! static void show_variables(), show_surface(), show_hidden3d();
  567.   static void delete_label();
  568.   static int assign_label_tag();
  569.   static void delete_arrow();
  570. ***************
  571. *** 208,221 ****
  572.       int_error(
  573.       "valid set options:  'angles' '{no}arrow', {no}autoscale', \n\
  574.       '{no}border', '{no}clip', 'cntrparam', '{no}contour', 'data style', \n\
  575. !     'dummy', 'format', 'function style', '{no}grid', 'isosamples', \n\
  576. !     '{no}key', '{no}label', '{no}logscale', 'mapping', 'offsets', \n\
  577. !     'output', '{no}parametric', '{no}polar', 'rrange', 'samples', \n\
  578. !     'size', '{no}surface', 'terminal', 'tics', 'ticslevel', '{no}time', \n\
  579. !     'title', 'trange', 'urange', 'view', 'vrange', 'xlabel', 'xrange', \n\
  580. !     '{no}xtics', '{no}xzeroaxis', 'ylabel', 'yrange', '{no}ytics', \n\
  581. !     '{no}yzeroaxis', 'zero', '{no}zeroaxis', 'zlabel', 'zrange', \n\
  582. !     '{no}ztics'", c_token);
  583.   }
  584.   
  585.   /* return TRUE if a command match, FALSE if not */
  586. --- 213,226 ----
  587.       int_error(
  588.       "valid set options:  'angles' '{no}arrow', {no}autoscale', \n\
  589.       '{no}border', '{no}clip', 'cntrparam', '{no}contour', 'data style', \n\
  590. !     'dummy', 'format', 'function style', '{no}grid', '{no}hidden3d', \n\
  591. !     'isosamples', '{no}key', '{no}label', '{no}logscale', 'mapping', \n\
  592. !     'offsets', 'output', '{no}parametric', '{no}polar', 'rrange', \n\
  593. !     'samples', 'size', '{no}surface', 'terminal', 'tics', 'ticslevel', \n\
  594. !     '{no}time', 'title', 'trange', 'urange', 'view', 'vrange', 'xlabel', \n\
  595. !     'xrange', '{no}xtics', '{no}xzeroaxis', 'ylabel', 'yrange', \n\
  596. !     '{no}ytics', '{no}yzeroaxis', 'zero', '{no}zeroaxis', 'zlabel', \n\
  597. !     'zrange', '{no}ztics'", c_token);
  598.   }
  599.   
  600.   /* return TRUE if a command match, FALSE if not */
  601. ***************
  602. *** 318,323 ****
  603. --- 323,336 ----
  604.            int_error("expecting 'points', 'one', or 'two'", c_token);
  605.           c_token++;
  606.       }
  607. +     else if (almost_equals(c_token,"hi$dden3d")) {
  608. +         hidden3d = TRUE;
  609. +         c_token++;
  610. +     }
  611. +     else if (almost_equals(c_token,"nohi$dden3d")) {
  612. +         hidden3d = FALSE;
  613. +         c_token++;
  614. +     }
  615.       else if (almost_equals(c_token,"ma$pping3d")) {
  616.           c_token++;
  617.           if (END_OF_COMMAND)
  618. ***************
  619. *** 1757,1769 ****
  620.       int_error(
  621.       "valid show options:  'action_table', 'all', 'angles', 'arrow', \n\
  622.       'autoscale', 'border', 'clip', 'contour', 'data', 'dummy', 'format', \n\
  623. !     'function', 'grid', 'key', 'label', 'logscale', 'mapping', 'offsets', \n\
  624. !     'output', 'plot', 'parametric', 'polar', 'rrange', 'samples', \n\
  625. !     'isosamples', 'view', 'size', 'terminal', 'tics', 'ticslevel', \n\
  626. !     'time', 'title', 'trange', 'urange', 'vrange', 'variables', \n\
  627. !     'version', 'xlabel', 'xrange', 'xtics', 'xzeroaxis', 'ylabel', \n\
  628. !     'yrange', 'ytics', 'yzeroaxis', 'zlabel', 'zrange', 'ztics', 'zero', \n\
  629. !     'zeroaxis'", c_token);
  630.       screen_ok = FALSE;
  631.       (void) putc('\n',stderr);
  632.   }
  633. --- 1770,1782 ----
  634.       int_error(
  635.       "valid show options:  'action_table', 'all', 'angles', 'arrow', \n\
  636.       'autoscale', 'border', 'clip', 'contour', 'data', 'dummy', 'format', \n\
  637. !     'function', 'grid', 'hidden', 'key', 'label', 'logscale', 'mapping', \n\
  638. !     'offsets', 'output', 'plot', 'parametric', 'polar', 'rrange', \n\
  639. !     'samples', 'isosamples', 'view', 'size', 'terminal', 'tics', \n\
  640. !     'ticslevel', 'time', 'title', 'trange', 'urange', 'vrange', \n\
  641. !     'variables', 'version', 'xlabel', 'xrange', 'xtics', 'xzeroaxis', \n\
  642. !     'ylabel', 'yrange', 'ytics', 'yzeroaxis', 'zlabel', 'zrange', \n\
  643. !     'ztics', 'zero', 'zeroaxis'", c_token);
  644.       screen_ok = FALSE;
  645.       (void) putc('\n',stderr);
  646.   }
  647. ***************
  648. *** 1963,1968 ****
  649. --- 1976,1986 ----
  650.           show_surface();
  651.           c_token++;
  652.       }
  653. +     else if (almost_equals(c_token,"hi$dden3d")) {
  654. +         (void) putc('\n',stderr);
  655. +         show_hidden3d();
  656. +         c_token++;
  657. +     }
  658.       else if (almost_equals(c_token,"xti$cs")) {
  659.           show_tics(TRUE,FALSE,FALSE);
  660.           c_token++;
  661. ***************
  662. *** 2075,2080 ****
  663. --- 2093,2099 ----
  664.           show_isosamples();
  665.           show_view();
  666.           show_surface();
  667. +         show_hidden3d();
  668.           show_size();
  669.           show_term();
  670.           show_tics(TRUE,TRUE,TRUE);
  671. ***************
  672. *** 2175,2180 ****
  673. --- 2194,2205 ----
  674.   }
  675.   
  676.   static void
  677. + show_hidden3d()
  678. + {
  679. +     fprintf(stderr,"\thidden surface is %s\n", hidden3d ? "removed" : "drawn");
  680. + }
  681. + static void
  682.   show_view()
  683.   {
  684.       fprintf(stderr,"\tview is %g rot_x, %g rot_z, %g scale, %g scale_z\n",
  685. ***************
  686. *** 2587,2601 ****
  687.           PROGRAM, OS, version); 
  688.       fprintf(stderr,"\tpatchlevel %s\n",patchlevel);
  689.        fprintf(stderr, "\tlast modified %s\n", date);
  690. !     fprintf(stderr,"\tCopyright (C) 1986, 1987, 1990, 1991  %s, %s\n",
  691.           authors[x],authors[1-x]);
  692.       fprintf(stderr, "\n\tSend bugs and comments to %s\n", bug_email);
  693.   }
  694. --- 2612,2618 ----
  695.           PROGRAM, OS, version); 
  696.       fprintf(stderr,"\tpatchlevel %s\n",patchlevel);
  697.        fprintf(stderr, "\tlast modified %s\n", date);
  698. !     fprintf(stderr,"\nCopyright(C) 1986, 1987, 1990, 1991, 1992  %s, %s\n",
  699.           authors[x],authors[1-x]);
  700.       fprintf(stderr, "\n\tSend bugs and comments to %s\n", bug_email);
  701.   }
  702. diff -rc gnuplot/setshow.h gnuplot3.2/setshow.h
  703. *** gnuplot/setshow.h    Thu Jul 18 12:01:58 1991
  704. --- gnuplot3.2/setshow.h    Wed Mar 25 07:59:59 1992
  705. ***************
  706. *** 1,6 ****
  707.   /* GNUPLOT - setshow.h */
  708.   /*
  709. !  * Copyright (C) 1986, 1987, 1990, 1991   Thomas Williams, Colin Kelley
  710.    *
  711.    * Permission to use, copy, and distribute this software and its
  712.    * documentation for any purpose with or without fee is hereby granted, 
  713. --- 1,11 ----
  714. + /*
  715. +  * $Id: setshow.h,v 3.26 92/03/24 22:34:15 woo Exp Locker: woo $
  716. +  *
  717. +  */
  718.   /* GNUPLOT - setshow.h */
  719.   /*
  720. !  * Copyright (C) 1986, 1987, 1990, 1991, 1992   Thomas Williams, Colin Kelley
  721.    *
  722.    * Permission to use, copy, and distribute this software and its
  723.    * documentation for any purpose with or without fee is hereby granted, 
  724. ***************
  725. *** 27,37 ****
  726.    *       Gershon Elber and many others.
  727.    * 
  728.    * Send your comments or suggestions to 
  729. !  *  pixar!info-gnuplot@sun.com.
  730.    * This is a mailing list; to join it send a note to 
  731. !  *  pixar!info-gnuplot-request@sun.com.  
  732.    * Send bug reports to
  733. !  *  pixar!bug-gnuplot@sun.com.
  734.    */
  735.   
  736.   /*
  737. --- 32,42 ----
  738.    *       Gershon Elber and many others.
  739.    * 
  740.    * Send your comments or suggestions to 
  741. !  *  info-gnuplot@ames.arc.nasa.gov.
  742.    * This is a mailing list; to join it send a note to 
  743. !  *  info-gnuplot-request@ames.arc.nasa.gov.  
  744.    * Send bug reports to
  745. !  *  bug-gnuplot@ames.arc.nasa.gov.
  746.    */
  747.   
  748.   /*
  749. ***************
  750. *** 70,75 ****
  751. --- 75,81 ----
  752.   extern char            outstr[];
  753.   extern BOOLEAN            parametric;
  754.   extern BOOLEAN            polar;
  755. + extern BOOLEAN            hidden3d;
  756.   extern int            angles_format;
  757.   extern int            mapping3d;
  758.   extern int            samples;
  759. diff -rc gnuplot/standard.c gnuplot3.2/standard.c
  760. *** gnuplot/standard.c    Sun Jan  5 21:33:24 1992
  761. --- gnuplot3.2/standard.c    Wed Mar 25 08:00:00 1992
  762. ***************
  763. *** 1,6 ****
  764.   /* GNUPLOT - standard.c */
  765.   /*
  766. !  * Copyright (C) 1986, 1987, 1990, 1991   Thomas Williams, Colin Kelley
  767.    *
  768.    * Permission to use, copy, and distribute this software and its
  769.    * documentation for any purpose with or without fee is hereby granted, 
  770. --- 1,10 ----
  771. + #ifndef lint
  772. + static char *RCSid = "$Id: standard.c,v 3.26 92/03/24 22:34:37 woo Exp Locker: woo $";
  773. + #endif
  774.   /* GNUPLOT - standard.c */
  775.   /*
  776. !  * Copyright (C) 1986, 1987, 1990, 1991, 1992   Thomas Williams, Colin Kelley
  777.    *
  778.    * Permission to use, copy, and distribute this software and its
  779.    * documentation for any purpose with or without fee is hereby granted, 
  780. ***************
  781. *** 27,37 ****
  782.    *       Gershon Elber and many others.
  783.    * 
  784.    * Send your comments or suggestions to 
  785. !  *  pixar!info-gnuplot@sun.com.
  786.    * This is a mailing list; to join it send a note to 
  787. !  *  pixar!info-gnuplot-request@sun.com.  
  788.    * Send bug reports to
  789. !  *  pixar!bug-gnuplot@sun.com.
  790.    */
  791.   
  792.   #include <math.h>
  793. --- 31,41 ----
  794.    *       Gershon Elber and many others.
  795.    * 
  796.    * Send your comments or suggestions to 
  797. !  *  info-gnuplot@ames.arc.nasa.gov.
  798.    * This is a mailing list; to join it send a note to 
  799. !  *  info-gnuplot-request@ames.arc.nasa.gov.  
  800.    * Send bug reports to
  801. !  *  bug-gnuplot@ames.arc.nasa.gov.
  802.    */
  803.   
  804.   #include <math.h>
  805. Common subdirectories: gnuplot/term and gnuplot3.2/term
  806. diff -rc gnuplot/term.c gnuplot3.2/term.c
  807. *** gnuplot/term.c    Sun Jan  5 21:33:25 1992
  808. --- gnuplot3.2/term.c    Wed Mar 25 08:00:02 1992
  809. ***************
  810. *** 1,6 ****
  811.   /* GNUPLOT - term.c */
  812.   /*
  813. !  * Copyright (C) 1986, 1987, 1990, 1991   Thomas Williams, Colin Kelley
  814.    *
  815.    * Permission to use, copy, and distribute this software and its
  816.    * documentation for any purpose with or without fee is hereby granted, 
  817. --- 1,10 ----
  818. + #ifndef lint
  819. + static char *RCSid = "$Id: term.c,v 3.26 92/03/24 22:34:41 woo Exp Locker: woo $";
  820. + #endif
  821.   /* GNUPLOT - term.c */
  822.   /*
  823. !  * Copyright (C) 1986, 1987, 1990, 1991, 1992   Thomas Williams, Colin Kelley
  824.    *
  825.    * Permission to use, copy, and distribute this software and its
  826.    * documentation for any purpose with or without fee is hereby granted, 
  827. ***************
  828. *** 27,37 ****
  829.    *       Gershon Elber and many others.
  830.    * 
  831.    * Send your comments or suggestions to 
  832. !  *  pixar!info-gnuplot@sun.com.
  833.    * This is a mailing list; to join it send a note to 
  834. !  *  pixar!info-gnuplot-request@sun.com.  
  835.    * Send bug reports to
  836. !  *  pixar!bug-gnuplot@sun.com.
  837.    */
  838.   
  839.   #include <stdio.h>
  840. --- 31,41 ----
  841.    *       Gershon Elber and many others.
  842.    * 
  843.    * Send your comments or suggestions to 
  844. !  *  info-gnuplot@ames.arc.nasa.gov.
  845.    * This is a mailing list; to join it send a note to 
  846. !  *  info-gnuplot-request@ames.arc.nasa.gov.  
  847.    * Send bug reports to
  848. !  *  bug-gnuplot@ames.arc.nasa.gov.
  849.    */
  850.   
  851.   #include <stdio.h>
  852. ***************
  853. *** 39,44 ****
  854. --- 43,52 ----
  855.   #include "setshow.h"
  856.   #include "term.h"
  857.   #include "bitmap.h"
  858. + #ifdef NEXT
  859. + #include <stdlib.h>
  860. + #include "EpsViewer.h"
  861. + #endif /* NEXT */
  862.   
  863.   /* for use by all drivers */
  864.   #define sign(x) ((x) >= 0 ? 1 : -1)
  865. ***************
  866. *** 338,343 ****
  867. --- 346,355 ----
  868.   #include "term/latex.trm"
  869.   #endif
  870.   
  871. + #ifdef PBM        /* PBMPLUS portable bitmap */
  872. + #include "term/pbm.trm"
  873. + #endif
  874.   #ifdef POSTSCRIPT    /* POSTSCRIPT type */
  875.   #include "term/post.trm"
  876.   #endif
  877. ***************
  878. *** 392,397 ****
  879. --- 404,413 ----
  880.   #include "term/iris4d.trm"
  881.   #endif /* IRIS4D */
  882.   
  883. + #ifdef NEXT
  884. + #include "term/next.trm"
  885. + #endif /* NEXT */
  886.   #ifdef QMS
  887.   #include "term/qms.trm"
  888.   #endif /* QMS */
  889. ***************
  890. *** 426,432 ****
  891.     
  892.   #ifdef AMIGASCREEN
  893.   #include "term/amiga.trm"
  894. ! #endif
  895.   
  896.   
  897.   /* Dummy functions for unavailable features */
  898. --- 442,448 ----
  899.     
  900.   #ifdef AMIGASCREEN
  901.   #include "term/amiga.trm"
  902. ! #endif /* AMIGASCREEN */
  903.   
  904.   
  905.   /* Dummy functions for unavailable features */
  906. ***************
  907. *** 483,488 ****
  908. --- 499,511 ----
  909.         UNKNOWN_null, UNKNOWN_null, null_text_angle, 
  910.         null_justify_text, UNKNOWN_null, UNKNOWN_null}
  911.   
  912. +     ,{"table", "Dump ASCII table of X Y [Z] values to output",
  913. +       100, 100, 1, 1,
  914. +       1, 1, options_null, UNKNOWN_null, UNKNOWN_null, 
  915. +       UNKNOWN_null, null_scale, UNKNOWN_null, UNKNOWN_null, UNKNOWN_null, 
  916. +       UNKNOWN_null, UNKNOWN_null, null_text_angle, 
  917. +       null_justify_text, UNKNOWN_null, UNKNOWN_null}
  918.   #ifdef AMIGASCREEN
  919.       ,{"amiga", "Amiga Custom Screen",
  920.          AMIGA_XMAX, AMIGA_YMAX, AMIGA_VCHAR, AMIGA_HCHAR, 
  921. ***************
  922. *** 813,828 ****
  923.   
  924.   #ifdef HPLJIII
  925.       ,{"pcl5_port", "HP laserjet iii (using HPGL plot vectors), portrait mode",
  926. !     HPGL_XMAX, HPGL_YMAX, HPGL_VCHAR, HPGL_HCHAR,
  927. !     HPGL_VTIC, HPGL_HTIC, options_null, HPLJIII_PORT_init, HPLJIII_reset,
  928. !     HPGL_text, null_scale, HPGL_graphics, HPGL_move, HPGL_vector,
  929. !     HPGL_linetype, HPGL_put_text, HPGL_text_angle,
  930.       null_justify_text, do_point, do_arrow}
  931.        ,{"pcl5_land", "HP laserjet iii (using HPGL plot vectors), landscape mode",
  932. !     HPGL_XMAX, HPGL_YMAX, HPGL_VCHAR, HPGL_HCHAR,
  933. !     HPGL_VTIC, HPGL_HTIC, options_null, HPLJIII_LAND_init, HPLJIII_reset,
  934. !     HPGL_text, null_scale, HPGL_graphics, HPGL_move, HPGL_vector,
  935. !     HPGL_linetype, HPGL_put_text, HPGL_text_angle,
  936.       null_justify_text, do_point, do_arrow}
  937.   #endif
  938.   
  939. --- 836,851 ----
  940.   
  941.   #ifdef HPLJIII
  942.       ,{"pcl5_port", "HP laserjet iii (using HPGL plot vectors), portrait mode",
  943. !     PCL_YMAX, PCL_XMAX, PCL_VCHAR, PCL_HCHAR,
  944. !     PCL_VTIC, PCL_HTIC, options_null, PCL_PORT_init, PCL_reset,
  945. !     PCL_text, null_scale, PCL_graphics, HPGL_move, HPGL_vector,
  946. !     HPGL_linetype, PCL_put_text, HPGL_text_angle,
  947.       null_justify_text, do_point, do_arrow}
  948.        ,{"pcl5_land", "HP laserjet iii (using HPGL plot vectors), landscape mode",
  949. !     PCL_XMAX, PCL_YMAX, PCL_VCHAR, PCL_HCHAR,
  950. !     PCL_VTIC, PCL_HTIC, options_null, PCL_LAND_init, PCL_reset,
  951. !     PCL_text, null_scale, PCL_graphics, HPGL_move, HPGL_vector,
  952. !     HPGL_linetype, PCL_put_text, HPGL_text_angle,
  953.       null_justify_text, do_point, do_arrow}
  954.   #endif
  955.   
  956. ***************
  957. *** 898,903 ****
  958. --- 921,959 ----
  959.          null_justify_text, line_and_point, do_arrow}
  960.   #endif
  961.   
  962. + #ifdef NEXT
  963. +     ,{"next", "NeXTstep window system",
  964. +        NEXT_XMAX, NEXT_YMAX, NEXT_VCHAR, NEXT_HCHAR, 
  965. +        NEXT_VTIC, NEXT_HTIC, NEXT_options, NEXT_init, NEXT_reset, 
  966. +        NEXT_text, do_scale, NEXT_graphics, NEXT_move, NEXT_vector, 
  967. +        NEXT_linetype, NEXT_put_text, NEXT_text_angle, 
  968. +        NEXT_justify_text, NEXT_point, do_arrow}
  969. + #endif /* The postscript driver with NXImage displaying the postscript on screen */
  970. + #ifdef PBM
  971. +     ,{"pbm", "Portable bitmap",
  972. +        PBM_XMAX, PBM_YMAX, PBM_VCHAR,
  973. +        PBM_HCHAR, PBM_VTIC, PBM_HTIC, PBMoptions,
  974. +        PBMinit, PBMreset, PBMtext, null_scale,
  975. +        PBMgraphics, PBMmove, PBMvector, PBMlinetype,
  976. +        PBMput_text, PBMtext_angle, null_justify_text, line_and_point,
  977. +        do_arrow}
  978. +     ,{"pgm", "Portable graymap",
  979. +        PBM_XMAX, PBM_YMAX, PBM_VCHAR,
  980. +        PBM_HCHAR, PBM_VTIC, PBM_HTIC, PBMoptions,
  981. +        PBMinit, PBMreset, PGMtext, null_scale,
  982. +        PGMgraphics, PBMmove, PBMvector, PGMlinetype,
  983. +        PBMput_text, PBMtext_angle, null_justify_text, do_point,
  984. +        do_arrow}
  985. +     ,{"ppm", "Portable pixmap (color)",
  986. +        PBM_XMAX, PBM_YMAX, PBM_VCHAR,
  987. +        PBM_HCHAR, PBM_VTIC, PBM_HTIC, PBMoptions,
  988. +        PBMinit, PBMreset, PPMtext, null_scale,
  989. +        PPMgraphics, PBMmove, PBMvector, PPMlinetype,
  990. +        PBMput_text, PBMtext_angle, null_justify_text, do_point,
  991. +        do_arrow}
  992. + #endif
  993.   #ifdef POSTSCRIPT
  994.       ,{"postscript", "PostScript graphics language [mode \042fontname\042 font_size]",
  995.          PS_XMAX, PS_YMAX, PS_VCHAR, PS_HCHAR, 
  996. ***************
  997. *** 1157,1164 ****
  998.   
  999.       /* GNUTERM environment variable is primary */
  1000.       gnuterm = getenv("GNUTERM");
  1001. !     if (gnuterm != (char *)NULL)
  1002.        term_name = gnuterm;
  1003.       else {
  1004.   #ifdef __TURBOC__
  1005.          term_name = turboc_init();
  1006. --- 1213,1224 ----
  1007.   
  1008.       /* GNUTERM environment variable is primary */
  1009.       gnuterm = getenv("GNUTERM");
  1010. !     if (gnuterm != (char *)NULL) {
  1011.        term_name = gnuterm;
  1012. + #ifdef __TURBOC__
  1013. +          get_path();   /* So *_init() can find the BGI driver */
  1014. + #endif
  1015. +     }
  1016.       else {
  1017.   #ifdef __TURBOC__
  1018.          term_name = turboc_init();
  1019. ***************
  1020. *** 1168,1173 ****
  1021. --- 1228,1240 ----
  1022.   #ifdef vms
  1023.          term_name = vms_init();
  1024.   #endif
  1025. + #ifdef NEXT
  1026. +     term = getenv("TERM");
  1027. +     if (term_name == (char *)NULL
  1028. +         && term != (char *)NULL && strcmp(term,"next") == 0)
  1029. +           term_name = "next";
  1030. + #endif /* NeXT */
  1031.          
  1032.   #ifdef SUN
  1033.          term = getenv("TERM");    /* try $TERM */
  1034. diff -rc gnuplot/term.h gnuplot3.2/term.h
  1035. *** gnuplot/term.h    Sun Jan  5 21:33:26 1992
  1036. --- gnuplot3.2/term.h    Wed Mar 25 08:00:03 1992
  1037. ***************
  1038. *** 1,6 ****
  1039.   /* GNUPLOT - term.h */
  1040.   /*
  1041. !  * Copyright (C) 1986, 1987, 1990, 1991   Thomas Williams, Colin Kelley
  1042.    *
  1043.    * Permission to use, copy, and distribute this software and its
  1044.    * documentation for any purpose with or without fee is hereby granted, 
  1045. --- 1,11 ----
  1046. + /*
  1047. +  * $Id: term.h,v 3.26 92/03/24 22:34:17 woo Exp Locker: woo $
  1048. +  *
  1049. +  */
  1050.   /* GNUPLOT - term.h */
  1051.   /*
  1052. !  * Copyright (C) 1986, 1987, 1990, 1991, 1992   Thomas Williams, Colin Kelley
  1053.    *
  1054.    * Permission to use, copy, and distribute this software and its
  1055.    * documentation for any purpose with or without fee is hereby granted, 
  1056. ***************
  1057. *** 27,37 ****
  1058.    *       Gershon Elber and many others.
  1059.    * 
  1060.    * Send your comments or suggestions to 
  1061. !  *  pixar!info-gnuplot@sun.com.
  1062.    * This is a mailing list; to join it send a note to 
  1063. !  *  pixar!info-gnuplot-request@sun.com.  
  1064.    * Send bug reports to
  1065. !  *  pixar!bug-gnuplot@sun.com.
  1066.    */
  1067.   
  1068.   /*
  1069. --- 32,42 ----
  1070.    *       Gershon Elber and many others.
  1071.    * 
  1072.    * Send your comments or suggestions to 
  1073. !  *  info-gnuplot@ames.arc.nasa.gov.
  1074.    * This is a mailing list; to join it send a note to 
  1075. !  *  info-gnuplot-request@ames.arc.nasa.gov.  
  1076.    * Send bug reports to
  1077. !  *  bug-gnuplot@ames.arc.nasa.gov.
  1078.    */
  1079.   
  1080.   /*
  1081. ***************
  1082. *** 55,68 ****
  1083.   #define AMIGASCREEN    /* Amiga custom screen */
  1084.   #endif
  1085.   #define AED        /* AED 512 and AED 767 */
  1086.   #define BITGRAPH    /* BBN BitGraph */
  1087.   /* #define CGI        /* SCO CGI */
  1088.   /* #define IRIS4D    /* IRIS4D series computer */
  1089.   #define KERMIT        /* MS-Kermit Tektronix 4010 emulator */
  1090.   #define FIG           /* Fig graphics language */
  1091.   #define REGIS        /* ReGis graphics (vt125, vt220, vt240, Gigis...) */
  1092.   #define SELANAR        /* Selanar */
  1093. - /* #define SUN        /* Sun Microsystems Workstation */
  1094.   #define T410X        /* Tektronix 4106, 4107, 4109 and 420x terminals */
  1095.   #define TEK        /* Tektronix 4010, and probably others */
  1096.   /* #define UNIXPC    /* unixpc (ATT 3b1 or ATT 7300) */
  1097. --- 60,75 ----
  1098.   #define AMIGASCREEN    /* Amiga custom screen */
  1099.   #endif
  1100.   #define AED        /* AED 512 and AED 767 */
  1101. + #define AIFM        /* Adobe Illustrator Format */
  1102.   #define BITGRAPH    /* BBN BitGraph */
  1103.   /* #define CGI        /* SCO CGI */
  1104.   /* #define IRIS4D    /* IRIS4D series computer */
  1105.   #define KERMIT        /* MS-Kermit Tektronix 4010 emulator */
  1106.   #define FIG           /* Fig graphics language */
  1107. + /* #define NEXT        /* NeXT workstation console */
  1108. + /* #define SUN        /* Sun Microsystems Workstation */
  1109.   #define REGIS        /* ReGis graphics (vt125, vt220, vt240, Gigis...) */
  1110.   #define SELANAR        /* Selanar */
  1111.   #define T410X        /* Tektronix 4106, 4107, 4109 and 420x terminals */
  1112.   #define TEK        /* Tektronix 4010, and probably others */
  1113.   /* #define UNIXPC    /* unixpc (ATT 3b1 or ATT 7300) */
  1114. ***************
  1115. *** 72,77 ****
  1116. --- 79,86 ----
  1117.   
  1118.   #endif /* AMIGA_LC_5_1 */
  1119.   
  1120. + #ifndef AMIGA_LC_5_1
  1121.   #define DXY800A        /* Roland DXY800A plotter */
  1122.   
  1123.   #define HP2648        /* HP2648, HP2647 */
  1124. ***************
  1125. *** 79,87 ****
  1126.   #define HP75        /* HP7580, and probably other HPs */
  1127.   #define IMAGEN      /* Imagen laser printers (300dpi) (requires -Iterm also) */
  1128.   
  1129. - #define NEC        /* NEC CP6 pinwriter printer */
  1130.   #define PRESCRIBE    /* Kyocera Laser printer */
  1131.   #define QMS        /* QMS/QUIC laserprinter (Talaris 1200 and others) */
  1132.   #define STARC        /* Star Color Printer */
  1133.   #define TANDY60        /* Tandy DMP-130 series 60-dot per inch graphics */
  1134.   #define V384        /* Vectrix 384 and tandy color printer */
  1135. --- 88,102 ----
  1136.   #define HP75        /* HP7580, and probably other HPs */
  1137.   #define IMAGEN      /* Imagen laser printers (300dpi) (requires -Iterm also) */
  1138.   
  1139.   #define PRESCRIBE    /* Kyocera Laser printer */
  1140.   #define QMS        /* QMS/QUIC laserprinter (Talaris 1200 and others) */
  1141. + #else /* AMIGA_LC_5_1 */
  1142. + #define FIG           /* Fig graphics language */
  1143. + #endif /* AMIGA_LC_5_1 */
  1144. + #define NEC        /* NEC CP6 pinwriter printer */
  1145.   #define STARC        /* Star Color Printer */
  1146.   #define TANDY60        /* Tandy DMP-130 series 60-dot per inch graphics */
  1147.   #define V384        /* Vectrix 384 and tandy color printer */
  1148. ***************
  1149. *** 93,98 ****
  1150. --- 108,114 ----
  1151.   
  1152.   #define HPGL        /* HP7475, HP7220 plotters, and (hopefully) lots of others */
  1153.   
  1154. + #define PBM        /* PBMPLUS portable bitmap */
  1155.   #define POSTSCRIPT    /* Postscript */
  1156.   
  1157.   /* #define DXF        /* DXF format for use with AutoCad (Release 10.x) */
  1158.