summaryrefslogtreecommitdiff
path: root/src/sysdep.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-06-13 00:49:50 +0000
committerRichard M. Stallman <rms@gnu.org>1997-06-13 00:49:50 +0000
commitac567c95179116d49b02f22e1e850e6d7b0ee2ce (patch)
tree98409c0b664bc8c76ed9184ffb8a2a78750b8849 /src/sysdep.c
parent303b5b3f0f2de500d03eb347ab09a79214bc3ace (diff)
downloademacs-ac567c95179116d49b02f22e1e850e6d7b0ee2ce.tar.gz
(init_sys_modes): Enable VSTART and VSTOP if flow_control.
Diffstat (limited to 'src/sysdep.c')
-rw-r--r--src/sysdep.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index b6d87714820..5197317b5f9 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -1375,6 +1375,15 @@ init_sys_modes ()
tty.main.c_cc[VSUSP] = 255;
tty.main.c_cc[VDSUSP] = 255;
#endif /* IBMR2AIX */
+ if (flow_control)
+ {
+#ifdef VSTART
+ tty.main.c_cc[VSTART] = '\021';
+#endif /* VSTART */
+#ifdef VSTOP
+ tty.main.c_cc[VSTOP] = '\023';
+#endif /* VSTOP */
+ }
/* Also, PTY overloads NUL and BREAK.
don't ignore break, but don't signal either, so it looks like NUL.
This really serves a purpose only if running in an XTERM window