4 Written Novemeber 1983 - July 1984 by Per Lindberg,
5 Stockholm University Computer Center (QZ), Sweden.
7 THE MAD PROGRAMMER STRIKES AGAIN!
9 This software is (c) 1984 by QZ
10 Non-commercial use and copying allowed.
12 If you are developing a commercial product, and use this program to do
13 it, and that product is successful, please send a sum of money of your
14 choice to the address below.
17 #define VERSION "1.7b 1985-04-19"
19 /* Choose one of these */
21 /* #define XENIX /* XENIX implies UNIX */
22 /* #define SIII /* SIII implies UNIX, (NDELAY a la System III) */
23 #define UNIX /* UNIX */
25 /* #define VMS /* VMS not done yet -- send me your version!!!! */
26 /* #define SARG20 /* Sargasso C for TOPS-20 */
27 /* #define SARG10 /* Sargasso C for TOPS-10 */
29 /* These #ifdef:s are implementation dependent stuff for the Sargasso C */
30 /* Unix C barfs on directives like "#strings", so we keep them */
31 /* indented. Then unix c can't find them, but Sargasso C *can*. */
32 /* Admittedly kludgey, but it works...) */
34 #define _UNIXCON /* Make UNIX-flavored I/O on TOPS */
35 #strings low /* put strings in lowseg mem so we can modify them. */
38 #define _UNIXCON /* Make UNIX-flavored I/O on TOPS */
39 #strings low /* put strings in lowseg mem so we can modify them. */
58 struct termio termioOrg
, termioNew
;
60 struct sgttyb sgttyOrg
, sgttyNew
;
63 char stdioBuf
[BUFSIZ
];
65 extern onterm(), onbrk();