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
commit2102829e7dbe763be7d14851cc811ccaafcdcb60 (patch)
treeb022aa784181b2b96c6895463fc7decc41395a20 /src/systty.h
parent07a784100e19b3408060fa684c094312884c7534 (diff)
downloademacs-2102829e7dbe763be7d14851cc811ccaafcdcb60.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