summaryrefslogtreecommitdiff
path: root/src/stty.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1994-02-10 14:59:01 +0000
committerJim Meyering <jim@meyering.net>1994-02-10 14:59:01 +0000
commita751e875624617d6e615d5d42ec370ae654ff3e7 (patch)
tree710e8d23cdfcf0c7cc84e99dbb03cbcfbbbf8bfe /src/stty.c
parent75a474834b90ba6f7e9a083025f03af41979b876 (diff)
downloadcoreutils-a751e875624617d6e615d5d42ec370ae654ff3e7.tar.xz
.
Diffstat (limited to 'src/stty.c')
-rw-r--r--src/stty.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/stty.c b/src/stty.c
index eba0f11d1..ea75cc18a 100644
--- a/src/stty.c
+++ b/src/stty.c
@@ -103,6 +103,13 @@
#if defined(VSWTCH) && !defined(CSWTCH)
#define CSWTCH _POSIX_VDISABLE
#endif
+
+/* SunOS 5.3 loses (^Z doesn't work) if `swtch' is the same as `susp'.
+ So the default is to disable `swtch.' */
+#if defined (__sparc__) && defined (__svr4__)
+#define CSWTCH _POSIX_VDISABLE
+#endif
+
#if defined(VDSUSP) && !defined (CDSUSP)
#define CDSUSP Control ('y')
#endif