summaryrefslogtreecommitdiffstats
path: root/contrib/tcsh/ed.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tcsh/ed.h')
-rw-r--r--contrib/tcsh/ed.h42
1 files changed, 3 insertions, 39 deletions
diff --git a/contrib/tcsh/ed.h b/contrib/tcsh/ed.h
index 98c1ad2..ddc80ba 100644
--- a/contrib/tcsh/ed.h
+++ b/contrib/tcsh/ed.h
@@ -1,4 +1,4 @@
-/* $Header: /src/pub/tcsh/ed.h,v 3.31 2001/02/19 23:30:44 kim Exp $ */
+/* $Header: /src/pub/tcsh/ed.h,v 3.33 2002/07/06 22:28:13 christos Exp $ */
/*
* ed.h: Editor declarations and globals
*/
@@ -14,11 +14,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by the University of
- * California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
+ * 3. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -187,39 +183,6 @@ EXTERN Char T_HasMeta; /* true if we have a meta key */
#define min(x,y) (((x)<(y))?(x):(y))
#define max(x,y) (((x)>(y))?(x):(y))
-/*
- * Terminal dependend data structures
- */
-typedef struct {
-#ifdef WINNT_NATIVE
- int dummy;
-#else /* !WINNT_NATIVE */
-# if defined(POSIX) || defined(TERMIO)
-# ifdef POSIX
- struct termios d_t;
-# else
- struct termio d_t;
-# endif /* POSIX */
-# else /* SGTTY */
-# ifdef TIOCGETP
- struct sgttyb d_t;
-# endif /* TIOCGETP */
-# ifdef TIOCGETC
- struct tchars d_tc;
-# endif /* TIOCGETC */
-# ifdef TIOCGPAGE
- struct ttypagestat d_pc;
-# endif /* TIOCGPAGE */
-# ifdef TIOCLGET
- int d_lb;
-# endif /* TIOCLGET */
-# endif /* POSIX || TERMIO */
-# ifdef TIOCGLTC
- struct ltchars d_ltc;
-# endif /* TIOCGLTC */
-#endif /* WINNT_NATIVE */
-} ttydata_t;
-
#define MODE_INSERT 0
#define MODE_REPLACE 1
#define MODE_REPLACE_1 2
@@ -250,6 +213,7 @@ typedef struct {
} ttyperm_t[NN_IO][M_NN];
extern ttyperm_t ttylist;
+#include "ed.term.h"
#include "ed.decls.h"
#endif /* _h_ed */
OpenPOWER on IntegriCloud