delay a few things on startup, such as setting the visibility mode, which ensures...
[personal-kdebase.git] / apps / konsole / tests / header.h
blob33c182260a328cb872e08cc1dc2b5a72f79c309b
1 /*
2 VTTEST.C
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 */
24 #define TERMIO
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...) */
33 #ifdef SARG10
34 #define _UNIXCON /* Make UNIX-flavored I/O on TOPS */
35 #strings low /* put strings in lowseg mem so we can modify them. */
36 #endif
37 #ifdef SARG20
38 #define _UNIXCON /* Make UNIX-flavored I/O on TOPS */
39 #strings low /* put strings in lowseg mem so we can modify them. */
40 #include <TOPS20.HDR>
41 #endif
43 #include <stdio.h>
46 #ifdef UNIX
47 #include <ctype.h>
48 #ifdef TERMIO
49 # include <termio.h>
50 #else
51 # include <sgtty.h>
52 #endif
53 #include <signal.h>
54 #include <setjmp.h>
55 jmp_buf intrenv;
57 #ifdef TERMIO
58 struct termio termioOrg, termioNew;
59 #else
60 struct sgttyb sgttyOrg, sgttyNew;
61 #endif
63 char stdioBuf[BUFSIZ];
64 int brkrd, reading;
65 extern onterm(), onbrk();
66 #ifdef SIII
67 #include <fcntl.h>
68 #endif
69 #endif
70 int ttymode;