home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / archives / vt100.zip / header.h < prev    next >
C/C++ Source or Header  |  1995-09-12  |  1KB  |  44 lines

  1. #define VERSION "1.7b 1985-04-19"
  2.  
  3. /* Choose one of these */
  4.  
  5. /* #define XENIX        /* XENIX implies UNIX                           */
  6. /* #define SIII         /* SIII  implies UNIX, (NDELAY a la System III) */
  7. #define UNIX            /* UNIX                                         */
  8. /* #define VMS          /* VMS not done yet -- send me your version!!!! */
  9. /* #define SARG20       /* Sargasso C for TOPS-20                       */
  10. /* #define SARG10       /* Sargasso C for TOPS-10                       */
  11.  
  12. /* These #ifdef:s are implementation dependent stuff for the Sargasso C */
  13. /* Unix C barfs on directives like "#strings", so we keep them            */
  14. /* indented. Then unix c can't find them, but Sargasso C *can*.        */
  15. /* Admittedly kludgey, but it works...)                    */
  16. #ifdef SARG10
  17.   #define _UNIXCON  /* Make UNIX-flavored I/O on TOPS */
  18.   #strings low      /* put strings in lowseg mem so we can modify them. */
  19. #endif
  20. #ifdef SARG20
  21.   #define _UNIXCON  /* Make UNIX-flavored I/O on TOPS */
  22.   #strings low      /* put strings in lowseg mem so we can modify them. */
  23.   #include <TOPS20.HDR>
  24. #endif
  25.  
  26. #include <stdio.h>
  27.  
  28.  
  29. #ifdef UNIX
  30. #include <ctype.h>
  31. #include <sgtty.h>
  32. #include <signal.h>
  33. #include <setjmp.h>
  34. jmp_buf intrenv;
  35. struct sgttyb sgttyOrg, sgttyNew;
  36. char stdioBuf[BUFSIZ];
  37. int brkrd, reading;
  38. extern onterm(), onbrk();
  39. #ifdef SIII
  40. #include <fcntl.h>
  41. #endif
  42. #endif
  43. int ttymode;
  44.