diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 4aed2c8219774f5d797760606b8489a92ddc5163 (patch) | |
tree | 3f8c130f7d269626bf6a9447407ef6c35954426a /konsole/tests/header.h | |
download | tdebase-4aed2c8219774f5d797760606b8489a92ddc5163.tar.gz tdebase-4aed2c8219774f5d797760606b8489a92ddc5163.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konsole/tests/header.h')
-rw-r--r-- | konsole/tests/header.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/konsole/tests/header.h b/konsole/tests/header.h new file mode 100644 index 000000000..1c35a2add --- /dev/null +++ b/konsole/tests/header.h @@ -0,0 +1,54 @@ +#define VERSION "1.7b 1985-04-19" + +/* Choose one of these */ + +/* #define XENIX /* XENIX implies UNIX */ +/* #define SIII /* SIII implies UNIX, (NDELAY a la System III) */ +#define UNIX /* UNIX */ +#define TERMIO +/* #define VMS /* VMS not done yet -- send me your version!!!! */ +/* #define SARG20 /* Sargasso C for TOPS-20 */ +/* #define SARG10 /* Sargasso C for TOPS-10 */ + +/* These #ifdef:s are implementation dependent stuff for the Sargasso C */ +/* Unix C barfs on directives like "#strings", so we keep them */ +/* indented. Then unix c can't find them, but Sargasso C *can*. */ +/* Admittedly kludgey, but it works...) */ +#ifdef SARG10 + #define _UNIXCON /* Make UNIX-flavored I/O on TOPS */ + #strings low /* put strings in lowseg mem so we can modify them. */ +#endif +#ifdef SARG20 + #define _UNIXCON /* Make UNIX-flavored I/O on TOPS */ + #strings low /* put strings in lowseg mem so we can modify them. */ + #include <TOPS20.HDR> +#endif + +#include <stdio.h> + + +#ifdef UNIX +#include <ctype.h> +#ifdef TERMIO +# include <termio.h> +#else +# include <sgtty.h> +#endif +#include <signal.h> +#include <setjmp.h> +jmp_buf intrenv; + +#ifdef TERMIO +struct termio termioOrg, termioNew; +#else +struct sgttyb sgttyOrg, sgttyNew; +#endif + +char stdioBuf[BUFSIZ]; +int brkrd, reading; +extern onterm(), onbrk(); +#ifdef SIII +#include <fcntl.h> +#endif +#endif +int ttymode; |