summaryrefslogtreecommitdiff
path: root/src/systty.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1992-09-12 07:45:15 +0000
committerRichard M. Stallman <rms@gnu.org>1992-09-12 07:45:15 +0000
commitd4ed19c7e88acf75f3221e8fbc427a2ff4c21f26 (patch)
tree5399ff8fef878d02467385010fba1b6282ab1d3d /src/systty.h
parent1c69e8d1dd0a4d6aa781b7ad99026979e27289f1 (diff)
downloademacs-d4ed19c7e88acf75f3221e8fbc427a2ff4c21f26.tar.gz
entered into RCS
Diffstat (limited to 'src/systty.h')
-rw-r--r--src/systty.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/systty.h b/src/systty.h
index 186d3edff80..0fd9e371155 100644
--- a/src/systty.h
+++ b/src/systty.h
@@ -107,6 +107,20 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#endif
+/* Try to establish the correct character to disable terminal functions
+ in a system-independent manner. Note that USG (at least) define
+ _POSIX_VDISABLE as 0! */
+
+#ifdef _POSIX_VDISABLE
+#define CDISABLE _POSIX_VDISABLE
+#else /* not _POSIX_VDISABLE */
+#ifdef CDEL
+#define CDISABLE CDEL
+#else /* not CDEL */
+#define CDISABLE 255
+#endif /* not CDEL */
+#endif /* not _POSIX_VDISABLE */
+
/* Get the number of characters queued for output. */
/* EMACS_OUTQSIZE(FD, int *SIZE) stores the number of characters